Loading
[ { "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": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Mint", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "minter", "type": "address" } ], "name": "SetMinter", "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" } ]
60806040526000805534801561001457600080fd5b50600380546001600160a01b0319163390811790915561003f906a01dc74be914d16aa400000610045565b506100fc565b6001600160a01b03821660009081526001602052604081208054839190839061006f9084906100d6565b925050819055508160008082825461008791906100d6565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b600082198211156100f757634e487b7160e01b600052601160045260246000fd5b500190565b6107368061010b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461018657806370a082311461019957806395d89b41146101b9578063a9059cbb146101de578063dd62ed3e146101f1578063fca3b5aa1461021c57600080fd5b806306fdde03146100b957806307546172146100f4578063095ea7b31461011f57806318160ddd1461014257806323b872dd14610159578063313ce5671461016c575b600080fd5b6100de60405180604001604052806006815260200165546172696e6160d01b81525081565b6040516100eb9190610596565b60405180910390f35b600354610107906001600160a01b031681565b6040516001600160a01b0390911681526020016100eb565b61013261012d366004610607565b610231565b60405190151581526020016100eb565b61014b60005481565b6040519081526020016100eb565b610132610167366004610631565b61029d565b610174601281565b60405160ff90911681526020016100eb565b610132610194366004610607565b610317565b61014b6101a736600461066d565b60016020526000908152604090205481565b6100de60405180604001604052806006815260200165544152494e4160d01b81525081565b6101326101ec366004610607565b6103ba565b61014b6101ff366004610688565b600260209081526000928352604080842090915290825290205481565b61022f61022a36600461066d565b6103ce565b005b3360008181526002602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028c9086815260200190565b60405180910390a350600192915050565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000198114610303576001600160a01b0385166000908152600260209081526040808320338452909152812080548592906102fd9084906106d1565b90915550505b61030e85858561045c565b95945050505050565b6003546000906001600160a01b031633146103635760405162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b60448201526064015b60405180910390fd5b61036d8383610511565b50826001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885836040516103a991815260200190565b60405180910390a250600192915050565b60006103c733848461045c565b9392505050565b6003546001600160a01b031633146104125760405162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b604482015260640161035a565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fcec52196e972044edde8689a1b608e459c5946b7f3e5c8cd3d6d8e126d422e1c90600090a250565b6001600160a01b0383166000908152600160205260408120805483919083906104869084906106d1565b90915550506001600160a01b038316600090815260016020526040812080548492906104b39084906106e8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516104ff91815260200190565b60405180910390a35060019392505050565b6001600160a01b03821660009081526001602052604081208054839190839061053b9084906106e8565b925050819055508160008082825461055391906106e8565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161028c565b600060208083528351808285015260005b818110156105c3578581018301518582016040015282016105a7565b818111156105d5576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461060257600080fd5b919050565b6000806040838503121561061a57600080fd5b610623836105eb565b946020939093013593505050565b60008060006060848603121561064657600080fd5b61064f846105eb565b925061065d602085016105eb565b9150604084013590509250925092565b60006020828403121561067f57600080fd5b6103c7826105eb565b6000806040838503121561069b57600080fd5b6106a4836105eb565b91506106b2602084016105eb565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b6000828210156106e3576106e36106bb565b500390565b600082198211156106fb576106fb6106bb565b50019056fea26469706673582212202e6910a627997665a96c434bd2a1f7ddbeada59a8d20fc4977980f3e93ceb32064736f6c634300080b0033