7k txs
42.1k calls
constructor
constructor()
functions
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
authorizedMinters
viewfunction authorizedMinters(address) view returns (bool)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
decimals
viewfunction decimals() view returns (uint8)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
authorizeMinter
nonpayablefunction authorizeMinter(address minter)
burn
nonpayablefunction burn(address from, uint256 amount)
deAuthorizeMinter
nonpayablefunction deAuthorizeMinter(address minter)
mint
nonpayablefunction mint(address to, uint256 amount)
renounceOwnership
nonpayablefunction renounceOwnership()
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
MinterAuthorized
event MinterAuthorized(address minter)
MinterDeAuthorized
event MinterDeAuthorized(address minter)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
errors
ERC20InsufficientAllowance
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover
error ERC20InvalidApprover(address approver)
ERC20InvalidReceiver
error ERC20InvalidReceiver(address receiver)
ERC20InvalidSender
error ERC20InvalidSender(address sender)
ERC20InvalidSpender
error ERC20InvalidSpender(address spender)
MinterAlreadyAuthorized
error MinterAlreadyAuthorized(address)
MinterAlreadyDeAuthorized
error MinterAlreadyDeAuthorized(address)
MinterUnauthorized
error MinterUnauthorized(address)
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
creation bytecode
0x608060405234801561001057600080fd5b50336040518060400160405280600d81526020016c15dc985c1c19590814915050d5609a1b8152506040518060400160405280600581526020016414915050d560da1b815250816003908161006591906101a3565b50600461007282826101a3565b5050506001600160a01b0381166100a357604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100ac816100b2565b50610261565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061012e57607f821691505b60208210810361014e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561019e57806000526020600020601f840160051c8101602085101561017b5750805b601f840160051c820191505b8181101561019b5760008155600101610187565b50505b505050565b81516001600160401b038111156101bc576101bc610104565b6101d0816101ca845461011a565b84610154565b6020601f82116001811461020457600083156101ec5750848201515b600019600385901b1c1916600184901b17845561019b565b600084815260208120601f198516915b828110156102345787850151825560209485019460019092019101610214565b50848210156102525786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b610b32806102706000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a25780639dc29fac116100715780639dc29fac14610214578063a9059cbb14610227578063aa2fe91b1461023a578063dd62ed3e1461025d578063f2fde38b1461029657600080fd5b8063715018a6146101d65780638da5cb5b146101de57806395d89b41146101f957806397656be41461020157600080fd5b806323b872dd116100de57806323b872dd14610178578063313ce5671461018b57806340c10f191461019a57806370a08231146101ad57600080fd5b806306fdde0314610110578063095ea7b31461012e5780630c9848321461015157806318160ddd14610166575b600080fd5b6101186102a9565b604051610125919061097b565b60405180910390f35b61014161013c3660046109e5565b61033b565b6040519015158152602001610125565b61016461015f366004610a0f565b610355565b005b6002545b604051908152602001610125565b610141610186366004610a31565b610369565b60405160128152602001610125565b6101646101a83660046109e5565b61038d565b61016a6101bb366004610a0f565b6001600160a01b031660009081526020819052604090205490565b6101646103a3565b6005546040516001600160a01b039091168152602001610125565b6101186103b7565b61016461020f366004610a0f565b6103c6565b6101646102223660046109e5565b6103d7565b6101416102353660046109e5565b6103e9565b610141610248366004610a0f565b60066020526000908152604090205460ff1681565b61016a61026b366004610a6e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101646102a4366004610a0f565b6103f7565b6060600380546102b890610aa1565b80601f01602080910402602001604051908101604052809291908181526020018280546102e490610aa1565b80156103315780601f1061030657610100808354040283529160200191610331565b820191906000526020600020905b81548152906001019060200180831161031457829003601f168201915b5050505050905090565b600033610349818585610437565b60019150505b92915050565b61035d610449565b61036681610476565b50565b600033610377858285610516565b610382858585610594565b506001949350505050565b6103956105f3565b61039f8282610629565b5050565b6103ab610449565b6103b5600061065f565b565b6060600480546102b890610aa1565b6103ce610449565b610366816106b1565b6103df6105f3565b61039f8282610746565b600033610349818585610594565b6103ff610449565b6001600160a01b03811661042e57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6103668161065f565b610444838383600161077c565b505050565b6005546001600160a01b031633146103b55760405163118cdaa760e01b8152336004820152602401610425565b6001600160a01b03811660009081526006602052604090205460ff16156104bb5760405163d0eb76e960e01b81526001600160a01b0382166004820152602401610425565b6001600160a01b038116600081815260066020908152604091829020805460ff1916600117905590519182527f83b05b6735acd4b85e3bded8e72c851d1a87718f81e3c8e6f0c9d9a2baa88e4691015b60405180910390a150565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461058e578181101561057f57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610425565b61058e8484848403600061077c565b50505050565b6001600160a01b0383166105be57604051634b637e8f60e11b815260006004820152602401610425565b6001600160a01b0382166105e85760405163ec442f0560e01b815260006004820152602401610425565b610444838383610851565b3360009081526006602052604090205460ff16156001036103b55760405163407b9c6760e01b8152336004820152602401610425565b6001600160a01b0382166106535760405163ec442f0560e01b815260006004820152602401610425565b61039f60008383610851565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811660009081526006602052604090205460ff166106f5576040516314357fd560e01b81526001600160a01b0382166004820152602401610425565b6001600160a01b038116600081815260066020908152604091829020805460ff1916905590519182527fe1b5bc6383176a50e981a2ad343497f37bb3332c9d93f598a704d6a3665bbd25910161050b565b6001600160a01b03821661077057604051634b637e8f60e11b815260006004820152602401610425565b61039f82600083610851565b6001600160a01b0384166107a65760405163e602df0560e01b815260006004820152602401610425565b6001600160a01b0383166107d057604051634a1406b160e11b815260006004820152602401610425565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561058e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161084391815260200190565b60405180910390a350505050565b6001600160a01b03831661087c5780600260008282546108719190610adb565b909155506108ee9050565b6001600160a01b038316600090815260208190526040902054818110156108cf5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610425565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661090a57600280548290039055610929565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161096e91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156109a9576020818601810151604086840101520161098c565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146109e057600080fd5b919050565b600080604083850312156109f857600080fd5b610a01836109c9565b946020939093013593505050565b600060208284031215610a2157600080fd5b610a2a826109c9565b9392505050565b600080600060608486031215610a4657600080fd5b610a4f846109c9565b9250610a5d602085016109c9565b929592945050506040919091013590565b60008060408385031215610a8157600080fd5b610a8a836109c9565b9150610a98602084016109c9565b90509250929050565b600181811c90821680610ab557607f821691505b602082108103610ad557634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561034f57634e487b7160e01b600052601160045260246000fdfea26469706673582212207ab245252c459d8d1329aee27d1e576c9fac3f936e43836903b5bf540fae354264736f6c634300081c0033