Add ERC1155Proxy and StaticCallProxy artifacts

This commit is contained in:
Amir Bandeali 2019-07-30 16:11:45 -07:00 committed by Jacob Evans
parent 78c704e3d1
commit 424f984ea8
No known key found for this signature in database
GPG Key ID: 2036DA2ADDFB0842
4 changed files with 332 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,71 @@
{
"schemaVersion": "2.0.0",
"contractName": "StaticCallProxy",
"compilerOutput": {
"abi": [
{
"constant": true,
"inputs": [
{
"name": "assetData",
"type": "bytes"
},
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getProxyId",
"outputs": [
{
"name": "",
"type": "bytes4"
}
],
"payable": false,
"stateMutability": "pure",
"type": "function"
}
],
"devdoc": {
"methods": {
"getProxyId()": {
"details": "Gets the proxy id associated with the proxy address.",
"return": "Proxy id."
},
"transferFrom(bytes,address,address,uint256)": {
"details": "Makes a staticcall to a target address and verifies that the data returned matches the expected return data.",
"params": {
"amount": "This value is ignored.",
"assetData": "Byte array encoded with staticCallTarget, staticCallData, and expectedCallResultHash",
"from": "This value is ignored.",
"to": "This value is ignored."
}
}
}
},
"evm": {
"bytecode": {
"object": "0x608060405234801561001057600080fd5b506104a1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063a85e59e41461003b578063ae25532e146100d3575b600080fd5b6100d16004803603608081101561005157600080fd5b81019060208101813564010000000081111561006c57600080fd5b82018360208201111561007e57600080fd5b803590602001918460018302840111640100000000831117156100a057600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610110565b005b6100db61033e565b604080517fffffffff000000000000000000000000000000000000000000000000000000009092168252519081900360200190f35b6000606060006101656004898990508a8a8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092949392505063ffffffff61035e169050565b806020019051606081101561017957600080fd5b81516020830180519193928301929164010000000081111561019a57600080fd5b820160208101848111156101ad57600080fd5b81516401000000008111828201871017156101c757600080fd5b5050602091820151604051825196995091975095506000946060945073ffffffffffffffffffffffffffffffffffffffff8916935087928291908401908083835b6020831061024557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610208565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146102a5576040519150601f19603f3d011682016040523d82523d6000602084013e6102aa565b606091505b5091509150816102bc57805160208201fd5b8051602082012083811461033157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f554e45585045435445445f5354415449435f43414c4c5f524553554c54000000604482015290519081900360640190fd5b5050505050505050505050565b6000604051808061044c6021913960210190506040518091039020905090565b6060818311156103cf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f46524f4d5f4c4553535f5448414e5f544f5f5245515549524544000000000000604482015290519081900360640190fd5b835182111561043f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f544f5f4c4553535f5448414e5f4c454e4754485f524551554952454400000000604482015290519081900360640190fd5b5081900391019081529056fe53746174696343616c6c28616464726573732c62797465732c6279746573333229a265627a7a723058202a9eb09d75997d78128bcdbbcc5078907fc01fd97b218cd94a4e7600375d488664736f6c634300050a0032"
}
}
},
"networks": {}
}

View File

@ -4,6 +4,7 @@ import * as CoordinatorRegistry from '../artifacts/CoordinatorRegistry.json';
import * as DummyERC20Token from '../artifacts/DummyERC20Token.json';
import * as DummyERC721Token from '../artifacts/DummyERC721Token.json';
import * as DutchAuction from '../artifacts/DutchAuction.json';
import * as ERC1155Proxy from '../artifacts/ERC1155Proxy.json';
import * as ERC20Proxy from '../artifacts/ERC20Proxy.json';
import * as ERC20Token from '../artifacts/ERC20Token.json';
import * as ERC721Proxy from '../artifacts/ERC721Proxy.json';
@ -16,6 +17,7 @@ import * as IValidator from '../artifacts/IValidator.json';
import * as IWallet from '../artifacts/IWallet.json';
import * as MultiAssetProxy from '../artifacts/MultiAssetProxy.json';
import * as OrderValidator from '../artifacts/OrderValidator.json';
import * as StaticCallProxy from '../artifacts/StaticCallProxy.json';
import * as WETH9 from '../artifacts/WETH9.json';
import * as ZRXToken from '../artifacts/ZRXToken.json';
@ -24,6 +26,7 @@ export {
DutchAuction,
DummyERC20Token,
DummyERC721Token,
ERC1155Proxy,
ERC20Proxy,
ERC20Token,
ERC721Proxy,
@ -35,6 +38,7 @@ export {
IWallet,
MultiAssetProxy,
OrderValidator,
StaticCallProxy,
WETH9,
ZRXToken,
Coordinator,

View File

@ -26,6 +26,8 @@
"./artifacts/ZRXToken.json",
"./artifacts/CoordinatorRegistry.json",
"./artifacts/Coordinator.json",
"./artifacts/EthBalanceChecker.json"
"./artifacts/EthBalanceChecker.json",
"./artifacts/ERC1155Proxy.json",
"./artifacts/StaticCallProxy.json"
]
}