9 txs
11 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)
depositTimestamps
viewfunction depositTimestamps(address account) view returns (uint256)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
lockDuration
viewfunction lockDuration() view returns (uint256)
MANAGER_ROLE
viewfunction MANAGER_ROLE() view returns (bytes32)
name
viewfunction name() view returns (string)
pool
viewfunction pool() view returns (address)
stakeableToken
viewfunction stakeableToken() view returns (address)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
unitDecimals
viewfunction unitDecimals() view returns (uint256)
unlockDate
viewfunction unlockDate(address account) view returns (uint256)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
burn
nonpayablefunction burn(uint256 value)
burnFrom
nonpayablefunction burnFrom(address account, uint256 value)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(address _defaultAdmin, string _name, string _symbol, address _stakeableToken, address _pool, uint256 _lockDuration, address _teamRecipient)
reduceLockDuration
nonpayablefunction reduceLockDuration(uint256 newDuration)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
setPool
nonpayablefunction setPool(address _pool)
setUnitDecimals
nonpayablefunction setUnitDecimals(uint256 _unitDecimals)
stake
nonpayablefunction stake(address to, uint256 amount)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
unstake
nonpayablefunction unstake(address to, uint256 amount)
updateMemberUnits
nonpayablefunction updateMemberUnits(address memberAddr, uint128 newUnits)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
Deposit
event Deposit(address indexed account, uint256 depositTimestamp, uint256 amount)
Initialized
event Initialized(uint64 version)
LockDurationUpdated
event LockDurationUpdated(uint256 duration)
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)
Withdraw
event Withdraw(address indexed account, uint256 depositTimestamp, 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)
InvalidInitialization
error InvalidInitialization()
NotInitializing
error NotInitializing()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73c92cbcd3d3b352d75b5e8a04539526f7d157b0965af43d82803e903d91602b57fd5bf3