2018-04-25 14:49:13 -04:00
|
|
|
{
|
|
|
|
"contract_name": "SNTController",
|
|
|
|
"code": "608060405234801561001057600080fd5b506040516040806112a183398101604052805160209091015160008054600160a060020a03938416338516600160a060020a031992831617821617909155600280549390921692169190911790556112348061006d6000396000f30060806040526004361061010e5763ffffffff60e060020a6000350416630363e73d8114610113578063060eb520146101485780630c1f1f251461017957806331c128b1146101b55780633cebb823146102295780634a3931491461024c5780635a976cea14610276578063754e6ab0146102bd57806379ba509714610302578063856f5fbb146103175780638da5cb5b1461032c578063907920c714610341578063916b651114610362578063a6f9dae11461039b578063b15aa5b7146103bc578063c655d7aa146103d4578063d4ee1d9014610432578063da682aeb1461024c578063df8de3e714610447578063efcd1cd914610468578063f45066cc146104e3578063f48c305414610509575b600080fd5b34801561011f57600080fd5b50610134600160a060020a036004351661051d565b604080519115158252519081900360200190f35b34801561015457600080fd5b5061015d610532565b60408051600160a060020a039092168252519081900360200190f35b34801561018557600080fd5b506101a3600160a060020a0360043516602435604435606435610541565b60408051918252519081900360200190f35b3480156101c157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101a3958335600160a060020a0316953695604494919390910191908190840183828082843750949750508435955050506020830135926040013591506106099050565b34801561023557600080fd5b5061024a600160a060020a0360043516610746565b005b34801561025857600080fd5b50610134600160a060020a0360043581169060243516604435610817565b34801561028257600080fd5b5061028b610820565b604080517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199092168252519081900360200190f35b3480156102c957600080fd5b5061024a60048035600160a060020a0316906024803580820192908101359160443591606435916084359160a43591820191013561087b565b34801561030e57600080fd5b5061024a610a82565b34801561032357600080fd5b5061028b610acb565b34801561033857600080fd5b5061015d610b26565b34801561034d57600080fd5b506101a3600160a060020a0360043516610b35565b34801561036e57600080fd5b5061024a60048035600160a060020a03169060248035916044359160643591608435918201910135610b47565b3480156103a757600080fd5b5061024a600160a060020a0360043516610d2e565b3480156103c857600080fd5b506101a3600435610d78565b3480156103e057600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261015d958335953695604494919390910191908190840183828082843750949750610db49650505050505050565b34801561043e57600080fd5b5061015d610e3b565b34801561045357600080fd5b5061024a600160a060020a0360043516610e4a565b34801561047457600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526104c194369492936024939284019190819084018382808284375094975061114f9650505050505050565b6040805160ff9094168452602084019290925282820152519081900360600190f35b3480156104ef57600080fd5b5061024a600160a060020a03600435166024351515611187565b610134600160a060020a0360043516611202565b60046020526000908152604090205460ff1681565b600254600160a060020a031681565b604080517f7472616e73666572534e5428616464726573732c75696e743235362c75696e7481527f3235362c75696e743235362900000000000000000000000000000000000000006020820152815190819003602c90810182206c01000000000000000000000000600160a060020a03308116820285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1990921660148501529716909602601882015294850193909352604c840191909152606c8301525190819003608c01902090565b60003060405180807f6578656375746547617352656c6179656428616464726573732c62797465732c81526020017f75696e743235362c75696e743235362c75696e743235362900000000000000008152506038019050604051809103902087876040518082805190602001908083835b602083106106995780518252601f19909201916020918201910161067a565b5181516000196020949094036101000a93909301928316921916919091179052604080519390910183900383206c01000000000000000000000000600160a060020a03998a16810285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199098166014850152959097169095026018820152602c8101939093525050604c81019690965250606c85019390935250608c830152519081900360ac01902092915050565b60005433600160a060020a0390811691161461076157600080fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152
|
|
|
|
"runtime_bytecode": "60806040526004361061010e5763ffffffff60e060020a6000350416630363e73d8114610113578063060eb520146101485780630c1f1f251461017957806331c128b1146101b55780633cebb823146102295780634a3931491461024c5780635a976cea14610276578063754e6ab0146102bd57806379ba509714610302578063856f5fbb146103175780638da5cb5b1461032c578063907920c714610341578063916b651114610362578063a6f9dae11461039b578063b15aa5b7146103bc578063c655d7aa146103d4578063d4ee1d9014610432578063da682aeb1461024c578063df8de3e714610447578063efcd1cd914610468578063f45066cc146104e3578063f48c305414610509575b600080fd5b34801561011f57600080fd5b50610134600160a060020a036004351661051d565b604080519115158252519081900360200190f35b34801561015457600080fd5b5061015d610532565b60408051600160a060020a039092168252519081900360200190f35b34801561018557600080fd5b506101a3600160a060020a0360043516602435604435606435610541565b60408051918252519081900360200190f35b3480156101c157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101a3958335600160a060020a0316953695604494919390910191908190840183828082843750949750508435955050506020830135926040013591506106099050565b34801561023557600080fd5b5061024a600160a060020a0360043516610746565b005b34801561025857600080fd5b50610134600160a060020a0360043581169060243516604435610817565b34801561028257600080fd5b5061028b610820565b604080517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199092168252519081900360200190f35b3480156102c957600080fd5b5061024a60048035600160a060020a0316906024803580820192908101359160443591606435916084359160a43591820191013561087b565b34801561030e57600080fd5b5061024a610a82565b34801561032357600080fd5b5061028b610acb565b34801561033857600080fd5b5061015d610b26565b34801561034d57600080fd5b506101a3600160a060020a0360043516610b35565b34801561036e57600080fd5b5061024a60048035600160a060020a03169060248035916044359160643591608435918201910135610b47565b3480156103a757600080fd5b5061024a600160a060020a0360043516610d2e565b3480156103c857600080fd5b506101a3600435610d78565b3480156103e057600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261015d958335953695604494919390910191908190840183828082843750949750610db49650505050505050565b34801561043e57600080fd5b5061015d610e3b565b34801561045357600080fd5b5061024a600160a060020a0360043516610e4a565b34801561047457600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526104c194369492936024939284019190819084018382808284375094975061114f9650505050505050565b6040805160ff9094168452602084019290925282820152519081900360600190f35b3480156104ef57600080fd5b5061024a600160a060020a03600435166024351515611187565b610134600160a060020a0360043516611202565b60046020526000908152604090205460ff1681565b600254600160a060020a031681565b604080517f7472616e73666572534e5428616464726573732c75696e743235362c75696e7481527f3235362c75696e743235362900000000000000000000000000000000000000006020820152815190819003602c90810182206c01000000000000000000000000600160a060020a03308116820285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1990921660148501529716909602601882015294850193909352604c840191909152606c8301525190819003608c01902090565b60003060405180807f6578656375746547617352656c6179656428616464726573732c62797465732c81526020017f75696e743235362c75696e743235362c75696e743235362900000000000000008152506038019050604051809103902087876040518082805190602001908083835b602083106106995780518252601f19909201916020918201910161067a565b5181516000196020949094036101000a93909301928316921916919091179052604080519390910183900383206c01000000000000000000000000600160a060020a03998a16810285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199098166014850152959097169095026018820152602c8101939093525050604c81019690965250606c85019390935250608c830152519081900360ac01902092915050565b60005433600160a060020a0390811691161461076157600080fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b1580156107c857600080fd5b505af11580156107dc573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e08
|
|
|
|
"real_runtime_bytecode": "60806040526004361061010e5763ffffffff60e060020a6000350416630363e73d8114610113578063060eb520146101485780630c1f1f251461017957806331c128b1146101b55780633cebb823146102295780634a3931491461024c5780635a976cea14610276578063754e6ab0146102bd57806379ba509714610302578063856f5fbb146103175780638da5cb5b1461032c578063907920c714610341578063916b651114610362578063a6f9dae11461039b578063b15aa5b7146103bc578063c655d7aa146103d4578063d4ee1d9014610432578063da682aeb1461024c578063df8de3e714610447578063efcd1cd914610468578063f45066cc146104e3578063f48c305414610509575b600080fd5b34801561011f57600080fd5b50610134600160a060020a036004351661051d565b604080519115158252519081900360200190f35b34801561015457600080fd5b5061015d610532565b60408051600160a060020a039092168252519081900360200190f35b34801561018557600080fd5b506101a3600160a060020a0360043516602435604435606435610541565b60408051918252519081900360200190f35b3480156101c157600080fd5b5060408051602060046024803582810135601f81018590048502860185019096528585526101a3958335600160a060020a0316953695604494919390910191908190840183828082843750949750508435955050506020830135926040013591506106099050565b34801561023557600080fd5b5061024a600160a060020a0360043516610746565b005b34801561025857600080fd5b50610134600160a060020a0360043581169060243516604435610817565b34801561028257600080fd5b5061028b610820565b604080517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199092168252519081900360200190f35b3480156102c957600080fd5b5061024a60048035600160a060020a0316906024803580820192908101359160443591606435916084359160a43591820191013561087b565b34801561030e57600080fd5b5061024a610a82565b34801561032357600080fd5b5061028b610acb565b34801561033857600080fd5b5061015d610b26565b34801561034d57600080fd5b506101a3600160a060020a0360043516610b35565b34801561036e57600080fd5b5061024a60048035600160a060020a03169060248035916044359160643591608435918201910135610b47565b3480156103a757600080fd5b5061024a600160a060020a0360043516610d2e565b3480156103c857600080fd5b506101a3600435610d78565b3480156103e057600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261015d958335953695604494919390910191908190840183828082843750949750610db49650505050505050565b34801561043e57600080fd5b5061015d610e3b565b34801561045357600080fd5b5061024a600160a060020a0360043516610e4a565b34801561047457600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526104c194369492936024939284019190819084018382808284375094975061114f9650505050505050565b6040805160ff9094168452602084019290925282820152519081900360600190f35b3480156104ef57600080fd5b5061024a600160a060020a03600435166024351515611187565b610134600160a060020a0360043516611202565b60046020526000908152604090205460ff1681565b600254600160a060020a031681565b604080517f7472616e73666572534e5428616464726573732c75696e743235362c75696e7481527f3235362c75696e743235362900000000000000000000000000000000000000006020820152815190819003602c90810182206c01000000000000000000000000600160a060020a03308116820285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1990921660148501529716909602601882015294850193909352604c840191909152606c8301525190819003608c01902090565b60003060405180807f6578656375746547617352656c6179656428616464726573732c62797465732c81526020017f75696e743235362c75696e743235362c75696e743235362900000000000000008152506038019050604051809103902087876040518082805190602001908083835b602083106106995780518252601f19909201916020918201910161067a565b5181516000196020949094036101000a93909301928316921916919091179052604080519390910183900383206c01000000000000000000000000600160a060020a03998a16810285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199098166014850152959097169095026018820152602c8101939093525050604c81019690965250606c85019390935250608c830152519081900360ac01902092915050565b60005433600160a060020a0390811691161461076157600080fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b1580156107c857600080fd5b505af11580156107dc573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027
|
|
|
|
"swarm_hash": "92ed34e59cb2eb2ca45306e8611782081534da2068d5db48970ad41dd5c3538c",
|
|
|
|
"gas_estimates": {
|
|
|
|
"creation": {
|
|
|
|
"codeDepositCost": "932000",
|
|
|
|
"executionCost": "41664",
|
|
|
|
"totalCost": "973664"
|
|
|
|
},
|
|
|
|
"external": {
|
|
|
|
"EXECUTE_PREFIX()": "559",
|
|
|
|
"TRANSFER_PREFIX()": "493",
|
|
|
|
"acceptOwnership()": "21195",
|
|
|
|
"allowPublicExecution(address)": "606",
|
|
|
|
"changeController(address)": "infinite",
|
|
|
|
"changeOwner(address)": "21183",
|
|
|
|
"claimTokens(address)": "infinite",
|
|
|
|
"enablePublicExecution(address,bool)": "22869",
|
|
|
|
"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)": "infinite",
|
|
|
|
"getExecuteGasRelayedHash(address,bytes,uint256,uint256,uint256)": "infinite",
|
|
|
|
"getSignHash(bytes32)": "666",
|
|
|
|
"getTransferSNTHash(address,uint256,uint256,uint256)": "798",
|
|
|
|
"newOwner()": "952",
|
|
|
|
"onApprove(address,address,uint256)": "738",
|
|
|
|
"onTransfer(address,address,uint256)": "474",
|
|
|
|
"owner()": "820",
|
|
|
|
"proxyPayment(address)": "774",
|
|
|
|
"recoverAddress(bytes32,bytes)": "infinite",
|
|
|
|
"signNonce(address)": "836",
|
|
|
|
"signatureSplit(bytes)": "infinite",
|
|
|
|
"snt()": "622",
|
|
|
|
"transferSNT(address,uint256,uint256,uint256,bytes)": "infinite"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"function_hashes": {
|
|
|
|
"EXECUTE_PREFIX()": "856f5fbb",
|
|
|
|
"TRANSFER_PREFIX()": "5a976cea",
|
|
|
|
"acceptOwnership()": "79ba5097",
|
|
|
|
"allowPublicExecution(address)": "0363e73d",
|
|
|
|
"changeController(address)": "3cebb823",
|
|
|
|
"changeOwner(address)": "a6f9dae1",
|
|
|
|
"claimTokens(address)": "df8de3e7",
|
|
|
|
"enablePublicExecution(address,bool)": "f45066cc",
|
|
|
|
"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)": "754e6ab0",
|
|
|
|
"getExecuteGasRelayedHash(address,bytes,uint256,uint256,uint256)": "31c128b1",
|
|
|
|
"getSignHash(bytes32)": "b15aa5b7",
|
|
|
|
"getTransferSNTHash(address,uint256,uint256,uint256)": "0c1f1f25",
|
|
|
|
"newOwner()": "d4ee1d90",
|
|
|
|
"onApprove(address,address,uint256)": "da682aeb",
|
|
|
|
"onTransfer(address,address,uint256)": "4a393149",
|
|
|
|
"owner()": "8da5cb5b",
|
|
|
|
"proxyPayment(address)": "f48c3054",
|
|
|
|
"recoverAddress(bytes32,bytes)": "c655d7aa",
|
|
|
|
"signNonce(address)": "907920c7",
|
|
|
|
"signatureSplit(bytes)": "efcd1cd9",
|
|
|
|
"snt()": "060eb520",
|
|
|
|
"transferSNT(address,uint256,uint256,uint256,bytes)": "916b6511"
|
|
|
|
},
|
|
|
|
"abi": [
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "allowPublicExecution",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [],
|
|
|
|
"name": "snt",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_to",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_amount",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_nonce",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_gasPrice",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getTransferSNTHash",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "txHash",
|
|
|
|
"type": "bytes32"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_allowedContract",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_data",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_nonce",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_gasPrice",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_gasMinimal",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getExecuteGasRelayedHash",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "execHash",
|
|
|
|
"type": "bytes32"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_newController",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "changeController",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "onTransfer",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [],
|
|
|
|
"name": "TRANSFER_PREFIX",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "bytes4"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_allowedContract",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_data",
|
|
|
|
"type": "bytes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_nonce",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_gasPrice",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_gasMinimal",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "executeGasRelayed",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [],
|
|
|
|
"name": "acceptOwnership",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [],
|
|
|
|
"name": "EXECUTE_PREFIX",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "bytes4"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [],
|
|
|
|
"name": "owner",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "signNonce",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_to",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_amount",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_nonce",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_gasPrice",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "transferSNT",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_newOwner",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "changeOwner",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_hash",
|
|
|
|
"type": "bytes32"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getSignHash",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "signHash",
|
|
|
|
"type": "bytes32"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "pure",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_signHash",
|
|
|
|
"type": "bytes32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_messageSignature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "recoverAddress",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "pure",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [],
|
|
|
|
"name": "newOwner",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "onApprove",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_token",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "claimTokens",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": true,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_signature",
|
|
|
|
"type": "bytes"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "signatureSplit",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "v",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "r",
|
|
|
|
"type": "bytes32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "s",
|
|
|
|
"type": "bytes32"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "pure",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_contract",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_enable",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "enablePublicExecution",
|
|
|
|
"outputs": [],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"constant": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "proxyPayment",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": true,
|
|
|
|
"stateMutability": "payable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"name": "_owner",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "_snt",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"payable": false,
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "constructor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"name": "contractAddress",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"indexed": false,
|
|
|
|
"name": "enabled",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "PublicExecutionEnabled",
|
|
|
|
"type": "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"name": "msgSigner",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"indexed": false,
|
|
|
|
"name": "signedHash",
|
|
|
|
"type": "bytes32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"indexed": false,
|
|
|
|
"name": "executed",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "GasRelayedExecution",
|
|
|
|
"type": "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"name": "_token",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"name": "_controller",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"indexed": false,
|
|
|
|
"name": "_amount",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "ClaimedTokens",
|
|
|
|
"type": "event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"anonymous": false,
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"indexed": true,
|
|
|
|
"name": "_newController",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "ControllerChanged",
|
|
|
|
"type": "event"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|