4 txs
8 calls
constructor
constructor()
functions
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
decimals
viewfunction decimals() view returns (uint8)
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
MINTER_ROLE
viewfunction MINTER_ROLE() view returns (bytes32)
name
viewfunction name() view returns (string)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
mint
nonpayablefunction mint(address to, uint256 amount)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
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)
creation bytecode
0x608060405234801561001057600080fd5b506040518060400160405280600781526020016620b22a37b5b2b760c91b81525060405180604001604052806002815260200161412b60f01b815250816003908161005b919061039a565b506004610068828261039a565b505050600061007b6100dd60201b60201c565b61008690600a610555565b610094906302faf08061056b565b90506100a16000336100e2565b506100cc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336100e2565b506100d73382610192565b50610595565b601290565b60008281526005602090815260408083206001600160a01b038516845290915281205460ff166101885760008381526005602090815260408083206001600160a01b03861684529091529020805460ff191660011790556101403390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161018c565b5060005b92915050565b6001600160a01b0382166101c15760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6101cd600083836101d1565b5050565b6001600160a01b0383166101fc5780600260008282546101f19190610582565b9091555061026e9050565b6001600160a01b0383166000908152602081905260409020548181101561024f5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016101b8565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661028a576002805482900390556102a9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516102ee91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061032557607f821691505b60208210810361034557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561039557806000526020600020601f840160051c810160208510156103725750805b601f840160051c820191505b81811015610392576000815560010161037e565b50505b505050565b81516001600160401b038111156103b3576103b36102fb565b6103c7816103c18454610311565b8461034b565b6020601f8211600181146103fb57600083156103e35750848201515b600019600385901b1c1916600184901b178455610392565b600084815260208120601f198516915b8281101561042b578785015182556020948501946001909201910161040b565b50848210156104495786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156104a95780850481111561048d5761048d610458565b600184161561049b57908102905b60019390931c928002610472565b935093915050565b6000826104c05750600161018c565b816104cd5750600061018c565b81600181146104e357600281146104ed57610509565b600191505061018c565b60ff8411156104fe576104fe610458565b50506001821b61018c565b5060208310610133831016604e8410600b841016171561052c575081810a61018c565b610539600019848461046e565b806000190482111561054d5761054d610458565b029392505050565b600061056460ff8416836104b1565b9392505050565b808202811582820484141761018c5761018c610458565b8082018082111561018c5761018c610458565b610b97806105a46000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806340c10f19116100a2578063a217fddf11610071578063a217fddf14610241578063a9059cbb14610249578063d53913931461025c578063d547741f14610283578063dd62ed3e1461029657600080fd5b806340c10f19146101ea57806370a08231146101fd57806391d148541461022657806395d89b411461023957600080fd5b806323b872dd116100e957806323b872dd1461017d578063248a9ca3146101905780632f2ff15d146101b3578063313ce567146101c857806336568abe146101d757600080fd5b806301ffc9a71461011b57806306fdde0314610143578063095ea7b31461015857806318160ddd1461016b575b600080fd5b61012e61012936600461097a565b6102cf565b60405190151581526020015b60405180910390f35b61014b610306565b60405161013a91906109ab565b61012e610166366004610a15565b610398565b6002545b60405190815260200161013a565b61012e61018b366004610a3f565b6103b0565b61016f61019e366004610a7c565b60009081526005602052604090206001015490565b6101c66101c1366004610a95565b6103d4565b005b6040516012815260200161013a565b6101c66101e5366004610a95565b6103ff565b6101c66101f8366004610a15565b610437565b61016f61020b366004610ac1565b6001600160a01b031660009081526020819052604090205490565b61012e610234366004610a95565b6104ad565b61014b6104d8565b61016f600081565b61012e610257366004610a15565b6104e7565b61016f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6101c6610291366004610a95565b6104f5565b61016f6102a4366004610adc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061030057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461031590610b06565b80601f016020809104026020016040519081016040528092919081815260200182805461034190610b06565b801561038e5780601f106103635761010080835404028352916020019161038e565b820191906000526020600020905b81548152906001019060200180831161037157829003601f168201915b5050505050905090565b6000336103a681858561051a565b5060019392505050565b6000336103be858285610527565b6103c985858561059f565b506001949350505050565b6000828152600560205260409020600101546103ef816105fe565b6103f9838361060b565b50505050565b6001600160a01b03811633146104285760405163334bd91960e11b815260040160405180910390fd5b610432828261069f565b505050565b6104617f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336104ad565b61049f5760405162461bcd60e51b815260206004820152600a6024820152692737ba1036b4b73a32b960b11b60448201526064015b60405180910390fd5b6104a9828261070c565b5050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461031590610b06565b6000336103a681858561059f565b600082815260056020526040902060010154610510816105fe565b6103f9838361069f565b6104328383836001610742565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146103f9578181101561059057604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610496565b6103f984848484036000610742565b6001600160a01b0383166105c957604051634b637e8f60e11b815260006004820152602401610496565b6001600160a01b0382166105f35760405163ec442f0560e01b815260006004820152602401610496565b610432838383610817565b6106088133610941565b50565b600061061783836104ad565b6106975760008381526005602090815260408083206001600160a01b03861684529091529020805460ff1916600117905561064f3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610300565b506000610300565b60006106ab83836104ad565b156106975760008381526005602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610300565b6001600160a01b0382166107365760405163ec442f0560e01b815260006004820152602401610496565b6104a960008383610817565b6001600160a01b03841661076c5760405163e602df0560e01b815260006004820152602401610496565b6001600160a01b03831661079657604051634a1406b160e11b815260006004820152602401610496565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156103f957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161080991815260200190565b60405180910390a350505050565b6001600160a01b0383166108425780600260008282546108379190610b40565b909155506108b49050565b6001600160a01b038316600090815260208190526040902054818110156108955760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610496565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108d0576002805482900390556108ef565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161093491815260200190565b60405180910390a3505050565b61094b82826104ad565b6104a95760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610496565b60006020828403121561098c57600080fd5b81356001600160e01b0319811681146109a457600080fd5b9392505050565b602081526000825180602084015260005b818110156109d957602081860181015160408684010152016109bc565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610a1057600080fd5b919050565b60008060408385031215610a2857600080fd5b610a31836109f9565b946020939093013593505050565b600080600060608486031215610a5457600080fd5b610a5d846109f9565b9250610a6b602085016109f9565b929592945050506040919091013590565b600060208284031215610a8e57600080fd5b5035919050565b60008060408385031215610aa857600080fd5b82359150610ab8602084016109f9565b90509250929050565b600060208284031215610ad357600080fd5b6109a4826109f9565b60008060408385031215610aef57600080fd5b610af8836109f9565b9150610ab8602084016109f9565b600181811c90821680610b1a57607f821691505b602082108103610b3a57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561030057634e487b7160e01b600052601160045260246000fdfea2646970667358221220132a10ff2dd4202997bb9d35494422de7747364f9dadb77b18e2ae3171a37ad464736f6c634300081a0033