[ { "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" } ]
60806040526000805534801561001457600080fd5b50600380546001600160a01b0319163390811790915561003590600061003b565b506100f2565b6001600160a01b0382166000908152600160205260408120805483919083906100659084906100cc565b925050819055508160008082825461007d91906100cc565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b600082198211156100ed57634e487b7160e01b600052601160045260246000fd5b500190565b61066b806101016000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461018657806370a082311461019957806395d89b41146101b9578063a9059cbb146101dd578063dd62ed3e146101f0578063fca3b5aa1461021b57600080fd5b806306fdde03146100b957806307546172146100f4578063095ea7b31461011f57806318160ddd1461014257806323b872dd14610159578063313ce5671461016c575b600080fd5b6100de604051806040016040528060068152602001655072696e747960d01b81525081565b6040516100eb91906104cb565b60405180910390f35b600354610107906001600160a01b031681565b6040516001600160a01b0390911681526020016100eb565b61013261012d36600461053c565b610230565b60405190151581526020016100eb565b61014b60005481565b6040519081526020016100eb565b610132610167366004610566565b61029c565b610174601281565b60405160ff90911681526020016100eb565b61013261019436600461053c565b610316565b61014b6101a73660046105a2565b60016020526000908152604090205481565b6100de60405180604001604052806005815260200164141492539560da1b81525081565b6101326101eb36600461053c565b610344565b61014b6101fe3660046105bd565b600260209081526000928352604080842090915290825290205481565b61022e6102293660046105a2565b610358565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028b9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000198114610302576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906102fc908490610606565b90915550505b61030d858585610391565b95945050505050565b6003546000906001600160a01b0316331461033057600080fd5b61033a8383610446565b5060019392505050565b6000610351338484610391565b9392505050565b6003546001600160a01b0316331461036f57600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166000908152600160205260408120805483919083906103bb908490610606565b90915550506001600160a01b038316600090815260016020526040812080548492906103e890849061061d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161043491815260200190565b60405180910390a35060019392505050565b6001600160a01b03821660009081526001602052604081208054839190839061047090849061061d565b9250508190555081600080828254610488919061061d565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161028b565b600060208083528351808285015260005b818110156104f8578581018301518582016040015282016104dc565b8181111561050a576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461053757600080fd5b919050565b6000806040838503121561054f57600080fd5b61055883610520565b946020939093013593505050565b60008060006060848603121561057b57600080fd5b61058484610520565b925061059260208501610520565b9150604084013590509250925092565b6000602082840312156105b457600080fd5b61035182610520565b600080604083850312156105d057600080fd5b6105d983610520565b91506105e760208401610520565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b600082821015610618576106186105f0565b500390565b60008219821115610630576106306105f0565b50019056fea26469706673582212205bc88f7f612a40eba4b0d241536af6d3122d5df18af070750c1c1989137b70d464736f6c634300080b0033