[ { "inputs": [], "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_spender", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "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": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "minter", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_minter", "type": "address" } ], "name": "setMinter", "outputs": [], "stateMutability": "nonpayable", "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": "_value", "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": "_value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60806040526000805534801561001457600080fd5b50600380546001600160a01b0319163390811790915561003590600061003b565b506100f2565b6001600160a01b0382166000908152600160205260408120805483919083906100659084906100cc565b925050819055508160008082825461007d91906100cc565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b600082198211156100ed57634e487b7160e01b600052601160045260246000fd5b500190565b61066d806101016000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461018857806370a082311461019b57806395d89b41146101bb578063a9059cbb146101df578063dd62ed3e146101f2578063fca3b5aa1461021d57600080fd5b806306fdde03146100b957806307546172146100f6578063095ea7b31461012157806318160ddd1461014457806323b872dd1461015b578063313ce5671461016e575b600080fd5b6100e060405180604001604052806008815260200167283934b73a3cab1960c11b81525081565b6040516100ed91906104cd565b60405180910390f35b600354610109906001600160a01b031681565b6040516001600160a01b0390911681526020016100ed565b61013461012f36600461053e565b610232565b60405190151581526020016100ed565b61014d60005481565b6040519081526020016100ed565b610134610169366004610568565b61029e565b610176601281565b60405160ff90911681526020016100ed565b61013461019636600461053e565b610318565b61014d6101a93660046105a4565b60016020526000908152604090205481565b6100e060405180604001604052806005815260200164141492539560da1b81525081565b6101346101ed36600461053e565b610346565b61014d6102003660046105bf565b600260209081526000928352604080842090915290825290205481565b61023061022b3660046105a4565b61035a565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028d9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000198114610304576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906102fe908490610608565b90915550505b61030f858585610393565b95945050505050565b6003546000906001600160a01b0316331461033257600080fd5b61033c8383610448565b5060019392505050565b6000610353338484610393565b9392505050565b6003546001600160a01b0316331461037157600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600160205260408120805483919083906103bd908490610608565b90915550506001600160a01b038316600090815260016020526040812080548492906103ea90849061061f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161043691815260200190565b60405180910390a35060019392505050565b6001600160a01b03821660009081526001602052604081208054839190839061047290849061061f565b925050819055508160008082825461048a919061061f565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161028d565b600060208083528351808285015260005b818110156104fa578581018301518582016040015282016104de565b8181111561050c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461053957600080fd5b919050565b6000806040838503121561055157600080fd5b61055a83610522565b946020939093013593505050565b60008060006060848603121561057d57600080fd5b61058684610522565b925061059460208501610522565b9150604084013590509250925092565b6000602082840312156105b657600080fd5b61035382610522565b600080604083850312156105d257600080fd5b6105db83610522565b91506105e960208401610522565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008282101561061a5761061a6105f2565b500390565b60008219821115610632576106326105f2565b50019056fea26469706673582212204f9062b46867377370a7753a08da0e584836c243707147d0105e19e07a7c011864736f6c634300080b0033