diff --git a/contract/token.sol b/contract/token.sol index a49ec16..e586297 100644 --- a/contract/token.sol +++ b/contract/token.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.24; +pragma solidity ^0.4.25; /** diff --git a/token.go b/token.go index 6da72f5..54bed99 100644 --- a/token.go +++ b/token.go @@ -19,7 +19,7 @@ import ( const TokenABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"mintingFinished\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finishMinting\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_releaseTime\",\"type\":\"uint256\"}],\"name\":\"mintTimelocked\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"tokenName\",\"type\":\"string\"},{\"name\":\"tokenSymbol\",\"type\":\"string\"},{\"name\":\"tokenOwner\",\"type\":\"address\"},{\"name\":\"initialSupply\",\"type\":\"uint256\"},{\"name\":\"decimalUnits\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"MintFinished\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]" // TokenBin is the compiled bytecode used for deploying new contracts. -const TokenBin = `60806040526003805460a060020a61ffff021916905560006004553480156200002757600080fd5b5060405162001496380380620014968339810160409081528151602080840151928401516060850151608086015160038054600160a060020a031916331790559386018051909695909501949193909290916200008b916005919088019062000125565b508351620000a190600690602087019062000125565b506007805460ff191660ff831617905560038054600160a060020a031916600160a060020a0385169081179091556004839055600081815260016020908152604091829020859055815185815291517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859281900390910190a25050505050620001ca565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016857805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001985782518255916020019190600101906200017b565b50620001a6929150620001aa565b5090565b620001c791905b80821115620001a65760008155600101620001b1565b90565b6112bc80620001da6000396000f3006080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010857806306fdde0314610131578063095ea7b3146101bb57806318160ddd146101df57806323b872dd14610206578063313ce567146102305780633bed33ce1461025b5780633f4ba83a1461027357806340c10f19146102885780635c975abb146102ac57806370a08231146102c15780637d64bcb4146102e25780638456cb59146102f75780638da5cb5b1461030c57806395d89b411461033d578063a9059cbb14610352578063c14a3b8c14610376578063dd62ed3e1461039d578063f2fde38b146103c4575b005b34801561011457600080fd5b5061011d6103e5565b604080519115158252519081900360200190f35b34801561013d57600080fd5b50610146610407565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610180578181015183820152602001610168565b50505050905090810190601f1680156101ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101c757600080fd5b50610106600160a060020a0360043516602435610495565b3480156101eb57600080fd5b506101f4610533565b60408051918252519081900360200190f35b34801561021257600080fd5b50610106600160a060020a0360043581169060243516604435610539565b34801561023c57600080fd5b506102456105ac565b6040805160ff9092168252519081900360200190f35b34801561026757600080fd5b506101066004356105b5565b34801561027f57600080fd5b5061011d610644565b34801561029457600080fd5b5061011d600160a060020a0360043516602435610747565b3480156102b857600080fd5b5061011d6108aa565b3480156102cd57600080fd5b506101f4600160a060020a03600435166108ba565b3480156102ee57600080fd5b5061011d6108d5565b34801561030357600080fd5b5061011d61098f565b34801561031857600080fd5b50610321610a99565b60408051600160a060020a039092168252519081900360200190f35b34801561034957600080fd5b50610146610aa8565b34801561035e57600080fd5b50610106600160a060020a0360043516602435610b03565b34801561038257600080fd5b50610321600160a060020a0360043516602435604435610b70565b3480156103a957600080fd5b506101f4600160a060020a0360043581169060243516610c9a565b3480156103d057600080fd5b50610106600160a060020a0360043516610cc5565b6003547501000000000000000000000000000000000000000000900460ff1681565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561048d5780601f106104625761010080835404028352916020019161048d565b820191906000526020600020905b81548152906001019060200180831161047057829003601f168201915b505050505081565b80158015906104c65750336000908152600260209081526040808320600160a060020a038616845290915290205415155b15156104d157600080fd5b336000818152600260209081526040808320600160a060020a03871680855290835292819020859055805185815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35050565b60045481565b60035460a060020a900460ff16151561059c576040805160e560020a62461bcd02815260206004820152601360248201527f636f6e7472616374206e6f742070617573656400000000000000000000000000604482015290519081900360640190fd5b6105a7838383610d51565b505050565b60075460ff1681565b600354600160a060020a0316331415610606576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b600354604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610640573d6000803e3d6000fd5b5050565b600354600090600160a060020a0316331415610698576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b60035460a060020a900460ff16156106fa576040805160e560020a62461bcd02815260206004820152600f60248201527f636f6e7472616374207061757365640000000000000000000000000000000000604482015290519081900360640190fd5b6003805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a150600190565b600354600090600160a060020a031633141561079b576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b6003547501000000000000000000000000000000000000000000900460ff161515610810576040805160e560020a62461bcd02815260206004820152600e60248201527f6d696e742066696e69736865642e000000000000000000000000000000000000604482015290519081900360640190fd5b600454610823908363ffffffff610eb216565b600455600160a060020a03831660009081526001602052604090205461084f908363ffffffff610eb216565b600160a060020a038416600081815260016020908152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a250600192915050565b60035460a060020a900460ff1681565b600160a060020a031660009081526001602052604090205490565b600354600090600160a060020a0316331415610929576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b6003805475ff000000000000000000000000000000000000000000191675010000000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600090600160a060020a03163314156109e3576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b60035460a060020a900460ff161515610a46576040805160e560020a62461bcd02815260206004820152601360248201527f636f6e7472616374206e6f742070617573656400000000000000000000000000604482015290519081900360640190fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a150600190565b600354600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561048d5780601f106104625761010080835404028352916020019161048d565b60035460a060020a900460ff161515610b66576040805160e560020a62461bcd02815260206004820152601360248201527f636f6e7472616374206e6f742070617573656400000000000000000000000000604482015290519081900360640190fd5b6106408282610ec8565b6003546000908190600160a060020a0316331415610bc6576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b6003547501000000000000000000000000000000000000000000900460ff161515610c3b576040805160e560020a62461bcd02815260206004820152600e60248201527f6d696e742066696e69736865642e000000000000000000000000000000000000604482015290519081900360640190fd5b308584610c46610fe0565b600160a060020a039384168152919092166020820152604080820192909252905190819003606001906000f080158015610c84573d6000803e3d6000fd5b509050610c918185610747565b50949350505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a0316331415610d16576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b600160a060020a03811615610d4e576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b606060643610610dab576040805160e560020a62461bcd02815260206004820152601b60248201527f7061796c6f61642073697a6520646f6573206e6f74206d617463680000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054610ddf908363ffffffff610fce16565b600160a060020a038516600081815260026020908152604080832033845282528083209490945591815260019091522054610e20908363ffffffff610fce16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610e55908363ffffffff610eb216565b600160a060020a0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505050565b600082820183811015610ec157fe5b9392505050565b604060443610610f22576040805160e560020a62461bcd02815260206004820152601b60248201527f7061796c6f61642073697a6520646f6573206e6f74206d617463680000000000604482015290519081900360640190fd5b33600090815260016020526040902054610f42908363ffffffff610fce16565b3360009081526001602052604080822092909255600160a060020a03851681522054610f74908363ffffffff610eb216565b600160a060020a0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b600082821115610fda57fe5b50900390565b60405161028080610ff1833901905600608060405234801561001057600080fd5b5060405160608061028083398101604090815281516020830151919092015142811161003b57600080fd5b60008054600160a060020a03948516600160a060020a03199182161790915560018054939094169216919091179091556002556102038061007d6000396000f3006080604052600436106100405763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634e71d92d8114610045575b600080fd5b34801561005157600080fd5b5061005a61005c565b005b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461008357600080fd5b60025442101561009257600080fd5b60008054604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216926370a08231926024808401936020939083900390910190829087803b15801561010657600080fd5b505af115801561011a573d6000803e3d6000fd5b505050506040513d602081101561013057600080fd5b505190506000811161014157600080fd5b60008054600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018690529051919092169263a9059cbb926044808201939182900301818387803b1580156101bc57600080fd5b505af11580156101d0573d6000803e3d6000fd5b50505050505600a165627a7a723058201ba1524b4332731310723abd3f0ac43858fcb2130d690e57c00551adade7a95b00296f6e6c79206f776e65722063616e2063616c6c00000000000000000000000000a165627a7a72305820edee805d1542400b58742b14f40ecb108b3001cc062900f7abda0ba710a7022f0029` +const TokenBin = `60806040526003805460a060020a61ffff021916905560006004553480156200002757600080fd5b5060405162001496380380620014968339810160409081528151602080840151928401516060850151608086015160038054600160a060020a031916331790559386018051909695909501949193909290916200008b916005919088019062000125565b508351620000a190600690602087019062000125565b506007805460ff191660ff831617905560038054600160a060020a031916600160a060020a0385169081179091556004839055600081815260016020908152604091829020859055815185815291517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859281900390910190a25050505050620001ca565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016857805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001985782518255916020019190600101906200017b565b50620001a6929150620001aa565b5090565b620001c791905b80821115620001a65760008155600101620001b1565b90565b6112bc80620001da6000396000f3006080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461010857806306fdde0314610131578063095ea7b3146101bb57806318160ddd146101df57806323b872dd14610206578063313ce567146102305780633bed33ce1461025b5780633f4ba83a1461027357806340c10f19146102885780635c975abb146102ac57806370a08231146102c15780637d64bcb4146102e25780638456cb59146102f75780638da5cb5b1461030c57806395d89b411461033d578063a9059cbb14610352578063c14a3b8c14610376578063dd62ed3e1461039d578063f2fde38b146103c4575b005b34801561011457600080fd5b5061011d6103e5565b604080519115158252519081900360200190f35b34801561013d57600080fd5b50610146610407565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610180578181015183820152602001610168565b50505050905090810190601f1680156101ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101c757600080fd5b50610106600160a060020a0360043516602435610495565b3480156101eb57600080fd5b506101f4610533565b60408051918252519081900360200190f35b34801561021257600080fd5b50610106600160a060020a0360043581169060243516604435610539565b34801561023c57600080fd5b506102456105ac565b6040805160ff9092168252519081900360200190f35b34801561026757600080fd5b506101066004356105b5565b34801561027f57600080fd5b5061011d610644565b34801561029457600080fd5b5061011d600160a060020a0360043516602435610747565b3480156102b857600080fd5b5061011d6108aa565b3480156102cd57600080fd5b506101f4600160a060020a03600435166108ba565b3480156102ee57600080fd5b5061011d6108d5565b34801561030357600080fd5b5061011d61098f565b34801561031857600080fd5b50610321610a99565b60408051600160a060020a039092168252519081900360200190f35b34801561034957600080fd5b50610146610aa8565b34801561035e57600080fd5b50610106600160a060020a0360043516602435610b03565b34801561038257600080fd5b50610321600160a060020a0360043516602435604435610b70565b3480156103a957600080fd5b506101f4600160a060020a0360043581169060243516610c9a565b3480156103d057600080fd5b50610106600160a060020a0360043516610cc5565b6003547501000000000000000000000000000000000000000000900460ff1681565b6005805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561048d5780601f106104625761010080835404028352916020019161048d565b820191906000526020600020905b81548152906001019060200180831161047057829003601f168201915b505050505081565b80158015906104c65750336000908152600260209081526040808320600160a060020a038616845290915290205415155b15156104d157600080fd5b336000818152600260209081526040808320600160a060020a03871680855290835292819020859055805185815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35050565b60045481565b60035460a060020a900460ff16151561059c576040805160e560020a62461bcd02815260206004820152601360248201527f636f6e7472616374206e6f742070617573656400000000000000000000000000604482015290519081900360640190fd5b6105a7838383610d51565b505050565b60075460ff1681565b600354600160a060020a0316331415610606576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b600354604051600160a060020a039091169082156108fc029083906000818181858888f19350505050158015610640573d6000803e3d6000fd5b5050565b600354600090600160a060020a0316331415610698576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b60035460a060020a900460ff16156106fa576040805160e560020a62461bcd02815260206004820152600f60248201527f636f6e7472616374207061757365640000000000000000000000000000000000604482015290519081900360640190fd5b6003805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a150600190565b600354600090600160a060020a031633141561079b576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b6003547501000000000000000000000000000000000000000000900460ff161515610810576040805160e560020a62461bcd02815260206004820152600e60248201527f6d696e742066696e69736865642e000000000000000000000000000000000000604482015290519081900360640190fd5b600454610823908363ffffffff610eb216565b600455600160a060020a03831660009081526001602052604090205461084f908363ffffffff610eb216565b600160a060020a038416600081815260016020908152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a250600192915050565b60035460a060020a900460ff1681565b600160a060020a031660009081526001602052604090205490565b600354600090600160a060020a0316331415610929576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b6003805475ff000000000000000000000000000000000000000000191675010000000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600090600160a060020a03163314156109e3576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b60035460a060020a900460ff161515610a46576040805160e560020a62461bcd02815260206004820152601360248201527f636f6e7472616374206e6f742070617573656400000000000000000000000000604482015290519081900360640190fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a150600190565b600354600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561048d5780601f106104625761010080835404028352916020019161048d565b60035460a060020a900460ff161515610b66576040805160e560020a62461bcd02815260206004820152601360248201527f636f6e7472616374206e6f742070617573656400000000000000000000000000604482015290519081900360640190fd5b6106408282610ec8565b6003546000908190600160a060020a0316331415610bc6576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b6003547501000000000000000000000000000000000000000000900460ff161515610c3b576040805160e560020a62461bcd02815260206004820152600e60248201527f6d696e742066696e69736865642e000000000000000000000000000000000000604482015290519081900360640190fd5b308584610c46610fe0565b600160a060020a039384168152919092166020820152604080820192909252905190819003606001906000f080158015610c84573d6000803e3d6000fd5b509050610c918185610747565b50949350505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a0316331415610d16576040805160e560020a62461bcd0281526020600482015260136024820152600080516020611271833981519152604482015290519081900360640190fd5b600160a060020a03811615610d4e576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b606060643610610dab576040805160e560020a62461bcd02815260206004820152601b60248201527f7061796c6f61642073697a6520646f6573206e6f74206d617463680000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054610ddf908363ffffffff610fce16565b600160a060020a038516600081815260026020908152604080832033845282528083209490945591815260019091522054610e20908363ffffffff610fce16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610e55908363ffffffff610eb216565b600160a060020a0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350505050565b600082820183811015610ec157fe5b9392505050565b604060443610610f22576040805160e560020a62461bcd02815260206004820152601b60248201527f7061796c6f61642073697a6520646f6573206e6f74206d617463680000000000604482015290519081900360640190fd5b33600090815260016020526040902054610f42908363ffffffff610fce16565b3360009081526001602052604080822092909255600160a060020a03851681522054610f74908363ffffffff610eb216565b600160a060020a0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b600082821115610fda57fe5b50900390565b60405161028080610ff1833901905600608060405234801561001057600080fd5b5060405160608061028083398101604090815281516020830151919092015142811161003b57600080fd5b60008054600160a060020a03948516600160a060020a03199182161790915560018054939094169216919091179091556002556102038061007d6000396000f3006080604052600436106100405763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634e71d92d8114610045575b600080fd5b34801561005157600080fd5b5061005a61005c565b005b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461008357600080fd5b60025442101561009257600080fd5b60008054604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216926370a08231926024808401936020939083900390910190829087803b15801561010657600080fd5b505af115801561011a573d6000803e3d6000fd5b505050506040513d602081101561013057600080fd5b505190506000811161014157600080fd5b60008054600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018690529051919092169263a9059cbb926044808201939182900301818387803b1580156101bc57600080fd5b505af11580156101d0573d6000803e3d6000fd5b50505050505600a165627a7a72305820372e3f1e6c3b7333e3e7679d5ad475d0f1ded7f1a94ad760230378c32eb3d92e00296f6e6c79206f776e65722063616e2063616c6c00000000000000000000000000a165627a7a72305820c428b414a7509b4041a58dd5038f9179d59bdfb9931a1103989adca66a272f270029` // DeployToken deploys a new Ethereum contract, binding an instance of Token to it. func DeployToken(auth *bind.TransactOpts, backend bind.ContractBackend, tokenName string, tokenSymbol string, tokenOwner common.Address, initialSupply *big.Int, decimalUnits uint8) (common.Address, *types.Transaction, *Token, error) {