TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Base with 54 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 6 additional slots
0x6182…6e3f
16 additional
variables
Balances ($5,333.73)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
axlWBTC | ERC-20 | 0.029581 | $69,365.00 |
$2,051.92 | |
USDbC | ERC-20 | 1.836294K | $1.00 |
$1,836.29 | |
WETH | ERC-20 | 0.594857 | $2,430.00 |
$1,445.5 | |
WGC | ERC-20 | 200 | $0.0001 |
$0.02 | |
USA | ERC-20 | 1 | $0.00121 |
$0 | |
kurbi | ERC-20 | 0.1 | $0.000621 |
$0 | |
LIFI | ERC-20 | 119.113767K | -- | -- | |
| ERC-20 | 10K | -- | -- | |
NUNU | ERC-20 | 1.555556K | -- | -- | |
CATINB | ERC-20 | 111 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18014425 | 3 months ago | | | 0 | 0.00053894594 | |
| 18002077 | 3 months ago | | | 0 | 0.00052683319 | |
| 18001861 | 3 months ago | | | 0 | 0.00053894594 | |
| 17423125 | 3 months ago | | | 0 | 5.4070964e-7 | |
| 16829826 | 4 months ago | | | 0 | 0.00053894594 | |
| 13186118 | 7 months ago | | | 0 | 0.00054409547 | |
| 12025097 | 8 months ago | | | 0 | 0.00056814216 | |
| 11439538 | 8 months ago | | | 0 | 0.00057839175 | |
| 8031699 | a year ago | | | 0 | 0.00060723305 | |
| 7470387 | a year ago | | | 0 | 0.00057839107 |
ABI
ABI objects
Getter at block 22029881
accrualInterval() view returns (uint256)
3600
addRemoveLiquidityFee() view returns (uint256)
20000000
controller() view returns (address)
0x0000000000000000000000000000000000000000
fee() view returns (uint256 positionFee, uint256 liquidationFee, uint256 baseSwapFee, uint256 taxBasisPoint, uint256 stableCoinBaseSwapFee, uint256 stableCoinTaxBasisPoint, uint256 daoFee)
(positionFee=10000000, liquidationFee=5000000000000000000000000000000, baseSwapFee=20000000, taxBasisPoint=20000000, stableCoinBaseSwapFee=10000000, stableCoinTaxBasisPoint=10000000, daoFee=3500000000)
feeDistributor() view returns (address)
0x7502c483fb55a16cc77d1bc915e7b1a65899fcb8
getAllTranchesLength() view returns (uint256)
3
interestRate() view returns (uint256)
1000000
maintenanceMargin() view returns (uint256)
100000000
maxLeverage() view returns (uint256)
55
oracle() view returns (address)
0x6182f962db5f5bb03d07fa1e7eb1e78adba36e3f
orderManager() view returns (address)
0x74ea06b1a254449bd4217705ffd2f666f1571278
owner() view returns (address)
0x07b9c6e3342244f76e242a30ff9cc2747e643d05
poolHook() view returns (address)
0xaec128e4ea39787e75d59f01a6b72da7c1ff6b0c
totalWeight() view returns (uint256)
100000
virtualPoolValue() view returns (uint256)
3851728775010257983748091242123364
Read-only
allAssets(uint256) view returns (address)
allTranches(uint256) view returns (address)
averageShortPrices(address, address) view returns (uint256)
calcRemoveLiquidity(address _tranche, address _tokenOut, uint256 _lpAmount) view returns (uint256 outAmount, uint256 outAmountAfterFee, uint256 feeAmount)
calcSwapOutput(address _tokenIn, address _tokenOut, uint256 _amountIn) view returns (uint256 amountOut, uint256 feeAmount)
getPoolAsset(address _token) view returns (struct AssetInfo)
getPoolValue(bool _max) view returns (uint256)
getTrancheValue(address _tranche, bool _max) view returns (uint256 sum)
isAsset(address) view returns (bool)
isListed(address) view returns (bool)
isStableCoin(address) view returns (bool)
isTranche(address) view returns (bool)
maxGlobalLongSizeRatios(address) view returns (uint256)
maxGlobalShortSizes(address) view returns (uint256)
maxLiquidity(address) view returns (uint256)
poolTokens(address) view returns (uint256 feeReserve, uint256 poolBalance, uint256 lastAccrualTimestamp, uint256 borrowIndex, uint256 ___averageShortPrice)
positions(bytes32) view returns (uint256 size, uint256 collateralValue, uint256 reserveAmount, uint256 entryPrice, uint256 borrowIndex)
riskFactor(address, address) view returns (uint256)
swapExecutors(address) view returns (bool)
targetWeights(address) view returns (uint256)
totalRiskFactor(address) view returns (uint256)
trancheAssets(address, address) view returns (uint256 poolAmount, uint256 reservedAmount, uint256 guaranteedValue, uint256 totalShortSize)
tranchePositionReserves(address, bytes32) view returns (uint256)
validateToken(address _indexToken, address _collateralToken, uint8 _side, bool _isIncrease) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addLiquidity(address _tranche, address _token, uint256 _amountIn, uint256 _minLpAmount, address _to)
addToken(address _token, bool _isStableCoin)
decreasePosition(address _owner, address _indexToken, address _collateralToken, uint256 _collateralChanged, uint256 _sizeChanged, uint8 _side, address _receiver)
increasePosition(address _owner, address _indexToken, address _collateralToken, uint256 _sizeChanged, uint8 _side)
liquidatePosition(address _account, address _indexToken, address _collateralToken, uint8 _side)
rebalanceAsset(address _fromTranche, address _fromToken, uint256 _fromAmount, address _toTranche, address _toToken)
refreshVirtualPoolValue()
removeLiquidity(address _tranche, address _tokenOut, uint256 _lpAmount, uint256 _minOut, address _to)
renounceOwnership()
setDaoFee(uint256 _daoFee)
setFeeDistributor(address _feeDistributor)
setPoolHook(address _hook)
setRiskFactor(address _token, struct PoolRiskConfig[] _config)
setSwapExecutor(address _swapExecutor, bool isExecutor)
setTargetWeight(struct TokenWeight[] tokens)
spotSwap(address _tokenIn, address _tokenOut, uint256 _minOut, address _to, bytes extradata)
swap(address _tokenIn, address _tokenOut, uint256 _minOut, address _to, bytes extradata)
transferOwnership(address newOwner)
withdrawFee(address _token, address _recipient)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AddRemoveLiquidityFeeSet(uint256 value)
AssetRebalanced()
ClosePosition(bytes32 indexed key, uint256 size, uint256 collateralValue, uint256 entryPrice, uint256 entryInterestRate, uint256 reserveAmount)
DaoFeeReduced(address indexed token, uint256 amount)
DaoFeeSet(uint256 value)
DaoFeeWithdrawn(address indexed token, address recipient, uint256 amount)
DecreasePosition(bytes32 indexed key, address account, address collateralToken, address indexToken, uint256 collateralChanged, uint256 sizeChanged, uint8 side, uint256 indexPrice, struct SignedInt pnl, uint256 feeValue)
FeeDistributorSet(address indexed feeDistributor)
IncreasePosition(bytes32 indexed key, address account, address collateralToken, address indexToken, uint256 collateralValue, uint256 sizeChanged, uint8 side, uint256 indexPrice, uint256 feeValue)
Initialized(uint8 version)
InterestAccrued(address indexed token, uint256 borrowIndex)
InterestRateSet(uint256 interestRate, uint256 interval)
LiquidatePosition(bytes32 indexed key, address account, address collateralToken, address indexToken, uint8 side, uint256 size, uint256 collateralValue, uint256 reserveAmount, uint256 indexPrice, struct SignedInt pnl, uint256 feeValue)
LiquidityAdded(address indexed tranche, address indexed sender, address token, uint256 amount, uint256 lpAmount, uint256 fee)
LiquidityRemoved(address indexed tranche, address indexed sender, address token, uint256 lpAmount, uint256 amountOut, uint256 fee)
MaintenanceMarginChanged(uint256 ratio)
MaxGlobalPositionSizeSet(address indexed token, uint256 maxLongRatios, uint256 maxShortSize)
MaxLeverageChanged(uint256 maxLeverage)
MaxLiquiditySet(address token, uint256 maxLiquidity)
OracleChanged(address indexed oldOracle, address indexed newOracle)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PnLDistributed(address indexed asset, address indexed tranche, uint256 amount, bool hasProfit)
PoolControllerChanged(address controller)
PoolHookChanged(address indexed hook)
PositionFeeSet(uint256 positionFee, uint256 liquidationFee)
SetOrderManager(address indexed orderManager)
Swap(address indexed sender, address tokenIn, address tokenOut, uint256 amountIn, uint256 amountOut, uint256 fee)
SwapFeeSet(uint256 baseSwapFee, uint256 taxBasisPoint, uint256 stableCoinBaseSwapFee, uint256 stableCoinTaxBasisPoint)
TokenDelisted(address indexed token)
TokenRiskFactorUpdated(address indexed token)
TokenWeightSet(struct TokenWeight[] arg0)
TokenWhitelisted(address indexed token)
TrancheAdded(address indexed lpToken)
UpdatePosition(bytes32 indexed key, uint256 size, uint256 collateralValue, uint256 entryPrice, uint256 entryInterestRate, uint256 reserveAmount, uint256 indexPrice)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
AddLiquidityNotAllowed(address tranche, address token)
AssetNotListed(address token)
CannotDistributeToTranches(address indexToken, address collateralToken, uint256 amount, bool CannotDistributeToTranches)
DuplicateToken(address token)
FeeDistributorOnly()
InsufficientPoolAmount(address token)
InvalidLeverage(uint256 size, uint256 margin, uint256 maxLeverage)
InvalidPositionSize()
InvalidTokenPair(address index, address collateral)
InvalidTranche(address tranche)
MaxGlobalShortSizeExceeded(address token, uint256 globalShortSize)
MaxLiquidityReach()
NotApplicableForStableCoin()
OrderManagerOnly()
PositionNotExists(address owner, address indexToken, address collateralToken, uint8 side)
PositionNotLiquidated(bytes32 key)
RequireAllTokens()
ReserveReduceTooMuch(address token)
SameTokenSwap(address token)
SlippageExceeded()
TooManyTokenAdded(uint256 number, uint256 max)
UnknownToken(address token)
UpdateCauseLiquidation()
ValueTooHigh(uint256 maxValue)
ZeroAddress()
ZeroAmount()