[ { "inputs": [ { "internalType": "string", "name": "tname", "type": "string" }, { "internalType": "string", "name": "tsymbol", "type": "string" }, { "internalType": "bytes32", "name": "ots", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "_ots", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "_totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b5060405162000e5b38038062000e5b83398101604081905262000034916200016d565b60026200004284826200026f565b5060036200005183826200026f565b506004819055336000818152602081905260408082206b1dba0fc757e49bc9f00000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35050506200033b565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000d057600080fd5b81516001600160401b0380821115620000ed57620000ed620000a8565b604051601f8301601f19908116603f01168101908282118183101715620001185762000118620000a8565b816040528381526020925086838588010111156200013557600080fd5b600091505b838210156200015957858201830151818301840152908201906200013a565b600093810190920192909252949350505050565b6000806000606084860312156200018357600080fd5b83516001600160401b03808211156200019b57600080fd5b620001a987838801620000be565b94506020860151915080821115620001c057600080fd5b50620001cf86828701620000be565b925050604084015190509250925092565b600181811c90821680620001f557607f821691505b6020821081036200021657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026a57600081815260208120601f850160051c81016020861015620002455750805b601f850160051c820191505b81811015620002665782815560010162000251565b5050505b505050565b81516001600160401b038111156200028b576200028b620000a8565b620002a3816200029c8454620001e0565b846200021c565b602080601f831160018114620002db5760008415620002c25750858301515b600019600386901b1c1916600185901b17855562000266565b600085815260208120601f198616915b828110156200030c57888601518255948401946001909101908401620002eb565b50858210156200032b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b10806200034b6000396000f3fe608060405234801561001057600080fd5b50600436106100995760003560e01c806306fdde031461009e578063095ea7b3146100bc57806318160ddd146100df57806323b872dd146100fb578063313ce5671461010e5780633eaaf86b1461011d578063517996791461013057806370a082311461013957806395d89b4114610162578063a9059cbb1461016a578063dd62ed3e1461017d575b600080fd5b6100a6610190565b6040516100b391906108d1565b60405180910390f35b6100cf6100ca366004610920565b610222565b60405190151581526020016100b3565b6b1dba0fc757e49bc9f00000005b6040519081526020016100b3565b6100cf61010936600461094a565b610239565b604051601281526020016100b3565b6100ed6b1dba0fc757e49bc9f000000081565b6100ed60045481565b6100ed610147366004610986565b6001600160a01b031660009081526020819052604090205490565b6100a661025b565b6100cf610178366004610920565b61026a565b6100ed61018b3660046109a1565b6102c3565b60606002805461019f906109d4565b80601f01602080910402602001604051908101604052809291908181526020018280546101cb906109d4565b80156102185780601f106101ed57610100808354040283529160200191610218565b820191906000526020600020905b8154815290600101906020018083116101fb57829003601f168201915b5050505050905090565b600061022f3384846102ee565b5060015b92915050565b60006102468433846104d1565b610251848484610581565b5060019392505050565b60606003805461019f906109d4565b3360008181526005602052604081205490919061ffff16156102b857610292600033856104d1565b6001600160a01b0384166000908152600560205260409020805461ffff1916616c9b1790555b610251818585610581565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103495760405162461bcd60e51b815260206004820152601f60248201527f42444f473a20617070726f76652066726f6d206164647265737320697320300060448201526064015b60405180910390fd5b6001600160a01b03821661039f5760405162461bcd60e51b815260206004820152601d60248201527f42444f473a20617070726f766520746f206164647265737320697320300000006044820152606401610340565b6004546002846040516020016103b59190610a0e565b60408051601f19818403018152908290526103cf91610a26565b602060405180830381855afa1580156103ec573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061040f9190610a42565b0361047057600161042281616c99610a71565b90508061ffff16616c9a036104365750616c9b5b670de0b6b3a764000082101561046e576001600160a01b0383166000908152600560205260409020805461ffff191661ffff83161790555b505b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104dd84846102c3565b6001600160a01b03851660009081526005602052604090205490915061ffff16156105115761050e816000196107e8565b90505b600019811461057b57818110156105675760405162461bcd60e51b815260206004820152601a602482015279084889e8e7440c2d8d8deeec2dcc6ca40dcdee840cadcdeeaced60331b6044820152606401610340565b61057b848461057684866107e8565b6102ee565b50505050565b6001600160a01b0383166105d75760405162461bcd60e51b815260206004820181905260248201527f42444f473a207472616e736665722066726f6d206164647265737320697320306044820152606401610340565b6001600160a01b03821661062d5760405162461bcd60e51b815260206004820152601e60248201527f42444f473a207472616e7366657220746f2061646472657373206973203000006044820152606401610340565b6001600160a01b03831660009081526020818152604091829020549151839160029161065b91889101610a0e565b60408051601f198184030181529082905261067591610a26565b602060405180830381855afa158015610692573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106b59190610a42565b600454146106dc576106c9616c9984610a93565b6106d590616c99610aa6565b90506106f6565b616c9b6106e98382610aa6565b6106f39190610a93565b90505b808210156107545760405162461bcd60e51b815260206004820152602560248201527f42444f473a207472616e7366657220616d6f756e7420657863656564732062616044820152646c616e636560d81b6064820152608401610340565b61075e82826107e8565b6001600160a01b03808716600090815260208190526040808220939093559086168152205461078d9084610814565b6001600160a01b038581166000818152602081815260409182902094909455518681529092918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b600061080d8383604051806060016040528060218152602001610aba60219139610873565b9392505050565b6000806108218385610aa6565b90508381101561080d5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f7700006044820152606401610340565b600081848411156108975760405162461bcd60e51b815260040161034091906108d1565b5060006108a48486610a93565b95945050505050565b60005b838110156108c85781810151838201526020016108b0565b50506000910152565b60208152600082518060208401526108f08160408501602087016108ad565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461091b57600080fd5b919050565b6000806040838503121561093357600080fd5b61093c83610904565b946020939093013593505050565b60008060006060848603121561095f57600080fd5b61096884610904565b925061097660208501610904565b9150604084013590509250925092565b60006020828403121561099857600080fd5b61080d82610904565b600080604083850312156109b457600080fd5b6109bd83610904565b91506109cb60208401610904565b90509250929050565b600181811c908216806109e857607f821691505b602082108103610a0857634e487b7160e01b600052602260045260246000fd5b50919050565b60609190911b6001600160601b031916815260140190565b60008251610a388184602087016108ad565b9190910192915050565b600060208284031215610a5457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b61ffff818116838216019080821115610a8c57610a8c610a5b565b5092915050565b8181038181111561023357610233610a5b565b8082018082111561023357610233610a5b56fe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a26469706673582212209de721147dbd07158f669168156ae4bc603c40a36115d84e0ae40c8b644e2c9f64736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a01ac6bf66147937eeec3235cce0b0c97b298ed8a843054505a9659c1bf965df69000000000000000000000000000000000000000000000000000000000000000442444f4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442444f4700000000000000000000000000000000000000000000000000000000