CvxCompounder

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x55e4891e at 18368543
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 44 additional slots
-
variable spans 47 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
12 additional variables

No balances found for "CvxCompounder"

No transactions found for "CvxCompounder"


Functions
Getter at block 21430880
CUSTOM_FEE_RATIO_SETTER_ROLE(view returns (bytes32)
0x45ec306fbeb4997b6ddfd24ebfe4a79ec5a1d9d8a30ebbc816ee29b0afcb81ba
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0xa0625404ca7e2b0424e9c33851cce105828ddfbe35cc6e48479f1c033703bca9
REWARD_DEPOSITOR_ROLE(view returns (bytes32)
0x2b3b34d8f2cbfb9866f3463c0bc43f6d821c949e95f5ca06701a7756b45ebc8e
asset(view returns (address)
0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
converter(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=1, verifyingContract=0x6eeac56be9e17b9742100ab696b7158cba035106, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getExpenseRatio(view returns (uint256)
0
getHarvesterRatio(view returns (uint256)
0
getWithdrawFeePercentage(view returns (uint256)
0
harvester(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
pendingRewards(view returns (uint256uint256)
(0, 0)
periodLength(view returns (uint40)
0
rewardData(view returns (uint96 queueduint80 rateuint40 lastUpdateuint40 finishAt)
(queued=0, rate=0, lastUpdate=0, finishAt=0)
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
strategy(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
totalAssets(view returns (uint256)
0
totalSupply(view returns (uint256)
0
treasury(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertToAssets(uint256 _sharesview returns (uint256)
convertToShares(uint256 _assetsview returns (uint256)
getFeeRate(uint256 _feeTypeaddress _accountview returns (uint256 rate)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
maxDeposit(addresspure returns (uint256)
maxMint(addresspure returns (uint256)
maxRedeem(addresspure returns (uint256)
maxWithdraw(addresspure returns (uint256)
nonces(address ownerview returns (uint256)
previewDeposit(uint256 _assetsview returns (uint256)
previewMint(uint256 _sharesview returns (uint256)
previewRedeem(uint256 _sharesview returns (uint256)
previewWithdraw(uint256 _assetsview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 amountreturns (bool)
checkpoint(
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 _assetsaddress _receiverreturns (uint256)
depositReward(uint256 _amount
grantRole(bytes32 roleaddress account
harvest(address _receiveruint256 _minAssetsreturns (uint256 _assets)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(string _namestring _symboladdress _treasuryaddress _harvesteraddress _converteraddress _strategy
migrateStrategy(address _newStrategy
mint(uint256 _sharesaddress _receiverreturns (uint256)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 _sharesaddress _receiveraddress _ownerreturns (uint256)
renounceRole(bytes32 roleaddress account
resetCustomFeeRate(address _accountuint256 _feeType
revokeRole(bytes32 roleaddress account
setCustomFeeRate(address _accountuint256 _feeTypeuint32 _newRate
setDefaultFeeRate(uint256 _feeTypeuint32 _newRate
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
updateConverter(address _newConverter
updateExpenseRatio(uint32 _newRatio
updateHarvester(address _newHarvester
updateHarvesterRatio(uint32 _newRatio
updateTreasury(address _newTreasury
updateWithdrawFeePercentage(uint32 _newPercentage
withdraw(uint256 _assetsaddress _receiveraddress _ownerreturns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
DepositReward(uint256 amount
EIP712DomainChanged(
Harvest(address indexed calleraddress indexed receiveruint256 assetsuint256 performanceFeeuint256 harvesterBounty
Initialized(uint8 version
Migrate(address indexed oldStrategyaddress indexed newStrategy
ResetCustomFeeRate(address indexed accountuint256 indexed feeType
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetCustomFeeRate(address indexed accountuint256 indexed feeTypeuint32 rate
SetDefaultFeeRate(uint256 indexed feeTypeuint32 oldRateuint32 newRate
Transfer(address indexed fromaddress indexed touint256 value
UpdateConverter(address indexed oldConverteraddress indexed newConverter
UpdateExpenseRatio(uint256 oldRatiouint256 newRatio
UpdateHarvester(address indexed oldHarvesteraddress indexed newHarvester
UpdateHarvesterRatio(uint256 oldRatiouint256 newRatio
UpdateTreasury(address indexed oldTreasuryaddress indexed newTreasury
UpdateWithdrawFeePercentage(uint256 oldPercentageuint256 newPercentage
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor
constructor(uint40 _periodLength
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CallerIsNotHarvester(
ConverterIsZero(
DepositZeroAmount(
ExpenseRatioTooLarge(
FeeRateTooLarge(
FeeTypeTooLarge(
HarvesterRatioTooLarge(
InsufficientHarvestedAssets(
RedeemExceedTotalSupply(
StrategyIsZero(
TreasuryIsZero(
WithdrawExceedTotalAssets(
WithdrawFeePercentageTooLarge(
WithdrawZeroShare(