0 txs
0 calls
constructor
No constructor.
functions
ADMIN_ROLE_HASH
viewfunction ADMIN_ROLE_HASH() view returns (bytes32)
allowance
viewfunction allowance(address owner, address spender) view returns (uint256)
balanceOf
viewfunction balanceOf(address account) view returns (uint256)
configManager
viewfunction configManager() view returns (address)
decimals
viewfunction decimals() view returns (uint8)
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
DOMAIN_SEPARATOR
viewfunction DOMAIN_SEPARATOR() view returns (bytes32)
eip712Domain
viewfunction eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
getInventory
viewfunction getInventory() view returns (tuple[] assets)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
getTotalValue
viewfunction getTotalValue() view returns (uint256 totalValue)
getVaultConfig
viewfunction getVaultConfig() view returns (bool isAllowDeposit, uint8 rangeStrategyType, uint8 tvlStrategyType, address principalToken, address[] supportedAddresses)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
name
viewfunction name() view returns (string)
nonces
viewfunction nonces(address owner) view returns (uint256)
SHARES_PRECISION
viewfunction SHARES_PRECISION() view returns (uint256)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
symbol
viewfunction symbol() view returns (string)
totalSupply
viewfunction totalSupply() view returns (uint256)
vaultFactory
viewfunction vaultFactory() view returns (address)
vaultOwner
viewfunction vaultOwner() view returns (address)
WETH
viewfunction WETH() view returns (address)
WITHDRAWAL_FEE
viewfunction WITHDRAWAL_FEE() view returns (uint16)
allocate
nonpayablefunction allocate(tuple[] inputAssets, address strategy, uint64 gasFeeX64, bytes data)
allowDeposit
nonpayablefunction allowDeposit(tuple _config)
approve
nonpayablefunction approve(address spender, uint256 value) returns (bool)
deposit
payablefunction deposit(uint256 principalAmount, uint256 minShares) payable returns (uint256 shares)
grantAdminRole
nonpayablefunction grantAdminRole(address _address)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
harvest
nonpayablefunction harvest(tuple asset, uint256 amountTokenOutMin)
initialize
nonpayablefunction initialize(tuple params, address _owner, address _configManager, address _weth)
onERC1155BatchReceived
nonpayablefunction onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received
nonpayablefunction onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
onERC721Received
nonpayablefunction onERC721Received(address, address, uint256, bytes) returns (bytes4)
permit
nonpayablefunction permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokeAdminRole
nonpayablefunction revokeAdminRole(address _address)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
sweepERC1155
nonpayablefunction sweepERC1155(address[] _tokens, uint256[] _tokenIds, uint256[] _amounts)
sweepERC721
nonpayablefunction sweepERC721(address[] _tokens, uint256[] _tokenIds)
sweepToken
nonpayablefunction sweepToken(address[] tokens)
transfer
nonpayablefunction transfer(address to, uint256 value) returns (bool)
transferFrom
nonpayablefunction transferFrom(address from, address to, uint256 value) returns (bool)
withdraw
nonpayablefunction withdraw(uint256 shares, bool unwrap, uint256 minReturnAmount)
events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
EIP712DomainChanged
event EIP712DomainChanged()
Initialized
event Initialized(uint64 version)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetVaultConfig
event SetVaultConfig(address indexed vaultFactory, (bool allowDeposit, uint8 rangeStrategyType, uint8 tvlStrategyType, address principalToken, address[] supportedAddresses) config)
SweepERC1155
event SweepERC1155(address[] _tokens, uint256[] _tokenIds, uint256[] _amounts)
SweepERC721
event SweepERC721(address[] _tokens, uint256[] _tokenIds)
SweepToken
event SweepToken(address[] tokens)
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
VaultAllocate
event VaultAllocate(address indexed vaultFactory, (uint8 assetType, address strategy, address token, uint256 tokenId, uint256 amount)[] inputAssets, address strategy, (uint8 assetType, address strategy, address token, uint256 tokenId, uint256 amount)[] newAssets)
VaultDeposit
event VaultDeposit(address indexed vaultFactory, address indexed account, uint256 principalAmount, uint256 shares)
VaultHarvest
event VaultHarvest(address indexed vaultFactory, (uint8 assetType, address strategy, address token, uint256 tokenId, uint256 amount)[] harvestedAssets)
VaultWithdraw
event VaultWithdraw(address indexed vaultFactory, address indexed account, uint256 principalAmount, uint256 shares)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AssetNotFound
error AssetNotFound()
DepositNotAllowed
error DepositNotAllowed()
ECDSAInvalidSignature
error ECDSAInvalidSignature()
ECDSAInvalidSignatureLength
error ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS
error ECDSAInvalidSignatureS(bytes32 s)
ERC20InsufficientAllowance
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover
error ERC20InvalidApprover(address approver)
ERC20InvalidReceiver
error ERC20InvalidReceiver(address receiver)
ERC20InvalidSender
error ERC20InvalidSender(address sender)
ERC20InvalidSpender
error ERC20InvalidSpender(address spender)
ERC2612ExpiredSignature
error ERC2612ExpiredSignature(uint256 deadline)
ERC2612InvalidSigner
error ERC2612InvalidSigner(address signer, address owner)
ExceedMaxAllocatePerBlock
error ExceedMaxAllocatePerBlock()
FailedToSendEther
error FailedToSendEther()
InsufficientReturnAmount
error InsufficientReturnAmount()
InsufficientShares
error InsufficientShares()
InvalidAccountNonce
error InvalidAccountNonce(address account, uint256 currentNonce)
InvalidAssetAmount
error InvalidAssetAmount()
InvalidAssetStrategy
error InvalidAssetStrategy()
InvalidAssetToken
error InvalidAssetToken()
InvalidAssetTokenId
error InvalidAssetTokenId()
InvalidAssetType
error InvalidAssetType()
InvalidFeeConfig
error InvalidFeeConfig()
InvalidInitialization
error InvalidInitialization()
InvalidInstructionType
error InvalidInstructionType()
InvalidShares
error InvalidShares()
InvalidSigner
error InvalidSigner()
InvalidStrategy
error InvalidStrategy()
InvalidSwapRouter
error InvalidSwapRouter()
InvalidSweepAsset
error InvalidSweepAsset()
InvalidVaultConfig
error InvalidVaultConfig()
InvalidWETH
error InvalidWETH()
MaxPositionsReached
error MaxPositionsReached()
NotInitializing
error NotInitializing()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
SignatureExpired
error SignatureExpired()
TransferFailed
error TransferFailed()
Unauthorized
error Unauthorized()
VaultPaused
error VaultPaused()
ZeroAddress
error ZeroAddress()
creation bytecode
0x3d602d80600a3d3981f3363d3d373d3d3d363d73d9eb6c174f779a7e08430bdeda468e0de75032b65af43d82803e903d91602b57fd5bf3