115 lines
4.4 KiB
JSON
Generated
115 lines
4.4 KiB
JSON
Generated
{
|
|
"schemaVersion": "2.0.0",
|
|
"contractName": "IAssetProxy",
|
|
"compilerOutput": {
|
|
"abi": [
|
|
{
|
|
"constant": false,
|
|
"inputs": [{ "name": "target", "type": "address" }],
|
|
"name": "addAuthorizedAddress",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [{ "name": "target", "type": "address" }],
|
|
"name": "removeAuthorizedAddress",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"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": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "getAuthorizedAddresses",
|
|
"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"
|
|
}
|
|
],
|
|
"devdoc": {
|
|
"methods": {
|
|
"addAuthorizedAddress(address)": {
|
|
"details": "Authorizes an address.",
|
|
"params": { "target": "Address to authorize." }
|
|
},
|
|
"getAuthorizedAddresses()": {
|
|
"details": "Gets all authorized addresses.",
|
|
"return": "Array of authorized addresses."
|
|
},
|
|
"getProxyId()": {
|
|
"details": "Gets the proxy id associated with the proxy address.",
|
|
"return": "Proxy id."
|
|
},
|
|
"removeAuthorizedAddress(address)": {
|
|
"details": "Removes authorizion of an address.",
|
|
"params": { "target": "Address to remove authorization from." }
|
|
},
|
|
"removeAuthorizedAddressAtIndex(address,uint256)": {
|
|
"details": "Removes authorizion of an address.",
|
|
"params": {
|
|
"index": "Index of target in authorities array.",
|
|
"target": "Address to remove authorization from."
|
|
}
|
|
},
|
|
"transferFrom(bytes,address,address,uint256)": {
|
|
"details": "Transfers assets. Either succeeds or throws.",
|
|
"params": {
|
|
"amount": "Amount of asset to transfer.",
|
|
"assetData": "Byte array encoded for the respective asset proxy.",
|
|
"from": "Address to transfer asset from.",
|
|
"to": "Address to transfer asset to."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"evm": { "bytecode": { "object": "0x" } }
|
|
},
|
|
"networks": {}
|
|
}
|