AllPairVault
Verified contract
Active on
Ethereum with 2,200 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "AllPairVault"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20883314 | a month ago | | | 0 | 0.00054340368 | |
| 17555430 | a year ago | | | 0 | 0.0018809203 | |
| 16516667 | 2 years ago | | | 0 | 0.0021077498 | |
| 16382440 | 2 years ago | | | 0 | 0.0027077765 | |
| 16333497 | 2 years ago | | | 0 | 0.0020276850 | |
| 16260648 | 2 years ago | | | 0 | 0.00095850000 | |
| 16260632 | 2 years ago | | | 0 | 0.00095835600 | |
| 16209214 | 2 years ago | | | 0 | 0.0018589726 | |
| 16171288 | 2 years ago | | | 0 | 0.0027743754 | |
| 16055186 | 2 years ago | | | 0 | 0.0017209146 |
ABI
ABI objects
Getter at block 21162878
denominator() view returns (uint256)
10000
paused() view returns (bool)
false
performanceFeeCollector() view returns (address)
0x0000000000000000000000000000000000000000
registry() view returns (address)
0xf69c52bf2cf76250647c0bb5390d4ba8854a1d4a
trancheTokenImpl() view returns (address)
0xb279d1ed3848cee8ba6dba426be620a289ccef10
Read-only
VaultsByTokens(address) view returns (uint256)
canDeposit(uint256 _vaultId) view returns (bool)
getDepositLp(uint256 _vaultId, uint256 _lpTokens) view returns (uint256 seniorTokensOwed, uint256 juniorTokensOwed, address pool)
getState(uint256 _vaultId) view returns (uint8)
getVaultById(uint256 _vaultId) view returns (struct IPairVaultVaultView vault)
getVaultByToken(address _trancheToken) view returns (struct IPairVaultVaultView)
getVaults(uint256 _from, uint256 _to) view returns (struct IPairVaultVaultView[] vaults)
getWithdrawLp(uint256 _vaultId, uint256 _shares) view returns (uint256 seniorTokensNeeded, uint256 juniorTokensNeeded)
seniorExpected(uint256 _vaultId) view returns (uint256)
vaultInvestor(uint256 _vaultId, uint8 _tranche) view returns (uint256 position, uint256 claimableBalance, uint256 withdrawableExcess, uint256 withdrawableBalance)
State-modifying
Events claim(uint256 _vaultId, uint8 _tranche) returns (uint256, uint256)
claimETH(uint256 _vaultId, uint8 _tranche) returns (uint256 invested, uint256 excess)
createVault(struct OLibVaultParams _params) returns (uint256 vaultId)
deposit(uint256 _vaultId, uint8 _tranche, uint256 _amount)
depositETH(uint256 _vaultId, uint8 _tranche) payable
depositFromRollover(uint256 _vaultId, uint256 _rolloverId, uint256 _seniorAmount, uint256 _juniorAmount)
depositLp(uint256 _vaultId, uint256 _lpTokens) returns (uint256 seniorTokensOwed, uint256 juniorTokensOwed)
excall(address target, bytes data) returns (bytes returnData)
invest(uint256 _vaultId, uint256 _seniorMinIn, uint256 _juniorMinIn) returns (uint256, uint256)
pause()
redeem(uint256 _vaultId, uint256 _seniorMinReceived, uint256 _juniorMinReceived) returns (uint256, uint256)
rescueTokens(address[] _tokens, uint256[] _amounts)
rolloverClaim(uint256 _vaultId, uint256 _rolloverId) returns (uint256 srRollInv, uint256 jrRollInv)
setPerformanceFee(uint256 _vaultId, uint256 _performanceFee)
setPerformanceFeeCollector(address _collector)
setRollover(uint256 _vaultId, address _rollover, uint256 _rolloverId)
unpause()
withdraw(uint256 _vaultId, uint8 _tranche) returns (uint256)
withdrawETH(uint256 _vaultId, uint8 _tranche) returns (uint256 amount)
withdrawLp(uint256 _vaultId, uint256 _shares) returns (uint256 seniorTokensNeeded, uint256 juniorTokensNeeded)
Claimed(address indexed depositor, uint256 indexed vaultId, uint256 indexed trancheId, uint256 shares, uint256 excess)
CreatedPair(uint256 indexed vaultId, address indexed seniorAsset, address indexed juniorAsset, address seniorToken, address juniorToken)
Deposited(address indexed depositor, uint256 indexed vaultId, uint256 indexed trancheId, uint256 amount)
DepositedLP(address indexed depositor, uint256 indexed vaultId, uint256 amount, uint256 senior, uint256 junior)
Invested(uint256 indexed vaultId, uint256 seniorAmount, uint256 juniorAmount)
Paused(address account)
Redeemed(uint256 indexed vaultId, uint256 seniorReceived, uint256 juniorReceived)
RolloverClaimed(address indexed rollover, uint256 indexed rolloverId, uint256 indexed vaultId, uint256 seniorAmount, uint256 juniorAmount)
RolloverDeposited(address indexed rollover, uint256 indexed rolloverId, uint256 indexed vaultId, uint256 seniorAmount, uint256 juniorAmount)
SetRollover(address indexed rollover, uint256 indexed rolloverId, uint256 indexed vaultId)
Unpaused(address account)
Withdrew(address indexed depositor, uint256 indexed vaultId, uint256 indexed trancheId, uint256 amount)
WithdrewLP(address indexed depositor, uint256 amount)
constructor(address _registry, address _trancheTokenImpl)
receive()
This contract contains no error objects.