Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
No balances found for "RouterUtil"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RouterUtil"
ABI
ABI objects
Getter at block 21217122
This contract contains no getter function objects.
Read-only
convertIBTToYTSpot(uint256 _inputIBTAmount, address _curvePool) view returns (uint256)
getPTUnderlyingUnit(address _pt) view returns (uint256)
getUnit(address _token) view returns (uint256)
previewAddLiquidity(address _curvePool, uint256[2] _amounts) view returns (uint256 minMintAmount)
previewAddLiquidityWithAsset(address _curvePool, uint256 _assets) view returns (uint256 minMintAmount)
previewAddLiquidityWithIBT(address _curvePool, uint256 _ibts) view returns (uint256 minMintAmount)
previewFlashSwapExactIBTToYT(address _curvePool, uint256 _inputIBTAmount) view returns (uint256 ytAmount, uint256 borrowedIBTAmount)
previewFlashSwapExactYTToIBT(address _curvePool, uint256 inputYTAmount) view returns (uint256, uint256)
previewFlashSwapIBTToExactYT(address _curvePool, uint256 _outputYTAmount) view returns (uint256 inputIBTAmount, uint256 borrowedIBTAmount)
previewRemoveLiquidity(address _curvePool, uint256 _lpAmount) view returns (uint256[2] minAmounts)
previewRemoveLiquidityForAsset(address _curvePool, uint256 _lpAmount) view returns (uint256 assets)
previewRemoveLiquidityForIBT(address _curvePool, uint256 _lpAmount) view returns (uint256 ibts)
previewRemoveLiquidityOneCoin(address _curvePool, uint256 _lpAmount, uint256 _i) view returns (uint256 minAmount)
spotExchangeRate(address _curvePool, uint256 _i, uint256 _j) view returns (uint256)
State-modifying
Events This contract contains no state-modifying function objects.
This contract contains no event objects.
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
InvalidTokenIndex(uint256 i, uint256 j)
MathOverflowedMulDiv()
PoolLiquidityError()
SafeCastOverflowedIntToUint(int256 value)
SafeCastOverflowedUintToInt(uint256 value)
UnsufficientAmountForFlashFee()