0 txs
149k 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)
name
viewfunction name() view returns (string)
proxiableUUID
viewfunction proxiableUUID() view returns (bytes32)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
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 amount)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(string name_, string symbol_, address admin, address bank)
mint
nonpayablefunction mint(address account, uint256 amount)
removeBurnerRole
nonpayablefunction removeBurnerRole(address account)
removeMinterRole
nonpayablefunction removeMinterRole(address account)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
setBurnerRole
nonpayablefunction setBurnerRole(address account)
setMinterRole
nonpayablefunction setMinterRole(address account)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
upgradeToAndCall
payablefunction upgradeToAndCall(address newImplementation, bytes data) payable
withdrawStuckTokens
nonpayablefunction withdrawStuckTokens(address token)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
Initialized
event Initialized(uint64 version)
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)
Upgraded
event Upgraded(address indexed implementation)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode
error AddressEmptyCode(address target)
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()
InvalidAddress
error InvalidAddress()
InvalidInitialization
error InvalidInitialization()
InvalidValue
error InvalidValue()
NotInitializing
error NotInitializing()
UUPSUnauthorizedCallContext
error UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID
error UUPSUnsupportedProxiableUUID(bytes32 slot)
creation bytecode
0x60a080604052346100ea57306080527ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460ff8160401c166100d9576002600160401b03196001600160401b03821601610073575b604051611cc490816100f08239608051818181610ab00152610b560152f35b6001600160401b0319166001600160401b039081177ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a13880610054565b63f92ee8a960e01b60005260046000fd5b600080fdfe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146113035750806306fdde0314611241578063095ea7b3146111c057806318160ddd146111955780631bcaf6e31461115c57806323b872dd14611078578063248a9ca3146110525780632f2ff15d14611021578063313ce5671461100557806336568abe14610fbf57806340c10f1914610e6e57806342966c6814610d1c5780634f1ef28614610b0757806352d1902d14610a9d57806354f1e12614610a6457806370a0823114610a1d5780638f15b4141461053057806391d14854146104d6578063945d12291461049d57806395d89b41146103aa578063a217fddf1461038e578063a9059cbb1461035d578063ad3cb1cc1461031a578063cb96372814610218578063d547741f146101e2578063dd62ed3e146101995763fed62da51461014857600080fd5b346101945760203660031901126101945761016161139f565b6101696114f2565b6001600160a01b038116156101835761018190611997565b005b63e6c4247b60e01b60005260046000fd5b600080fd5b34610194576040366003190112610194576101b261139f565b6101c36101bd6113b5565b916114b9565b9060018060a01b03166000526020526020604060002054604051908152f35b34610194576040366003190112610194576101816004356102016113b5565b9061021361020e82611498565b611545565b6116e5565b346101945760203660031901126101945761023161139f565b6102396114f2565b6001600160a01b03168015610183576040516370a0823160e01b8152306004820152602081602481855afa9081156102db576000916102e7575b506000916044602092604051948593849263a9059cbb60e01b845233600485015260248401525af180156102db576102a757005b6020813d6020116102d3575b816102c0602093836113cb565b8101031261019457518015150361019457005b3d91506102b3565b6040513d6000823e3d90fd5b90506020813d602011610312575b81610302602093836113cb565b8101031261019457516000610273565b3d91506102f5565b3461019457600036600319011261019457610359604080519061033d81836113cb565b60058252640352e302e360dc1b60208301525191829182611356565b0390f35b346101945760403660031901126101945761038361037961139f565b602435903361178c565b602060405160018152f35b3461019457600036600319011261019457602060405160008152f35b34610194576000366003190112610194576040516000600080516020611baf833981519152546103d98161145e565b8084529060018116908115610479575060011461040d575b61035983610401818503826113cb565b60405191829182611356565b600080516020611baf83398151915260009081527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa939250905b80821061045f575090915081016020016104016103f1565b919260018160209254838588010152019101909291610447565b60ff191660208086019190915291151560051b8401909101915061040190506103f1565b34610194576020366003190112610194576104b661139f565b6104be6114f2565b6001600160a01b0381161561018357610181906118ff565b34610194576040366003190112610194576104ef6113b5565b600435600052600080516020611c4f83398151915260205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b346101945760803660031901126101945760043567ffffffffffffffff811161019457610561903690600401611440565b60243567ffffffffffffffff811161019457610581903690600401611440565b906044356001600160a01b038116919082810361019457606435916001600160a01b03831680840361019457600080516020611c6f833981519152549460ff8660401c16159567ffffffffffffffff811680159081610a15575b6001149081610a0b575b159081610a02575b506109f15767ffffffffffffffff198116600117600080516020611c6f83398151915255866109c4575b501561018357156101835761062a611abf565b610632611abf565b80519067ffffffffffffffff82116108a457819061065e600080516020611b6f8339815191525461145e565b601f8111610947575b50602090601f83116001146108c5576000926108ba575b50508160011b916000199060031b1c191617600080516020611b6f833981519152555b835167ffffffffffffffff81116108a4576106ca600080516020611baf8339815191525461145e565b601f8111610832575b506020601f82116001146107a857908061072d939261073d969760009261079d575b50508160011b916000199060031b1c191617600080516020611baf833981519152555b610720611abf565b610728611abf565b611865565b50610737816118ff565b50611997565b5061074457005b68ff000000000000000019600080516020611c6f8339815191525416600080516020611c6f833981519152557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b0151905087806106f5565b601f19821695600080516020611baf833981519152600052816000209660005b81811061081a575096600192849261072d969561073d999a10610801575b505050811b01600080516020611baf83398151915255610718565b015160001960f88460031b161c191690558780806107e6565b838301518955600190980197602093840193016107c8565b600080516020611baf8339815191526000527f46a2803e59a4de4e7a4c574b1243f25977ac4c77d5a1a4a609b5394cebb4a2aa601f830160051c8101916020841061089a575b601f0160051c01905b81811061088e57506106d3565b60008155600101610881565b9091508190610878565b634e487b7160e01b600052604160045260246000fd5b01519050868061067e565b600080516020611b6f83398151915260009081528281209350601f198516905b81811061092f5750908460019594939210610916575b505050811b01600080516020611b6f833981519152556106a1565b015160001960f88460031b161c191690558680806108fb565b929360206001819287860151815501950193016108e5565b600080516020611b6f8339815191526000529091507f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0601f840160051c810191602085106109ba575b90601f859493920160051c01905b8181106109ab5750610667565b6000815584935060010161099e565b9091508190610990565b68ffffffffffffffffff19166801000000000000000117600080516020611c6f8339815191525587610617565b63f92ee8a960e01b60005260046000fd5b905015896105ed565b303b1591506105e5565b8891506105db565b34610194576020366003190112610194576001600160a01b03610a3e61139f565b16600052600080516020611b8f8339815191526020526020604060002054604051908152f35b3461019457602036600319011261019457610a7d61139f565b610a856114f2565b6001600160a01b03811615610183576101819061163d565b34610194576000366003190112610194577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163003610af6576020604051600080516020611c0f8339815191528152f35b63703e46dd60e11b60005260046000fd5b604036600319011261019457610b1b61139f565b60243567ffffffffffffffff8111610194573660238201121561019457610b4c903690602481600401359101611409565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115610cf9575b50610af657610b8e6114f2565b6040516352d1902d60e01b81526001600160a01b0383169290602081600481875afa60009181610cc5575b50610bd35783634c9c8ce360e01b60005260045260246000fd5b80600080516020611c0f833981519152859203610cb15750813b15610c9d57600080516020611c0f83398151915280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a2815115610c835760008083602061018195519101845af43d15610c7b573d91610c5e836113ed565b92610c6c60405194856113cb565b83523d6000602085013e611aed565b606091611aed565b505034610c8c57005b63b398979f60e01b60005260046000fd5b634c9c8ce360e01b60005260045260246000fd5b632a87526960e21b60005260045260246000fd5b9091506020813d602011610cf1575b81610ce1602093836113cb565b8101031261019457519085610bb9565b3d9150610cd4565b600080516020611c0f833981519152546001600160a01b03161415905083610b81565b3461019457602036600319011261019457336000908152600080516020611bef83398151915260205260409020546004359060ff1615610e35578015610e24573315610e0e576000338152600080516020611b8f833981519152602052604081205491808310610df557808293338452600080516020611b8f83398151915260205203604083205580600080516020611bcf8339815191525403600080516020611bcf833981519152556040519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203392a380f35b60649263391434e360e21b835233600452602452604452fd5b634b637e8f60e11b600052600060045260246000fd5b632a9ffab760e21b60005260046000fd5b63e2517d3f60e01b600052336004527f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84860245260446000fd5b3461019457604036600319011261019457610e8761139f565b336000908152600080516020611c2f8339815191526020526040902054602435919060ff1615610f86576001600160a01b03168015610183578115610e2457600091600080516020611bcf83398151915254818101809111610f7257602084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92600080516020611bcf833981519152558415600014610f4f5780600080516020611bcf8339815191525403600080516020611bcf833981519152555b604051908152a380f35b848452600080516020611b8f833981519152825260408420818154019055610f45565b634e487b7160e01b84526011600452602484fd5b63e2517d3f60e01b600052336004527f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660245260446000fd5b3461019457604036600319011261019457610fd86113b5565b336001600160a01b03821603610ff457610181906004356116e5565b63334bd91960e11b60005260046000fd5b3461019457600036600319011261019457602060405160128152f35b34610194576040366003190112610194576101816004356110406113b5565b9061104d61020e82611498565b611a2f565b34610194576020366003190112610194576020611070600435611498565b604051908152f35b346101945760603660031901126101945761109161139f565b6110996113b5565b604435906110a6836114b9565b33600090815260209190915260409020549260001984106110cc575b610383935061178c565b82841061113f576001600160a01b0381161561112957331561111357610383936110f5826114b9565b60018060a01b033316600052602052836040600020910390556110c2565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8284637dc7a0d960e11b6000523360045260245260445260646000fd5b346101945760203660031901126101945761117561139f565b61117d6114f2565b6001600160a01b03811615610183576101819061158f565b34610194576000366003190112610194576020600080516020611bcf83398151915254604051908152f35b34610194576040366003190112610194576111d961139f565b602435903315611129576001600160a01b0316908115611113576111fc336114b9565b82600052602052806040600020556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b34610194576000366003190112610194576040516000600080516020611b6f833981519152546112708161145e565b808452906001811690811561047957506001146112975761035983610401818503826113cb565b600080516020611b6f83398151915260009081527f2ae08a8e29253f69ac5d979a101956ab8f8d9d7ded63fa7a83b16fc47648eab0939250905b8082106112e9575090915081016020016104016103f1565b9192600181602092548385880101520191019092916112d1565b34610194576020366003190112610194576004359063ffffffff60e01b821680920361019457602091637965db0b60e01b8114908115611345575b5015158152f35b6301ffc9a760e01b1490508361133e565b91909160208152825180602083015260005b818110611389575060409293506000838284010152601f8019910116010190565b8060208092870101516040828601015201611368565b600435906001600160a01b038216820361019457565b602435906001600160a01b038216820361019457565b90601f8019910116810190811067ffffffffffffffff8211176108a457604052565b67ffffffffffffffff81116108a457601f01601f191660200190565b929192611415826113ed565b9161142360405193846113cb565b829481845281830111610194578281602093846000960137010152565b9080601f830112156101945781602061145b93359101611409565b90565b90600182811c9216801561148e575b602083101461147857565b634e487b7160e01b600052602260045260246000fd5b91607f169161146d565b600052600080516020611c4f83398151915260205260016040600020015490565b6001600160a01b031660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020526040902090565b3360009081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff161561152b57565b63e2517d3f60e01b60005233600452600060245260446000fd5b6000818152600080516020611c4f8339815191526020908152604080832033845290915290205460ff16156115775750565b63e2517d3f60e01b6000523360045260245260446000fd5b6001600160a01b0381166000908152600080516020611bef833981519152602052604090205460ff1615611637576001600160a01b03166000818152600080516020611bef83398151915260205260408120805460ff191690553391907f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b50600090565b6001600160a01b0381166000908152600080516020611c2f833981519152602052604090205460ff1615611637576001600160a01b03166000818152600080516020611c2f83398151915260205260408120805460ff191690553391907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6000818152600080516020611c4f833981519152602090815260408083206001600160a01b038616845290915290205460ff1615611785576000818152600080516020611c4f833981519152602090815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5050600090565b6001600160a01b0316908115610e0e576001600160a01b031691821561184f576000828152600080516020611b8f83398151915260205260408120548281106118355791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652600080516020611b8f83398151915286520382822055868152600080516020611b8f833981519152845220818154019055604051908152a3565b916064928463391434e360e21b8452600452602452604452fd5b63ec442f0560e01b600052600060045260246000fd5b6001600160a01b03811660009081527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d602052604090205460ff16611637576001600160a01b031660008181527fb7db2dd08fcb62d0c9e08c51941cae53c267786a0b75803fb7960902fc8ef97d60205260408120805460ff19166001179055339190600080516020611b4f8339815191528180a4600190565b6001600160a01b0381166000908152600080516020611c2f833981519152602052604090205460ff16611637576001600160a01b03166000818152600080516020611c2f83398151915260205260408120805460ff191660011790553391907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a690600080516020611b4f8339815191529080a4600190565b6001600160a01b0381166000908152600080516020611bef833981519152602052604090205460ff16611637576001600160a01b03166000818152600080516020611bef83398151915260205260408120805460ff191660011790553391907f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84890600080516020611b4f8339815191529080a4600190565b6000818152600080516020611c4f833981519152602090815260408083206001600160a01b038616845290915290205460ff16611785576000818152600080516020611c4f833981519152602090815260408083206001600160a01b0395909516808452949091528120805460ff1916600117905533929190600080516020611b4f8339815191529080a4600190565b60ff600080516020611c6f8339815191525460401c1615611adc57565b631afcd79f60e31b60005260046000fd5b90611b135750805115611b0257805190602001fd5b63d6bda27560e01b60005260046000fd5b81511580611b45575b611b24575090565b639996b31560e01b60009081526001600160a01b0391909116600452602490fd5b50803b15611b1c56fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0352c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0452c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02fcf1b2032b1187d9f2a29150c4a608b3b6f0bdf8dd007801f86a276af50cad92360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc549fe2656c81d2947b3b913f0a53b9ea86c71e049f3a1b8aa23c09a8a05cb8d402dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208c122d3210ef7f9baf89a3b16d59018c74264f5897279abaa36020a0ab5141bb64736f6c634300081b0033