75 lines
2.7 KiB
JSON
75 lines
2.7 KiB
JSON
{
|
|
"schemaVersion": "2.0.0",
|
|
"contractName": "IAssetProxy",
|
|
"compilerOutput": {
|
|
"abi": [
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "getProxyId",
|
|
"outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }],
|
|
"payable": false,
|
|
"stateMutability": "pure",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{ "internalType": "bytes", "name": "assetData", "type": "bytes" },
|
|
{ "internalType": "address", "name": "from", "type": "address" },
|
|
{ "internalType": "address", "name": "to", "type": "address" },
|
|
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
],
|
|
"name": "transferFrom",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"devdoc": {
|
|
"methods": {
|
|
"getProxyId()": {
|
|
"details": "Gets the proxy id associated with the proxy address.",
|
|
"return": "Proxy id."
|
|
},
|
|
"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" }, "deployedBytecode": { "object": "0x" } }
|
|
},
|
|
"compiler": {
|
|
"name": "solc",
|
|
"version": "0.5.17+commit.d19bba13",
|
|
"settings": {
|
|
"optimizer": {
|
|
"enabled": true,
|
|
"runs": 1000000,
|
|
"details": { "yul": true, "deduplicate": true, "cse": true, "constantOptimizer": true }
|
|
},
|
|
"outputSelection": {
|
|
"*": {
|
|
"*": [
|
|
"abi",
|
|
"devdoc",
|
|
"evm.bytecode.object",
|
|
"evm.bytecode.sourceMap",
|
|
"evm.deployedBytecode.object",
|
|
"evm.deployedBytecode.sourceMap"
|
|
]
|
|
}
|
|
},
|
|
"evmVersion": "istanbul"
|
|
}
|
|
},
|
|
"chains": {}
|
|
}
|