diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-03 20:36:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-05 21:05:57 +0800 |
commit | cbdce6b67ee4ad44feb63766c4af613c18bf505d (patch) | |
tree | 536e05425891e00613f211eeab093a214d4b5608 /packages/contract-wrappers/src/compact_artifacts/Exchange.json | |
parent | a6746ae5cd8d5cab022d60b5a3cdac8eaf82f03f (diff) | |
download | dexon-0x-contracts-cbdce6b67ee4ad44feb63766c4af613c18bf505d.tar.gz dexon-0x-contracts-cbdce6b67ee4ad44feb63766c4af613c18bf505d.tar.zst dexon-0x-contracts-cbdce6b67ee4ad44feb63766c4af613c18bf505d.zip |
Update ABI in compact_artifacts
Diffstat (limited to 'packages/contract-wrappers/src/compact_artifacts/Exchange.json')
-rw-r--r-- | packages/contract-wrappers/src/compact_artifacts/Exchange.json | 337 |
1 files changed, 251 insertions, 86 deletions
diff --git a/packages/contract-wrappers/src/compact_artifacts/Exchange.json b/packages/contract-wrappers/src/compact_artifacts/Exchange.json index 5ba9017c3..7d0bac63a 100644 --- a/packages/contract-wrappers/src/compact_artifacts/Exchange.json +++ b/packages/contract-wrappers/src/compact_artifacts/Exchange.json @@ -4,6 +4,20 @@ "abi": [ { "constant": true, + "inputs": [], + "name": "EIP712_DOMAIN_SEPARATOR_SCHEMA_HASH", + "outputs": [ + { + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, "inputs": [ { "name": "", @@ -88,7 +102,30 @@ } ], "name": "batchFillOrders", - "outputs": [], + "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" @@ -113,20 +150,6 @@ "type": "function" }, { - "constant": true, - "inputs": [], - "name": "zrxAssetData", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { "constant": false, "inputs": [ { @@ -134,7 +157,7 @@ "type": "bytes32" }, { - "name": "signer", + "name": "signerAddress", "type": "address" }, { @@ -149,25 +172,6 @@ "type": "function" }, { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint8" - } - ], - "name": "assetProxies", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { "constant": false, "inputs": [ { @@ -444,6 +448,25 @@ "type": "function" }, { + "constant": true, + "inputs": [ + { + "name": "", + "type": "bytes4" + } + ], + "name": "assetProxies", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { "constant": false, "inputs": [ { @@ -574,7 +597,30 @@ } ], "name": "batchFillOrKillOrders", - "outputs": [], + "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" @@ -583,7 +629,7 @@ "constant": false, "inputs": [ { - "name": "salt", + "name": "targetOrderEpoch", "type": "uint256" } ], @@ -660,31 +706,51 @@ } ], "name": "batchFillOrdersNoThrow", - "outputs": [], + "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, + "constant": true, "inputs": [ { "name": "assetProxyId", - "type": "uint8" - }, - { - "name": "newAssetProxy", - "type": "address" - }, + "type": "bytes4" + } + ], + "name": "getAssetProxy", + "outputs": [ { - "name": "oldAssetProxy", + "name": "", "type": "address" } ], - "name": "registerAssetProxy", - "outputs": [], "payable": false, - "stateMutability": "nonpayable", + "stateMutability": "view", "type": "function" }, { @@ -802,29 +868,10 @@ "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", + "name": "validatorAddress", "type": "address" }, { @@ -980,6 +1027,28 @@ "type": "function" }, { + "constant": false, + "inputs": [ + { + "name": "assetProxyId", + "type": "bytes4" + }, + { + "name": "newAssetProxy", + "type": "address" + }, + { + "name": "oldAssetProxy", + "type": "address" + } + ], + "name": "registerAssetProxy", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { "constant": true, "inputs": [], "name": "owner", @@ -997,15 +1066,23 @@ "constant": true, "inputs": [ { - "name": "assetProxyId", - "type": "uint8" + "name": "hash", + "type": "bytes32" + }, + { + "name": "signerAddress", + "type": "address" + }, + { + "name": "signature", + "type": "bytes" } ], - "name": "getAssetProxy", + "name": "isValidSignature", "outputs": [ { - "name": "", - "type": "address" + "name": "isValid", + "type": "bool" } ], "payable": false, @@ -1210,7 +1287,7 @@ "type": "uint256" }, { - "name": "signer", + "name": "signerAddress", "type": "address" }, { @@ -1376,6 +1453,43 @@ "type": "function" }, { + "constant": true, + "inputs": [ + { + "name": "", + "type": "address" + }, + { + "name": "", + "type": "address" + } + ], + "name": "orderEpoch", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "ZRX_ASSET_DATA", + "outputs": [ + { + "name": "", + "type": "bytes" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { "constant": false, "inputs": [ { @@ -1471,6 +1585,20 @@ "type": "function" }, { + "constant": true, + "inputs": [], + "name": "EIP712_DOMAIN_HASH", + "outputs": [ + { + "name": "", + "type": "bytes32" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { "constant": false, "inputs": [ { @@ -1622,22 +1750,22 @@ "anonymous": false, "inputs": [ { - "indexed": false, - "name": "id", - "type": "uint8" + "indexed": true, + "name": "signerAddress", + "type": "address" }, { - "indexed": false, - "name": "newAssetProxy", + "indexed": true, + "name": "validatorAddress", "type": "address" }, { "indexed": false, - "name": "oldAssetProxy", - "type": "address" + "name": "approved", + "type": "bool" } ], - "name": "AssetProxySet", + "name": "SignatureValidatorApproval", "type": "event" }, { @@ -1649,13 +1777,18 @@ "type": "address" }, { + "indexed": true, + "name": "feeRecipientAddress", + "type": "address" + }, + { "indexed": false, "name": "takerAddress", "type": "address" }, { - "indexed": true, - "name": "feeRecipientAddress", + "indexed": false, + "name": "senderAddress", "type": "address" }, { @@ -1711,6 +1844,11 @@ "type": "address" }, { + "indexed": false, + "name": "senderAddress", + "type": "address" + }, + { "indexed": true, "name": "orderHash", "type": "bytes32" @@ -1738,13 +1876,40 @@ "type": "address" }, { + "indexed": true, + "name": "senderAddress", + "type": "address" + }, + { "indexed": false, - "name": "makerEpoch", + "name": "orderEpoch", "type": "uint256" } ], "name": "CancelUpTo", "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "id", + "type": "bytes4" + }, + { + "indexed": false, + "name": "newAssetProxy", + "type": "address" + }, + { + "indexed": false, + "name": "oldAssetProxy", + "type": "address" + } + ], + "name": "AssetProxySet", + "type": "event" } ] }, |