0 txs
0 calls
constructor
constructor()
functions
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
burnFrom
purefunction burnFrom(address, uint256) pure
decimals
viewfunction decimals() view returns (uint8)
minter
viewfunction minter() view returns (address)
name
viewfunction name() view returns (string)
owner
viewfunction owner() view returns (address)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
UPGRADE_INTERFACE_VERSION
viewfunction UPGRADE_INTERFACE_VERSION() view returns (string)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
burn
nonpayablefunction burn(uint256 _value)
initialize
nonpayablefunction initialize(string _name, string _symbol, address _owner)
mint
nonpayablefunction mint(address _account, uint256 _amount)
renounceOwnership
nonpayablefunction renounceOwnership()
setMinter
nonpayablefunction setMinter(address newMinter)
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)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
Initialized
event Initialized(uint64 version)
NewMinter
event NewMinter(address previousMinter, address newMinter)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
Upgraded
event Upgraded(address indexed implementation)
errors
AddressEmptyCode
error AddressEmptyCode(address target)
CallerNotMinter
error CallerNotMinter(address caller)
ERC1967InvalidImplementation
error ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable
error ERC1967NonPayable()
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)
FailedCall
error FailedCall()
InsufficientBalance
error InsufficientBalance(uint256 balance, uint256 amount)
InvalidInitialization
error InvalidInitialization()
InvalidMinterZeroAddress
error InvalidMinterZeroAddress()
NotInitializing
error NotInitializing()
OwnableInvalidOwner
error OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount
error OwnableUnauthorizedAccount(address account)
UnimplementedMethod
error UnimplementedMethod()
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b60805161165a6100fd60003960008181610a5301528181610a7c0152610bbd015261165a6000f3fe60806040526004361061012a5760003560e01c806352d1902d116100ab57806395d89b411161006f57806395d89b4114610348578063a9059cbb1461035d578063ad3cb1cc1461037d578063dd62ed3e146103ae578063f2fde38b146103ce578063fca3b5aa146103ee57600080fd5b806352d1902d146102a657806370a08231146102bb578063715018a6146102fe57806379cc6790146103135780638da5cb5b1461033357600080fd5b806323b872dd116100f257806323b872dd14610217578063313ce5671461023757806340c10f191461025357806342966c68146102735780634f1ef2861461029357600080fd5b806306fdde031461012f578063075461721461015a578063077f224a14610187578063095ea7b3146101a957806318160ddd146101d9575b600080fd5b34801561013b57600080fd5b5061014461040e565b604051610151919061118b565b60405180910390f35b34801561016657600080fd5b5061016f6104d1565b6040516001600160a01b039091168152602001610151565b34801561019357600080fd5b506101a76101a236600461128a565b6104ec565b005b3480156101b557600080fd5b506101c96101c4366004611303565b6105f4565b6040519015158152602001610151565b3480156101e557600080fd5b507f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02545b604051908152602001610151565b34801561022357600080fd5b506101c961023236600461132d565b61060e565b34801561024357600080fd5b5060405160128152602001610151565b34801561025f57600080fd5b506101a761026e366004611303565b610634565b34801561027f57600080fd5b506101a761028e36600461136a565b610685565b6101a76102a1366004611383565b6106ae565b3480156102b257600080fd5b506102096106c9565b3480156102c757600080fd5b506102096102d63660046113e5565b6001600160a01b031660009081526000805160206115e5833981519152602052604090205490565b34801561030a57600080fd5b506101a76106e6565b34801561031f57600080fd5b506101a761032e366004611303565b6106fa565b34801561033f57600080fd5b5061016f610713565b34801561035457600080fd5b5061014461073c565b34801561036957600080fd5b506101c9610378366004611303565b61077b565b34801561038957600080fd5b50610144604051806040016040528060058152602001640352e302e360dc1b81525081565b3480156103ba57600080fd5b506102096103c9366004611400565b610789565b3480156103da57600080fd5b506101a76103e93660046113e5565b6107d3565b3480156103fa57600080fd5b506101a76104093660046113e5565b61080e565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060916000805160206115e58339815191529161044d90611433565b80601f016020809104026020016040519081016040528092919081815260200182805461047990611433565b80156104c65780601f1061049b576101008083540402835291602001916104c6565b820191906000526020600020905b8154815290600101906020018083116104a957829003601f168201915b505050505091505090565b6000806104dc6108b6565b546001600160a01b031692915050565b60006104f66108e4565b805490915060ff600160401b820416159067ffffffffffffffff1660008115801561051e5750825b905060008267ffffffffffffffff16600114801561053b5750303b155b905081158015610549575080155b156105675760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561059157845460ff60401b1916600160401b1785555b61059b888861090d565b6105a48661091f565b83156105ea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600033610602818585610930565b60019150505b92915050565b60003361061c858285610942565b6106278585856109a9565b60019150505b9392505050565b3361063d6104d1565b6001600160a01b03161461067757335b604051632fdab94f60e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b6106818282610a08565b5050565b3361068e6104d1565b6001600160a01b0316146106a2573361064d565b6106ab81610a3e565b50565b6106b6610a48565b6106bf82610aed565b6106818282610af5565b60006106d3610bb2565b5060008051602061160583398151915290565b6106ee610bfb565b6106f86000610c2d565b565b604051633f3cd0bf60e11b815260040160405180910390fd5b6000807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993006104dc565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060916000805160206115e58339815191529161044d90611433565b6000336106028185856109a9565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b6107db610bfb565b6001600160a01b03811661080557604051631e4fbdf760e01b81526000600482015260240161066e565b6106ab81610c2d565b610816610bfb565b6001600160a01b03811661083d576040516304a208c760e01b815260040160405180910390fd5b60006108476108b6565b546001600160a01b031690508161085c6108b6565b80546001600160a01b0319166001600160a01b0392831617905560408051838316815291841660208301527f0b5e7be615a67a819aff3f47c967d1535cead1b98db60fafdcbf22dcaa8fa5a9910160405180910390a15050565b60008061060860017f2a2f1b3922aeacd92bebf9d2e52c9cd971c8aced744f1413b659088c3a41f371611483565b6000807ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00610608565b610915610c9e565b6106818282610cc3565b610927610c9e565b6106ab81610d14565b61093d8383836001610d1c565b505050565b600061094e8484610789565b90506000198110156109a3578181101561099457604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161066e565b6109a384848484036000610d1c565b50505050565b6001600160a01b0383166109d357604051634b637e8f60e11b81526000600482015260240161066e565b6001600160a01b0382166109fd5760405163ec442f0560e01b81526000600482015260240161066e565b61093d838383610e04565b6001600160a01b038216610a325760405163ec442f0560e01b81526000600482015260240161066e565b61068160008383610e04565b6106ab3382610f42565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480610acf57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610ac3600080516020611605833981519152546001600160a01b031690565b6001600160a01b031614155b156106f85760405163703e46dd60e11b815260040160405180910390fd5b6106ab610bfb565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610b4f575060408051601f3d908101601f19168201909252610b4c91810190611496565b60015b610b7757604051634c9c8ce360e01b81526001600160a01b038316600482015260240161066e565b6000805160206116058339815191528114610ba857604051632a87526960e21b81526004810182905260240161066e565b61093d8383610f78565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106f85760405163703e46dd60e11b815260040160405180910390fd5b33610c04610713565b6001600160a01b0316146106f85760405163118cdaa760e01b815233600482015260240161066e565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b610ca6610fce565b6106f857604051631afcd79f60e31b815260040160405180910390fd5b610ccb610c9e565b6000805160206115e58339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03610d0584826114f6565b50600481016109a383826114f6565b6107db610c9e565b6000805160206115e58339815191526001600160a01b038516610d555760405163e602df0560e01b81526000600482015260240161066e565b6001600160a01b038416610d7f57604051634a1406b160e11b81526000600482015260240161066e565b6001600160a01b03808616600090815260018301602090815260408083209388168352929052208390558115610dfd57836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051610df491815260200190565b60405180910390a35b5050505050565b6000805160206115e58339815191526001600160a01b038416610e405781816002016000828254610e3591906115b5565b90915550610eb29050565b6001600160a01b03841660009081526020829052604090205482811015610e935760405163391434e360e21b81526001600160a01b0386166004820152602481018290526044810184905260640161066e565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b038316610ed0576002810180548390039055610eef565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f3491815260200190565b60405180910390a350505050565b6001600160a01b038216610f6c57604051634b637e8f60e11b81526000600482015260240161066e565b61068182600083610e04565b610f8182610fe8565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610fc65761093d828261104d565b6106816110c3565b6000610fd86108e4565b54600160401b900460ff16919050565b806001600160a01b03163b60000361101e57604051634c9c8ce360e01b81526001600160a01b038216600482015260240161066e565b60008051602061160583398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161106a91906115c8565b600060405180830381855af49150503d80600081146110a5576040519150601f19603f3d011682016040523d82523d6000602084013e6110aa565b606091505b50915091506110ba8583836110e2565b95945050505050565b34156106f85760405163b398979f60e01b815260040160405180910390fd5b6060826110f7576110f28261113e565b61062d565b815115801561110e57506001600160a01b0384163b155b1561113757604051639996b31560e01b81526001600160a01b038516600482015260240161066e565b508061062d565b80511561114e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b60005b8381101561118257818101518382015260200161116a565b50506000910152565b60208152600082518060208401526111aa816040850160208701611167565b601f01601f19169190910160400192915050565b634e487b7160e01b600052604160045260246000fd5b60008067ffffffffffffffff8411156111ef576111ef6111be565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561121e5761121e6111be565b60405283815290508082840185101561123657600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261125f57600080fd5b61062d838335602085016111d4565b80356001600160a01b038116811461128557600080fd5b919050565b60008060006060848603121561129f57600080fd5b833567ffffffffffffffff8111156112b657600080fd5b6112c28682870161124e565b935050602084013567ffffffffffffffff8111156112df57600080fd5b6112eb8682870161124e565b9250506112fa6040850161126e565b90509250925092565b6000806040838503121561131657600080fd5b61131f8361126e565b946020939093013593505050565b60008060006060848603121561134257600080fd5b61134b8461126e565b92506113596020850161126e565b929592945050506040919091013590565b60006020828403121561137c57600080fd5b5035919050565b6000806040838503121561139657600080fd5b61139f8361126e565b9150602083013567ffffffffffffffff8111156113bb57600080fd5b8301601f810185136113cc57600080fd5b6113db858235602084016111d4565b9150509250929050565b6000602082840312156113f757600080fd5b61062d8261126e565b6000806040838503121561141357600080fd5b61141c8361126e565b915061142a6020840161126e565b90509250929050565b600181811c9082168061144757607f821691505b60208210810361146757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156106085761060861146d565b6000602082840312156114a857600080fd5b5051919050565b601f82111561093d57806000526020600020601f840160051c810160208510156114d65750805b601f840160051c820191505b81811015610dfd57600081556001016114e2565b815167ffffffffffffffff811115611510576115106111be565b6115248161151e8454611433565b846114af565b6020601f82116001811461155857600083156115405750848201515b600019600385901b1c1916600184901b178455610dfd565b600084815260208120601f198516915b828110156115885787850151825560209485019460019092019101611568565b50848210156115a65786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156106085761060861146d565b600082516115da818460208701611167565b919091019291505056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca26469706673582212207179b794cfa97f4d64948f1ed46c9c296f62403c91f5222da9e4edf6dbf54f4b64736f6c634300081b0033