TiersV1

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x588ddf5a at 13582777
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 49 additional slots

No balances found for "TiersV1"

No transactions found for "TiersV1"


Functions
Getter at block 21161285
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
CONFIG_ROLE(view returns (bytes32)
0x0085368fcead87b7a1f74b5b9926f0e299edbb8150bcfc16333ff99e346562bb
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
dao(view returns (address)
0x0000000000000000000000000000000000000000
lastFeeGrowth(view returns (uint256)
0
pausedDeposit(view returns (bool)
false
pausedWithdraw(view returns (bool)
false
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
totalAmount(view returns (uint256 total)
0
votersToken(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
nftRates(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenRates(addressview returns (uint256)
totalAmounts(addressview returns (uint256)
userInfoAmounts(address userview returns (uint256uint256address[]uint256[]uint256[])
userInfoPendingFees(address useruint256 tokensOnlyTotalview returns (uint256)
userInfoTotal(address userview returns (uint256uint256)
userInfos(addressview returns (uint256 lastFeeGrowthuint256 lastDeposituint256 lastWithdraw)
users(uint256view returns (address)
usersList(uint256 pageuint256 pageSizeview returns (address[])
State-modifying
deposit(address tokenuint256 amount
donate(uint256 amount
grantRole(bytes32 roleaddress account
initialize(address _owneraddress _daoaddress _rewardTokenaddress _votersToken
migrateRewards(uint256 amount
onTokenTransfer(address useruint256 amountbytes _data
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
togglePausedDeposit(
togglePausedWithdraw(
updateDao(address _dao
updateNft(address _tokenuint256 _rate
updateToken(address[] _tokensuint256[] _rates
updateVotersToken(address _token
updateVotersTokenRate(uint256 _rate
withdraw(address tokenuint256 amountaddress to
withdrawNow(address tokenuint256 amountaddress to
Events
Deposit(address indexed useruint256 amount
DepositPaused(bool paused
Donate(address indexed useruint256 amount
NftUpdated(address tokenuint256 rate
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenUpdated(address tokenuint256 rate
Withdraw(address indexed useruint256 amountaddress indexed to
WithdrawNow(address indexed useruint256 amountaddress indexed to
WithdrawPaused(bool paused
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.