[ { "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": [ { "internalType": "address", "name": "a", "type": "address" } ], "name": "dada", "outputs": [], "stateMutability": "nonpayable", "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" } ]
60806040523480156200001157600080fd5b5060405162000ea338038062000ea3833981016040819052620000349162000175565b600262000042848262000277565b50600362000051838262000277565b506004819055336000818152602081905260408082206b1f04ef12cb04cf15800000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a350505062000343565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000d057600080fd5b81516001600160401b0380821115620000ed57620000ed620000a8565b604051601f8301601f19908116603f01168101908282118183101715620001185762000118620000a8565b816040528381526020925086838588010111156200013557600080fd5b600091505b838210156200015957858201830151818301840152908201906200013a565b838211156200016b5760008385830101525b9695505050505050565b6000806000606084860312156200018b57600080fd5b83516001600160401b0380821115620001a357600080fd5b620001b187838801620000be565b94506020860151915080821115620001c857600080fd5b50620001d786828701620000be565b925050604084015190509250925092565b600181811c90821680620001fd57607f821691505b6020821081036200021e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027257600081815260208120601f850160051c810160208610156200024d5750805b601f850160051c820191505b818110156200026e5782815560010162000259565b5050505b505050565b81516001600160401b03811115620002935762000293620000a8565b620002ab81620002a48454620001e8565b8462000224565b602080601f831160018114620002e35760008415620002ca5750858301515b600019600386901b1c1916600185901b1785556200026e565b600085815260208120601f198616915b828110156200031457888601518255948401946001909101908401620002f3565b5085821015620003335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b5080620003536000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80633eaaf86b116100715780633eaaf86b1461014d578063517996791461016057806370a082311461016957806395d89b4114610192578063a9059cbb1461019a578063dd62ed3e146101ad57600080fd5b806306fdde03146100b9578063095ea7b3146100d75780630cd70909146100fa57806318160ddd1461010f57806323b872dd1461012b578063313ce5671461013e575b600080fd5b6100c16101e6565b6040516100ce919061091c565b60405180910390f35b6100ea6100e536600461096b565b610278565b60405190151581526020016100ce565b61010d610108366004610995565b61028e565b005b6b1f04ef12cb04cf15800000005b6040519081526020016100ce565b6100ea6101393660046109b0565b61035e565b604051601281526020016100ce565b61011d6b1f04ef12cb04cf158000000081565b61011d60045481565b61011d610177366004610995565b6001600160a01b031660009081526020819052604090205490565b6100c1610380565b6100ea6101a836600461096b565b61038f565b61011d6101bb3660046109ec565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600280546101f590610a1f565b80601f016020809104026020016040519081016040528092919081815260200182805461022190610a1f565b801561026e5780601f106102435761010080835404028352916020019161026e565b820191906000526020600020905b81548152906001019060200180831161025157829003601f168201915b5050505050905090565b60006102853384846103e8565b50600192915050565b6004546040516001600160601b03193360601b16602082015260029060340160408051601f19818403018152908290526102c791610a59565b602060405180830381855afa1580156102e4573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906103079190610a75565b0361035b57600161031a8161a64f610aa4565b90508061ffff1661a6500361032e575061a6515b6001600160a01b0382166000908152600560205260409020805461ffff191661ffff929092169190911790555b50565b600061036b8433846104fa565b6103768484846105b9565b5060019392505050565b6060600380546101f590610a1f565b3360008181526005602052604081205490919061ffff16156103dd576103b7600033856104fa565b6001600160a01b0384166000908152600560205260409020805461ffff191661a6511790555b6103768185856105b9565b6001600160a01b0383166104435760405162461bcd60e51b815260206004820152601e60248201527f4154523a20617070726f76652066726f6d20616464726573732069732030000060448201526064015b60405180910390fd5b6001600160a01b0382166104995760405162461bcd60e51b815260206004820152601c60248201527f4154523a20617070726f766520746f2061646472657373206973203000000000604482015260640161043a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600081815260016020908152604080832094871683529381528382205492825260059052919091205461ffff1615610546576105438160001961082b565b90505b60001981146105b3578181101561059f5760405162461bcd60e51b815260206004820152601960248201527f4154523a20616c6c6f77616e6365206e6f7420656e6f75676800000000000000604482015260640161043a565b6105b384846105ae848661082b565b6103e8565b50505050565b6001600160a01b03831661060f5760405162461bcd60e51b815260206004820152601f60248201527f4154523a207472616e736665722066726f6d2061646472657373206973203000604482015260640161043a565b6001600160a01b0382166106655760405162461bcd60e51b815260206004820152601d60248201527f4154523a207472616e7366657220746f20616464726573732069732030000000604482015260640161043a565b6001600160a01b038316600090815260208181526040918290205491516001600160601b0319606087901b1691810191909152829060029060340160408051601f19818403018152908290526106ba91610a59565b602060405180830381855afa1580156106d7573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106fa9190610a75565b600454146107215761070e61a64f84610aca565b61071a9061a64f610ae1565b905061073b565b61a65161072e8382610ae1565b6107389190610aca565b90505b808210156107975760405162461bcd60e51b8152602060048201526024808201527f4154523a207472616e7366657220616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161043a565b6107a1828261082b565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546107d09084610857565b6001600160a01b038581166000818152602081815260409182902094909455518681529092918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b60006108508383604051806060016040528060218152602001610afa602191396108b6565b9392505050565b6000806108648385610ae1565b9050838110156108505760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f770000604482015260640161043a565b600081848411156108da5760405162461bcd60e51b815260040161043a919061091c565b5060006108e78486610aca565b95945050505050565b60005b8381101561090b5781810151838201526020016108f3565b838111156105b35750506000910152565b602081526000825180602084015261093b8160408501602087016108f0565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461096657600080fd5b919050565b6000806040838503121561097e57600080fd5b6109878361094f565b946020939093013593505050565b6000602082840312156109a757600080fd5b6108508261094f565b6000806000606084860312156109c557600080fd5b6109ce8461094f565b92506109dc6020850161094f565b9150604084013590509250925092565b600080604083850312156109ff57600080fd5b610a088361094f565b9150610a166020840161094f565b90509250929050565b600181811c90821680610a3357607f821691505b602082108103610a5357634e487b7160e01b600052602260045260246000fd5b50919050565b60008251610a6b8184602087016108f0565b9190910192915050565b600060208284031215610a8757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115610ac157610ac1610a8e565b01949350505050565b600082821015610adc57610adc610a8e565b500390565b60008219821115610af457610af4610a8e565b50019056fe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a2646970667358221220e029ff4d585710c2a748db7823631ae7357afe2efb74b07249e77d9b81073b7464736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0a7fcb12b85b23c0366e0519ef775cb800a49f92bd52938a689c77242368ae7080000000000000000000000000000000000000000000000000000000000000007616275747465720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154520000000000000000000000000000000000000000000000000000000000