veCARV

Verified contract

Implementation

Active on Base with 3 txns
Deployed by via 0x1afcd51d at 20845320
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "veCARV"

0x842556baddb90c15861926c3a8230e5a4ea0f81e595a24a7d10fb731b49cedcb
0x657ec1f4961a42d6140072f119de9ca3c03567a9f2de12b8b306cf3653ac1148
0x81cd0465f4120b4bc16de87ddd54b2125c983892beb60cb5fe410b99c40b8c78

Functions
Getter at block 22755484
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)
39
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
 
totalSupply(view returns (uint256)
Read-only
balanceOf(address userview returns (uint256)
balanceOfAt(address useruint256 timestampview returns (uint256)
epochAt(uint256 timestampview returns (uint32)
epochPoints(uint256view returns (uint256 biasint256 slopeuint32 epochIndex)
epochTimestamp(uint32 epochIndexview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
positions(uint64view returns (address userbool finalizeduint256 balanceuint256 enduint256 shareuint256 debt)
slopeChanges(uint32view returns (int256)
specialDurations(uint16 durationview returns (struct SettingsDurationInfo)
supportedDurations(uint16 durationview returns (struct SettingsDurationInfo)
supportsInterface(bytes4 interfaceIdview returns (bool)
totalSupplyAt(uint256 timestampview returns (uint256)
userEpochPoints(addressuint256view returns (uint256 biasint256 slopeuint32 epochIndex)
userSlopeChanges(addressuint32view returns (int256)
State-modifying
checkEpoch(address withUser
claim(uint64 positionID
deposit(uint256 amountuint256 duration
depositForSpecial(address useruint256 amountuint256 duration
depositRewardToken(uint256 amount
finalize(uint64 positionID
grantRole(bytes32 roleaddress account
initialize(string name_string symbol_address carvToken
modifyAdmin(address newAdmin
modifySpecialDurations(uint16 durationbool activateuint32 rewardWeightuint32 stakingMultiplier
modifySupportedDurations(uint16 durationbool activateuint32 rewardWeightuint32 stakingMultiplier
multicall(bytes[] datareturns (bytes[] results)
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
updateSettings(struct SettingsSettingParams params
withdraw(uint64 positionID
Events
Claim(uint64 indexed positionIDuint256 reward
Deposit(uint64 indexed positionIDaddress indexed useruint256 amountuint256 beginuint256 durationuint256 shareuint256 debt
DepositRewardToken(address indexed depositoruint256 amount
Finalize(uint64 indexed positionIDuint256 reward
Initialized(uint64 version
ModifyAdmin(address newAdmin
ModifySpecialDurations(uint16 durationbool activateuint32 rewardWeightuint32 stakingMultiplier
ModifySupportedDurations(uint16 durationbool activateuint32 rewardWeightuint32 stakingMultiplier
NewPoint(address useruint256 biasint256 slopeuint32 epochIndex
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
UpdateCurrentPoint(address useruint256 slopeuint256 initialBiasuint32 endEpoch
UpdateSettings(struct SettingsSettingParams params
UpdateShare(uint256 accumulatedRewardPerShare
Withdraw(uint64 indexed positionID
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
FailedInnerCall(
InvalidInitialization(
NotInitializing(