diff options
| author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 16:08:52 +0800 | 
|---|---|---|
| committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:52 +0800 | 
| commit | 618c7ef48affecce306d0e6e879e498e20aa5509 (patch) | |
| tree | 12d085510216b7e5c571d13a5056f7753f1463d5 | |
| parent | 14047f9c7be90bedcf0c3c4b7ce66eeb2e540923 (diff) | |
| download | dexon-sol-tools-618c7ef48affecce306d0e6e879e498e20aa5509.tar.gz dexon-sol-tools-618c7ef48affecce306d0e6e879e498e20aa5509.tar.zst dexon-sol-tools-618c7ef48affecce306d0e6e879e498e20aa5509.zip | |
Update compact_wrtifacts
14 files changed, 3311 insertions, 1820 deletions
| diff --git a/packages/contract-wrappers/src/compact_artifacts/DummyERC20Token.json b/packages/contract-wrappers/src/compact_artifacts/DummyERC20Token.json new file mode 100644 index 000000000..0fe22d7f9 --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/DummyERC20Token.json @@ -0,0 +1,306 @@ +{ +    "schemaVersion": "2.0.0", +    "contractName": "DummyERC20Token", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [], +                "name": "name", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_spender", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "approve", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "totalSupply", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "transferFrom", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "decimals", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    } +                ], +                "name": "balanceOf", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "owner", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "symbol", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "mint", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "transfer", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "name": "_spender", +                        "type": "address" +                    } +                ], +                "name": "allowance", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_target", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "setBalance", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "newOwner", +                        "type": "address" +                    } +                ], +                "name": "transferOwnership", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "inputs": [ +                    { +                        "name": "_name", +                        "type": "string" +                    }, +                    { +                        "name": "_symbol", +                        "type": "string" +                    }, +                    { +                        "name": "_decimals", +                        "type": "uint8" +                    }, +                    { +                        "name": "_totalSupply", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "constructor" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Transfer", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_spender", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Approval", +                "type": "event" +            } +        ] +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/DummyERC721Token.json b/packages/contract-wrappers/src/compact_artifacts/DummyERC721Token.json new file mode 100644 index 000000000..4a75b9aaf --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/DummyERC721Token.json @@ -0,0 +1,368 @@ +{ +    "schemaVersion": "2.0.0", +    "contractName": "DummyERC721Token", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [], +                "name": "name", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "getApproved", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "approve", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "transferFrom", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "to", +                        "type": "address" +                    }, +                    { +                        "name": "tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "mint", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "safeTransferFrom", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "exists", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "ownerOf", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    } +                ], +                "name": "balanceOf", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "owner", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "symbol", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_approved", +                        "type": "bool" +                    } +                ], +                "name": "setApprovalForAll", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    }, +                    { +                        "name": "_data", +                        "type": "bytes" +                    } +                ], +                "name": "safeTransferFrom", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "name": "_operator", +                        "type": "address" +                    } +                ], +                "name": "isApprovedForAll", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "newOwner", +                        "type": "address" +                    } +                ], +                "name": "transferOwnership", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "inputs": [ +                    { +                        "name": "name", +                        "type": "string" +                    }, +                    { +                        "name": "symbol", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "constructor" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "Transfer", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_approved", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "Approval", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_operator", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_approved", +                        "type": "bool" +                    } +                ], +                "name": "ApprovalForAll", +                "type": "event" +            } +        ] +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/DummyToken.json b/packages/contract-wrappers/src/compact_artifacts/DummyToken.json deleted file mode 100644 index f64a8cd3d..000000000 --- a/packages/contract-wrappers/src/compact_artifacts/DummyToken.json +++ /dev/null @@ -1,22 +0,0 @@ -{ -    "contract_name": "DummyToken", -    "abi": [ -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_target", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "setBalance", -            "outputs": [], -            "payable": false, -            "type": "function" -        } -    ] -} diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json b/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json new file mode 100644 index 000000000..430a8af68 --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json @@ -0,0 +1,43 @@ +{ +    "contractName": "ERC20Proxy", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "authorized", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "getAuthorizedAddresses", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address[]" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            } +        ] +    }, +    "networks": { +        "50": { "address": "0x1dc4c1cefef38a777b15aa20260a54e584b16c48" } +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC20Token.json b/packages/contract-wrappers/src/compact_artifacts/ERC20Token.json new file mode 100644 index 000000000..46f18b4e5 --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/ERC20Token.json @@ -0,0 +1,174 @@ +{ +    "contractName": "ERC20Token", +    "compilerOutput": { +        "abi": [ +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_spender", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "approve", +                "outputs": [ +                    { +                        "name": "success", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "totalSupply", +                "outputs": [ +                    { +                        "name": "supply", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "transferFrom", +                "outputs": [ +                    { +                        "name": "success", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    } +                ], +                "name": "balanceOf", +                "outputs": [ +                    { +                        "name": "balance", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "transfer", +                "outputs": [ +                    { +                        "name": "success", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "name": "_spender", +                        "type": "address" +                    } +                ], +                "name": "allowance", +                "outputs": [ +                    { +                        "name": "remaining", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "type": "function" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Transfer", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_spender", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Approval", +                "type": "event" +            } +        ] +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json b/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json new file mode 100644 index 000000000..8924ede96 --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json @@ -0,0 +1,43 @@ +{ +    "contractName": "ERC20Proxy", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "authorized", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "getAuthorizedAddresses", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address[]" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            } +        ] +    }, +    "networks": { +        "50": { "address": "0x1d7022f5b17d2f8b695918fb48fa1089c9f85401" } +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC721Token.json b/packages/contract-wrappers/src/compact_artifacts/ERC721Token.json new file mode 100644 index 000000000..d3208e197 --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/ERC721Token.json @@ -0,0 +1,322 @@ +{ +    "schemaVersion": "2.0.0", +    "contractName": "ERC721Token", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [], +                "name": "name", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "getApproved", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "approve", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "transferFrom", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "safeTransferFrom", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "exists", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "ownerOf", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    } +                ], +                "name": "balanceOf", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "symbol", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_approved", +                        "type": "bool" +                    } +                ], +                "name": "setApprovalForAll", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "name": "_tokenId", +                        "type": "uint256" +                    }, +                    { +                        "name": "_data", +                        "type": "bytes" +                    } +                ], +                "name": "safeTransferFrom", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "name": "_operator", +                        "type": "address" +                    } +                ], +                "name": "isApprovedForAll", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "inputs": [ +                    { +                        "name": "_name", +                        "type": "string" +                    }, +                    { +                        "name": "_symbol", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "constructor" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "Transfer", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_approved", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_tokenId", +                        "type": "uint256" +                    } +                ], +                "name": "Approval", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_operator", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_approved", +                        "type": "bool" +                    } +                ], +                "name": "ApprovalForAll", +                "type": "event" +            } +        ] +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/EtherToken.json b/packages/contract-wrappers/src/compact_artifacts/EtherToken.json deleted file mode 100644 index 26cca57cd..000000000 --- a/packages/contract-wrappers/src/compact_artifacts/EtherToken.json +++ /dev/null @@ -1,287 +0,0 @@ -{ -    "contract_name": "EtherToken", -    "abi": [ -        { -            "constant": true, -            "inputs": [], -            "name": "name", -            "outputs": [ -                { -                    "name": "", -                    "type": "string" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_spender", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "approve", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "totalSupply", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_from", -                    "type": "address" -                }, -                { -                    "name": "_to", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "transferFrom", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "amount", -                    "type": "uint256" -                } -            ], -            "name": "withdraw", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "decimals", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint8" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_owner", -                    "type": "address" -                } -            ], -            "name": "balanceOf", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "symbol", -            "outputs": [ -                { -                    "name": "", -                    "type": "string" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_to", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "transfer", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [], -            "name": "deposit", -            "outputs": [], -            "payable": true, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_owner", -                    "type": "address" -                }, -                { -                    "name": "_spender", -                    "type": "address" -                } -            ], -            "name": "allowance", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "payable": true, -            "type": "fallback" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "_from", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "_to", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "Transfer", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "_owner", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "_spender", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "Approval", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "_owner", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "Deposit", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "_owner", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "Withdrawal", -            "type": "event" -        } -    ], -    "networks": { -        "1": { -            "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" -        }, -        "3": { -            "address": "0xc00fd9820cd2898cc4c054b7bf142de637ad129a" -        }, -        "4": { -            "address": "0xc778417e063141139fce010982780140aa0cd5ab" -        }, -        "42": { -            "address": "0x653e49e301e508a13237c0ddc98ae7d4cd2667a1" -        }, -        "50": { -            "address": "0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c" -        } -    } -} diff --git a/packages/contract-wrappers/src/compact_artifacts/Exchange.json b/packages/contract-wrappers/src/compact_artifacts/Exchange.json index af8db7360..5ba9017c3 100644 --- a/packages/contract-wrappers/src/compact_artifacts/Exchange.json +++ b/packages/contract-wrappers/src/compact_artifacts/Exchange.json @@ -1,608 +1,1754 @@  { -    "contract_name": "Exchange", -    "abi": [ -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "numerator", -                    "type": "uint256" -                }, -                { -                    "name": "denominator", -                    "type": "uint256" -                }, -                { -                    "name": "target", -                    "type": "uint256" -                } -            ], -            "name": "isRoundingError", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "", -                    "type": "bytes32" -                } -            ], -            "name": "filled", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "", -                    "type": "bytes32" -                } -            ], -            "name": "cancelled", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5][]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6][]" -                }, -                { -                    "name": "fillTakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "name": "shouldThrowOnInsufficientBalanceOrAllowance", -                    "type": "bool" -                }, -                { -                    "name": "v", -                    "type": "uint8[]" -                }, -                { -                    "name": "r", -                    "type": "bytes32[]" -                }, -                { -                    "name": "s", -                    "type": "bytes32[]" -                } -            ], -            "name": "fillOrdersUpTo", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6]" -                }, -                { -                    "name": "cancelTakerTokenAmount", -                    "type": "uint256" -                } -            ], -            "name": "cancelOrder", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "ZRX_TOKEN_CONTRACT", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5][]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6][]" -                }, -                { -                    "name": "fillTakerTokenAmounts", -                    "type": "uint256[]" -                }, -                { -                    "name": "v", -                    "type": "uint8[]" -                }, -                { -                    "name": "r", -                    "type": "bytes32[]" -                }, -                { -                    "name": "s", -                    "type": "bytes32[]" -                } -            ], -            "name": "batchFillOrKillOrders", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6]" -                }, -                { -                    "name": "fillTakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "name": "v", -                    "type": "uint8" -                }, -                { -                    "name": "r", -                    "type": "bytes32" -                }, -                { -                    "name": "s", -                    "type": "bytes32" -                } -            ], -            "name": "fillOrKillOrder", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "orderHash", -                    "type": "bytes32" -                } -            ], -            "name": "getUnavailableTakerTokenAmount", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "signer", -                    "type": "address" -                }, -                { -                    "name": "hash", -                    "type": "bytes32" -                }, -                { -                    "name": "v", -                    "type": "uint8" -                }, -                { -                    "name": "r", -                    "type": "bytes32" -                }, -                { -                    "name": "s", -                    "type": "bytes32" -                } -            ], -            "name": "isValidSignature", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "numerator", -                    "type": "uint256" -                }, -                { -                    "name": "denominator", -                    "type": "uint256" -                }, -                { -                    "name": "target", -                    "type": "uint256" -                } -            ], -            "name": "getPartialAmount", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "TOKEN_TRANSFER_PROXY_CONTRACT", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5][]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6][]" -                }, -                { -                    "name": "fillTakerTokenAmounts", -                    "type": "uint256[]" -                }, -                { -                    "name": "shouldThrowOnInsufficientBalanceOrAllowance", -                    "type": "bool" -                }, -                { -                    "name": "v", -                    "type": "uint8[]" -                }, -                { -                    "name": "r", -                    "type": "bytes32[]" -                }, -                { -                    "name": "s", -                    "type": "bytes32[]" -                } -            ], -            "name": "batchFillOrders", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5][]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6][]" -                }, -                { -                    "name": "cancelTakerTokenAmounts", -                    "type": "uint256[]" -                } -            ], -            "name": "batchCancelOrders", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6]" -                }, -                { -                    "name": "fillTakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "name": "shouldThrowOnInsufficientBalanceOrAllowance", -                    "type": "bool" -                }, -                { -                    "name": "v", -                    "type": "uint8" -                }, -                { -                    "name": "r", -                    "type": "bytes32" -                }, -                { -                    "name": "s", -                    "type": "bytes32" -                } -            ], -            "name": "fillOrder", -            "outputs": [ -                { -                    "name": "filledTakerTokenAmount", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "orderAddresses", -                    "type": "address[5]" -                }, -                { -                    "name": "orderValues", -                    "type": "uint256[6]" -                } -            ], -            "name": "getOrderHash", -            "outputs": [ -                { -                    "name": "", -                    "type": "bytes32" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "EXTERNAL_QUERY_GAS_LIMIT", -            "outputs": [ -                { -                    "name": "", -                    "type": "uint16" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "VERSION", -            "outputs": [ -                { -                    "name": "", -                    "type": "string" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "inputs": [ -                { -                    "name": "_zrxToken", -                    "type": "address" -                }, -                { -                    "name": "_tokenTransferProxy", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "constructor" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "maker", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "taker", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "feeRecipient", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "makerToken", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "takerToken", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "filledMakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "indexed": false, -                    "name": "filledTakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "indexed": false, -                    "name": "paidMakerFee", -                    "type": "uint256" -                }, -                { -                    "indexed": false, -                    "name": "paidTakerFee", -                    "type": "uint256" -                }, -                { -                    "indexed": true, -                    "name": "tokens", -                    "type": "bytes32" -                }, -                { -                    "indexed": false, -                    "name": "orderHash", -                    "type": "bytes32" -                } -            ], -            "name": "LogFill", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "maker", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "feeRecipient", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "makerToken", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "takerToken", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "cancelledMakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "indexed": false, -                    "name": "cancelledTakerTokenAmount", -                    "type": "uint256" -                }, -                { -                    "indexed": true, -                    "name": "tokens", -                    "type": "bytes32" -                }, -                { -                    "indexed": false, -                    "name": "orderHash", -                    "type": "bytes32" -                } -            ], -            "name": "LogCancel", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "errorId", -                    "type": "uint8" -                }, -                { -                    "indexed": true, -                    "name": "orderHash", -                    "type": "bytes32" -                } -            ], -            "name": "LogError", -            "type": "event" -        } -    ], +    "contractName": "Exchange", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "bytes32" +                    } +                ], +                "name": "filled", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "takerAssetFillAmounts", +                        "type": "uint256[]" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "batchFillOrders", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "bytes32" +                    } +                ], +                "name": "cancelled", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "zrxAssetData", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bytes" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "hash", +                        "type": "bytes32" +                    }, +                    { +                        "name": "signer", +                        "type": "address" +                    }, +                    { +                        "name": "signature", +                        "type": "bytes" +                    } +                ], +                "name": "preSign", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "uint8" +                    } +                ], +                "name": "assetProxies", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "leftOrder", +                        "type": "tuple" +                    }, +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "rightOrder", +                        "type": "tuple" +                    }, +                    { +                        "name": "leftSignature", +                        "type": "bytes" +                    }, +                    { +                        "name": "rightSignature", +                        "type": "bytes" +                    } +                ], +                "name": "matchOrders", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "components": [ +                                    { +                                        "name": "makerAssetFilledAmount", +                                        "type": "uint256" +                                    }, +                                    { +                                        "name": "takerAssetFilledAmount", +                                        "type": "uint256" +                                    }, +                                    { +                                        "name": "makerFeePaid", +                                        "type": "uint256" +                                    }, +                                    { +                                        "name": "takerFeePaid", +                                        "type": "uint256" +                                    } +                                ], +                                "name": "left", +                                "type": "tuple" +                            }, +                            { +                                "components": [ +                                    { +                                        "name": "makerAssetFilledAmount", +                                        "type": "uint256" +                                    }, +                                    { +                                        "name": "takerAssetFilledAmount", +                                        "type": "uint256" +                                    }, +                                    { +                                        "name": "makerFeePaid", +                                        "type": "uint256" +                                    }, +                                    { +                                        "name": "takerFeePaid", +                                        "type": "uint256" +                                    } +                                ], +                                "name": "right", +                                "type": "tuple" +                            }, +                            { +                                "name": "leftMakerAssetSpreadAmount", +                                "type": "uint256" +                            } +                        ], +                        "name": "matchedFillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "order", +                        "type": "tuple" +                    }, +                    { +                        "name": "takerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signature", +                        "type": "bytes" +                    } +                ], +                "name": "fillOrderNoThrow", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "fillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    } +                ], +                "name": "batchCancelOrders", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "takerAssetFillAmounts", +                        "type": "uint256[]" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "batchFillOrKillOrders", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "salt", +                        "type": "uint256" +                    } +                ], +                "name": "cancelOrdersUpTo", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "takerAssetFillAmounts", +                        "type": "uint256[]" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "batchFillOrdersNoThrow", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "assetProxyId", +                        "type": "uint8" +                    }, +                    { +                        "name": "newAssetProxy", +                        "type": "address" +                    }, +                    { +                        "name": "oldAssetProxy", +                        "type": "address" +                    } +                ], +                "name": "registerAssetProxy", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "bytes32" +                    } +                ], +                "name": "transactions", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "order", +                        "type": "tuple" +                    }, +                    { +                        "name": "takerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signature", +                        "type": "bytes" +                    } +                ], +                "name": "fillOrKillOrder", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "fillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "makerEpoch", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "validator", +                        "type": "address" +                    }, +                    { +                        "name": "approval", +                        "type": "bool" +                    } +                ], +                "name": "setSignatureValidatorApproval", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "address" +                    }, +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "allowedValidators", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "takerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "marketSellOrders", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "totalFillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "bytes32" +                    }, +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "preSigned", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "owner", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "assetProxyId", +                        "type": "uint8" +                    } +                ], +                "name": "getAssetProxy", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "makerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "marketBuyOrdersNoThrow", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "totalFillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "order", +                        "type": "tuple" +                    }, +                    { +                        "name": "takerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signature", +                        "type": "bytes" +                    } +                ], +                "name": "fillOrder", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "fillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "salt", +                        "type": "uint256" +                    }, +                    { +                        "name": "signer", +                        "type": "address" +                    }, +                    { +                        "name": "data", +                        "type": "bytes" +                    }, +                    { +                        "name": "signature", +                        "type": "bytes" +                    } +                ], +                "name": "executeTransaction", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "order", +                        "type": "tuple" +                    } +                ], +                "name": "getOrderInfo", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "orderStatus", +                                "type": "uint8" +                            }, +                            { +                                "name": "orderHash", +                                "type": "bytes32" +                            }, +                            { +                                "name": "orderTakerAssetFilledAmount", +                                "type": "uint256" +                            } +                        ], +                        "name": "orderInfo", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "order", +                        "type": "tuple" +                    } +                ], +                "name": "cancelOrder", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "takerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "marketSellOrdersNoThrow", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "totalFillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "takerAddress", +                                "type": "address" +                            }, +                            { +                                "name": "feeRecipientAddress", +                                "type": "address" +                            }, +                            { +                                "name": "senderAddress", +                                "type": "address" +                            }, +                            { +                                "name": "makerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFee", +                                "type": "uint256" +                            }, +                            { +                                "name": "expirationTimeSeconds", +                                "type": "uint256" +                            }, +                            { +                                "name": "salt", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerAssetData", +                                "type": "bytes" +                            }, +                            { +                                "name": "takerAssetData", +                                "type": "bytes" +                            } +                        ], +                        "name": "orders", +                        "type": "tuple[]" +                    }, +                    { +                        "name": "makerAssetFillAmount", +                        "type": "uint256" +                    }, +                    { +                        "name": "signatures", +                        "type": "bytes[]" +                    } +                ], +                "name": "marketBuyOrders", +                "outputs": [ +                    { +                        "components": [ +                            { +                                "name": "makerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerAssetFilledAmount", +                                "type": "uint256" +                            }, +                            { +                                "name": "makerFeePaid", +                                "type": "uint256" +                            }, +                            { +                                "name": "takerFeePaid", +                                "type": "uint256" +                            } +                        ], +                        "name": "totalFillResults", +                        "type": "tuple" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "currentContextAddress", +                "outputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "newOwner", +                        "type": "address" +                    } +                ], +                "name": "transferOwnership", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "VERSION", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "inputs": [ +                    { +                        "name": "_zrxAssetData", +                        "type": "bytes" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "constructor" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": false, +                        "name": "id", +                        "type": "uint8" +                    }, +                    { +                        "indexed": false, +                        "name": "newAssetProxy", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "oldAssetProxy", +                        "type": "address" +                    } +                ], +                "name": "AssetProxySet", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "makerAddress", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "takerAddress", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "feeRecipientAddress", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "makerAssetFilledAmount", +                        "type": "uint256" +                    }, +                    { +                        "indexed": false, +                        "name": "takerAssetFilledAmount", +                        "type": "uint256" +                    }, +                    { +                        "indexed": false, +                        "name": "makerFeePaid", +                        "type": "uint256" +                    }, +                    { +                        "indexed": false, +                        "name": "takerFeePaid", +                        "type": "uint256" +                    }, +                    { +                        "indexed": true, +                        "name": "orderHash", +                        "type": "bytes32" +                    }, +                    { +                        "indexed": false, +                        "name": "makerAssetData", +                        "type": "bytes" +                    }, +                    { +                        "indexed": false, +                        "name": "takerAssetData", +                        "type": "bytes" +                    } +                ], +                "name": "Fill", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "makerAddress", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "feeRecipientAddress", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "orderHash", +                        "type": "bytes32" +                    }, +                    { +                        "indexed": false, +                        "name": "makerAssetData", +                        "type": "bytes" +                    }, +                    { +                        "indexed": false, +                        "name": "takerAssetData", +                        "type": "bytes" +                    } +                ], +                "name": "Cancel", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "makerAddress", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "makerEpoch", +                        "type": "uint256" +                    } +                ], +                "name": "CancelUpTo", +                "type": "event" +            } +        ] +    },      "networks": { -        "1": { -            "address": "0x12459c951127e0c374ff9105dda097662a027093" -        }, -        "3": { -            "address": "0x479cc461fecd078f766ecc58533d6f69580cf3ac" -        }, -        "4": { -            "address": "0x1d16ef40fac01cec8adac2ac49427b9384192c05" -        }, -        "42": { -            "address": "0x90fe2af704b34e0224bf2299c838e04d4dcf1364" -        },          "50": {              "address": "0x48bacb9266a570d521063ef5dd96e61686dbe788"          } diff --git a/packages/contract-wrappers/src/compact_artifacts/Token.json b/packages/contract-wrappers/src/compact_artifacts/Token.json deleted file mode 100644 index 3b5a86ae0..000000000 --- a/packages/contract-wrappers/src/compact_artifacts/Token.json +++ /dev/null @@ -1,172 +0,0 @@ -{ -    "contract_name": "Token", -    "abi": [ -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_spender", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "approve", -            "outputs": [ -                { -                    "name": "success", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "totalSupply", -            "outputs": [ -                { -                    "name": "supply", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_from", -                    "type": "address" -                }, -                { -                    "name": "_to", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "transferFrom", -            "outputs": [ -                { -                    "name": "success", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_owner", -                    "type": "address" -                } -            ], -            "name": "balanceOf", -            "outputs": [ -                { -                    "name": "balance", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_to", -                    "type": "address" -                }, -                { -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "transfer", -            "outputs": [ -                { -                    "name": "success", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_owner", -                    "type": "address" -                }, -                { -                    "name": "_spender", -                    "type": "address" -                } -            ], -            "name": "allowance", -            "outputs": [ -                { -                    "name": "remaining", -                    "type": "uint256" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "_from", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "_to", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "Transfer", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "_owner", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "_spender", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "_value", -                    "type": "uint256" -                } -            ], -            "name": "Approval", -            "type": "event" -        } -    ] -} diff --git a/packages/contract-wrappers/src/compact_artifacts/TokenRegistry.json b/packages/contract-wrappers/src/compact_artifacts/TokenRegistry.json deleted file mode 100644 index 0f583628c..000000000 --- a/packages/contract-wrappers/src/compact_artifacts/TokenRegistry.json +++ /dev/null @@ -1,547 +0,0 @@ -{ -    "contract_name": "TokenRegistry", -    "abi": [ -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                }, -                { -                    "name": "_index", -                    "type": "uint256" -                } -            ], -            "name": "removeToken", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_name", -                    "type": "string" -                } -            ], -            "name": "getTokenAddressByName", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_symbol", -                    "type": "string" -                } -            ], -            "name": "getTokenAddressBySymbol", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                }, -                { -                    "name": "_swarmHash", -                    "type": "bytes" -                } -            ], -            "name": "setTokenSwarmHash", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                } -            ], -            "name": "getTokenMetaData", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                }, -                { -                    "name": "", -                    "type": "string" -                }, -                { -                    "name": "", -                    "type": "string" -                }, -                { -                    "name": "", -                    "type": "uint8" -                }, -                { -                    "name": "", -                    "type": "bytes" -                }, -                { -                    "name": "", -                    "type": "bytes" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "owner", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                }, -                { -                    "name": "_name", -                    "type": "string" -                }, -                { -                    "name": "_symbol", -                    "type": "string" -                }, -                { -                    "name": "_decimals", -                    "type": "uint8" -                }, -                { -                    "name": "_ipfsHash", -                    "type": "bytes" -                }, -                { -                    "name": "_swarmHash", -                    "type": "bytes" -                } -            ], -            "name": "addToken", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                }, -                { -                    "name": "_name", -                    "type": "string" -                } -            ], -            "name": "setTokenName", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "name": "tokens", -            "outputs": [ -                { -                    "name": "token", -                    "type": "address" -                }, -                { -                    "name": "name", -                    "type": "string" -                }, -                { -                    "name": "symbol", -                    "type": "string" -                }, -                { -                    "name": "decimals", -                    "type": "uint8" -                }, -                { -                    "name": "ipfsHash", -                    "type": "bytes" -                }, -                { -                    "name": "swarmHash", -                    "type": "bytes" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "name": "tokenAddresses", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_name", -                    "type": "string" -                } -            ], -            "name": "getTokenByName", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                }, -                { -                    "name": "", -                    "type": "string" -                }, -                { -                    "name": "", -                    "type": "string" -                }, -                { -                    "name": "", -                    "type": "uint8" -                }, -                { -                    "name": "", -                    "type": "bytes" -                }, -                { -                    "name": "", -                    "type": "bytes" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "getTokenAddresses", -            "outputs": [ -                { -                    "name": "", -                    "type": "address[]" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                }, -                { -                    "name": "_ipfsHash", -                    "type": "bytes" -                } -            ], -            "name": "setTokenIpfsHash", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "_symbol", -                    "type": "string" -                } -            ], -            "name": "getTokenBySymbol", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                }, -                { -                    "name": "", -                    "type": "string" -                }, -                { -                    "name": "", -                    "type": "string" -                }, -                { -                    "name": "", -                    "type": "uint8" -                }, -                { -                    "name": "", -                    "type": "bytes" -                }, -                { -                    "name": "", -                    "type": "bytes" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "_token", -                    "type": "address" -                }, -                { -                    "name": "_symbol", -                    "type": "string" -                } -            ], -            "name": "setTokenSymbol", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "newOwner", -                    "type": "address" -                } -            ], -            "name": "transferOwnership", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "token", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "name", -                    "type": "string" -                }, -                { -                    "indexed": false, -                    "name": "symbol", -                    "type": "string" -                }, -                { -                    "indexed": false, -                    "name": "decimals", -                    "type": "uint8" -                }, -                { -                    "indexed": false, -                    "name": "ipfsHash", -                    "type": "bytes" -                }, -                { -                    "indexed": false, -                    "name": "swarmHash", -                    "type": "bytes" -                } -            ], -            "name": "LogAddToken", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "token", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "name", -                    "type": "string" -                }, -                { -                    "indexed": false, -                    "name": "symbol", -                    "type": "string" -                }, -                { -                    "indexed": false, -                    "name": "decimals", -                    "type": "uint8" -                }, -                { -                    "indexed": false, -                    "name": "ipfsHash", -                    "type": "bytes" -                }, -                { -                    "indexed": false, -                    "name": "swarmHash", -                    "type": "bytes" -                } -            ], -            "name": "LogRemoveToken", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "token", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "oldName", -                    "type": "string" -                }, -                { -                    "indexed": false, -                    "name": "newName", -                    "type": "string" -                } -            ], -            "name": "LogTokenNameChange", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "token", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "oldSymbol", -                    "type": "string" -                }, -                { -                    "indexed": false, -                    "name": "newSymbol", -                    "type": "string" -                } -            ], -            "name": "LogTokenSymbolChange", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "token", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "oldIpfsHash", -                    "type": "bytes" -                }, -                { -                    "indexed": false, -                    "name": "newIpfsHash", -                    "type": "bytes" -                } -            ], -            "name": "LogTokenIpfsHashChange", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "token", -                    "type": "address" -                }, -                { -                    "indexed": false, -                    "name": "oldSwarmHash", -                    "type": "bytes" -                }, -                { -                    "indexed": false, -                    "name": "newSwarmHash", -                    "type": "bytes" -                } -            ], -            "name": "LogTokenSwarmHashChange", -            "type": "event" -        } -    ], -    "networks": { -        "1": { -            "address": "0x926a74c5c36adf004c87399e65f75628b0f98d2c" -        }, -        "3": { -            "address": "0x6b1a50f0bb5a7995444bd3877b22dc89c62843ed" -        }, -        "4": { -            "address": "0x4e9aad8184de8833365fea970cd9149372fdf1e6" -        }, -        "42": { -            "address": "0xf18e504561f4347bea557f3d4558f559dddbae7f" -        }, -        "50": { -            "address": "0x0b1ba0af832d7c05fd64161e0db78e85978e8082" -        } -    } -} diff --git a/packages/contract-wrappers/src/compact_artifacts/TokenTransferProxy.json b/packages/contract-wrappers/src/compact_artifacts/TokenTransferProxy.json deleted file mode 100644 index 8cf551ddb..000000000 --- a/packages/contract-wrappers/src/compact_artifacts/TokenTransferProxy.json +++ /dev/null @@ -1,187 +0,0 @@ -{ -    "contract_name": "TokenTransferProxy", -    "abi": [ -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "token", -                    "type": "address" -                }, -                { -                    "name": "from", -                    "type": "address" -                }, -                { -                    "name": "to", -                    "type": "address" -                }, -                { -                    "name": "value", -                    "type": "uint256" -                } -            ], -            "name": "transferFrom", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "target", -                    "type": "address" -                } -            ], -            "name": "addAuthorizedAddress", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "", -                    "type": "uint256" -                } -            ], -            "name": "authorities", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "target", -                    "type": "address" -                } -            ], -            "name": "removeAuthorizedAddress", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "owner", -            "outputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [ -                { -                    "name": "", -                    "type": "address" -                } -            ], -            "name": "authorized", -            "outputs": [ -                { -                    "name": "", -                    "type": "bool" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": true, -            "inputs": [], -            "name": "getAuthorizedAddresses", -            "outputs": [ -                { -                    "name": "", -                    "type": "address[]" -                } -            ], -            "payable": false, -            "type": "function" -        }, -        { -            "constant": false, -            "inputs": [ -                { -                    "name": "newOwner", -                    "type": "address" -                } -            ], -            "name": "transferOwnership", -            "outputs": [], -            "payable": false, -            "type": "function" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "target", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "caller", -                    "type": "address" -                } -            ], -            "name": "LogAuthorizedAddressAdded", -            "type": "event" -        }, -        { -            "anonymous": false, -            "inputs": [ -                { -                    "indexed": true, -                    "name": "target", -                    "type": "address" -                }, -                { -                    "indexed": true, -                    "name": "caller", -                    "type": "address" -                } -            ], -            "name": "LogAuthorizedAddressRemoved", -            "type": "event" -        } -    ], -    "networks": { -        "1": { -            "address": "0x8da0d80f5007ef1e431dd2127178d224e32c2ef4" -        }, -        "3": { -            "address": "0x4e9aad8184de8833365fea970cd9149372fdf1e6" -        }, -        "4": { -            "address": "0xa8e9fa8f91e5ae138c74648c9c304f1c75003a8d" -        }, -        "42": { -            "address": "0x087eed4bc1ee3de49befbd66c662b434b15d49d4" -        }, -        "50": { -            "address": "0x1dc4c1cefef38a777b15aa20260a54e584b16c48" -        } -    } -} diff --git a/packages/contract-wrappers/src/compact_artifacts/WETH9.json b/packages/contract-wrappers/src/compact_artifacts/WETH9.json new file mode 100644 index 000000000..79a926860 --- /dev/null +++ b/packages/contract-wrappers/src/compact_artifacts/WETH9.json @@ -0,0 +1,301 @@ +{ +    "contractName": "WETH9", +    "compilerOutput": { +        "abi": [ +            { +                "constant": true, +                "inputs": [], +                "name": "name", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "guy", +                        "type": "address" +                    }, +                    { +                        "name": "wad", +                        "type": "uint256" +                    } +                ], +                "name": "approve", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "totalSupply", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "src", +                        "type": "address" +                    }, +                    { +                        "name": "dst", +                        "type": "address" +                    }, +                    { +                        "name": "wad", +                        "type": "uint256" +                    } +                ], +                "name": "transferFrom", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "wad", +                        "type": "uint256" +                    } +                ], +                "name": "withdraw", +                "outputs": [], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "decimals", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint8" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "balanceOf", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [], +                "name": "symbol", +                "outputs": [ +                    { +                        "name": "", +                        "type": "string" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [ +                    { +                        "name": "dst", +                        "type": "address" +                    }, +                    { +                        "name": "wad", +                        "type": "uint256" +                    } +                ], +                "name": "transfer", +                "outputs": [ +                    { +                        "name": "", +                        "type": "bool" +                    } +                ], +                "payable": false, +                "stateMutability": "nonpayable", +                "type": "function" +            }, +            { +                "constant": false, +                "inputs": [], +                "name": "deposit", +                "outputs": [], +                "payable": true, +                "stateMutability": "payable", +                "type": "function" +            }, +            { +                "constant": true, +                "inputs": [ +                    { +                        "name": "", +                        "type": "address" +                    }, +                    { +                        "name": "", +                        "type": "address" +                    } +                ], +                "name": "allowance", +                "outputs": [ +                    { +                        "name": "", +                        "type": "uint256" +                    } +                ], +                "payable": false, +                "stateMutability": "view", +                "type": "function" +            }, +            { +                "payable": true, +                "stateMutability": "payable", +                "type": "fallback" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_spender", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Approval", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_from", +                        "type": "address" +                    }, +                    { +                        "indexed": true, +                        "name": "_to", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Transfer", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Deposit", +                "type": "event" +            }, +            { +                "anonymous": false, +                "inputs": [ +                    { +                        "indexed": true, +                        "name": "_owner", +                        "type": "address" +                    }, +                    { +                        "indexed": false, +                        "name": "_value", +                        "type": "uint256" +                    } +                ], +                "name": "Withdrawal", +                "type": "event" +            } +        ] +    }, +    "networks": { +        "1": { +            "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" +        }, +        "3": { +            "address": "0xc00fd9820cd2898cc4c054b7bf142de637ad129a" +        }, +        "4": { +            "address": "0xc778417e063141139fce010982780140aa0cd5ab" +        }, +        "42": { +            "address": "0x653e49e301e508a13237c0ddc98ae7d4cd2667a1" +        }, +        "50": { +            "address": "0x871dd7c2b4b25e1aa18728e9d5f2af4c4e431f5c" +        } +    } +} diff --git a/packages/contract-wrappers/src/compact_artifacts/ZRX.json b/packages/contract-wrappers/src/compact_artifacts/ZRXToken.json index e40b8f268..4881d5eb1 100644 --- a/packages/contract-wrappers/src/compact_artifacts/ZRX.json +++ b/packages/contract-wrappers/src/compact_artifacts/ZRXToken.json @@ -1,5 +1,8 @@  { -    "contract_name": "ZRX", +    "contractName": "ZRXToken", +    "compilerOutput": { +        "abi": [] +    },      "networks": {          "1": {              "address": "0xe41d2489571d322189246dafa5ebde1f4699f498" @@ -14,7 +17,7 @@              "address": "0x6ff6c0ff1d68b964901f986d4c9fa3ac68346570"          },          "50": { -            "address": "0x1d7022f5b17d2f8b695918fb48fa1089c9f85401" +            "address": "0x0b1ba0af832d7c05fd64161e0db78e85978e8082"          }      }  } | 
