[ { "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": [ { "name": "success", "type": "bool" } ], "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": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "value", "type": "uint256" } ], "name": "upgrade", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_name", "type": "string" }, { "name": "_symbol", "type": "string" } ], "name": "setTokenInformation", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "upgradeAgent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "upgradeMaster", "outputs": [ { "name": "", "type": "address" } ], "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": true, "inputs": [], "name": "getUpgradeState", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canUpgrade", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "name": "success", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalUpgraded", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "agent", "type": "address" } ], "name": "setUpgradeAgent", "outputs": [], "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": true, "inputs": [], "name": "isToken", "outputs": [ { "name": "weAre", "type": "bool" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "master", "type": "address" } ], "name": "setUpgradeMaster", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "_owner", "type": "address" }, { "name": "_name", "type": "string" }, { "name": "_symbol", "type": "string" }, { "name": "_totalSupply", "type": "uint256" }, { "name": "_decimals", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "newName", "type": "string" }, { "indexed": false, "name": "newSymbol", "type": "string" } ], "name": "UpdatedTokenInformation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "_from", "type": "address" }, { "indexed": true, "name": "_to", "type": "address" }, { "indexed": false, "name": "_value", "type": "uint256" } ], "name": "Upgrade", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "agent", "type": "address" } ], "name": "UpgradeAgentSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "upgradeMaster", "type": "address" } ], "name": "NewUpgradeMaster", "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" }, { "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" } ]
60806040523480156200001157600080fd5b506040516200125038038062001250833981018060405260a08110156200003757600080fd5b8151602083018051919392830192916401000000008111156200005957600080fd5b820160208101848111156200006d57600080fd5b81516401000000008111828201871017156200008857600080fd5b50509291906020018051640100000000811115620000a557600080fd5b82016020810184811115620000b957600080fd5b8151640100000000811182820187101715620000d457600080fd5b505060208281015160409384015160038054600160a060020a031916600160a060020a038b8116919091179182905586519116815294519396509094509287927f41215aff8c294dab52583f38146756951783ca3d8b887e22e03f4b276d02606c929181900390910190a1508351620001559060069060208701906200019b565b5082516200016b9060079060208601906200019b565b506000828155600891909155600160a060020a039094168452600160205260409093209290925550620002409050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001de57805160ff19168380011785556200020e565b828001600101855582156200020e579182015b828111156200020e578251825591602001919060010190620001f1565b506200021c92915062000220565b5090565b6200023d91905b808211156200021c576000815560010162000227565b90565b61100080620002506000396000f3fe608060405260043610610100577c0100000000000000000000000000000000000000000000000000000000600035046306fdde038114610105578063095ea7b31461018f57806318160ddd146101dc57806323b872dd14610203578063313ce5671461024657806345977d031461025b5780634eee966f146102875780635de4ccb0146103c1578063600440cb146103f257806370a08231146104075780638444b3911461043a57806395d89b41146104735780639738968c14610488578063a9059cbb1461049d578063c752ff62146104d6578063d7e7088a146104eb578063dd62ed3e1461051e578063eefa597b14610488578063ffeb7d7514610559575b600080fd5b34801561011157600080fd5b5061011a61058c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015457818101518382015260200161013c565b50505050905090810190601f1680156101815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019b57600080fd5b506101c8600480360360408110156101b257600080fd5b50600160a060020a03813516906020013561061a565b604080519115158252519081900360200190f35b3480156101e857600080fd5b506101f16106b9565b60408051918252519081900360200190f35b34801561020f57600080fd5b506101c86004803603606081101561022657600080fd5b50600160a060020a038135811691602081013590911690604001356106bf565b34801561025257600080fd5b506101f16107bc565b34801561026757600080fd5b506102856004803603602081101561027e57600080fd5b50356107c2565b005b34801561029357600080fd5b50610285600480360360408110156102aa57600080fd5b8101906020810181356401000000008111156102c557600080fd5b8201836020820111156102d757600080fd5b803590602001918460018302840111640100000000831117156102f957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561034c57600080fd5b82018360208201111561035e57600080fd5b8035906020019184600183028401116401000000008311171561038057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610923945050505050565b3480156103cd57600080fd5b506103d6610ad1565b60408051600160a060020a039092168252519081900360200190f35b3480156103fe57600080fd5b506103d6610ae0565b34801561041357600080fd5b506101f16004803603602081101561042a57600080fd5b5035600160a060020a0316610aef565b34801561044657600080fd5b5061044f610b0a565b6040518082600481111561045f57fe5b60ff16815260200191505060405180910390f35b34801561047f57600080fd5b5061011a610b54565b34801561049457600080fd5b506101c8610baf565b3480156104a957600080fd5b506101c8600480360360408110156104c057600080fd5b50600160a060020a038135169060200135610bb4565b3480156104e257600080fd5b506101f1610c58565b3480156104f757600080fd5b506102856004803603602081101561050e57600080fd5b5035600160a060020a0316610c5e565b34801561052a57600080fd5b506101f16004803603604081101561054157600080fd5b50600160a060020a0381358116916020013516610e48565b34801561056557600080fd5b506102856004803603602081101561057c57600080fd5b5035600160a060020a0316610e73565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106125780601f106105e757610100808354040283529160200191610612565b820191906000526020600020905b8154815290600101906020018083116105f557829003601f168201915b505050505081565b600081158061064a5750336000908152600260209081526040808320600160a060020a0387168452909152902054155b151561065257fe5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a038084166000908152600260209081526040808320338452825280832054938616835260019091528120549091906106fe9084610f06565b600160a060020a03808616600090815260016020526040808220939093559087168152205461072d9084610f2a565b600160a060020a0386166000908152600160205260409020556107508184610f2a565b600160a060020a03808716600081815260026020908152604080832033845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b60085481565b60006107cc610b0a565b905060038160048111156107dc57fe5b14806107f3575060048160048111156107f157fe5b145b15156107fe57600080fd5b81151561080a57600080fd5b336000908152600160205260409020546108249083610f2a565b33600090815260016020526040812091909155546108429083610f2a565b6000556005546108529083610f06565b60055560048054604080517f753e88e500000000000000000000000000000000000000000000000000000000815233938101939093526024830185905251600160a060020a039091169163753e88e591604480830192600092919082900301818387803b1580156108c257600080fd5b505af11580156108d6573d6000803e3d6000fd5b5050600454604080518681529051600160a060020a0390921693503392507f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac919081900360200190a35050565b600354600160a060020a0316331461093a57600080fd5b60065460026000196101006001841615020190911604158015610970575060075460026000196101006001841615020190911604155b151561097b57600080fd5b815161098e906006906020850190610f3c565b5080516109a2906007906020840190610f3c565b506040805181815260068054600260001961010060018416150201909116049282018390527fd131ab1e6f279deea74e13a18477e13e2107deb6dc8ae955648948be5841fb4692909160079181906020820190606083019086908015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050838103825284546002600019610100600184161502019091160480825260209091019085908015610abd5780601f10610a9257610100808354040283529160200191610abd565b820191906000526020600020905b815481529060010190602001808311610aa057829003601f168201915b505094505050505060405180910390a15050565b600454600160a060020a031681565b600354600160a060020a031681565b600160a060020a031660009081526001602052604090205490565b6000610b14610baf565b1515610b2257506001610b51565b600454600160a060020a03161515610b3c57506002610b51565b6005541515610b4d57506003610b51565b5060045b90565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106125780601f106105e757610100808354040283529160200191610612565b600190565b33600090815260016020526040812054610bce9083610f2a565b3360009081526001602052604080822092909255600160a060020a03851681522054610bfa9083610f06565b600160a060020a0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60055481565b610c66610baf565b1515610c7157600080fd5b600160a060020a0381161515610c8657600080fd5b600354600160a060020a03163314610c9d57600080fd5b6004610ca7610b0a565b6004811115610cb257fe5b1415610cbd57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117808355604080517f61d3d7a6000000000000000000000000000000000000000000000000000000008152905191909216926361d3d7a692808201926020929091829003018186803b158015610d3b57600080fd5b505afa158015610d4f573d6000803e3d6000fd5b505050506040513d6020811015610d6557600080fd5b50511515610d7257600080fd5b60005460048054604080517f4b2ba0dd0000000000000000000000000000000000000000000000000000000081529051600160a060020a0390921692634b2ba0dd928282019260209290829003018186803b158015610dd057600080fd5b505afa158015610de4573d6000803e3d6000fd5b505050506040513d6020811015610dfa57600080fd5b505114610e0657600080fd5b60045460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600160a060020a0381161515610e8857600080fd5b600354600160a060020a03163314610e9f57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116919091179182905560408051929091168252517f41215aff8c294dab52583f38146756951783ca3d8b887e22e03f4b276d02606c916020908290030190a150565b6000828201838110801590610f1b5750828110155b1515610f2357fe5b9392505050565b600082821115610f3657fe5b50900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610f7d57805160ff1916838001178555610faa565b82800160010185558215610faa579182015b82811115610faa578251825591602001919060010190610f8f565b50610fb6929150610fba565b5090565b610b5191905b80821115610fb65760008155600101610fc056fea165627a7a72305820a12706ca3407337178db3795e4ccce576490e35e3cf80ae19327bca13fd4c04b002900000000000000000000000088ced58411e0278948e30abeaca91a0e6607a36900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000e5374726f6e67686f6c642053487800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035348580000000000000000000000000000000000000000000000000000000000