ERC1967Proxy
Verified contract
Proxy
Active on
Base with 1,680 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
Balances ($100,018.09)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ZAP | ERC-20 | 1.909945M | $0.052367 |
$100,018.09 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22903752 | 27 minutes ago | | | 0 | 0.0000030422949 | |
| 22903568 | 33 minutes ago | | | 0 | 0.0000077281544 | |
| 22903412 | 38 minutes ago | | | 0 | 0.0000020919771 | |
| 22903411 | 38 minutes ago | | | 0 | 0.0000077413747 | |
| 22902378 | an hour ago | | | 0 | 0.0000073866148 | |
| 22897089 | 4 hours ago | | | 0 | 0.0000013496992 | |
| 22896323 | 5 hours ago | | | 0 | 0.0000031428325 | |
| 22889688 | 8 hours ago | | | 0 | 0.0000076471080 | |
| 22883852 | 12 hours ago | | | 0 | 0.0000037352187 | |
| 22878681 | 14 hours ago | | | 0 | 0.0000030427125 |
ABI
ABI objects
Getter at block 22904557 proxiableUUID() view returns (bytes32)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EARLY_UNSTAKE_BASE_FEE_PERCENTAGE() view returns (uint32)
15000000
UPGRADE_ADMIN() view returns (bytes32)
0xab0a819bf57ef52a248771805d8714ae8e073962cc1b48f9667beb971fb3a2c7
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
getStakingTiers() view returns (struct StakingTier[])
[(7776000, 110, 50), (15552000, 130, 70), (31104000, 150, 100)]
getTokenStakerCount() view returns (uint256)
337
getTreasury() view returns (address)
0x61d6e794782129715713eb44426082ef092a2174
getVaultStakerCount() view returns (uint256)
998
treasury() view returns (address)
0x61d6e794782129715713eb44426082ef092a2174
vaultVesting() view returns (address)
0x3fa190499ee2fea9b9c4d3bfefb5c868fa72ded4
zapToken() view returns (address)
0xf56b3b3972f2f154555a0b62ff5a22b7b2a3c90b
Read-only
calculateEarlyUnstakeFee(uint256 tokensStaked, uint256 timeStaked, uint256 expiresAt, uint256 timeNow) pure returns (uint256)
checkIfWithinGracePeriod(uint256 expiresAt, uint256 stakeDuration, uint256 timeNow) pure returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getStakingTier(uint32 index) view returns (struct StakingTier)
getTokenStake(address user, uint32 tierIndex) view returns (struct TokenStake)
getTokenStakerByIndex(uint256 index) view returns (address)
getTokenStakerIdFromAddress(address user) view returns (uint256)
getUserTokenStakes(address user) view returns (struct TokenStake[])
getUserVaultStakes(address user) view returns (struct VaultStake[])
getVaultStake(address user, uint32 tierIndex) view returns (struct VaultStake)
getVaultStakerByIndex(uint256 index) view returns (address)
getVaultStakerIdFromAddress(address user) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
stakingTiers(uint32) view returns (uint256 duration, uint32 vaultBonusPoolMultiplier, uint32 standardPoolNegativeMultiplier)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenStaker(uint256) view returns (address wallet, bool isActive)
tokenStakerId(address) view returns (uint256)
tokenStakes(address, uint32) view returns (uint32 tierIndex, uint256 tokensStaked, uint256 stakedAt, uint256 unstakedAt, uint256 expiresAt, bool autoRelock)
userTokenStakeCount(address) view returns (uint32)
userVaultStakeCount(address) view returns (uint32)
vaultStaker(uint256) view returns (address wallet, bool isActive)
vaultStakerId(address) view returns (uint256)
vaultStakes(address, uint32) view returns (uint32 tierIndex, uint32 vaultsStaked, uint256 stakedAt, uint256 expiresAt, uint256 unstakedAt, bool autoRelock)
State-modifying
Events grantRole(bytes32 role, address account)
initialize(address _zapToken, address _vaultVesting, address multisig, address _treasury)
renounceRole(bytes32 role, address callerConfirmation)
restakeTokens(uint32 tierIndex)
restakeVaults(uint32 tierIndex)
revokeRole(bytes32 role, address account)
setTreasuryAddress(address newTreasury)
stakeTokens(uint32 tierIndex, uint256 amountToStake, bool autoRelock)
stakeVaults(uint32 tierIndex, uint32 amountToStake, bool autoRelock)
unstakeTokens(uint32 tierIndex)
unstakeVaults(uint32 tierIndex)
upgradeToAndCall(address newImplementation, bytes data) payable
Upgraded(address indexed implementation)
Initialized(uint64 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Staked(address indexed user, uint256 amount, uint256 duration, bool autoRelock)
Unstaked(address indexed user, uint256 amount, uint256 earlyUnstakeFee, bool isVault)
Upgraded(address indexed implementation)
constructor(address implementation, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InvalidInitialization()
NotInitializing()
ReentrancyGuardReentrantCall()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)