CollateralTracker
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
18
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "CollateralTracker"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CollateralTracker"
ABI
ABI objects
Getter at block 21866237 decimals() view returns (uint8) name() view returns (string name) symbol() view returns (string symbol)
asset() view returns (address assetTokenAddress)
0x0000000000000000000000000000000000000000
getPoolData() view returns (uint256 poolAssets, uint256 insideAMM, int128 currentPoolUtilization)
(poolAssets=0, insideAMM=0, currentPoolUtilization=0)
totalAssets() view returns (uint256 totalManagedAssets)
0
totalSupply() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256 allowance)
balanceOf(address account) view returns (uint256 balance)
computeBonus(address account, uint256[2][] positionBalanceArray, uint256 otherTokenData, int24 twapTick, uint160 sqrtPriceX96, int128 premium) view returns (int256 bonusAmounts, uint256 tokenData)
convertToAssets(uint256 shares) view returns (uint256 assets)
convertToShares(uint256 assets) view returns (uint256 shares)
exerciseCost(int24 currentTick, int24 medianTick, uint256 positionId, uint128 positionBalance, int256 longAmounts) view returns (int256 exerciseFees)
getAccountMarginDetails(address user, int24 currentTick, uint256[2][] positionBalanceArray, int128 premiumAllPositions) view returns (uint256 tokenData)
maxDeposit(address) pure returns (uint256 maxAssets)
maxMint(address) view returns (uint256 maxShares)
maxRedeem(address owner) view returns (uint256 maxShares)
maxWithdraw(address owner) view returns (uint256 maxAssets)
previewDeposit(uint256 assets) view returns (uint256 shares)
previewMint(uint256 shares) view returns (uint256 assets)
previewRedeem(uint256 shares) view returns (uint256 assets)
previewWithdraw(uint256 assets) view returns (uint256 shares)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
delegate(address delegator, address delegatee, uint256 assets)
deposit(uint256 assets, address receiver) returns (uint256 shares)
exercise(address optionOwner, int128 longAmount, int128 shortAmount, int128 swappedAmount, int128 currentPositionPremium) returns (int128 realizedPremium)
mint(uint256 shares, address receiver) returns (uint256 assets)
multicall(bytes[] data) payable returns (bytes[] results)
redeem(uint256 shares, address receiver, address owner) returns (uint256 assets)
refund(address refunder, address refundee, int256 assets)
revoke(address delegator, address delegatee, uint256 assets)
startToken(address underlyingToken, address uniswapPool, address panopticPool)
takeCommissionAddData(uint256 tickStateCallContext, int128 longAmount, int128 shortAmount, int128 swappedAmount) returns (int128 utilization)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
updateParameters(struct CollateralTrackerParameters newParameters)
withdraw(uint256 assets, address receiver, address owner) returns (uint256 shares)
Approval(address indexed owner, address indexed spender, uint256 amount)
Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
ParametersUpdated(struct CollateralTrackerParameters newParameters)
Transfer(address indexed from, address indexed to, uint256 amount)
Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
CastingError()
CollateralTokenAlreadyInitialized()
DepositTooLarge()
ExceedsMaximumRedemption()
InvalidNotionalValue()
InvalidTick()
NotMarginCalled()
NotOwner()
NotPanopticPool()
PositionCountNotZero()
TicksNotInitializable()
TransferFailed()
UnderOverFlow()