aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-03 20:36:30 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:05:57 +0800
commitcbdce6b67ee4ad44feb63766c4af613c18bf505d (patch)
tree536e05425891e00613f211eeab093a214d4b5608 /packages/contract-wrappers/src
parenta6746ae5cd8d5cab022d60b5a3cdac8eaf82f03f (diff)
downloaddexon-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')
-rw-r--r--packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json167
-rw-r--r--packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json167
-rw-r--r--packages/contract-wrappers/src/compact_artifacts/Exchange.json337
3 files changed, 585 insertions, 86 deletions
diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json b/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json
index 430a8af68..82a08e23d 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json
+++ b/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json
@@ -3,6 +3,125 @@
"compilerOutput": {
"abi": [
{
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ }
+ ],
+ "name": "addAuthorizedAddress",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "name": "authorities",
+ "outputs": [
+ {
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ }
+ ],
+ "name": "removeAuthorizedAddress",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "owner",
+ "outputs": [
+ {
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "name": "index",
+ "type": "uint256"
+ }
+ ],
+ "name": "removeAuthorizedAddressAtIndex",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "assetData",
+ "type": "bytes"
+ },
+ {
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "name": "amount",
+ "type": "uint256"
+ }
+ ],
+ "name": "transferFrom",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "getProxyId",
+ "outputs": [
+ {
+ "name": "",
+ "type": "bytes4"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"constant": true,
"inputs": [
{
@@ -34,6 +153,54 @@
"payable": false,
"stateMutability": "view",
"type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "newOwner",
+ "type": "address"
+ }
+ ],
+ "name": "transferOwnership",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "name": "caller",
+ "type": "address"
+ }
+ ],
+ "name": "AuthorizedAddressAdded",
+ "type": "event"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "name": "caller",
+ "type": "address"
+ }
+ ],
+ "name": "AuthorizedAddressRemoved",
+ "type": "event"
}
]
},
diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json b/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json
index 8924ede96..a31f5b858 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json
+++ b/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json
@@ -3,6 +3,125 @@
"compilerOutput": {
"abi": [
{
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ }
+ ],
+ "name": "addAuthorizedAddress",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "name": "authorities",
+ "outputs": [
+ {
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ }
+ ],
+ "name": "removeAuthorizedAddress",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "owner",
+ "outputs": [
+ {
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "name": "index",
+ "type": "uint256"
+ }
+ ],
+ "name": "removeAuthorizedAddressAtIndex",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "assetData",
+ "type": "bytes"
+ },
+ {
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "name": "amount",
+ "type": "uint256"
+ }
+ ],
+ "name": "transferFrom",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "getProxyId",
+ "outputs": [
+ {
+ "name": "",
+ "type": "bytes4"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"constant": true,
"inputs": [
{
@@ -34,6 +153,54 @@
"payable": false,
"stateMutability": "view",
"type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "newOwner",
+ "type": "address"
+ }
+ ],
+ "name": "transferOwnership",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "name": "caller",
+ "type": "address"
+ }
+ ],
+ "name": "AuthorizedAddressAdded",
+ "type": "event"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "name": "caller",
+ "type": "address"
+ }
+ ],
+ "name": "AuthorizedAddressRemoved",
+ "type": "event"
}
]
},
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"
}
]
},