Vault

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xbbc49ee0 at 20045883
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot

No balances found for "Vault"

No transactions found for "Vault"


Functions
Getter at block 21264836
ADMIN_DELEGATE_ROLE(view returns (bytes32)
0xc171260023d22a25a00a2789664c9334017843b831138c8ef03cc8897e5873d7
ADMIN_ROLE(view returns (bytes32)
0xf23ec0bb4210edd5cba85afd05127efcd2fc6a781bfed49188da1081670b22d8
D9(view returns (uint256)
1000000000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR(view returns (bytes32)
0x46a52cf33029de9f84853745a87af28464c80bf0346df1b32e205fc73319f622
Q96(view returns (uint256)
79228162514264337593543950336
baseTvl(view returns (address[] tokensuint256[] amounts)
(tokens=[], amounts=[])
 
calculateStack(view returns (struct IVaultProcessWithdrawalsStack s)
configurator(view returns (address)
0x5f5bc4f8a56bdfb2be3f046812c9f7ef5fdb77c7
decimals(view returns (uint8)
18
name(view returns (string)
pendingWithdrawers(view returns (address[])
[]
pendingWithdrawersCount(view returns (uint256)
0
symbol(view returns (string)
totalSupply(view returns (uint256)
0
tvlModules(view returns (address[])
[]
underlyingTokens(view returns (address[])
[]
underlyingTvl(view returns (address[] tokensuint256[] amounts)
(tokens=[], amounts=[])
Read-only
allowance(address owneraddress spenderview returns (uint256)
analyzeRequest(struct IVaultProcessWithdrawalsStack sstruct IVaultWithdrawalRequest requestpure returns (boolbooluint256[] expectedAmounts)
balanceOf(address accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address senderview returns (bool)
isOperator(address senderview returns (bool)
isUnderlyingToken(address tokenview returns (bool isUnderlying)
pendingWithdrawers(uint256 limituint256 offsetview returns (address[] result)
requireAdmin(address senderview 
requireAtLeastOperator(address senderview 
supportsInterface(bytes4 interfaceIdview returns (bool)
withdrawalRequest(address userview returns (struct IVaultWithdrawalRequest)
State-modifying
addToken(address token
addTvlModule(address module
approve(address spenderuint256 valuereturns (bool)
cancelWithdrawalRequest(
delegateCall(address tobytes datareturns (bool successbytes response)
deposit(address touint256[] amountsuint256 minLpAmountuint256 deadlinereturns (uint256[] actualAmountsuint256 lpAmount)
emergencyWithdraw(uint256[] minAmountsuint256 deadlinereturns (uint256[] actualAmounts)
externalCall(address tobytes datareturns (bool successbytes response)
grantRole(bytes32 roleaddress account
processWithdrawals(address[] usersreturns (bool[] statuses)
registerWithdrawal(address touint256 lpAmountuint256[] minAmountsuint256 deadlineuint256 requestDeadlinebool closePrevious
removeToken(address token
removeTvlModule(address module
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
DelegateCall(address indexed tobytes databool successbytes response
Deposit(address indexed touint256[] amountsuint256 lpAmount
DepositCallback(address indexed callbackuint256[] amountsuint256 lpAmount
EmergencyWithdrawal(address indexed fromstruct IVaultWithdrawalRequest requestuint256[] amounts
ExternalCall(address indexed tobytes databool successbytes response
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenAdded(address token
TokenRemoved(address token
Transfer(address indexed fromaddress indexed touint256 value
TvlModuleAdded(address module
TvlModuleRemoved(address module
WithdrawCallback(address indexed callback
WithdrawalRequestCanceled(address indexed useraddress origin
WithdrawalRequested(address indexed fromstruct IVaultWithdrawalRequest request
WithdrawalsProcessed(address[] usersbool[] statuses
Constructor
constructor(string name_string symbol_address admin
Fallback and receive
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AddressZero(
AlreadyAdded(
Deadline(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
FailedInnerCall(
Forbidden(
InsufficientAmount(
InsufficientLpAmount(
InvalidLength(
InvalidState(
InvalidToken(
LimitOverflow(
NonZeroValue(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
ValueZero(