Vault

Verified contract

Active on Ethereum with 18 txns
Deployed by via 0x986d6d17 at 16664859
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $172.55
0xdbb37f4139919cf3468713ec8d46505897b89df86848d9fdd4be75a3be321bac
0x15b7fe695053860b5c7d14ab44ac9c8c9627e835eb8e2a6e0fdcfa23f356a599
0xd4931e93ef31a2296c77e844feaa37c055f1077a2c99c5cff6b1c8cb46bfea17
0xb379c714f3e79471e34d3790d31fbb496d25d76bfc82a3301561c4c2cacda292
0xa56bc60569e7d28514141135e59ee37574ff89ddbf074b82434fc6ca9a1a941f
0xd8c97d229e8e303da8fe385443b5c8e2eaf06a0a0d76ffe9e0f3b06980ab09ee
0x5e70fb0ce6e53caa704145e68336ffee2fc83bf11259e8bcee12ac59ee13c87d
0x44591a4262ff9900275a652f34433b1bbbe76b466a93fc52af0068341628e537
From
0x76e0c4bea607d1e37e7313d773d9b9d57293685f1c6b08edfc60c81e0ff30c8c
0x2188ef90191842c0005eadac428fa302e675e7ad530e3a3248f21626cf03d3ef

Functions
Getter at block 21194092
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
KEEPER_ROLE(view returns (bytes32)
0xfc8737ab85eb45125971625a9ebdb75cc78e01d5c1fa80c4c6e5203f47bc4fab
MAX_DEPOSIT_LOCK_DURATION(view returns (uint64)
14515200
MAX_SPONSOR_LOCK_DURATION(view returns (uint64)
14515200
MIN_SPONSOR_LOCK_DURATION(view returns (uint64)
1209600
SETTINGS_ROLE(view returns (bytes32)
0xfaf9b26485088dee58863e57c46603d6cdcbadc7475ac6d8910fab0ecf603095
SHARES_MULTIPLIER(view returns (uint256)
1000000000000000000
SPONSOR_ROLE(view returns (bytes32)
0x1597bc5e34ff090612f53164e4e642d2ab4fc78bffe19ed1b602a0d12559561a
accumulatedPerfFee(view returns (uint256)
0
exitPaused(view returns (bool)
false
getUnderlying(view returns (address)
0x5f98805a4e8be255a32880fdec7f6728c6568ba0
immediateInvestLimitPct(view returns (uint16)
0
investPct(view returns (uint16)
9900
investState(view returns (uint256 maxInvestableAmountuint256 alreadyInvested)
(maxInvestableAmount=171073939279828968669, alreadyInvested=0)
lossTolerancePct(view returns (uint16)
200
minLockPeriod(view returns (uint64)
432000
paused(view returns (bool)
false
perfFeePct(view returns (uint16)
0
strategy(view returns (address)
0xba74d9d1eae06e3361b8a610542c9ea580c49b3a
totalPrincipal(view returns (uint256)
150771187345090933735
totalShares(view returns (uint256)
159437251445613616125886724671341872601
totalSponsored(view returns (uint256)
0
totalUnderlying(view returns (uint256)
172801958868514109767
totalUnderlyingMinusSponsored(view returns (uint256)
172801958868514109767
treasury(view returns (address)
0x035f210e5d14054e8ae5a6cfa76d643aa200d56e
underlying(view returns (address)
0x5f98805a4e8be255a32880fdec7f6728c6568ba0
Read-only
claimers(addressview returns (uint256 totalPrincipaluint256 totalShares)
depositGroupIdOwner(uint256view returns (address)
deposits(uint256view returns (uint256 amountaddress owneraddress claimerIduint256 lockedUntil)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
principalOf(address claimerIdview returns (uint256)
sharesOf(address claimerIdview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
swappers(addressview returns (address pooluint8 tokenDecimalsuint8 underlyingDecimalsint128 tokenIint128 underlyingI)
yieldFor(address _toview returns (uint256 claimableYielduint256 sharesuint256 perfFee)
State-modifying
addPool(struct CurveSwapperSwapPoolParam _param
claimYield(address _to
deposit(struct IVaultDepositParams _paramsreturns (uint256[] depositIds)
depositForGroupId(uint256 _groupIdstruct IVaultDepositParams _paramsreturns (uint256[] depositIds)
exitPause(
exitUnpause(
forceWithdraw(address _touint256[] _ids
grantRole(bytes32 roleaddress account
partialUnsponsor(address _touint256[] _idsuint256[] _amounts
partialWithdraw(address _touint256[] _idsuint256[] _amounts
pause(
removePool(address _inputToken
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setImmediateInvestLimitPct(uint16 _pct
setInvestPct(uint16 _investPct
setLossTolerancePct(uint16 _pct
setMinLockPeriod(uint64 _minLockPeriod
setPerfFeePct(uint16 _perfFeePct
setStrategy(address _strategy
setTreasury(address _treasury
sponsor(address _inputTokenuint256 _amountuint256 _lockDurationuint256 _amountOutMin
transferAdminRights(address _newAdmin
unpause(
unsponsor(address _touint256[] _ids
updateInvested(
withdraw(address _touint256[] _ids
withdrawPerformanceFee(
Events
CurveSwapPoolAdded(address indexed tokenaddress indexed poolint128 tokenIint128 underlyingI
CurveSwapPoolRemoved(address indexed token
DepositMinted(uint256 indexed iduint256 groupIduint256 amountuint256 sharesaddress indexed depositoraddress indexed claimeraddress claimerIduint64 lockedUntilbytes datastring name
DepositWithdrawn(uint256 indexed iduint256 sharesuint256 amountaddress indexed tobool burned
Disinvested(uint256 amount
ExitPaused(address account
ExitUnpaused(address account
FeeWithdrawn(uint256 amount
ImmediateInvestLimitPctUpdated(uint256 percentage
InvestPctUpdated(uint256 percentage
Invested(uint256 amount
LossTolerancePctUpdated(uint16 pct
MinLockPeriodUpdated(uint64 newMinLockPeriod
Paused(address account
PerfFeePctUpdated(uint16 pct
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Sponsored(uint256 indexed iduint256 amountaddress indexed depositoruint256 lockedUntil
StrategyUpdated(address indexed strategy
Swap(address indexed fromTokenaddress indexed toTokenuint256 fromAmountuint256 toAmount
TreasuryUpdated(address indexed treasury
Unpaused(address account
Unsponsored(uint256 indexed iduint256 amountaddress indexed tobool burned
YieldClaimed(address claimerIdaddress indexed touint256 amountuint256 burnedSharesuint256 perfFeeuint256 totalUnderlyinguint256 totalShares
Constructor
constructor(address _underlyinguint64 _minLockPerioduint16 _investPctaddress _treasuryaddress _adminuint16 _perfFeePctuint16 _lossTolerancePctstruct CurveSwapperSwapPoolParam[] _swapPoolsuint16 _immediateInvestLimitPct
Fallback and receive

This contract contains no fallback and receive objects.

Errors
StrategyAdminCannotBe0Address(
StrategyAmountZero(
StrategyCallerNotAdmin(
StrategyCallerNotKeeper(
StrategyCallerNotManager(
StrategyCallerNotSettings(
StrategyCannotTransferAdminRightsToSelf(
StrategyKeeperCannotBe0Address(
StrategyNoUnderlying(
StrategyNotEnoughShares(
StrategyNotIVault(
StrategyNotRunning(
StrategyUnderlyingCannotBe0Address(
SwapperPoolAlreadyExists(address token
SwapperPoolDoesNotExist(address token
SwapperUnderlyingIndexMismatch(address tokenaddress underlying
VaultAdminCannotBe0Address(
VaultAmountDoesNotMatchParams(
VaultAmountLocked(
VaultCallerNotAdmin(
VaultCallerNotKeeper(
VaultCallerNotSettings(
VaultCallerNotSponsor(
VaultCannotComputeSharesWithoutPrincipal(
VaultCannotDeposit0(
VaultCannotDepositWhenClaimerInDebt(
VaultCannotDepositWhenYieldNegative(
VaultCannotSponsor0(
VaultCannotTransferAdminRightsToSelf(
VaultCannotWithdrawMoreThanAvailable(
VaultCannotWithdrawWhenYieldNegative(
VaultClaimPercentageCannotBe0(
VaultClaimerCannotBe0(
VaultClaimsDontAddUp(
VaultDepositLocked(
VaultDepositNameTooShort(
VaultDestinationCannotBe0Address(
VaultInvalidImmediateInvestLimitPct(
VaultInvalidInvestPct(
VaultInvalidLockPeriod(
VaultInvalidLossTolerance(
VaultInvalidMinLockPeriod(
VaultInvalidPerformanceFee(
VaultInvalidVault(
VaultMustUseForceWithdrawToAcceptLosses(
VaultNoPerformanceFee(
VaultNoYieldToClaim(
VaultNotAllowed(
VaultNotDeposit(
VaultNotEnoughFunds(
VaultNotEnoughToRebalance(
VaultNotOwnerOfDeposit(
VaultNotSponsor(
VaultNothingToDo(
VaultSenderNotOwnerOfGroupId(
VaultStrategyHasInvestedFunds(
VaultStrategyNotSet(
VaultTreasuryCannotBe0Address(
VaultUnderlyingCannotBe0Address(