[ { "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" } ]
60806040523480156200001157600080fd5b5060405162000e0838038062000e08833981016040819052620000349162000229565b825162000049906002906020860190620000b6565b5081516200005f906003906020850190620000b6565b506004819055336000818152602081905260408082206b1e0cc79a34aca89cd40000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3505050620002d8565b828054620000c4906200029c565b90600052602060002090601f016020900481019282620000e8576000855562000133565b82601f106200010357805160ff191683800117855562000133565b8280016001018555821562000133579182015b828111156200013357825182559160200191906001019062000116565b506200014192915062000145565b5090565b5b8082111562000141576000815560010162000146565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018457600080fd5b81516001600160401b0380821115620001a157620001a16200015c565b604051601f8301601f19908116603f01168101908282118183101715620001cc57620001cc6200015c565b81604052838152602092508683858801011115620001e957600080fd5b600091505b838210156200020d5785820183015181830184015290820190620001ee565b838211156200021f5760008385830101525b9695505050505050565b6000806000606084860312156200023f57600080fd5b83516001600160401b03808211156200025757600080fd5b620002658783880162000172565b945060208601519150808211156200027c57600080fd5b506200028b8682870162000172565b925050604084015190509250925092565b600181811c90821680620002b157607f821691505b602082108103620002d257634e487b7160e01b600052602260045260246000fd5b50919050565b610b2080620002e86000396000f3fe608060405234801561001057600080fd5b50600436106100995760003560e01c806306fdde031461009e578063095ea7b3146100bc57806318160ddd146100df57806323b872dd146100fb578063313ce5671461010e5780633eaaf86b1461011d578063517996791461013057806370a082311461013957806395d89b4114610162578063a9059cbb1461016a578063dd62ed3e1461017d575b600080fd5b6100a6610190565b6040516100b391906108d4565b60405180910390f35b6100cf6100ca366004610923565b610222565b60405190151581526020016100b3565b6b1e0cc79a34aca89cd40000005b6040519081526020016100b3565b6100cf61010936600461094d565b610238565b604051601281526020016100b3565b6100ed6b1e0cc79a34aca89cd400000081565b6100ed60045481565b6100ed610147366004610989565b6001600160a01b031660009081526020819052604090205490565b6100a661025a565b6100cf610178366004610923565b610269565b6100ed61018b3660046109a4565b6102c2565b60606002805461019f906109d7565b80601f01602080910402602001604051908101604052809291908181526020018280546101cb906109d7565b80156102185780601f106101ed57610100808354040283529160200191610218565b820191906000526020600020905b8154815290600101906020018083116101fb57829003601f168201915b5050505050905090565b600061022f3384846102ed565b50600192915050565b60006102458433846104cf565b61025084848461057e565b5060019392505050565b60606003805461019f906109d7565b3360008181526005602052604081205490919061ffff16156102b757610291600033856104cf565b6001600160a01b0384166000908152600560205260409020805461ffff1916610a161790555b61025081858561057e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103485760405162461bcd60e51b815260206004820152601e60248201527f4b42533a20617070726f76652066726f6d20616464726573732069732030000060448201526064015b60405180910390fd5b6001600160a01b03821661039d5760405162461bcd60e51b815260206004820152601c60248201527b04b42533a20617070726f766520746f206164647265737320697320360241b604482015260640161033f565b6004546002846040516020016103b39190610a11565b60408051601f19818403018152908290526103cd91610a29565b602060405180830381855afa1580156103ea573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061040d9190610a45565b0361046e57600161042081610a14610a74565b90508061ffff16610a15036104345750610a165b670de0b6b3a764000082101561046c576001600160a01b0383166000908152600560205260409020805461ffff191661ffff83161790555b505b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104db84846102c2565b6001600160a01b03851660009081526005602052604090205490915061ffff161561050f5761050c816000196107e3565b90505b600019811461057857818110156105645760405162461bcd60e51b815260206004820152601960248201527809684a67440c2d8d8deeec2dcc6ca40dcdee840cadcdeeaced603b1b604482015260640161033f565b610578848461057384866107e3565b6102ed565b50505050565b6001600160a01b0383166105d45760405162461bcd60e51b815260206004820152601f60248201527f4b42533a207472616e736665722066726f6d2061646472657373206973203000604482015260640161033f565b6001600160a01b03821661062a5760405162461bcd60e51b815260206004820152601d60248201527f4b42533a207472616e7366657220746f20616464726573732069732030000000604482015260640161033f565b6001600160a01b03831660009081526020818152604091829020549151839160029161065891889101610a11565b60408051601f198184030181529082905261067291610a29565b602060405180830381855afa15801561068f573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106b29190610a45565b600454146106d9576106c6610a1484610a9a565b6106d290610a14610ab1565b90506106f3565b610a166106e68382610ab1565b6106f09190610a9a565b90505b8082101561074f5760405162461bcd60e51b8152602060048201526024808201527f4b42533a207472616e7366657220616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161033f565b61075982826107e3565b6001600160a01b038087166000908152602081905260408082209390935590861681522054610788908461080f565b6001600160a01b038581166000818152602081815260409182902094909455518681529092918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b60006108088383604051806060016040528060218152602001610aca6021913961086e565b9392505050565b60008061081c8385610ab1565b9050838110156108085760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f770000604482015260640161033f565b600081848411156108925760405162461bcd60e51b815260040161033f91906108d4565b50600061089f8486610a9a565b95945050505050565b60005b838110156108c35781810151838201526020016108ab565b838111156105785750506000910152565b60208152600082518060208401526108f38160408501602087016108a8565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461091e57600080fd5b919050565b6000806040838503121561093657600080fd5b61093f83610907565b946020939093013593505050565b60008060006060848603121561096257600080fd5b61096b84610907565b925061097960208501610907565b9150604084013590509250925092565b60006020828403121561099b57600080fd5b61080882610907565b600080604083850312156109b757600080fd5b6109c083610907565b91506109ce60208401610907565b90509250929050565b600181811c908216806109eb57607f821691505b602082108103610a0b57634e487b7160e01b600052602260045260246000fd5b50919050565b60609190911b6001600160601b031916815260140190565b60008251610a3b8184602087016108a8565b9190910192915050565b600060208284031215610a5757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115610a9157610a91610a5e565b01949350505050565b600082821015610aac57610aac610a5e565b500390565b60008219821115610ac457610ac4610a5e565b50019056fe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a2646970667358221220c972148cc7620236b7c485d2941b2d9cdd775bae194d9ef98e5ed633ceb0c59464736f6c634300080e0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a05e8d5b0bce6706f3b80cd342907692b568daee44b41202da2770ed1563c5331200000000000000000000000000000000000000000000000000000000000000174b75697065722042656c742053696e67756c617269747900000000000000000000000000000000000000000000000000000000000000000000000000000000034b42530000000000000000000000000000000000000000000000000000000000