veCARV
Verified contract
Implementation
Active on
Base with 3 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "veCARV"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21109971 | a month ago | | | 0 | 4.3871154e-7 | |
| 21044769 | a month ago | | | 0 | 0.0000022304053 | |
| 21044597 | a month ago | | | 0 | 5.2155562e-7 |
ABI
ABI objects
Getter at block 22771429 totalSupply() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DURATION_INFO_DECIMALS() view returns (uint32)
10000
DURATION_PER_EPOCH() view returns (uint256)
86400
PRECISION() view returns (uint256)
1000000000000000000
SPECIAL_DEPOSIT_ROLE() view returns (bytes32)
0x0ab2c84082f43a47797fe2988f720c087a90b5323a45b11c50660a338ba38f2e
accumulatedRewardPerShare() view returns (uint256)
0
admin() view returns (address)
0xa2e877ad53dd239a70549b85c198e59e58bc6956
decimals() pure returns (uint8)
18
epoch() view returns (uint32)
40
initialTimestamp() view returns (uint256)
1728864000
lastRewardTimestamp() view returns (uint256)
1728878541
minStakingAmount() view returns (uint256)
0
name() view returns (string)
veCARV
positionIndex() view returns (uint64)
0
rewardPerSecond() view returns (uint256)
0
rewardTokenAmount() view returns (uint256)
0
symbol() view returns (string)
veCARV
token() view returns (address)
0xc08cd26474722ce93f4d0c34d16201461c10aa8c
totalShare() view returns (uint256)
0
Read-only
balanceOf(address user) view returns (uint256)
balanceOfAt(address user, uint256 timestamp) view returns (uint256)
epochAt(uint256 timestamp) view returns (uint32)
epochPoints(uint256) view returns (uint256 bias, int256 slope, uint32 epochIndex)
epochTimestamp(uint32 epochIndex) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
positions(uint64) view returns (address user, bool finalized, uint256 balance, uint256 end, uint256 share, uint256 debt)
slopeChanges(uint32) view returns (int256)
specialDurations(uint16 duration) view returns (struct SettingsDurationInfo)
supportedDurations(uint16 duration) view returns (struct SettingsDurationInfo)
supportsInterface(bytes4 interfaceId) view returns (bool)
totalSupplyAt(uint256 timestamp) view returns (uint256)
userEpochPoints(address, uint256) view returns (uint256 bias, int256 slope, uint32 epochIndex)
userSlopeChanges(address, uint32) view returns (int256)
State-modifying
Events checkEpoch(address withUser)
claim(uint64 positionID)
deposit(uint256 amount, uint256 duration)
depositForSpecial(address user, uint256 amount, uint256 duration)
depositRewardToken(uint256 amount)
finalize(uint64 positionID)
grantRole(bytes32 role, address account)
initialize(string name_, string symbol_, address carvToken)
modifyAdmin(address newAdmin)
modifySpecialDurations(uint16 duration, bool activate, uint32 rewardWeight, uint32 stakingMultiplier)
modifySupportedDurations(uint16 duration, bool activate, uint32 rewardWeight, uint32 stakingMultiplier)
multicall(bytes[] data) returns (bytes[] results)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
updateSettings(struct SettingsSettingParams params)
withdraw(uint64 positionID)
Claim(uint64 indexed positionID, uint256 reward)
Deposit(uint64 indexed positionID, address indexed user, uint256 amount, uint256 begin, uint256 duration, uint256 share, uint256 debt)
DepositRewardToken(address indexed depositor, uint256 amount)
Finalize(uint64 indexed positionID, uint256 reward)
Initialized(uint64 version)
ModifyAdmin(address newAdmin)
ModifySpecialDurations(uint16 duration, bool activate, uint32 rewardWeight, uint32 stakingMultiplier)
ModifySupportedDurations(uint16 duration, bool activate, uint32 rewardWeight, uint32 stakingMultiplier)
NewPoint(address user, uint256 bias, int256 slope, uint32 epochIndex)
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)
UpdateCurrentPoint(address user, uint256 slope, uint256 initialBias, uint32 endEpoch)
UpdateSettings(struct SettingsSettingParams params)
UpdateShare(uint256 accumulatedRewardPerShare)
Withdraw(uint64 indexed positionID)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
FailedInnerCall()
InvalidInitialization()
NotInitializing()