Vault

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xca050061 at 16424136
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 19 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
2 additional variables

No balances found for "Vault"

No transactions found for "Vault"


Functions
Getter at block 21397167
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GUARDIAN_ROLE(view returns (bytes32)
0x8b5b16d04624687fcf0d0228f19993c9157c1ed07b41d8d430fd9100eb099fe8
HARVESTER(view returns (bytes32)
0x27e3e4d29d60af3ae6456513164bb5db737d6fc8610aa36ad458736c9efb884c
LOCK_INTERVAL(view returns (uint256)
86400
asset(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
 
detailedPrice(view returns (struct DetailedShareNumber price)
 
detailedTVL(view returns (struct DetailedShareNumber tvl)
detailedTotalSupply(view returns (struct DetailedShareNumber supply)
(0, 18)
 
getWithdrawalQueue(view returns (address[20])
governance(view returns (address)
0x0000000000000000000000000000000000000000
initialSharesPerAsset(pure returns (uint256)
10000000000
lastHarvest(view returns (uint128)
0
lockedProfit(view returns (uint256)
0
managementFee(view returns (uint256)
0
maxLockedProfit(view returns (uint128)
0
name(view returns (string)
paused(view returns (bool)
false
symbol(view returns (string)
 
totalAssets(view returns (uint256)
totalBps(view returns (uint256)
0
totalStrategyHoldings(view returns (uint256)
0
totalSupply(view returns (uint256)
0
 
vaultTVL(view returns (uint256)
withdrawalFee(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256 assets)
convertToShares(uint256 assetsview returns (uint256 shares)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsToUserview returns (uint256)
strategies(addressview returns (bool isActiveuint16 tvlBpsuint232 balance)
supportsInterface(bytes4 interfaceIdview returns (bool)
withdrawalQueue(uint256view returns (address)
State-modifying
addStrategy(address strategyuint16 tvlBps
approve(address spenderuint256 amountreturns (bool)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 assetsaddress receiverreturns (uint256)
depositIntoStrategies(uint256 amount
grantRole(bytes32 roleaddress account
harvest(address[] strategyList
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _governanceaddress vaultAssetstring _namestring _symbol
mint(uint256 sharesaddress receiverreturns (uint256)
pause(
rebalance(
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256)
removeStrategy(address strategy
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setManagementFee(uint256 feeBps
setWithdrawalFee(uint256 feeBps
setWithdrawalQueue(address[20] newQueue
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
unpause(
updateStrategyAllocations(address[] strategyListuint16[] strategyBps
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed calleraddress indexed owneruint256 assetsuint256 shares
Harvest(address indexed useraddress[] strategies
Initialized(uint8 version
Liquidation(uint256 assetsRequesteduint256 assetsLiquidated
ManagementFeeSet(uint256 oldFeeuint256 newFee
Paused(address account
Rebalance(address indexed caller
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StrategyAdded(address indexed strategy
StrategyAllocsUpdated(address[] strategyListuint16[] strategyBps
StrategyDeposit(address indexed strategyuint256 assets
StrategyRemoved(address indexed strategy
StrategyWithdrawal(address indexed strategyuint256 assetsRequesteduint256 assetsReceived
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
Withdraw(address indexed calleraddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
WithdrawalFeeSet(uint256 oldFeeuint256 newFee
WithdrawalQueueSet(address[20] newQueue
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.