transformed the new artifacts
This commit is contained in:
parent
fa8e8ad52d
commit
82b0f85258
@ -1,158 +1,90 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": "2.0.0",
|
"schemaVersion": "2.0.0",
|
||||||
"contractName": "DummyLiquidityProvider",
|
"contractName": "DummyLiquidityProvider",
|
||||||
"compilerOutput": {
|
"compilerOutput": {
|
||||||
"abi": [
|
"abi": [
|
||||||
{
|
{ "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" },
|
||||||
"inputs": [],
|
{
|
||||||
"payable": false,
|
"constant": true,
|
||||||
"stateMutability": "nonpayable",
|
"inputs": [
|
||||||
"type": "constructor"
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
},
|
{ "internalType": "address", "name": "makerToken", "type": "address" },
|
||||||
{
|
{ "internalType": "uint256", "name": "buyAmount", "type": "uint256" }
|
||||||
"constant": true,
|
],
|
||||||
"inputs": [
|
"name": "getBuyQuote",
|
||||||
{
|
"outputs": [{ "internalType": "uint256", "name": "takerTokenAmount", "type": "uint256" }],
|
||||||
"internalType": "address",
|
"payable": false,
|
||||||
"name": "takerToken",
|
"stateMutability": "view",
|
||||||
"type": "address"
|
"type": "function"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"internalType": "address",
|
"constant": true,
|
||||||
"name": "makerToken",
|
"inputs": [
|
||||||
"type": "address"
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
},
|
{ "internalType": "address", "name": "makerToken", "type": "address" },
|
||||||
{
|
{ "internalType": "uint256", "name": "sellAmount", "type": "uint256" }
|
||||||
"internalType": "uint256",
|
],
|
||||||
"name": "buyAmount",
|
"name": "getSellQuote",
|
||||||
"type": "uint256"
|
"outputs": [{ "internalType": "uint256", "name": "makerTokenAmount", "type": "uint256" }],
|
||||||
}
|
"payable": false,
|
||||||
],
|
"stateMutability": "view",
|
||||||
"name": "getBuyQuote",
|
"type": "function"
|
||||||
"outputs": [
|
}
|
||||||
{
|
],
|
||||||
"internalType": "uint256",
|
"devdoc": {
|
||||||
"name": "takerTokenAmount",
|
"methods": {
|
||||||
"type": "uint256"
|
"getBuyQuote(address,address,uint256)": {
|
||||||
}
|
"details": "Quotes the amount of `takerToken` that would need to be sold in order to obtain `buyAmount` of `makerToken`.",
|
||||||
],
|
"params": {
|
||||||
"payable": false,
|
"buyAmount": "Amount of `makerToken` to buy.",
|
||||||
"stateMutability": "view",
|
"makerToken": "Address of the maker token (what to buy).",
|
||||||
"type": "function"
|
"takerToken": "Address of the taker token (what to sell)."
|
||||||
},
|
},
|
||||||
{
|
"return": "takerTokenAmount Amount of `takerToken` that would need to be sold."
|
||||||
"constant": true,
|
},
|
||||||
"inputs": [
|
"getSellQuote(address,address,uint256)": {
|
||||||
{
|
"details": "Quotes the amount of `makerToken` that would be obtained by selling `sellAmount` of `takerToken`.",
|
||||||
"internalType": "address",
|
"params": {
|
||||||
"name": "takerToken",
|
"makerToken": "Address of the maker token (what to buy).",
|
||||||
"type": "address"
|
"sellAmount": "Amount of `takerToken` to sell.",
|
||||||
},
|
"takerToken": "Address of the taker token (what to sell)."
|
||||||
{
|
},
|
||||||
"internalType": "address",
|
"return": "makerTokenAmount Amount of `makerToken` that would be obtained."
|
||||||
"name": "makerToken",
|
}
|
||||||
"type": "address"
|
}
|
||||||
},
|
},
|
||||||
{
|
"evm": {
|
||||||
"internalType": "uint256",
|
"bytecode": {
|
||||||
"name": "sellAmount",
|
"object": "0x608060405234801561001057600080fd5b50610159806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063343fbcdd1461003b57806345060eb014610064575b600080fd5b61004e6100493660046100a8565b610077565b60405161005b91906100e8565b60405180910390f35b61004e6100723660046100a8565b61009f565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b60010192915050565b6000806000606084860312156100bc578283fd5b83356100c7816100f1565b925060208401356100d7816100f1565b929592945050506040919091013590565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461011357600080fd5b5056fea365627a7a723158202381fcfabad426957f70167a455c05b45e1a6babf4a85fb8887359d558fd68e46c6578706572696d656e74616cf564736f6c63430005100040"
|
||||||
"type": "uint256"
|
},
|
||||||
}
|
"deployedBytecode": {
|
||||||
],
|
"object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063343fbcdd1461003b57806345060eb014610064575b600080fd5b61004e6100493660046100a8565b610077565b60405161005b91906100e8565b60405180910390f35b61004e6100723660046100a8565b61009f565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b60010192915050565b6000806000606084860312156100bc578283fd5b83356100c7816100f1565b925060208401356100d7816100f1565b929592945050506040919091013590565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461011357600080fd5b5056fea365627a7a723158202381fcfabad426957f70167a455c05b45e1a6babf4a85fb8887359d558fd68e46c6578706572696d656e74616cf564736f6c63430005100040"
|
||||||
"name": "getSellQuote",
|
}
|
||||||
"outputs": [
|
}
|
||||||
{
|
},
|
||||||
"internalType": "uint256",
|
"compiler": {
|
||||||
"name": "makerTokenAmount",
|
"name": "solc",
|
||||||
"type": "uint256"
|
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
||||||
}
|
"settings": {
|
||||||
],
|
"optimizer": {
|
||||||
"payable": false,
|
"enabled": true,
|
||||||
"stateMutability": "view",
|
"runs": 1000000,
|
||||||
"type": "function"
|
"details": { "yul": true, "deduplicate": true, "cse": true, "constantOptimizer": true }
|
||||||
}
|
},
|
||||||
],
|
"outputSelection": {
|
||||||
"devdoc": {
|
"*": {
|
||||||
"methods": {
|
"*": [
|
||||||
"getBuyQuote(address,address,uint256)": {
|
"abi",
|
||||||
"details": "Quotes the amount of `takerToken` that would need to be sold in order to obtain `buyAmount` of `makerToken`.",
|
"devdoc",
|
||||||
"params": {
|
"evm.bytecode.object",
|
||||||
"buyAmount": "Amount of `makerToken` to buy.",
|
"evm.bytecode.sourceMap",
|
||||||
"makerToken": "Address of the maker token (what to buy).",
|
"evm.deployedBytecode.object",
|
||||||
"takerToken": "Address of the taker token (what to sell)."
|
"evm.deployedBytecode.sourceMap"
|
||||||
},
|
]
|
||||||
"return": "takerTokenAmount Amount of `takerToken` that would need to be sold."
|
}
|
||||||
},
|
},
|
||||||
"getSellQuote(address,address,uint256)": {
|
"evmVersion": "istanbul"
|
||||||
"details": "Quotes the amount of `makerToken` that would be obtained by selling `sellAmount` of `takerToken`.",
|
}
|
||||||
"params": {
|
},
|
||||||
"makerToken": "Address of the maker token (what to buy).",
|
"chains": {}
|
||||||
"sellAmount": "Amount of `takerToken` to sell.",
|
}
|
||||||
"takerToken": "Address of the taker token (what to sell)."
|
|
||||||
},
|
|
||||||
"return": "makerTokenAmount Amount of `makerToken` that would be obtained."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"evm": {
|
|
||||||
"bytecode": {
|
|
||||||
"linkReferences": {},
|
|
||||||
"object": "0x608060405234801561001057600080fd5b50610159806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063343fbcdd1461003b57806345060eb014610064575b600080fd5b61004e6100493660046100a8565b610077565b60405161005b91906100e8565b60405180910390f35b61004e6100723660046100a8565b61009f565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b60010192915050565b6000806000606084860312156100bc578283fd5b83356100c7816100f1565b925060208401356100d7816100f1565b929592945050506040919091013590565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461011357600080fd5b5056fea365627a7a723158202381fcfabad426957f70167a455c05b45e1a6babf4a85fb8887359d558fd68e46c6578706572696d656e74616cf564736f6c63430005100040",
|
|
||||||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x159 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x343FBCDD EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x45060EB0 EQ PUSH2 0x64 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x49 CALLDATASIZE PUSH1 0x4 PUSH2 0xA8 JUMP JUMPDEST PUSH2 0x77 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0xE8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x4E PUSH2 0x72 CALLDATASIZE PUSH1 0x4 PUSH2 0xA8 JUMP JUMPDEST PUSH2 0x9F JUMP JUMPDEST PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xBC JUMPI DUP3 DUP4 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0xC7 DUP2 PUSH2 0xF1 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0xD7 DUP2 PUSH2 0xF1 JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x113 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 0x23 DUP2 0xFC STATICCALL 0xBA 0xD4 0x26 SWAP6 PUSH32 0x70167A455C05B45E1A6BABF4A85FB8887359D558FD68E46C6578706572696D65 PUSH15 0x74616CF564736F6C63430005100040 ",
|
|
||||||
"sourceMap": "61:1381:0:-;;;99:35;8:9:-1;5:2;;;30:1;27;20:12;5:2;99:35:0;61:1381;;;;;;"
|
|
||||||
},
|
|
||||||
"deployedBytecode": {
|
|
||||||
"linkReferences": {},
|
|
||||||
"object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063343fbcdd1461003b57806345060eb014610064575b600080fd5b61004e6100493660046100a8565b610077565b60405161005b91906100e8565b60405180910390f35b61004e6100723660046100a8565b61009f565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b60010192915050565b6000806000606084860312156100bc578283fd5b83356100c7816100f1565b925060208401356100d7816100f1565b929592945050506040919091013590565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461011357600080fd5b5056fea365627a7a723158202381fcfabad426957f70167a455c05b45e1a6babf4a85fb8887359d558fd68e46c6578706572696d656e74616cf564736f6c63430005100040",
|
|
||||||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x343FBCDD EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x45060EB0 EQ PUSH2 0x64 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x49 CALLDATASIZE PUSH1 0x4 PUSH2 0xA8 JUMP JUMPDEST PUSH2 0x77 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0xE8 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x4E PUSH2 0x72 CALLDATASIZE PUSH1 0x4 PUSH2 0xA8 JUMP JUMPDEST PUSH2 0x9F JUMP JUMPDEST PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0xBC JUMPI DUP3 DUP4 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0xC7 DUP2 PUSH2 0xF1 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0xD7 DUP2 PUSH2 0xF1 JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP1 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x113 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 0x23 DUP2 0xFC STATICCALL 0xBA 0xD4 0x26 SWAP6 PUSH32 0x70167A455C05B45E1A6BABF4A85FB8887359D558FD68E46C6578706572696D65 PUSH15 0x74616CF564736F6C63430005100040 ",
|
|
||||||
"sourceMap": "61:1381:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;61:1381:0;;;;;;;;;;;;;;;;;;;;;;;;539:243;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1200:240;;;;;;;;;:::i;539:243::-;757:14;;;539:243;-1:-1:-1;;539:243:0:o;1200:240::-;1428:1;1416:13;;1200:240;-1:-1:-1;;1200:240:0:o;279:491:-1:-;;;;417:2;405:9;396:7;392:23;388:32;385:2;;;-1:-1;;423:12;385:2;85:6;72:20;97:33;124:5;97:33;;;475:63;-1:-1;575:2;614:22;;72:20;97:33;72:20;97:33;;;379:391;;583:63;;-1:-1;;;683:2;722:22;;;;209:20;;379:391;897:213;848:37;;;1015:2;1000:18;;986:124;1422:117;1288:42;1509:5;1277:54;1484:5;1481:35;1471:2;;1530:1;;1520:12;1471:2;1465:74;"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sources": {
|
|
||||||
"src/DummyLiquidityProvider.sol": {
|
|
||||||
"id": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sourceCodes": {
|
|
||||||
"src/DummyLiquidityProvider.sol": "pragma solidity ^0.5.9;\npragma experimental ABIEncoderV2;\n\n\n\ncontract DummyLiquidityProvider\n{\n constructor()\n public\n {}\n\n /// @dev Quotes the amount of `makerToken` that would be obtained by\n /// selling `sellAmount` of `takerToken`.\n /// @param takerToken Address of the taker token (what to sell).\n /// @param makerToken Address of the maker token (what to buy).\n /// @param sellAmount Amount of `takerToken` to sell.\n /// @return makerTokenAmount Amount of `makerToken` that would be obtained.\n function getSellQuote(\n address takerToken,\n address makerToken,\n uint256 sellAmount\n )\n external\n view\n returns (uint256 makerTokenAmount) {\n makerTokenAmount = sellAmount - 1;\n }\n\n /// @dev Quotes the amount of `takerToken` that would need to be sold in\n /// order to obtain `buyAmount` of `makerToken`.\n /// @param takerToken Address of the taker token (what to sell).\n /// @param makerToken Address of the maker token (what to buy).\n /// @param buyAmount Amount of `makerToken` to buy.\n /// @return takerTokenAmount Amount of `takerToken` that would need to be sold.\n function getBuyQuote(\n address takerToken,\n address makerToken,\n uint256 buyAmount\n )\n external\n view\n returns (uint256 takerTokenAmount) {\n takerTokenAmount = buyAmount + 1;\n }\n}"
|
|
||||||
},
|
|
||||||
"sourceTreeHashHex": "0x5962f24dc9460337e176690d71cba0289aec29cd924cdc5eedd32a32147ae773",
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
|
||||||
"settings": {
|
|
||||||
"optimizer": {
|
|
||||||
"enabled": true,
|
|
||||||
"runs": 1000000,
|
|
||||||
"details": {
|
|
||||||
"yul": true,
|
|
||||||
"deduplicate": true,
|
|
||||||
"cse": true,
|
|
||||||
"constantOptimizer": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"outputSelection": {
|
|
||||||
"*": {
|
|
||||||
"*": [
|
|
||||||
"abi",
|
|
||||||
"devdoc",
|
|
||||||
"evm.bytecode.object",
|
|
||||||
"evm.bytecode.sourceMap",
|
|
||||||
"evm.deployedBytecode.object",
|
|
||||||
"evm.deployedBytecode.sourceMap"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"evmVersion": "istanbul",
|
|
||||||
"remappings": [
|
|
||||||
"@0x/contracts-asset-proxy=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-asset-proxy",
|
|
||||||
"@0x/contracts-erc20=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-erc20",
|
|
||||||
"@0x/contracts-utils=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-utils",
|
|
||||||
"@0x/contracts-exchange-libs=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange-libs",
|
|
||||||
"@0x/contracts-exchange=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chains": {}
|
|
||||||
}
|
|
||||||
|
@ -1,145 +1,87 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": "2.0.0",
|
"schemaVersion": "2.0.0",
|
||||||
"contractName": "DummyLiquidityProviderRegistry",
|
"contractName": "DummyLiquidityProviderRegistry",
|
||||||
"compilerOutput": {
|
"compilerOutput": {
|
||||||
"abi": [
|
"abi": [
|
||||||
{
|
{ "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" },
|
||||||
"inputs": [],
|
{
|
||||||
"payable": false,
|
"constant": true,
|
||||||
"stateMutability": "nonpayable",
|
"inputs": [
|
||||||
"type": "constructor"
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
},
|
{ "internalType": "address", "name": "makerToken", "type": "address" }
|
||||||
{
|
],
|
||||||
"constant": true,
|
"name": "getLiquidityProviderForMarket",
|
||||||
"inputs": [
|
"outputs": [{ "internalType": "address", "name": "poolAddress", "type": "address" }],
|
||||||
{
|
"payable": false,
|
||||||
"internalType": "address",
|
"stateMutability": "view",
|
||||||
"name": "takerToken",
|
"type": "function"
|
||||||
"type": "address"
|
},
|
||||||
},
|
{
|
||||||
{
|
"constant": false,
|
||||||
"internalType": "address",
|
"inputs": [
|
||||||
"name": "makerToken",
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
"type": "address"
|
{ "internalType": "address", "name": "makerToken", "type": "address" },
|
||||||
}
|
{ "internalType": "address", "name": "poolAddress", "type": "address" }
|
||||||
],
|
],
|
||||||
"name": "getLiquidityProviderForMarket",
|
"name": "setLiquidityProviderForMarket",
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
"payable": false,
|
||||||
"internalType": "address",
|
"stateMutability": "nonpayable",
|
||||||
"name": "poolAddress",
|
"type": "function"
|
||||||
"type": "address"
|
}
|
||||||
}
|
],
|
||||||
],
|
"devdoc": {
|
||||||
"payable": false,
|
"methods": {
|
||||||
"stateMutability": "view",
|
"getLiquidityProviderForMarket(address,address)": {
|
||||||
"type": "function"
|
"details": "Returns the address of pool for a market given market (xAsset, yAsset), or reverts if pool does not exist.",
|
||||||
},
|
"params": {
|
||||||
{
|
"makerToken": "Second asset managed by pool.",
|
||||||
"constant": false,
|
"takerToken": "First asset managed by pool."
|
||||||
"inputs": [
|
},
|
||||||
{
|
"return": "Address of pool."
|
||||||
"internalType": "address",
|
},
|
||||||
"name": "takerToken",
|
"setLiquidityProviderForMarket(address,address,address)": {
|
||||||
"type": "address"
|
"details": "Sets address of pool for a market given market (xAsset, yAsset).",
|
||||||
},
|
"params": {
|
||||||
{
|
"makerToken": "Second asset managed by pool.",
|
||||||
"internalType": "address",
|
"poolAddress": "Address of pool.",
|
||||||
"name": "makerToken",
|
"takerToken": "First asset managed by pool."
|
||||||
"type": "address"
|
}
|
||||||
},
|
}
|
||||||
{
|
}
|
||||||
"internalType": "address",
|
},
|
||||||
"name": "poolAddress",
|
"evm": {
|
||||||
"type": "address"
|
"bytecode": {
|
||||||
}
|
"object": "0x608060405234801561001057600080fd5b506102a6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063153f59971461003b57806384da8d1e14610064575b600080fd5b61004e610049366004610192565b610079565b60405161005b919061020b565b60405180910390f35b6100776100723660046101c6565b6100f2565b005b73ffffffffffffffffffffffffffffffffffffffff808316600090815260208181526040808320858516845290915290205416806100ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e39061022c565b60405180910390fd5b92915050565b73ffffffffffffffffffffffffffffffffffffffff92831660008181526020818152604080832095871683529481528482208054969094167fffffffffffffffffffffffff0000000000000000000000000000000000000000968716811790945581815284822092825291909152919091208054909216179055565b803573ffffffffffffffffffffffffffffffffffffffff811681146100ec57600080fd5b600080604083850312156101a4578182fd5b6101ae848461016e565b91506101bd846020850161016e565b90509250929050565b6000806000606084860312156101da578081fd5b6101e4858561016e565b92506101f3856020860161016e565b9150610202856040860161016e565b90509250925092565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252601c908201527f52656769737472792f4d41524b45545f504149525f4e4f545f5345540000000060408201526060019056fea365627a7a72315820e9d014b71aff38d71d3d9efe78edb01a2b319d7bd2dddac70764cfb4924be0136c6578706572696d656e74616cf564736f6c63430005100040"
|
||||||
],
|
},
|
||||||
"name": "setLiquidityProviderForMarket",
|
"deployedBytecode": {
|
||||||
"outputs": [],
|
"object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063153f59971461003b57806384da8d1e14610064575b600080fd5b61004e610049366004610192565b610079565b60405161005b919061020b565b60405180910390f35b6100776100723660046101c6565b6100f2565b005b73ffffffffffffffffffffffffffffffffffffffff808316600090815260208181526040808320858516845290915290205416806100ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e39061022c565b60405180910390fd5b92915050565b73ffffffffffffffffffffffffffffffffffffffff92831660008181526020818152604080832095871683529481528482208054969094167fffffffffffffffffffffffff0000000000000000000000000000000000000000968716811790945581815284822092825291909152919091208054909216179055565b803573ffffffffffffffffffffffffffffffffffffffff811681146100ec57600080fd5b600080604083850312156101a4578182fd5b6101ae848461016e565b91506101bd846020850161016e565b90509250929050565b6000806000606084860312156101da578081fd5b6101e4858561016e565b92506101f3856020860161016e565b9150610202856040860161016e565b90509250925092565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252601c908201527f52656769737472792f4d41524b45545f504149525f4e4f545f5345540000000060408201526060019056fea365627a7a72315820e9d014b71aff38d71d3d9efe78edb01a2b319d7bd2dddac70764cfb4924be0136c6578706572696d656e74616cf564736f6c63430005100040"
|
||||||
"payable": false,
|
}
|
||||||
"stateMutability": "nonpayable",
|
}
|
||||||
"type": "function"
|
},
|
||||||
}
|
"compiler": {
|
||||||
],
|
"name": "solc",
|
||||||
"devdoc": {
|
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
||||||
"methods": {
|
"settings": {
|
||||||
"getLiquidityProviderForMarket(address,address)": {
|
"optimizer": {
|
||||||
"details": "Returns the address of pool for a market given market (xAsset, yAsset), or reverts if pool does not exist.",
|
"enabled": true,
|
||||||
"params": {
|
"runs": 1000000,
|
||||||
"makerToken": "Second asset managed by pool.",
|
"details": { "yul": true, "deduplicate": true, "cse": true, "constantOptimizer": true }
|
||||||
"takerToken": "First asset managed by pool."
|
},
|
||||||
},
|
"outputSelection": {
|
||||||
"return": "Address of pool."
|
"*": {
|
||||||
},
|
"*": [
|
||||||
"setLiquidityProviderForMarket(address,address,address)": {
|
"abi",
|
||||||
"details": "Sets address of pool for a market given market (xAsset, yAsset).",
|
"devdoc",
|
||||||
"params": {
|
"evm.bytecode.object",
|
||||||
"makerToken": "Second asset managed by pool.",
|
"evm.bytecode.sourceMap",
|
||||||
"poolAddress": "Address of pool.",
|
"evm.deployedBytecode.object",
|
||||||
"takerToken": "First asset managed by pool."
|
"evm.deployedBytecode.sourceMap"
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
"evmVersion": "istanbul"
|
||||||
"evm": {
|
}
|
||||||
"bytecode": {
|
},
|
||||||
"linkReferences": {},
|
"chains": {}
|
||||||
"object": "0x608060405234801561001057600080fd5b506102a6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063153f59971461003b57806384da8d1e14610064575b600080fd5b61004e610049366004610192565b610079565b60405161005b919061020b565b60405180910390f35b6100776100723660046101c6565b6100f2565b005b73ffffffffffffffffffffffffffffffffffffffff808316600090815260208181526040808320858516845290915290205416806100ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e39061022c565b60405180910390fd5b92915050565b73ffffffffffffffffffffffffffffffffffffffff92831660008181526020818152604080832095871683529481528482208054969094167fffffffffffffffffffffffff0000000000000000000000000000000000000000968716811790945581815284822092825291909152919091208054909216179055565b803573ffffffffffffffffffffffffffffffffffffffff811681146100ec57600080fd5b600080604083850312156101a4578182fd5b6101ae848461016e565b91506101bd846020850161016e565b90509250929050565b6000806000606084860312156101da578081fd5b6101e4858561016e565b92506101f3856020860161016e565b9150610202856040860161016e565b90509250925092565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252601c908201527f52656769737472792f4d41524b45545f504149525f4e4f545f5345540000000060408201526060019056fea365627a7a72315820e9d014b71aff38d71d3d9efe78edb01a2b319d7bd2dddac70764cfb4924be0136c6578706572696d656e74616cf564736f6c63430005100040",
|
}
|
||||||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2A6 DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x153F5997 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x84DA8D1E EQ PUSH2 0x64 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x49 CALLDATASIZE PUSH1 0x4 PUSH2 0x192 JUMP JUMPDEST PUSH2 0x79 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x77 PUSH2 0x72 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C6 JUMP JUMPDEST PUSH2 0xF2 JUMP JUMPDEST STOP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP6 DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD AND DUP1 PUSH2 0xEC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE3 SWAP1 PUSH2 0x22C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP6 DUP8 AND DUP4 MSTORE SWAP5 DUP2 MSTORE DUP5 DUP3 KECCAK256 DUP1 SLOAD SWAP7 SWAP1 SWAP5 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 SWAP7 DUP8 AND DUP2 OR SWAP1 SWAP5 SSTORE DUP2 DUP2 MSTORE DUP5 DUP3 KECCAK256 SWAP3 DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND OR SWAP1 SSTORE JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0xEC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1A4 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x1AE DUP5 DUP5 PUSH2 0x16E JUMP JUMPDEST SWAP2 POP PUSH2 0x1BD DUP5 PUSH1 0x20 DUP6 ADD PUSH2 0x16E JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1DA JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x1E4 DUP6 DUP6 PUSH2 0x16E JUMP JUMPDEST SWAP3 POP PUSH2 0x1F3 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x16E JUMP JUMPDEST SWAP2 POP PUSH2 0x202 DUP6 PUSH1 0x40 DUP7 ADD PUSH2 0x16E JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1C SWAP1 DUP3 ADD MSTORE PUSH32 0x52656769737472792F4D41524B45545F504149525F4E4F545F53455400000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 0xE9 0xD0 EQ 0xB7 BYTE SELFDESTRUCT CODESIZE 0xD7 SAR RETURNDATASIZE SWAP15 INVALID PUSH25 0xEDB01A2B319D7BD2DDDAC70764CFB4924BE0136C6578706572 PUSH10 0x6D656E74616CF564736F PUSH13 0x63430005100040000000000000 ",
|
|
||||||
"sourceMap": "60:1355:1:-;;;165:35;8:9:-1;5:2;;;30:1;27;20:12;5:2;165:35:1;60:1355;;;;;;"
|
|
||||||
},
|
|
||||||
"deployedBytecode": {
|
|
||||||
"linkReferences": {},
|
|
||||||
"object": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063153f59971461003b57806384da8d1e14610064575b600080fd5b61004e610049366004610192565b610079565b60405161005b919061020b565b60405180910390f35b6100776100723660046101c6565b6100f2565b005b73ffffffffffffffffffffffffffffffffffffffff808316600090815260208181526040808320858516845290915290205416806100ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e39061022c565b60405180910390fd5b92915050565b73ffffffffffffffffffffffffffffffffffffffff92831660008181526020818152604080832095871683529481528482208054969094167fffffffffffffffffffffffff0000000000000000000000000000000000000000968716811790945581815284822092825291909152919091208054909216179055565b803573ffffffffffffffffffffffffffffffffffffffff811681146100ec57600080fd5b600080604083850312156101a4578182fd5b6101ae848461016e565b91506101bd846020850161016e565b90509250929050565b6000806000606084860312156101da578081fd5b6101e4858561016e565b92506101f3856020860161016e565b9150610202856040860161016e565b90509250925092565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b6020808252601c908201527f52656769737472792f4d41524b45545f504149525f4e4f545f5345540000000060408201526060019056fea365627a7a72315820e9d014b71aff38d71d3d9efe78edb01a2b319d7bd2dddac70764cfb4924be0136c6578706572696d656e74616cf564736f6c63430005100040",
|
|
||||||
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x153F5997 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x84DA8D1E EQ PUSH2 0x64 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0x49 CALLDATASIZE PUSH1 0x4 PUSH2 0x192 JUMP JUMPDEST PUSH2 0x79 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x5B SWAP2 SWAP1 PUSH2 0x20B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x77 PUSH2 0x72 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C6 JUMP JUMPDEST PUSH2 0xF2 JUMP JUMPDEST STOP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP6 DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD AND DUP1 PUSH2 0xEC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE3 SWAP1 PUSH2 0x22C JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP6 DUP8 AND DUP4 MSTORE SWAP5 DUP2 MSTORE DUP5 DUP3 KECCAK256 DUP1 SLOAD SWAP7 SWAP1 SWAP5 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 SWAP7 DUP8 AND DUP2 OR SWAP1 SWAP5 SSTORE DUP2 DUP2 MSTORE DUP5 DUP3 KECCAK256 SWAP3 DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND OR SWAP1 SSTORE JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0xEC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1A4 JUMPI DUP2 DUP3 REVERT JUMPDEST PUSH2 0x1AE DUP5 DUP5 PUSH2 0x16E JUMP JUMPDEST SWAP2 POP PUSH2 0x1BD DUP5 PUSH1 0x20 DUP6 ADD PUSH2 0x16E JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1DA JUMPI DUP1 DUP2 REVERT JUMPDEST PUSH2 0x1E4 DUP6 DUP6 PUSH2 0x16E JUMP JUMPDEST SWAP3 POP PUSH2 0x1F3 DUP6 PUSH1 0x20 DUP7 ADD PUSH2 0x16E JUMP JUMPDEST SWAP2 POP PUSH2 0x202 DUP6 PUSH1 0x40 DUP7 ADD PUSH2 0x16E JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1C SWAP1 DUP3 ADD MSTORE PUSH32 0x52656769737472792F4D41524B45545F504149525F4E4F545F53455400000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP INVALID LOG3 PUSH6 0x627A7A723158 KECCAK256 0xE9 0xD0 EQ 0xB7 BYTE SELFDESTRUCT CODESIZE 0xD7 SAR RETURNDATASIZE SWAP15 INVALID PUSH25 0xEDB01A2B319D7BD2DDDAC70764CFB4924BE0136C6578706572 PUSH10 0x6D656E74616CF564736F PUSH13 0x63430005100040000000000000 ",
|
|
||||||
"sourceMap": "60:1355:1:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;60:1355:1;;;;;;;;;;;;;;;;;;;;;;;;1060:353;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;518:272;;;;;;;;;:::i;:::-;;1060:353;1257:25;;;;1208:19;1257:25;;;;;;;;;;;:37;;;;;;;;;;;;1325:27;1304:102;;;;;;;;;;;;;;;;;;;;;;1060:353;;;;:::o;518:272::-;671:25;;;;:13;:25;;;;;;;;;;;:37;;;;;;;;;;;:51;;;;;;;;;;;;;;;732:25;;;;;;:37;;;;;;;;;;;:51;;;;;;;;518:272::o;5:130:-1:-;72:20;;2447:42;2436:54;;2561:35;;2551:2;;2610:1;;2600:12;142:366;;;263:2;251:9;242:7;238:23;234:32;231:2;;;-1:-1;;269:12;231:2;331:53;376:7;352:22;331:53;;;321:63;;439:53;484:7;421:2;464:9;460:22;439:53;;;429:63;;225:283;;;;;;515:491;;;;653:2;641:9;632:7;628:23;624:32;621:2;;;-1:-1;;659:12;621:2;721:53;766:7;742:22;721:53;;;711:63;;829:53;874:7;811:2;854:9;850:22;829:53;;;819:63;;937:53;982:7;919:2;962:9;958:22;937:53;;;927:63;;615:391;;;;;;1470:213;2447:42;2436:54;;;;1084:37;;1588:2;1573:18;;1559:124;1690:407;1881:2;1895:47;;;1358:2;1866:18;;;2208:19;1394:30;2248:14;;;1374:51;1444:12;;;1852:245"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sources": {
|
|
||||||
"src/DummyLiquidityProviderRegistry.sol": {
|
|
||||||
"id": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sourceCodes": {
|
|
||||||
"src/DummyLiquidityProviderRegistry.sol": "pragma solidity ^0.5.9;\npragma experimental ABIEncoderV2;\n\n\ncontract DummyLiquidityProviderRegistry\n{\n address private constant NULL_ADDRESS = address(0x0);\n\n constructor()\n public\n {}\n\n mapping (address => mapping (address => address)) internal _gAddressBook;\n\n /// @dev Sets address of pool for a market given market (xAsset, yAsset).\n /// @param takerToken First asset managed by pool.\n /// @param makerToken Second asset managed by pool.\n /// @param poolAddress Address of pool.\n function setLiquidityProviderForMarket(\n address takerToken,\n address makerToken,\n address poolAddress\n ) external\n {\n _gAddressBook[takerToken][makerToken] = poolAddress;\n _gAddressBook[makerToken][takerToken] = poolAddress;\n }\n\n /// @dev Returns the address of pool for a market given market (xAsset, yAsset), or reverts if pool does not exist.\n /// @param takerToken First asset managed by pool.\n /// @param makerToken Second asset managed by pool.\n /// @return Address of pool.\n function getLiquidityProviderForMarket(\n address takerToken,\n address makerToken\n )\n external\n view\n returns (address poolAddress)\n {\n poolAddress = _gAddressBook[takerToken][makerToken];\n require(\n poolAddress != NULL_ADDRESS,\n \"Registry/MARKET_PAIR_NOT_SET\"\n );\n }\n}"
|
|
||||||
},
|
|
||||||
"sourceTreeHashHex": "0xd7384821c9485d12dcbfe63802f637b5d32687aaf1245c2f2385558583a79d72",
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
|
||||||
"settings": {
|
|
||||||
"optimizer": {
|
|
||||||
"enabled": true,
|
|
||||||
"runs": 1000000,
|
|
||||||
"details": {
|
|
||||||
"yul": true,
|
|
||||||
"deduplicate": true,
|
|
||||||
"cse": true,
|
|
||||||
"constantOptimizer": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"outputSelection": {
|
|
||||||
"*": {
|
|
||||||
"*": [
|
|
||||||
"abi",
|
|
||||||
"devdoc",
|
|
||||||
"evm.bytecode.object",
|
|
||||||
"evm.bytecode.sourceMap",
|
|
||||||
"evm.deployedBytecode.object",
|
|
||||||
"evm.deployedBytecode.sourceMap"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"evmVersion": "istanbul",
|
|
||||||
"remappings": [
|
|
||||||
"@0x/contracts-asset-proxy=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-asset-proxy",
|
|
||||||
"@0x/contracts-erc20=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-erc20",
|
|
||||||
"@0x/contracts-utils=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-utils",
|
|
||||||
"@0x/contracts-exchange-libs=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange-libs",
|
|
||||||
"@0x/contracts-exchange=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chains": {}
|
|
||||||
}
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,204 +1,108 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": "2.0.0",
|
"schemaVersion": "2.0.0",
|
||||||
"contractName": "ILiquidityProvider",
|
"contractName": "ILiquidityProvider",
|
||||||
"compilerOutput": {
|
"compilerOutput": {
|
||||||
"abi": [
|
"abi": [
|
||||||
{
|
{
|
||||||
"constant": false,
|
"constant": false,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{ "internalType": "address", "name": "tokenAddress", "type": "address" },
|
||||||
"internalType": "address",
|
{ "internalType": "address", "name": "from", "type": "address" },
|
||||||
"name": "tokenAddress",
|
{ "internalType": "address", "name": "to", "type": "address" },
|
||||||
"type": "address"
|
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
|
||||||
},
|
{ "internalType": "bytes", "name": "bridgeData", "type": "bytes" }
|
||||||
{
|
],
|
||||||
"internalType": "address",
|
"name": "bridgeTransferFrom",
|
||||||
"name": "from",
|
"outputs": [{ "internalType": "bytes4", "name": "success", "type": "bytes4" }],
|
||||||
"type": "address"
|
"payable": false,
|
||||||
},
|
"stateMutability": "nonpayable",
|
||||||
{
|
"type": "function"
|
||||||
"internalType": "address",
|
},
|
||||||
"name": "to",
|
{
|
||||||
"type": "address"
|
"constant": true,
|
||||||
},
|
"inputs": [
|
||||||
{
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
"internalType": "uint256",
|
{ "internalType": "address", "name": "makerToken", "type": "address" },
|
||||||
"name": "amount",
|
{ "internalType": "uint256", "name": "buyAmount", "type": "uint256" }
|
||||||
"type": "uint256"
|
],
|
||||||
},
|
"name": "getBuyQuote",
|
||||||
{
|
"outputs": [{ "internalType": "uint256", "name": "takerTokenAmount", "type": "uint256" }],
|
||||||
"internalType": "bytes",
|
"payable": false,
|
||||||
"name": "bridgeData",
|
"stateMutability": "view",
|
||||||
"type": "bytes"
|
"type": "function"
|
||||||
}
|
},
|
||||||
],
|
{
|
||||||
"name": "bridgeTransferFrom",
|
"constant": true,
|
||||||
"outputs": [
|
"inputs": [
|
||||||
{
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
"internalType": "bytes4",
|
{ "internalType": "address", "name": "makerToken", "type": "address" },
|
||||||
"name": "success",
|
{ "internalType": "uint256", "name": "sellAmount", "type": "uint256" }
|
||||||
"type": "bytes4"
|
],
|
||||||
}
|
"name": "getSellQuote",
|
||||||
],
|
"outputs": [{ "internalType": "uint256", "name": "makerTokenAmount", "type": "uint256" }],
|
||||||
"payable": false,
|
"payable": false,
|
||||||
"stateMutability": "nonpayable",
|
"stateMutability": "view",
|
||||||
"type": "function"
|
"type": "function"
|
||||||
},
|
}
|
||||||
{
|
],
|
||||||
"constant": true,
|
"devdoc": {
|
||||||
"inputs": [
|
"methods": {
|
||||||
{
|
"bridgeTransferFrom(address,address,address,uint256,bytes)": {
|
||||||
"internalType": "address",
|
"details": "Transfers `amount` of the ERC20 `tokenAddress` from `from` to `to`.",
|
||||||
"name": "takerToken",
|
"params": {
|
||||||
"type": "address"
|
"amount": "Amount of asset to transfer.",
|
||||||
},
|
"bridgeData": "Arbitrary asset data needed by the bridge contract.",
|
||||||
{
|
"from": "Address to transfer asset from.",
|
||||||
"internalType": "address",
|
"to": "Address to transfer asset to.",
|
||||||
"name": "makerToken",
|
"tokenAddress": "The address of the ERC20 token to transfer."
|
||||||
"type": "address"
|
},
|
||||||
},
|
"return": "success The magic bytes `0xdc1600f3` if successful."
|
||||||
{
|
},
|
||||||
"internalType": "uint256",
|
"getBuyQuote(address,address,uint256)": {
|
||||||
"name": "buyAmount",
|
"details": "Quotes the amount of `takerToken` that would need to be sold in order to obtain `buyAmount` of `makerToken`.",
|
||||||
"type": "uint256"
|
"params": {
|
||||||
}
|
"buyAmount": "Amount of `makerToken` to buy.",
|
||||||
],
|
"makerToken": "Address of the maker token (what to buy).",
|
||||||
"name": "getBuyQuote",
|
"takerToken": "Address of the taker token (what to sell)."
|
||||||
"outputs": [
|
},
|
||||||
{
|
"return": "takerTokenAmount Amount of `takerToken` that would need to be sold."
|
||||||
"internalType": "uint256",
|
},
|
||||||
"name": "takerTokenAmount",
|
"getSellQuote(address,address,uint256)": {
|
||||||
"type": "uint256"
|
"details": "Quotes the amount of `makerToken` that would be obtained by selling `sellAmount` of `takerToken`.",
|
||||||
}
|
"params": {
|
||||||
],
|
"makerToken": "Address of the maker token (what to buy).",
|
||||||
"payable": false,
|
"sellAmount": "Amount of `takerToken` to sell.",
|
||||||
"stateMutability": "view",
|
"takerToken": "Address of the taker token (what to sell)."
|
||||||
"type": "function"
|
},
|
||||||
},
|
"return": "makerTokenAmount Amount of `makerToken` that would be obtained."
|
||||||
{
|
}
|
||||||
"constant": true,
|
}
|
||||||
"inputs": [
|
},
|
||||||
{
|
"evm": { "bytecode": { "object": "0x" }, "deployedBytecode": { "object": "0x" } }
|
||||||
"internalType": "address",
|
},
|
||||||
"name": "takerToken",
|
"compiler": {
|
||||||
"type": "address"
|
"name": "solc",
|
||||||
},
|
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
||||||
{
|
"settings": {
|
||||||
"internalType": "address",
|
"optimizer": {
|
||||||
"name": "makerToken",
|
"enabled": true,
|
||||||
"type": "address"
|
"runs": 1000000,
|
||||||
},
|
"details": { "yul": true, "deduplicate": true, "cse": true, "constantOptimizer": true }
|
||||||
{
|
},
|
||||||
"internalType": "uint256",
|
"outputSelection": {
|
||||||
"name": "sellAmount",
|
"*": {
|
||||||
"type": "uint256"
|
"*": [
|
||||||
}
|
"abi",
|
||||||
],
|
"devdoc",
|
||||||
"name": "getSellQuote",
|
"evm.bytecode.object",
|
||||||
"outputs": [
|
"evm.bytecode.sourceMap",
|
||||||
{
|
"evm.deployedBytecode.object",
|
||||||
"internalType": "uint256",
|
"evm.deployedBytecode.sourceMap"
|
||||||
"name": "makerTokenAmount",
|
]
|
||||||
"type": "uint256"
|
}
|
||||||
}
|
},
|
||||||
],
|
"evmVersion": "istanbul"
|
||||||
"payable": false,
|
}
|
||||||
"stateMutability": "view",
|
},
|
||||||
"type": "function"
|
"chains": {}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"devdoc": {
|
|
||||||
"methods": {
|
|
||||||
"bridgeTransferFrom(address,address,address,uint256,bytes)": {
|
|
||||||
"details": "Transfers `amount` of the ERC20 `tokenAddress` from `from` to `to`.",
|
|
||||||
"params": {
|
|
||||||
"amount": "Amount of asset to transfer.",
|
|
||||||
"bridgeData": "Arbitrary asset data needed by the bridge contract.",
|
|
||||||
"from": "Address to transfer asset from.",
|
|
||||||
"to": "Address to transfer asset to.",
|
|
||||||
"tokenAddress": "The address of the ERC20 token to transfer."
|
|
||||||
},
|
|
||||||
"return": "success The magic bytes `0xdc1600f3` if successful."
|
|
||||||
},
|
|
||||||
"getBuyQuote(address,address,uint256)": {
|
|
||||||
"details": "Quotes the amount of `takerToken` that would need to be sold in order to obtain `buyAmount` of `makerToken`.",
|
|
||||||
"params": {
|
|
||||||
"buyAmount": "Amount of `makerToken` to buy.",
|
|
||||||
"makerToken": "Address of the maker token (what to buy).",
|
|
||||||
"takerToken": "Address of the taker token (what to sell)."
|
|
||||||
},
|
|
||||||
"return": "takerTokenAmount Amount of `takerToken` that would need to be sold."
|
|
||||||
},
|
|
||||||
"getSellQuote(address,address,uint256)": {
|
|
||||||
"details": "Quotes the amount of `makerToken` that would be obtained by selling `sellAmount` of `takerToken`.",
|
|
||||||
"params": {
|
|
||||||
"makerToken": "Address of the maker token (what to buy).",
|
|
||||||
"sellAmount": "Amount of `takerToken` to sell.",
|
|
||||||
"takerToken": "Address of the taker token (what to sell)."
|
|
||||||
},
|
|
||||||
"return": "makerTokenAmount Amount of `makerToken` that would be obtained."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"evm": {
|
|
||||||
"bytecode": {
|
|
||||||
"linkReferences": {},
|
|
||||||
"object": "0x",
|
|
||||||
"opcodes": "",
|
|
||||||
"sourceMap": ""
|
|
||||||
},
|
|
||||||
"deployedBytecode": {
|
|
||||||
"linkReferences": {},
|
|
||||||
"object": "0x",
|
|
||||||
"opcodes": "",
|
|
||||||
"sourceMap": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sources": {
|
|
||||||
"src/ILiquidityProvider.sol": {
|
|
||||||
"id": 8
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sourceCodes": {
|
|
||||||
"src/ILiquidityProvider.sol": "/*\n\n Copyright 2019 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.5.9;\n\n\ninterface ILiquidityProvider {\n\n /// @dev Transfers `amount` of the ERC20 `tokenAddress` from `from` to `to`.\n /// @param tokenAddress The address of the ERC20 token to transfer.\n /// @param from Address to transfer asset from.\n /// @param to Address to transfer asset to.\n /// @param amount Amount of asset to transfer.\n /// @param bridgeData Arbitrary asset data needed by the bridge contract.\n /// @return success The magic bytes `0xdc1600f3` if successful.\n function bridgeTransferFrom(\n address tokenAddress,\n address from,\n address to,\n uint256 amount,\n bytes calldata bridgeData\n )\n external\n returns (bytes4 success);\n\n /// @dev Quotes the amount of `makerToken` that would be obtained by\n /// selling `sellAmount` of `takerToken`.\n /// @param takerToken Address of the taker token (what to sell).\n /// @param makerToken Address of the maker token (what to buy).\n /// @param sellAmount Amount of `takerToken` to sell.\n /// @return makerTokenAmount Amount of `makerToken` that would be obtained.\n function getSellQuote(\n address takerToken,\n address makerToken,\n uint256 sellAmount\n )\n external\n view\n returns (uint256 makerTokenAmount);\n\n /// @dev Quotes the amount of `takerToken` that would need to be sold in\n /// order to obtain `buyAmount` of `makerToken`.\n /// @param takerToken Address of the taker token (what to sell).\n /// @param makerToken Address of the maker token (what to buy).\n /// @param buyAmount Amount of `makerToken` to buy.\n /// @return takerTokenAmount Amount of `takerToken` that would need to be sold.\n function getBuyQuote(\n address takerToken,\n address makerToken,\n uint256 buyAmount\n )\n external\n view\n returns (uint256 takerTokenAmount);\n}\n"
|
|
||||||
},
|
|
||||||
"sourceTreeHashHex": "0x3aa914bd3a043f6b6d9bfa0670279ac5544994c2fe62d4764879b109ee620699",
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
|
||||||
"settings": {
|
|
||||||
"optimizer": {
|
|
||||||
"enabled": true,
|
|
||||||
"runs": 1000000,
|
|
||||||
"details": {
|
|
||||||
"yul": true,
|
|
||||||
"deduplicate": true,
|
|
||||||
"cse": true,
|
|
||||||
"constantOptimizer": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"outputSelection": {
|
|
||||||
"*": {
|
|
||||||
"*": [
|
|
||||||
"abi",
|
|
||||||
"devdoc",
|
|
||||||
"evm.bytecode.object",
|
|
||||||
"evm.bytecode.sourceMap",
|
|
||||||
"evm.deployedBytecode.object",
|
|
||||||
"evm.deployedBytecode.sourceMap"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"evmVersion": "istanbul",
|
|
||||||
"remappings": [
|
|
||||||
"@0x/contracts-asset-proxy=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-asset-proxy",
|
|
||||||
"@0x/contracts-erc20=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-erc20",
|
|
||||||
"@0x/contracts-utils=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-utils",
|
|
||||||
"@0x/contracts-exchange-libs=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange-libs",
|
|
||||||
"@0x/contracts-exchange=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chains": {}
|
|
||||||
}
|
|
||||||
|
@ -1,106 +1,58 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": "2.0.0",
|
"schemaVersion": "2.0.0",
|
||||||
"contractName": "ILiquidityProviderRegistry",
|
"contractName": "ILiquidityProviderRegistry",
|
||||||
"compilerOutput": {
|
"compilerOutput": {
|
||||||
"abi": [
|
"abi": [
|
||||||
{
|
{
|
||||||
"constant": true,
|
"constant": true,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{ "internalType": "address", "name": "takerToken", "type": "address" },
|
||||||
"internalType": "address",
|
{ "internalType": "address", "name": "makerToken", "type": "address" }
|
||||||
"name": "takerToken",
|
],
|
||||||
"type": "address"
|
"name": "getLiquidityProviderForMarket",
|
||||||
},
|
"outputs": [{ "internalType": "address", "name": "providerAddress", "type": "address" }],
|
||||||
{
|
"payable": false,
|
||||||
"internalType": "address",
|
"stateMutability": "view",
|
||||||
"name": "makerToken",
|
"type": "function"
|
||||||
"type": "address"
|
}
|
||||||
}
|
],
|
||||||
],
|
"devdoc": {
|
||||||
"name": "getLiquidityProviderForMarket",
|
"methods": {
|
||||||
"outputs": [
|
"getLiquidityProviderForMarket(address,address)": {
|
||||||
{
|
"details": "Returns the address of a liquidity provider for the given market (takerToken, makerToken), reverting if the pool does not exist.",
|
||||||
"internalType": "address",
|
"params": {
|
||||||
"name": "providerAddress",
|
"makerToken": "Maker asset managed by liquidity provider.",
|
||||||
"type": "address"
|
"takerToken": "Taker asset managed by liquidity provider."
|
||||||
}
|
},
|
||||||
],
|
"return": "Address of the liquidity provider."
|
||||||
"payable": false,
|
}
|
||||||
"stateMutability": "view",
|
}
|
||||||
"type": "function"
|
},
|
||||||
}
|
"evm": { "bytecode": { "object": "0x" }, "deployedBytecode": { "object": "0x" } }
|
||||||
],
|
},
|
||||||
"devdoc": {
|
"compiler": {
|
||||||
"methods": {
|
"name": "solc",
|
||||||
"getLiquidityProviderForMarket(address,address)": {
|
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
||||||
"details": "Returns the address of a liquidity provider for the given market (takerToken, makerToken), reverting if the pool does not exist.",
|
"settings": {
|
||||||
"params": {
|
"optimizer": {
|
||||||
"makerToken": "Maker asset managed by liquidity provider.",
|
"enabled": true,
|
||||||
"takerToken": "Taker asset managed by liquidity provider."
|
"runs": 1000000,
|
||||||
},
|
"details": { "yul": true, "deduplicate": true, "cse": true, "constantOptimizer": true }
|
||||||
"return": "Address of the liquidity provider."
|
},
|
||||||
}
|
"outputSelection": {
|
||||||
}
|
"*": {
|
||||||
},
|
"*": [
|
||||||
"evm": {
|
"abi",
|
||||||
"bytecode": {
|
"devdoc",
|
||||||
"linkReferences": {},
|
"evm.bytecode.object",
|
||||||
"object": "0x",
|
"evm.bytecode.sourceMap",
|
||||||
"opcodes": "",
|
"evm.deployedBytecode.object",
|
||||||
"sourceMap": ""
|
"evm.deployedBytecode.sourceMap"
|
||||||
},
|
]
|
||||||
"deployedBytecode": {
|
}
|
||||||
"linkReferences": {},
|
},
|
||||||
"object": "0x",
|
"evmVersion": "istanbul"
|
||||||
"opcodes": "",
|
}
|
||||||
"sourceMap": ""
|
},
|
||||||
}
|
"chains": {}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"sources": {
|
|
||||||
"src/ILiquidityProviderRegistry.sol": {
|
|
||||||
"id": 9
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sourceCodes": {
|
|
||||||
"src/ILiquidityProviderRegistry.sol": "/*\n\n Copyright 2019 ZeroEx Intl.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n*/\n\npragma solidity ^0.5.9;\n\n\ninterface ILiquidityProviderRegistry {\n\n /// @dev Returns the address of a liquidity provider for the given market\n /// (takerToken, makerToken), reverting if the pool does not exist.\n /// @param takerToken Taker asset managed by liquidity provider.\n /// @param makerToken Maker asset managed by liquidity provider.\n /// @return Address of the liquidity provider.\n function getLiquidityProviderForMarket(\n address takerToken,\n address makerToken\n )\n external\n view\n returns (address providerAddress);\n}\n"
|
|
||||||
},
|
|
||||||
"sourceTreeHashHex": "0x580f250d5134c119fad782c3e9cd3762e3ebd9af20b9768f257c2a0544e62d88",
|
|
||||||
"compiler": {
|
|
||||||
"name": "solc",
|
|
||||||
"version": "soljson-v0.5.16+commit.9c3226ce.js",
|
|
||||||
"settings": {
|
|
||||||
"optimizer": {
|
|
||||||
"enabled": true,
|
|
||||||
"runs": 1000000,
|
|
||||||
"details": {
|
|
||||||
"yul": true,
|
|
||||||
"deduplicate": true,
|
|
||||||
"cse": true,
|
|
||||||
"constantOptimizer": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"outputSelection": {
|
|
||||||
"*": {
|
|
||||||
"*": [
|
|
||||||
"abi",
|
|
||||||
"devdoc",
|
|
||||||
"evm.bytecode.object",
|
|
||||||
"evm.bytecode.sourceMap",
|
|
||||||
"evm.deployedBytecode.object",
|
|
||||||
"evm.deployedBytecode.sourceMap"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"evmVersion": "istanbul",
|
|
||||||
"remappings": [
|
|
||||||
"@0x/contracts-asset-proxy=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-asset-proxy",
|
|
||||||
"@0x/contracts-erc20=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-erc20",
|
|
||||||
"@0x/contracts-utils=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-utils",
|
|
||||||
"@0x/contracts-exchange-libs=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange-libs",
|
|
||||||
"@0x/contracts-exchange=/Users/danielpyrathon/Desktop/Projects/0x-monorepo/contracts/erc20-bridge-sampler/node_modules/@0x/contracts-exchange"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chains": {}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user