Update ABI in compact_artifacts

This commit is contained in:
Leonid Logvinov
2018-07-03 15:36:30 +03:00
parent a6746ae5cd
commit cbdce6b67e
3 changed files with 585 additions and 86 deletions

View File

@@ -2,6 +2,125 @@
"contractName": "ERC20Proxy", "contractName": "ERC20Proxy",
"compilerOutput": { "compilerOutput": {
"abi": [ "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, "constant": true,
"inputs": [ "inputs": [
@@ -34,6 +153,54 @@
"payable": false, "payable": false,
"stateMutability": "view", "stateMutability": "view",
"type": "function" "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"
} }
] ]
}, },

View File

@@ -2,6 +2,125 @@
"contractName": "ERC20Proxy", "contractName": "ERC20Proxy",
"compilerOutput": { "compilerOutput": {
"abi": [ "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, "constant": true,
"inputs": [ "inputs": [
@@ -34,6 +153,54 @@
"payable": false, "payable": false,
"stateMutability": "view", "stateMutability": "view",
"type": "function" "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"
} }
] ]
}, },

View File

@@ -2,6 +2,20 @@
"contractName": "Exchange", "contractName": "Exchange",
"compilerOutput": { "compilerOutput": {
"abi": [ "abi": [
{
"constant": true,
"inputs": [],
"name": "EIP712_DOMAIN_SEPARATOR_SCHEMA_HASH",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{ {
"constant": true, "constant": true,
"inputs": [ "inputs": [
@@ -88,7 +102,30 @@
} }
], ],
"name": "batchFillOrders", "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, "payable": false,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
@@ -112,20 +149,6 @@
"stateMutability": "view", "stateMutability": "view",
"type": "function" "type": "function"
}, },
{
"constant": true,
"inputs": [],
"name": "zrxAssetData",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{ {
"constant": false, "constant": false,
"inputs": [ "inputs": [
@@ -134,7 +157,7 @@
"type": "bytes32" "type": "bytes32"
}, },
{ {
"name": "signer", "name": "signerAddress",
"type": "address" "type": "address"
}, },
{ {
@@ -148,25 +171,6 @@
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint8"
}
],
"name": "assetProxies",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{ {
"constant": false, "constant": false,
"inputs": [ "inputs": [
@@ -443,6 +447,25 @@
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{
"constant": true,
"inputs": [
{
"name": "",
"type": "bytes4"
}
],
"name": "assetProxies",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{ {
"constant": false, "constant": false,
"inputs": [ "inputs": [
@@ -574,7 +597,30 @@
} }
], ],
"name": "batchFillOrKillOrders", "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, "payable": false,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
@@ -583,7 +629,7 @@
"constant": false, "constant": false,
"inputs": [ "inputs": [
{ {
"name": "salt", "name": "targetOrderEpoch",
"type": "uint256" "type": "uint256"
} }
], ],
@@ -660,31 +706,51 @@
} }
], ],
"name": "batchFillOrdersNoThrow", "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, "payable": false,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{ {
"constant": false, "constant": true,
"inputs": [ "inputs": [
{ {
"name": "assetProxyId", "name": "assetProxyId",
"type": "uint8" "type": "bytes4"
}, }
],
"name": "getAssetProxy",
"outputs": [
{ {
"name": "newAssetProxy", "name": "",
"type": "address"
},
{
"name": "oldAssetProxy",
"type": "address" "type": "address"
} }
], ],
"name": "registerAssetProxy",
"outputs": [],
"payable": false, "payable": false,
"stateMutability": "nonpayable", "stateMutability": "view",
"type": "function" "type": "function"
}, },
{ {
@@ -801,30 +867,11 @@
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "makerEpoch",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{ {
"constant": false, "constant": false,
"inputs": [ "inputs": [
{ {
"name": "validator", "name": "validatorAddress",
"type": "address" "type": "address"
}, },
{ {
@@ -979,6 +1026,28 @@
"stateMutability": "view", "stateMutability": "view",
"type": "function" "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, "constant": true,
"inputs": [], "inputs": [],
@@ -997,15 +1066,23 @@
"constant": true, "constant": true,
"inputs": [ "inputs": [
{ {
"name": "assetProxyId", "name": "hash",
"type": "uint8" "type": "bytes32"
},
{
"name": "signerAddress",
"type": "address"
},
{
"name": "signature",
"type": "bytes"
} }
], ],
"name": "getAssetProxy", "name": "isValidSignature",
"outputs": [ "outputs": [
{ {
"name": "", "name": "isValid",
"type": "address" "type": "bool"
} }
], ],
"payable": false, "payable": false,
@@ -1210,7 +1287,7 @@
"type": "uint256" "type": "uint256"
}, },
{ {
"name": "signer", "name": "signerAddress",
"type": "address" "type": "address"
}, },
{ {
@@ -1375,6 +1452,43 @@
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "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, "constant": false,
"inputs": [ "inputs": [
@@ -1470,6 +1584,20 @@
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"type": "function" "type": "function"
}, },
{
"constant": true,
"inputs": [],
"name": "EIP712_DOMAIN_HASH",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{ {
"constant": false, "constant": false,
"inputs": [ "inputs": [
@@ -1622,22 +1750,22 @@
"anonymous": false, "anonymous": false,
"inputs": [ "inputs": [
{ {
"indexed": false, "indexed": true,
"name": "id", "name": "signerAddress",
"type": "uint8" "type": "address"
}, },
{ {
"indexed": false, "indexed": true,
"name": "newAssetProxy", "name": "validatorAddress",
"type": "address" "type": "address"
}, },
{ {
"indexed": false, "indexed": false,
"name": "oldAssetProxy", "name": "approved",
"type": "address" "type": "bool"
} }
], ],
"name": "AssetProxySet", "name": "SignatureValidatorApproval",
"type": "event" "type": "event"
}, },
{ {
@@ -1648,14 +1776,19 @@
"name": "makerAddress", "name": "makerAddress",
"type": "address" "type": "address"
}, },
{
"indexed": true,
"name": "feeRecipientAddress",
"type": "address"
},
{ {
"indexed": false, "indexed": false,
"name": "takerAddress", "name": "takerAddress",
"type": "address" "type": "address"
}, },
{ {
"indexed": true, "indexed": false,
"name": "feeRecipientAddress", "name": "senderAddress",
"type": "address" "type": "address"
}, },
{ {
@@ -1710,6 +1843,11 @@
"name": "feeRecipientAddress", "name": "feeRecipientAddress",
"type": "address" "type": "address"
}, },
{
"indexed": false,
"name": "senderAddress",
"type": "address"
},
{ {
"indexed": true, "indexed": true,
"name": "orderHash", "name": "orderHash",
@@ -1737,14 +1875,41 @@
"name": "makerAddress", "name": "makerAddress",
"type": "address" "type": "address"
}, },
{
"indexed": true,
"name": "senderAddress",
"type": "address"
},
{ {
"indexed": false, "indexed": false,
"name": "makerEpoch", "name": "orderEpoch",
"type": "uint256" "type": "uint256"
} }
], ],
"name": "CancelUpTo", "name": "CancelUpTo",
"type": "event" "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"
} }
] ]
}, },