71 txs
233 calls
constructor
constructor()
functions
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
cooldownDuration
viewfunction cooldownDuration() 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)
lockedInfos
viewfunction lockedInfos(address) view returns (uint256 amountLocked, uint256 coolDownEnd, uint256 coolDownAmount)
MINTER_BURNER_ROLE
viewfunction MINTER_BURNER_ROLE() view returns (bytes32)
name
viewfunction name() view returns (string)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
symbol
viewfunction symbol() view returns (string)
totalLocked
viewfunction totalLocked() view returns (uint256)
totalSupply
viewfunction totalSupply() view returns (uint256)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
burn
nonpayablefunction burn(address from, uint256 amount)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initiateUnlock
nonpayablefunction initiateUnlock(uint256 amount)
lock
nonpayablefunction lock(uint256 amount)
mint
nonpayablefunction mint(address to, uint256 amount)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
setCooldownDuration
nonpayablefunction setCooldownDuration(uint256 _cooldownDuration)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
unlock
nonpayablefunction unlock()
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
CooldownDurationUpdated
event CooldownDurationUpdated(uint256 cooldownDuration)
Locked
event Locked(address indexed user, uint256 amount)
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)
Unlocked
event Unlocked(address indexed user, uint256 amount)
UnlockedInitiated
event UnlockedInitiated(address indexed user, uint256 amount)
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
0x60806040523461032557604080519081016001600160401b03811182821017610238576040908152600b82526a5065736f7350657244617960a81b602083015280519081016001600160401b0381118282101761023857604052600381526214141160ea1b602082015281516001600160401b03811161023857600354600181811c9116801561031b575b602082101461021a57601f81116102b8575b50602092601f821160011461025757928192935f9261024c575b50508160011b915f199060031b1c1916176003555b80516001600160401b03811161023857600454600181811c9116801561022e575b602082101461021a57601f81116101b7575b50602091601f8211600114610157579181925f9261014c575b50508160011b915f199060031b1c1916176004555b6201518060065561013c33610329565b5060405161101790816103b38239f35b015190505f80610117565b601f1982169260045f52805f20915f5b85811061019f57508360019510610187575b505050811b0160045561012c565b01515f1960f88460031b161c191690555f8080610179565b91926020600181928685015181550194019201610167565b60045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610210575b601f0160051c01905b81811061020557506100fe565b5f81556001016101f8565b90915081906101ef565b634e487b7160e01b5f52602260045260245ffd5b90607f16906100ec565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100b6565b601f1982169360035f52805f20915f5b8681106102a05750836001959610610288575b505050811b016003556100cb565b01515f1960f88460031b161c191690555f808061027a565b91926020600181928685015181550194019201610267565b60035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c81019160208410610311575b601f0160051c01905b818110610306575061009c565b5f81556001016102f9565b90915081906102f0565b90607f169061008a565b5f80fd5b6001600160a01b0381165f9081525f805160206113ca833981519152602052604090205460ff166103ad576001600160a01b03165f8181525f805160206113ca83398151915260205260408120805460ff191660011790553391907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a4600190565b505f9056fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a714610bf05750806306fdde0314610b35578063095ea7b314610ab357806318160ddd14610a9657806323b872dd146109b7578063248a9ca3146109845780632dc075e1146108855780632f2ff15d14610847578063313ce5671461082c578063352693151461080f57806336568abe146107cb57806340c10f1914610749578063568914121461072c57806370a08231146106f557806372c32860146106bb57806391d148541461067257806395d89b411461056e578063966be075146104db5780639dc29fac14610437578063a217fddf1461041d578063a69df4b51461033e578063a9059cbb1461030d578063d547741f146102c8578063dd467064146101dd578063dd62ed3e1461018d5763e6adb7491461013a575f80fd5b34610189576020366003190112610189576001600160a01b0361015b610c6d565b165f526008602052606060405f20805490600260018201549101549060405192835260208301526040820152f35b5f80fd5b34610189576040366003190112610189576101a6610c6d565b6101ae610c83565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b3461018957602036600319011261018957600435610220604051610202604082610c99565b60098152684c4f434b5f5a45524f60b81b6020820152821515610ccf565b335f525f6020526102678160405f2054101560405190610241604083610c99565b6014825273494e53554646494349454e545f42414c414e434560601b6020830152610ccf565b61027381600754610cf7565b600755335f52600860205260405f2061028d828254610cf7565b905561029a813033610f09565b6040519081527f9f1ec8c880f76798e7b793325d625e9b60e4082a553c98f42b6cda368dd6000860203392a2005b346101895760403660031901126101895761030b6004356102e7610c83565b90610306610301825f526005602052600160405f20015490565b610dbf565b610e85565b005b3461018957604036600319011261018957610333610329610c6d565b6024359033610d25565b602060405160018152f35b34610189575f36600319011261018957335f52600860205260405f206103ee60028201915f6001845492610399604051610379604082610c99565b600b81526a2727afa1a7a7a62227aba760a91b6020820152851515610ccf565b016103d48154421015604051906103b1604083610c99565b601182527021a7a7a62227aba72fa727aa2fa7ab22a960791b6020830152610ccf565b6103e083600754610d18565b600755818555553330610f09565b546040519081527f0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d60203392a2005b34610189575f3660031901126101895760206040515f8152f35b3461018957604036600319011261018957610450610c6d565b6024359061045c610d50565b6001600160a01b031680156104c857805f525f60205260405f20548281106104af576020835f945f80516020610fc2833981519152938587528684520360408620558060025403600255604051908152a3005b9063391434e360e21b5f5260045260245260445260645ffd5b634b637e8f60e11b5f525f60045260245ffd5b3461018957602036600319011261018957335f9081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc60205260409020546004359060ff1615610557576020817f3b919acbae27b7c60197957a5423655702d842fcc85c19c7631dc1c777f478f592600655604051908152a1005b63e2517d3f60e01b5f52336004525f60245260445ffd5b34610189575f366003190112610189576040515f6004548060011c90600181168015610668575b6020831081146106545782855290811561063057506001146105d2575b6105ce836105c281850382610c99565b60405191829182610c43565b0390f35b91905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b915f905b808210610616575090915081016020016105c26105b2565b9192600181602092548385880101520191019092916105fe565b60ff191660208086019190915291151560051b840190910191506105c290506105b2565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610595565b346101895760403660031901126101895761068b610c83565b6004355f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610189575f3660031901126101895760206040517fcfd53186d792f1ec9d0679afc2dc3ffc86fc31fe1e0f342b838eb6c3eade62b38152f35b34610189576020366003190112610189576001600160a01b03610716610c6d565b165f525f602052602060405f2054604051908152f35b34610189575f366003190112610189576020600754604051908152f35b3461018957604036600319011261018957610762610c6d565b6024359061076e610d50565b6001600160a01b03169081156107b8575f80516020610fc283398151915260208261079c5f94600254610cf7565b60025584845283825260408420818154019055604051908152a3005b63ec442f0560e01b5f525f60045260245ffd5b34610189576040366003190112610189576107e4610c83565b336001600160a01b038216036108005761030b90600435610e85565b63334bd91960e11b5f5260045ffd5b34610189575f366003190112610189576020600654604051908152f35b34610189575f36600319011261018957602060405160128152f35b346101895760403660031901126101895761030b600435610866610c83565b90610880610301825f526005602052600160405f20015490565b610df9565b34610189576020366003190112610189576004356108ca6040516108aa604082610c99565b600b81526a554e4c4f434b5f5a45524f60a81b6020820152821515610ccf565b335f52600860205261091b8160405f20541015604051906108ec604083610c99565b601b82527f494e53554646494349454e545f4c4f434b45445f42414c414e434500000000006020830152610ccf565b335f52600860205260405f2061093360065442610cf7565b600182015560028101610947838254610cf7565b9055610954828254610d18565b90556040519081527f31ae2c0318305b3ad5445ec84aa3bf9ffd27cdf8f660c4662515f4715bd90cca60203392a2005b346101895760203660031901126101895760206109af6004355f526005602052600160405f20015490565b604051908152f35b34610189576060366003190112610189576109d0610c6d565b6109d8610c83565b6001600160a01b0382165f818152600160209081526040808320338452909152902054909260443592915f198110610a16575b506103339350610d25565b838110610a7b578415610a68573315610a5557610333945f52600160205260405f2060018060a01b0333165f526020528360405f209103905584610a0b565b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b8390637dc7a0d960e11b5f523360045260245260445260645ffd5b34610189575f366003190112610189576020600254604051908152f35b3461018957604036600319011261018957610acc610c6d565b602435903315610a68576001600160a01b0316908115610a5557335f52600160205260405f20825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b34610189575f366003190112610189576040515f6003548060011c90600181168015610be6575b602083108114610654578285529081156106305750600114610b88576105ce836105c281850382610c99565b91905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b915f905b808210610bcc575090915081016020016105c26105b2565b919260018160209254838588010152019101909291610bb4565b91607f1691610b5c565b34610189576020366003190112610189576004359063ffffffff60e01b821680920361018957602091637965db0b60e01b8114908115610c32575b5015158152f35b6301ffc9a760e01b14905083610c2b565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361018957565b602435906001600160a01b038216820361018957565b90601f8019910116810190811067ffffffffffffffff821117610cbb57604052565b634e487b7160e01b5f52604160045260245ffd5b15610cd75750565b60405162461bcd60e51b8152908190610cf39060048301610c43565b0390fd5b91908201809211610d0457565b634e487b7160e01b5f52601160045260245ffd5b91908203918211610d0457565b91906001600160a01b038316156104c8576001600160a01b038116156107b857610d4e92610f09565b565b335f9081527f7b1adb5df237b89d5a8cf1847f22232ee1a8888cedf243b821de2fccf7bcd856602052604090205460ff1615610d8857565b63e2517d3f60e01b5f52336004527fcfd53186d792f1ec9d0679afc2dc3ffc86fc31fe1e0f342b838eb6c3eade62b360245260445ffd5b5f81815260056020908152604080832033845290915290205460ff1615610de35750565b63e2517d3f60e01b5f523360045260245260445ffd5b5f8181526005602090815260408083206001600160a01b038616845290915290205460ff16610e7f575f8181526005602090815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50505f90565b5f8181526005602090815260408083206001600160a01b038616845290915290205460ff1615610e7f575f8181526005602090815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6001600160a01b03169081610f6f5760205f80516020610fc283398151915291610f3585600254610cf7565b6002555b6001600160a01b03169384610f5a5780600254036002555b604051908152a3565b845f525f825260405f20818154019055610f51565b815f525f60205260405f2054838110610fa6575f80516020610fc28339815191529184602092855f525f84520360405f2055610f39565b91905063391434e360e21b5f5260045260245260445260645ffdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122083cd5e0cb07fc2cd6a562bee86b8547edacfd0d4aa5e127e3a93b34fe1bdb1f264736f6c634300081a003305b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc