embark-area-51/test_apps/contracts_app/build/contracts/MyToken.json

245 lines
9.5 KiB
JSON
Raw Normal View History

2018-03-29 22:35:10 +00:00
{
"contract_name": "MyToken",
2018-03-29 23:05:30 +00:00
"address": "0xbbF2721136ce2F2C69FE3809de39cb5f1d54125C",
2018-03-29 22:35:10 +00:00
"code": "6060604052341561000f57600080fd5b60405160208061049b83398101604052808051600160a060020a0333166000908152602081905260409020819055600255505061044a806100516000396000f3006060604052600436106100825763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461008757806315945790146100bd57806318160ddd146100e257806323b872dd146100f557806370a082311461011d578063a9059cbb1461013c578063dd62ed3e1461015e575b600080fd5b341561009257600080fd5b6100a9600160a060020a0360043516602435610183565b604051901515815260200160405180910390f35b34156100c857600080fd5b6100d06101ef565b60405190815260200160405180910390f35b34156100ed57600080fd5b6100d06101f5565b341561010057600080fd5b6100a9600160a060020a03600435811690602435166044356101fb565b341561012857600080fd5b6100d0600160a060020a036004351661030f565b341561014757600080fd5b6100a9600160a060020a036004351660243561032a565b341561016957600080fd5b6100d0600160a060020a03600435811690602435166103ec565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025481565b60025490565b600160a060020a0383166000908152602081905260408120548290101561022157600080fd5b600160a060020a03808516600090815260016020908152604080832033909416835292905220548290101561025557600080fd5b600160a060020a0383166000908152602081905260409020546102789083610417565b151561028357600080fd5b600160a060020a0380851660008181526001602090815260408083203386168452825280832080548890039055838352908290528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600160a060020a0333166000908152602081905260408120548290101561035057600080fd5b600160a060020a0383166000908152602081905260409020546103739083610417565b151561037e57600080fd5b600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b81011015905600a165627a7a72305820e198e0113b80787ea6bed3da46c77abbf889cf88293ea9dfb03ec5db6ca30bcf0029",
"runtime_bytecode": "6060604052600436106100825763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b3811461008757806315945790146100bd57806318160ddd146100e257806323b872dd146100f557806370a082311461011d578063a9059cbb1461013c578063dd62ed3e1461015e575b600080fd5b341561009257600080fd5b6100a9600160a060020a0360043516602435610183565b604051901515815260200160405180910390f35b34156100c857600080fd5b6100d06101ef565b60405190815260200160405180910390f35b34156100ed57600080fd5b6100d06101f5565b341561010057600080fd5b6100a9600160a060020a03600435811690602435166044356101fb565b341561012857600080fd5b6100d0600160a060020a036004351661030f565b341561014757600080fd5b6100a9600160a060020a036004351660243561032a565b341561016957600080fd5b6100d0600160a060020a03600435811690602435166103ec565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60025481565b60025490565b600160a060020a0383166000908152602081905260408120548290101561022157600080fd5b600160a060020a03808516600090815260016020908152604080832033909416835292905220548290101561025557600080fd5b600160a060020a0383166000908152602081905260409020546102789083610417565b151561028357600080fd5b600160a060020a0380851660008181526001602090815260408083203386168452825280832080548890039055838352908290528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600160a060020a0333166000908152602081905260408120548290101561035057600080fd5b600160a060020a0383166000908152602081905260409020546103739083610417565b151561037e57600080fd5b600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b81011015905600a165627a7a72305820e198e0113b80787ea6bed3da46c77abbf889cf88293ea9dfb03ec5db6ca30bcf0029",
"gas_estimates": {
"creation": {
"codeDepositCost": "219600",
"executionCost": "40465",
"totalCost": "260065"
},
"external": {
"_supply()": "395",
"allowance(address,address)": "829",
"approve(address,uint256)": "22333",
"balanceOf(address)": "686",
"totalSupply()": "417",
"transfer(address,uint256)": "43633",
"transferFrom(address,address,uint256)": "64416"
},
"internal": {
"safeToAdd(uint256,uint256)": "24"
}
},
"function_hashes": {
"_supply()": "15945790",
"allowance(address,address)": "dd62ed3e",
"approve(address,uint256)": "095ea7b3",
"balanceOf(address)": "70a08231",
"totalSupply()": "18160ddd",
"transfer(address,uint256)": "a9059cbb",
"transferFrom(address,address,uint256)": "23b872dd"
},
"abi": [
{
"constant": false,
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"name": "ok",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0x095ea7b3"
2018-03-29 22:35:10 +00:00
},
{
"constant": true,
"inputs": [],
"name": "_supply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0x15945790"
2018-03-29 22:35:10 +00:00
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "supply",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0x18160ddd"
2018-03-29 22:35:10 +00:00
},
{
"constant": false,
"inputs": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "ok",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0x23b872dd"
2018-03-29 22:35:10 +00:00
},
{
"constant": true,
"inputs": [
{
"name": "who",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "value",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0x70a08231"
2018-03-29 22:35:10 +00:00
},
{
"constant": false,
"inputs": [
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "ok",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0xa9059cbb"
2018-03-29 22:35:10 +00:00
},
{
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "_allowance",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
2018-03-29 23:05:30 +00:00
"type": "function",
"signature": "0xdd62ed3e"
2018-03-29 22:35:10 +00:00
},
{
"inputs": [
{
"name": "initial_balance",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
2018-03-29 23:05:30 +00:00
"type": "constructor",
"signature": "constructor"
2018-03-29 22:35:10 +00:00
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
2018-03-29 23:05:30 +00:00
"type": "event",
"signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
2018-03-29 22:35:10 +00:00
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "spender",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
2018-03-29 23:05:30 +00:00
"type": "event",
"signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"
2018-03-29 22:35:10 +00:00
}
]
}