Fixed merge conflicts
This commit is contained in:
@@ -83,17 +83,17 @@ contract DydxBridge is
|
|||||||
for (uint256 i = 0; i < dydxActions.length; ++i) {
|
for (uint256 i = 0; i < dydxActions.length; ++i) {
|
||||||
BridgeAction bridgeAction = bridgeData.actions[i];
|
BridgeAction bridgeAction = bridgeData.actions[i];
|
||||||
if (bridgeAction == BridgeAction.Deposit) {
|
if (bridgeAction == BridgeAction.Deposit) {
|
||||||
// Compute the amount to deposit. The `amount` parameter is the amount to be withdrawn.
|
// Compute the amount to deposit.
|
||||||
// It is computed by the Exchange as:
|
// The `amount` parameter is the amount to be withdrawn. It is computed by the Exchange as:
|
||||||
// amount = floor[(takerFillAmount * makerAssetAmount) / takerAssetAmount]
|
// amount = floor[(takerAssetFillAmount * makerAssetAmount) / takerAssetAmount]
|
||||||
// The amount to deposit is equal to to `takerFillAmount`, which we compute below as:
|
// The amount to deposit is equal to to `takerFillAmount`, which we compute below as:
|
||||||
// takerFillAmount ~= floor[(amount * takerAssetAmount) / makerAssetAmount]
|
// takerAssetFillAmount ~= floor[(amount * takerAssetAmount) / makerAssetAmount]
|
||||||
// = floor[(amount * conversionRateNumerator) / conversionRateDenominator]
|
// = floor[(amount * conversionRateNumerator) / conversionRateDenominator]
|
||||||
// Note that we can only approximate the original value of `takerFillAmount`. If we were to use
|
// Note that we can only approximate the original value of `takerFillAmount`. If we were to use
|
||||||
// `ceil` then we would risk overestimating the value.
|
// `ceil` then we would risk overestimating.
|
||||||
uint256 amountToDeposit = amount
|
uint256 amountToDeposit = amount
|
||||||
.mul(bridgeData.conversionRateNumerator)
|
.safeMul(bridgeData.conversionRateNumerator)
|
||||||
.div(bridgeData.conversionRateDenominator);
|
.safeDiv(bridgeData.conversionRateDenominator);
|
||||||
dydxActions[i] = _createDepositAction(
|
dydxActions[i] = _createDepositAction(
|
||||||
from,
|
from,
|
||||||
amount,
|
amount,
|
||||||
|
|||||||
@@ -38,17 +38,7 @@
|
|||||||
"docs:json": "typedoc --excludePrivate --excludeExternals --excludeProtected --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES"
|
"docs:json": "typedoc --excludePrivate --excludeExternals --excludeProtected --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
<<<<<<< HEAD
|
"abis": "./test/generated-artifacts/@(ChaiBridge|DydxBridge|ERC1155Proxy|ERC20BridgeProxy|ERC20Proxy|ERC721Proxy|Eth2DaiBridge|IAssetData|IAssetProxy|IAssetProxyDispatcher|IAuthorizable|IChai|IDydx|IDydxBridge|IERC20Bridge|IEth2Dai|IKyberNetworkProxy|IUniswapExchange|IUniswapExchangeFactory|KyberBridge|MixinAssetProxyDispatcher|MixinAuthorizable|MultiAssetProxy|Ownable|StaticCallProxy|TestChaiBridge|TestDydxBridge|TestERC20Bridge|TestEth2DaiBridge|TestKyberBridge|TestStaticCallTarget|TestUniswapBridge|UniswapBridge).json",
|
||||||
"publicInterfaceContracts": "ERC1155Proxy,ERC20Proxy,ERC721Proxy,MultiAssetProxy,StaticCallProxy,ERC20BridgeProxy,Eth2DaiBridge,IAssetData,IAssetProxy,UniswapBridge,KyberBridge,ChaiBridge,TestStaticCallTarget",
|
|
||||||
"abis": "./test/generated-artifacts/@(ChaiBridge|DyDxBridge|ERC1155Proxy|ERC20BridgeProxy|ERC20Proxy|ERC721Proxy|Eth2DaiBridge|IAssetData|IAssetProxy|IAssetProxyDispatcher|IAuthorizable|IChai|IDyDx|IERC20Bridge|IEth2Dai|IKyberNetworkProxy|IUniswapExchange|IUniswapExchangeFactory|KyberBridge|MixinAssetProxyDispatcher|MixinAuthorizable|MultiAssetProxy|Ownable|StaticCallProxy|TestChaiBridge|TestERC20Bridge|TestEth2DaiBridge|TestKyberBridge|TestStaticCallTarget|TestUniswapBridge|UniswapBridge).json",
|
|
||||||
=======
|
|
||||||
"publicInterfaceContracts": "ERC1155Proxy,ERC20Proxy,ERC721Proxy,MultiAssetProxy,StaticCallProxy,ERC20BridgeProxy,Eth2DaiBridge,IAssetData,IAssetProxy,UniswapBridge,KyberBridge,TestStaticCallTarget",
|
|
||||||
<<<<<<< HEAD
|
|
||||||
"abis": "./test/generated-artifacts/@(DydxBridge|ERC1155Proxy|ERC20BridgeProxy|ERC20Proxy|ERC721Proxy|Eth2DaiBridge|IAssetData|IAssetProxy|IAssetProxyDispatcher|IAuthorizable|IDydx|IERC20Bridge|IEth2Dai|IKyberNetworkProxy|IUniswapExchange|IUniswapExchangeFactory|KyberBridge|MixinAssetProxyDispatcher|MixinAuthorizable|MultiAssetProxy|Ownable|StaticCallProxy|TestERC20Bridge|TestEth2DaiBridge|TestKyberBridge|TestStaticCallTarget|TestUniswapBridge|UniswapBridge).json",
|
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
=======
|
|
||||||
"abis": "./test/generated-artifacts/@(DydxBridge|ERC1155Proxy|ERC20BridgeProxy|ERC20Proxy|ERC721Proxy|Eth2DaiBridge|IAssetData|IAssetProxy|IAssetProxyDispatcher|IAuthorizable|IDydx|IDydxBridge|IERC20Bridge|IEth2Dai|IKyberNetworkProxy|IUniswapExchange|IUniswapExchangeFactory|KyberBridge|MixinAssetProxyDispatcher|MixinAuthorizable|MultiAssetProxy|Ownable|StaticCallProxy|TestDydxBridge|TestERC20Bridge|TestEth2DaiBridge|TestKyberBridge|TestStaticCallTarget|TestUniswapBridge|UniswapBridge).json",
|
|
||||||
>>>>>>> 5e2de489d... Updating bridge to work w/o MAP
|
|
||||||
"abis:comment": "This list is auto-generated by contracts-gen. Don't edit manually."
|
"abis:comment": "This list is auto-generated by contracts-gen. Don't edit manually."
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as ChaiBridge from '../generated-artifacts/ChaiBridge.json';
|
import * as ChaiBridge from '../generated-artifacts/ChaiBridge.json';
|
||||||
|
import * as DydxBridge from '../generated-artifacts/DydxBridge.json';
|
||||||
import * as ERC1155Proxy from '../generated-artifacts/ERC1155Proxy.json';
|
import * as ERC1155Proxy from '../generated-artifacts/ERC1155Proxy.json';
|
||||||
import * as ERC20BridgeProxy from '../generated-artifacts/ERC20BridgeProxy.json';
|
import * as ERC20BridgeProxy from '../generated-artifacts/ERC20BridgeProxy.json';
|
||||||
import * as ERC20Proxy from '../generated-artifacts/ERC20Proxy.json';
|
import * as ERC20Proxy from '../generated-artifacts/ERC20Proxy.json';
|
||||||
@@ -13,23 +14,62 @@ import * as ERC721Proxy from '../generated-artifacts/ERC721Proxy.json';
|
|||||||
import * as Eth2DaiBridge from '../generated-artifacts/Eth2DaiBridge.json';
|
import * as Eth2DaiBridge from '../generated-artifacts/Eth2DaiBridge.json';
|
||||||
import * as IAssetData from '../generated-artifacts/IAssetData.json';
|
import * as IAssetData from '../generated-artifacts/IAssetData.json';
|
||||||
import * as IAssetProxy from '../generated-artifacts/IAssetProxy.json';
|
import * as IAssetProxy from '../generated-artifacts/IAssetProxy.json';
|
||||||
|
import * as IAssetProxyDispatcher from '../generated-artifacts/IAssetProxyDispatcher.json';
|
||||||
|
import * as IAuthorizable from '../generated-artifacts/IAuthorizable.json';
|
||||||
|
import * as IChai from '../generated-artifacts/IChai.json';
|
||||||
|
import * as IDydx from '../generated-artifacts/IDydx.json';
|
||||||
|
import * as IDydxBridge from '../generated-artifacts/IDydxBridge.json';
|
||||||
|
import * as IERC20Bridge from '../generated-artifacts/IERC20Bridge.json';
|
||||||
|
import * as IEth2Dai from '../generated-artifacts/IEth2Dai.json';
|
||||||
|
import * as IKyberNetworkProxy from '../generated-artifacts/IKyberNetworkProxy.json';
|
||||||
|
import * as IUniswapExchange from '../generated-artifacts/IUniswapExchange.json';
|
||||||
|
import * as IUniswapExchangeFactory from '../generated-artifacts/IUniswapExchangeFactory.json';
|
||||||
import * as KyberBridge from '../generated-artifacts/KyberBridge.json';
|
import * as KyberBridge from '../generated-artifacts/KyberBridge.json';
|
||||||
|
import * as MixinAssetProxyDispatcher from '../generated-artifacts/MixinAssetProxyDispatcher.json';
|
||||||
|
import * as MixinAuthorizable from '../generated-artifacts/MixinAuthorizable.json';
|
||||||
import * as MultiAssetProxy from '../generated-artifacts/MultiAssetProxy.json';
|
import * as MultiAssetProxy from '../generated-artifacts/MultiAssetProxy.json';
|
||||||
|
import * as Ownable from '../generated-artifacts/Ownable.json';
|
||||||
import * as StaticCallProxy from '../generated-artifacts/StaticCallProxy.json';
|
import * as StaticCallProxy from '../generated-artifacts/StaticCallProxy.json';
|
||||||
|
import * as TestChaiBridge from '../generated-artifacts/TestChaiBridge.json';
|
||||||
|
import * as TestDydxBridge from '../generated-artifacts/TestDydxBridge.json';
|
||||||
|
import * as TestERC20Bridge from '../generated-artifacts/TestERC20Bridge.json';
|
||||||
|
import * as TestEth2DaiBridge from '../generated-artifacts/TestEth2DaiBridge.json';
|
||||||
|
import * as TestKyberBridge from '../generated-artifacts/TestKyberBridge.json';
|
||||||
import * as TestStaticCallTarget from '../generated-artifacts/TestStaticCallTarget.json';
|
import * as TestStaticCallTarget from '../generated-artifacts/TestStaticCallTarget.json';
|
||||||
|
import * as TestUniswapBridge from '../generated-artifacts/TestUniswapBridge.json';
|
||||||
import * as UniswapBridge from '../generated-artifacts/UniswapBridge.json';
|
import * as UniswapBridge from '../generated-artifacts/UniswapBridge.json';
|
||||||
export const artifacts = {
|
export const artifacts = {
|
||||||
|
MixinAssetProxyDispatcher: MixinAssetProxyDispatcher as ContractArtifact,
|
||||||
|
MixinAuthorizable: MixinAuthorizable as ContractArtifact,
|
||||||
|
Ownable: Ownable as ContractArtifact,
|
||||||
ERC1155Proxy: ERC1155Proxy as ContractArtifact,
|
ERC1155Proxy: ERC1155Proxy as ContractArtifact,
|
||||||
|
ERC20BridgeProxy: ERC20BridgeProxy as ContractArtifact,
|
||||||
ERC20Proxy: ERC20Proxy as ContractArtifact,
|
ERC20Proxy: ERC20Proxy as ContractArtifact,
|
||||||
ERC721Proxy: ERC721Proxy as ContractArtifact,
|
ERC721Proxy: ERC721Proxy as ContractArtifact,
|
||||||
MultiAssetProxy: MultiAssetProxy as ContractArtifact,
|
MultiAssetProxy: MultiAssetProxy as ContractArtifact,
|
||||||
StaticCallProxy: StaticCallProxy as ContractArtifact,
|
StaticCallProxy: StaticCallProxy as ContractArtifact,
|
||||||
ERC20BridgeProxy: ERC20BridgeProxy as ContractArtifact,
|
ChaiBridge: ChaiBridge as ContractArtifact,
|
||||||
|
DydxBridge: DydxBridge as ContractArtifact,
|
||||||
Eth2DaiBridge: Eth2DaiBridge as ContractArtifact,
|
Eth2DaiBridge: Eth2DaiBridge as ContractArtifact,
|
||||||
|
KyberBridge: KyberBridge as ContractArtifact,
|
||||||
|
UniswapBridge: UniswapBridge as ContractArtifact,
|
||||||
IAssetData: IAssetData as ContractArtifact,
|
IAssetData: IAssetData as ContractArtifact,
|
||||||
IAssetProxy: IAssetProxy as ContractArtifact,
|
IAssetProxy: IAssetProxy as ContractArtifact,
|
||||||
UniswapBridge: UniswapBridge as ContractArtifact,
|
IAssetProxyDispatcher: IAssetProxyDispatcher as ContractArtifact,
|
||||||
KyberBridge: KyberBridge as ContractArtifact,
|
IAuthorizable: IAuthorizable as ContractArtifact,
|
||||||
ChaiBridge: ChaiBridge as ContractArtifact,
|
IChai: IChai as ContractArtifact,
|
||||||
|
IDydx: IDydx as ContractArtifact,
|
||||||
|
IDydxBridge: IDydxBridge as ContractArtifact,
|
||||||
|
IERC20Bridge: IERC20Bridge as ContractArtifact,
|
||||||
|
IEth2Dai: IEth2Dai as ContractArtifact,
|
||||||
|
IKyberNetworkProxy: IKyberNetworkProxy as ContractArtifact,
|
||||||
|
IUniswapExchange: IUniswapExchange as ContractArtifact,
|
||||||
|
IUniswapExchangeFactory: IUniswapExchangeFactory as ContractArtifact,
|
||||||
|
TestChaiBridge: TestChaiBridge as ContractArtifact,
|
||||||
|
TestDydxBridge: TestDydxBridge as ContractArtifact,
|
||||||
|
TestERC20Bridge: TestERC20Bridge as ContractArtifact,
|
||||||
|
TestEth2DaiBridge: TestEth2DaiBridge as ContractArtifact,
|
||||||
|
TestKyberBridge: TestKyberBridge as ContractArtifact,
|
||||||
TestStaticCallTarget: TestStaticCallTarget as ContractArtifact,
|
TestStaticCallTarget: TestStaticCallTarget as ContractArtifact,
|
||||||
|
TestUniswapBridge: TestUniswapBridge as ContractArtifact,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
export * from '../generated-wrappers/chai_bridge';
|
export * from '../generated-wrappers/chai_bridge';
|
||||||
|
export * from '../generated-wrappers/dydx_bridge';
|
||||||
export * from '../generated-wrappers/erc1155_proxy';
|
export * from '../generated-wrappers/erc1155_proxy';
|
||||||
export * from '../generated-wrappers/erc20_bridge_proxy';
|
export * from '../generated-wrappers/erc20_bridge_proxy';
|
||||||
export * from '../generated-wrappers/erc20_proxy';
|
export * from '../generated-wrappers/erc20_proxy';
|
||||||
@@ -11,8 +12,27 @@ export * from '../generated-wrappers/erc721_proxy';
|
|||||||
export * from '../generated-wrappers/eth2_dai_bridge';
|
export * from '../generated-wrappers/eth2_dai_bridge';
|
||||||
export * from '../generated-wrappers/i_asset_data';
|
export * from '../generated-wrappers/i_asset_data';
|
||||||
export * from '../generated-wrappers/i_asset_proxy';
|
export * from '../generated-wrappers/i_asset_proxy';
|
||||||
|
export * from '../generated-wrappers/i_asset_proxy_dispatcher';
|
||||||
|
export * from '../generated-wrappers/i_authorizable';
|
||||||
|
export * from '../generated-wrappers/i_chai';
|
||||||
|
export * from '../generated-wrappers/i_dydx';
|
||||||
|
export * from '../generated-wrappers/i_dydx_bridge';
|
||||||
|
export * from '../generated-wrappers/i_erc20_bridge';
|
||||||
|
export * from '../generated-wrappers/i_eth2_dai';
|
||||||
|
export * from '../generated-wrappers/i_kyber_network_proxy';
|
||||||
|
export * from '../generated-wrappers/i_uniswap_exchange';
|
||||||
|
export * from '../generated-wrappers/i_uniswap_exchange_factory';
|
||||||
export * from '../generated-wrappers/kyber_bridge';
|
export * from '../generated-wrappers/kyber_bridge';
|
||||||
|
export * from '../generated-wrappers/mixin_asset_proxy_dispatcher';
|
||||||
|
export * from '../generated-wrappers/mixin_authorizable';
|
||||||
export * from '../generated-wrappers/multi_asset_proxy';
|
export * from '../generated-wrappers/multi_asset_proxy';
|
||||||
|
export * from '../generated-wrappers/ownable';
|
||||||
export * from '../generated-wrappers/static_call_proxy';
|
export * from '../generated-wrappers/static_call_proxy';
|
||||||
|
export * from '../generated-wrappers/test_chai_bridge';
|
||||||
|
export * from '../generated-wrappers/test_dydx_bridge';
|
||||||
|
export * from '../generated-wrappers/test_erc20_bridge';
|
||||||
|
export * from '../generated-wrappers/test_eth2_dai_bridge';
|
||||||
|
export * from '../generated-wrappers/test_kyber_bridge';
|
||||||
export * from '../generated-wrappers/test_static_call_target';
|
export * from '../generated-wrappers/test_static_call_target';
|
||||||
|
export * from '../generated-wrappers/test_uniswap_bridge';
|
||||||
export * from '../generated-wrappers/uniswap_bridge';
|
export * from '../generated-wrappers/uniswap_bridge';
|
||||||
|
|||||||
@@ -5,12 +5,8 @@
|
|||||||
*/
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
import * as ChaiBridge from '../test/generated-artifacts/ChaiBridge.json';
|
import * as ChaiBridge from '../test/generated-artifacts/ChaiBridge.json';
|
||||||
import * as DyDxBridge from '../test/generated-artifacts/DyDxBridge.json';
|
|
||||||
=======
|
|
||||||
import * as DydxBridge from '../test/generated-artifacts/DydxBridge.json';
|
import * as DydxBridge from '../test/generated-artifacts/DydxBridge.json';
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
import * as ERC1155Proxy from '../test/generated-artifacts/ERC1155Proxy.json';
|
import * as ERC1155Proxy from '../test/generated-artifacts/ERC1155Proxy.json';
|
||||||
import * as ERC20BridgeProxy from '../test/generated-artifacts/ERC20BridgeProxy.json';
|
import * as ERC20BridgeProxy from '../test/generated-artifacts/ERC20BridgeProxy.json';
|
||||||
import * as ERC20Proxy from '../test/generated-artifacts/ERC20Proxy.json';
|
import * as ERC20Proxy from '../test/generated-artifacts/ERC20Proxy.json';
|
||||||
@@ -20,16 +16,9 @@ import * as IAssetData from '../test/generated-artifacts/IAssetData.json';
|
|||||||
import * as IAssetProxy from '../test/generated-artifacts/IAssetProxy.json';
|
import * as IAssetProxy from '../test/generated-artifacts/IAssetProxy.json';
|
||||||
import * as IAssetProxyDispatcher from '../test/generated-artifacts/IAssetProxyDispatcher.json';
|
import * as IAssetProxyDispatcher from '../test/generated-artifacts/IAssetProxyDispatcher.json';
|
||||||
import * as IAuthorizable from '../test/generated-artifacts/IAuthorizable.json';
|
import * as IAuthorizable from '../test/generated-artifacts/IAuthorizable.json';
|
||||||
<<<<<<< HEAD
|
|
||||||
import * as IChai from '../test/generated-artifacts/IChai.json';
|
import * as IChai from '../test/generated-artifacts/IChai.json';
|
||||||
import * as IDyDx from '../test/generated-artifacts/IDyDx.json';
|
|
||||||
=======
|
|
||||||
import * as IDydx from '../test/generated-artifacts/IDydx.json';
|
import * as IDydx from '../test/generated-artifacts/IDydx.json';
|
||||||
<<<<<<< HEAD
|
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
=======
|
|
||||||
import * as IDydxBridge from '../test/generated-artifacts/IDydxBridge.json';
|
import * as IDydxBridge from '../test/generated-artifacts/IDydxBridge.json';
|
||||||
>>>>>>> 5e2de489d... Updating bridge to work w/o MAP
|
|
||||||
import * as IERC20Bridge from '../test/generated-artifacts/IERC20Bridge.json';
|
import * as IERC20Bridge from '../test/generated-artifacts/IERC20Bridge.json';
|
||||||
import * as IEth2Dai from '../test/generated-artifacts/IEth2Dai.json';
|
import * as IEth2Dai from '../test/generated-artifacts/IEth2Dai.json';
|
||||||
import * as IKyberNetworkProxy from '../test/generated-artifacts/IKyberNetworkProxy.json';
|
import * as IKyberNetworkProxy from '../test/generated-artifacts/IKyberNetworkProxy.json';
|
||||||
@@ -42,6 +31,7 @@ import * as MultiAssetProxy from '../test/generated-artifacts/MultiAssetProxy.js
|
|||||||
import * as Ownable from '../test/generated-artifacts/Ownable.json';
|
import * as Ownable from '../test/generated-artifacts/Ownable.json';
|
||||||
import * as StaticCallProxy from '../test/generated-artifacts/StaticCallProxy.json';
|
import * as StaticCallProxy from '../test/generated-artifacts/StaticCallProxy.json';
|
||||||
import * as TestChaiBridge from '../test/generated-artifacts/TestChaiBridge.json';
|
import * as TestChaiBridge from '../test/generated-artifacts/TestChaiBridge.json';
|
||||||
|
import * as TestDydxBridge from '../test/generated-artifacts/TestDydxBridge.json';
|
||||||
import * as TestERC20Bridge from '../test/generated-artifacts/TestERC20Bridge.json';
|
import * as TestERC20Bridge from '../test/generated-artifacts/TestERC20Bridge.json';
|
||||||
import * as TestEth2DaiBridge from '../test/generated-artifacts/TestEth2DaiBridge.json';
|
import * as TestEth2DaiBridge from '../test/generated-artifacts/TestEth2DaiBridge.json';
|
||||||
import * as TestKyberBridge from '../test/generated-artifacts/TestKyberBridge.json';
|
import * as TestKyberBridge from '../test/generated-artifacts/TestKyberBridge.json';
|
||||||
@@ -58,12 +48,8 @@ export const artifacts = {
|
|||||||
ERC721Proxy: ERC721Proxy as ContractArtifact,
|
ERC721Proxy: ERC721Proxy as ContractArtifact,
|
||||||
MultiAssetProxy: MultiAssetProxy as ContractArtifact,
|
MultiAssetProxy: MultiAssetProxy as ContractArtifact,
|
||||||
StaticCallProxy: StaticCallProxy as ContractArtifact,
|
StaticCallProxy: StaticCallProxy as ContractArtifact,
|
||||||
<<<<<<< HEAD
|
|
||||||
ChaiBridge: ChaiBridge as ContractArtifact,
|
ChaiBridge: ChaiBridge as ContractArtifact,
|
||||||
DyDxBridge: DyDxBridge as ContractArtifact,
|
|
||||||
=======
|
|
||||||
DydxBridge: DydxBridge as ContractArtifact,
|
DydxBridge: DydxBridge as ContractArtifact,
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
Eth2DaiBridge: Eth2DaiBridge as ContractArtifact,
|
Eth2DaiBridge: Eth2DaiBridge as ContractArtifact,
|
||||||
KyberBridge: KyberBridge as ContractArtifact,
|
KyberBridge: KyberBridge as ContractArtifact,
|
||||||
UniswapBridge: UniswapBridge as ContractArtifact,
|
UniswapBridge: UniswapBridge as ContractArtifact,
|
||||||
@@ -71,22 +57,16 @@ export const artifacts = {
|
|||||||
IAssetProxy: IAssetProxy as ContractArtifact,
|
IAssetProxy: IAssetProxy as ContractArtifact,
|
||||||
IAssetProxyDispatcher: IAssetProxyDispatcher as ContractArtifact,
|
IAssetProxyDispatcher: IAssetProxyDispatcher as ContractArtifact,
|
||||||
IAuthorizable: IAuthorizable as ContractArtifact,
|
IAuthorizable: IAuthorizable as ContractArtifact,
|
||||||
<<<<<<< HEAD
|
|
||||||
IChai: IChai as ContractArtifact,
|
IChai: IChai as ContractArtifact,
|
||||||
IDyDx: IDyDx as ContractArtifact,
|
|
||||||
=======
|
|
||||||
IDydx: IDydx as ContractArtifact,
|
IDydx: IDydx as ContractArtifact,
|
||||||
<<<<<<< HEAD
|
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
=======
|
|
||||||
IDydxBridge: IDydxBridge as ContractArtifact,
|
IDydxBridge: IDydxBridge as ContractArtifact,
|
||||||
>>>>>>> 5e2de489d... Updating bridge to work w/o MAP
|
|
||||||
IERC20Bridge: IERC20Bridge as ContractArtifact,
|
IERC20Bridge: IERC20Bridge as ContractArtifact,
|
||||||
IEth2Dai: IEth2Dai as ContractArtifact,
|
IEth2Dai: IEth2Dai as ContractArtifact,
|
||||||
IKyberNetworkProxy: IKyberNetworkProxy as ContractArtifact,
|
IKyberNetworkProxy: IKyberNetworkProxy as ContractArtifact,
|
||||||
IUniswapExchange: IUniswapExchange as ContractArtifact,
|
IUniswapExchange: IUniswapExchange as ContractArtifact,
|
||||||
IUniswapExchangeFactory: IUniswapExchangeFactory as ContractArtifact,
|
IUniswapExchangeFactory: IUniswapExchangeFactory as ContractArtifact,
|
||||||
TestChaiBridge: TestChaiBridge as ContractArtifact,
|
TestChaiBridge: TestChaiBridge as ContractArtifact,
|
||||||
|
TestDydxBridge: TestDydxBridge as ContractArtifact,
|
||||||
TestERC20Bridge: TestERC20Bridge as ContractArtifact,
|
TestERC20Bridge: TestERC20Bridge as ContractArtifact,
|
||||||
TestEth2DaiBridge: TestEth2DaiBridge as ContractArtifact,
|
TestEth2DaiBridge: TestEth2DaiBridge as ContractArtifact,
|
||||||
TestKyberBridge: TestKyberBridge as ContractArtifact,
|
TestKyberBridge: TestKyberBridge as ContractArtifact,
|
||||||
|
|||||||
@@ -3,12 +3,8 @@
|
|||||||
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
* -----------------------------------------------------------------------------
|
* -----------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
<<<<<<< HEAD
|
|
||||||
export * from '../test/generated-wrappers/chai_bridge';
|
export * from '../test/generated-wrappers/chai_bridge';
|
||||||
export * from '../test/generated-wrappers/dy_dx_bridge';
|
|
||||||
=======
|
|
||||||
export * from '../test/generated-wrappers/dydx_bridge';
|
export * from '../test/generated-wrappers/dydx_bridge';
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
export * from '../test/generated-wrappers/erc1155_proxy';
|
export * from '../test/generated-wrappers/erc1155_proxy';
|
||||||
export * from '../test/generated-wrappers/erc20_bridge_proxy';
|
export * from '../test/generated-wrappers/erc20_bridge_proxy';
|
||||||
export * from '../test/generated-wrappers/erc20_proxy';
|
export * from '../test/generated-wrappers/erc20_proxy';
|
||||||
@@ -18,16 +14,9 @@ export * from '../test/generated-wrappers/i_asset_data';
|
|||||||
export * from '../test/generated-wrappers/i_asset_proxy';
|
export * from '../test/generated-wrappers/i_asset_proxy';
|
||||||
export * from '../test/generated-wrappers/i_asset_proxy_dispatcher';
|
export * from '../test/generated-wrappers/i_asset_proxy_dispatcher';
|
||||||
export * from '../test/generated-wrappers/i_authorizable';
|
export * from '../test/generated-wrappers/i_authorizable';
|
||||||
<<<<<<< HEAD
|
|
||||||
export * from '../test/generated-wrappers/i_chai';
|
export * from '../test/generated-wrappers/i_chai';
|
||||||
export * from '../test/generated-wrappers/i_dy_dx';
|
|
||||||
=======
|
|
||||||
export * from '../test/generated-wrappers/i_dydx';
|
export * from '../test/generated-wrappers/i_dydx';
|
||||||
<<<<<<< HEAD
|
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
=======
|
|
||||||
export * from '../test/generated-wrappers/i_dydx_bridge';
|
export * from '../test/generated-wrappers/i_dydx_bridge';
|
||||||
>>>>>>> 5e2de489d... Updating bridge to work w/o MAP
|
|
||||||
export * from '../test/generated-wrappers/i_erc20_bridge';
|
export * from '../test/generated-wrappers/i_erc20_bridge';
|
||||||
export * from '../test/generated-wrappers/i_eth2_dai';
|
export * from '../test/generated-wrappers/i_eth2_dai';
|
||||||
export * from '../test/generated-wrappers/i_kyber_network_proxy';
|
export * from '../test/generated-wrappers/i_kyber_network_proxy';
|
||||||
@@ -40,6 +29,7 @@ export * from '../test/generated-wrappers/multi_asset_proxy';
|
|||||||
export * from '../test/generated-wrappers/ownable';
|
export * from '../test/generated-wrappers/ownable';
|
||||||
export * from '../test/generated-wrappers/static_call_proxy';
|
export * from '../test/generated-wrappers/static_call_proxy';
|
||||||
export * from '../test/generated-wrappers/test_chai_bridge';
|
export * from '../test/generated-wrappers/test_chai_bridge';
|
||||||
|
export * from '../test/generated-wrappers/test_dydx_bridge';
|
||||||
export * from '../test/generated-wrappers/test_erc20_bridge';
|
export * from '../test/generated-wrappers/test_erc20_bridge';
|
||||||
export * from '../test/generated-wrappers/test_eth2_dai_bridge';
|
export * from '../test/generated-wrappers/test_eth2_dai_bridge';
|
||||||
export * from '../test/generated-wrappers/test_kyber_bridge';
|
export * from '../test/generated-wrappers/test_kyber_bridge';
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"include": ["./src/**/*", "./test/**/*", "./generated-wrappers/**/*"],
|
"include": ["./src/**/*", "./test/**/*", "./generated-wrappers/**/*"],
|
||||||
"files": [
|
"files": [
|
||||||
"generated-artifacts/ChaiBridge.json",
|
"generated-artifacts/ChaiBridge.json",
|
||||||
|
"generated-artifacts/DydxBridge.json",
|
||||||
"generated-artifacts/ERC1155Proxy.json",
|
"generated-artifacts/ERC1155Proxy.json",
|
||||||
"generated-artifacts/ERC20BridgeProxy.json",
|
"generated-artifacts/ERC20BridgeProxy.json",
|
||||||
"generated-artifacts/ERC20Proxy.json",
|
"generated-artifacts/ERC20Proxy.json",
|
||||||
@@ -11,17 +12,32 @@
|
|||||||
"generated-artifacts/Eth2DaiBridge.json",
|
"generated-artifacts/Eth2DaiBridge.json",
|
||||||
"generated-artifacts/IAssetData.json",
|
"generated-artifacts/IAssetData.json",
|
||||||
"generated-artifacts/IAssetProxy.json",
|
"generated-artifacts/IAssetProxy.json",
|
||||||
|
"generated-artifacts/IAssetProxyDispatcher.json",
|
||||||
|
"generated-artifacts/IAuthorizable.json",
|
||||||
|
"generated-artifacts/IChai.json",
|
||||||
|
"generated-artifacts/IDydx.json",
|
||||||
|
"generated-artifacts/IDydxBridge.json",
|
||||||
|
"generated-artifacts/IERC20Bridge.json",
|
||||||
|
"generated-artifacts/IEth2Dai.json",
|
||||||
|
"generated-artifacts/IKyberNetworkProxy.json",
|
||||||
|
"generated-artifacts/IUniswapExchange.json",
|
||||||
|
"generated-artifacts/IUniswapExchangeFactory.json",
|
||||||
"generated-artifacts/KyberBridge.json",
|
"generated-artifacts/KyberBridge.json",
|
||||||
|
"generated-artifacts/MixinAssetProxyDispatcher.json",
|
||||||
|
"generated-artifacts/MixinAuthorizable.json",
|
||||||
"generated-artifacts/MultiAssetProxy.json",
|
"generated-artifacts/MultiAssetProxy.json",
|
||||||
|
"generated-artifacts/Ownable.json",
|
||||||
"generated-artifacts/StaticCallProxy.json",
|
"generated-artifacts/StaticCallProxy.json",
|
||||||
|
"generated-artifacts/TestChaiBridge.json",
|
||||||
|
"generated-artifacts/TestDydxBridge.json",
|
||||||
|
"generated-artifacts/TestERC20Bridge.json",
|
||||||
|
"generated-artifacts/TestEth2DaiBridge.json",
|
||||||
|
"generated-artifacts/TestKyberBridge.json",
|
||||||
"generated-artifacts/TestStaticCallTarget.json",
|
"generated-artifacts/TestStaticCallTarget.json",
|
||||||
|
"generated-artifacts/TestUniswapBridge.json",
|
||||||
"generated-artifacts/UniswapBridge.json",
|
"generated-artifacts/UniswapBridge.json",
|
||||||
<<<<<<< HEAD
|
|
||||||
"test/generated-artifacts/ChaiBridge.json",
|
"test/generated-artifacts/ChaiBridge.json",
|
||||||
"test/generated-artifacts/DyDxBridge.json",
|
|
||||||
=======
|
|
||||||
"test/generated-artifacts/DydxBridge.json",
|
"test/generated-artifacts/DydxBridge.json",
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
"test/generated-artifacts/ERC1155Proxy.json",
|
"test/generated-artifacts/ERC1155Proxy.json",
|
||||||
"test/generated-artifacts/ERC20BridgeProxy.json",
|
"test/generated-artifacts/ERC20BridgeProxy.json",
|
||||||
"test/generated-artifacts/ERC20Proxy.json",
|
"test/generated-artifacts/ERC20Proxy.json",
|
||||||
@@ -31,16 +47,9 @@
|
|||||||
"test/generated-artifacts/IAssetProxy.json",
|
"test/generated-artifacts/IAssetProxy.json",
|
||||||
"test/generated-artifacts/IAssetProxyDispatcher.json",
|
"test/generated-artifacts/IAssetProxyDispatcher.json",
|
||||||
"test/generated-artifacts/IAuthorizable.json",
|
"test/generated-artifacts/IAuthorizable.json",
|
||||||
<<<<<<< HEAD
|
|
||||||
"test/generated-artifacts/IChai.json",
|
"test/generated-artifacts/IChai.json",
|
||||||
"test/generated-artifacts/IDyDx.json",
|
|
||||||
=======
|
|
||||||
"test/generated-artifacts/IDydx.json",
|
"test/generated-artifacts/IDydx.json",
|
||||||
<<<<<<< HEAD
|
|
||||||
>>>>>>> ee82a0f67... Consistent capitalization for "dydx"`
|
|
||||||
=======
|
|
||||||
"test/generated-artifacts/IDydxBridge.json",
|
"test/generated-artifacts/IDydxBridge.json",
|
||||||
>>>>>>> 5e2de489d... Updating bridge to work w/o MAP
|
|
||||||
"test/generated-artifacts/IERC20Bridge.json",
|
"test/generated-artifacts/IERC20Bridge.json",
|
||||||
"test/generated-artifacts/IEth2Dai.json",
|
"test/generated-artifacts/IEth2Dai.json",
|
||||||
"test/generated-artifacts/IKyberNetworkProxy.json",
|
"test/generated-artifacts/IKyberNetworkProxy.json",
|
||||||
@@ -53,6 +62,7 @@
|
|||||||
"test/generated-artifacts/Ownable.json",
|
"test/generated-artifacts/Ownable.json",
|
||||||
"test/generated-artifacts/StaticCallProxy.json",
|
"test/generated-artifacts/StaticCallProxy.json",
|
||||||
"test/generated-artifacts/TestChaiBridge.json",
|
"test/generated-artifacts/TestChaiBridge.json",
|
||||||
|
"test/generated-artifacts/TestDydxBridge.json",
|
||||||
"test/generated-artifacts/TestERC20Bridge.json",
|
"test/generated-artifacts/TestERC20Bridge.json",
|
||||||
"test/generated-artifacts/TestEth2DaiBridge.json",
|
"test/generated-artifacts/TestEth2DaiBridge.json",
|
||||||
"test/generated-artifacts/TestKyberBridge.json",
|
"test/generated-artifacts/TestKyberBridge.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user