CollateralTracker

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xba18b9a6 at 7805308
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CollateralTracker"

No transactions found for "CollateralTracker"


Functions
Getter at block 21866237
asset(view returns (address assetTokenAddress)
0x0000000000000000000000000000000000000000
 
decimals(view returns (uint8)
getPoolData(view returns (uint256 poolAssetsuint256 insideAMMint128 currentPoolUtilization)
(poolAssets=0, insideAMM=0, currentPoolUtilization=0)
 
name(view returns (string name)
 
symbol(view returns (string symbol)
totalAssets(view returns (uint256 totalManagedAssets)
0
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256 allowance)
balanceOf(address accountview returns (uint256 balance)
computeBonus(address accountuint256[2][] positionBalanceArrayuint256 otherTokenDataint24 twapTickuint160 sqrtPriceX96int128 premiumview returns (int256 bonusAmountsuint256 tokenData)
convertToAssets(uint256 sharesview returns (uint256 assets)
convertToShares(uint256 assetsview returns (uint256 shares)
exerciseCost(int24 currentTickint24 medianTickuint256 positionIduint128 positionBalanceint256 longAmountsview returns (int256 exerciseFees)
getAccountMarginDetails(address userint24 currentTickuint256[2][] positionBalanceArrayint128 premiumAllPositionsview returns (uint256 tokenData)
maxDeposit(addresspure returns (uint256 maxAssets)
maxMint(addressview returns (uint256 maxShares)
maxRedeem(address ownerview returns (uint256 maxShares)
maxWithdraw(address ownerview returns (uint256 maxAssets)
previewDeposit(uint256 assetsview returns (uint256 shares)
previewMint(uint256 sharesview returns (uint256 assets)
previewRedeem(uint256 sharesview returns (uint256 assets)
previewWithdraw(uint256 assetsview returns (uint256 shares)
State-modifying
approve(address spenderuint256 amountreturns (bool)
delegate(address delegatoraddress delegateeuint256 assets
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
exercise(address optionOwnerint128 longAmountint128 shortAmountint128 swappedAmountint128 currentPositionPremiumreturns (int128 realizedPremium)
mint(uint256 sharesaddress receiverreturns (uint256 assets)
multicall(bytes[] datapayable returns (bytes[] results)
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256 assets)
refund(address refunderaddress refundeeint256 assets
revoke(address delegatoraddress delegateeuint256 assets
startToken(address underlyingTokenaddress uniswapPooladdress panopticPool
takeCommissionAddData(uint256 tickStateCallContextint128 longAmountint128 shortAmountint128 swappedAmountreturns (int128 utilization)
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
updateParameters(struct CollateralTrackerParameters newParameters
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256 shares)
Events
Approval(address indexed owneraddress indexed spenderuint256 amount
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
ParametersUpdated(struct CollateralTrackerParameters newParameters
Transfer(address indexed fromaddress indexed touint256 amount
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
CastingError(
CollateralTokenAlreadyInitialized(
DepositTooLarge(
ExceedsMaximumRedemption(
InvalidNotionalValue(
InvalidTick(
NotMarginCalled(
NotOwner(
NotPanopticPool(
PositionCountNotZero(
TicksNotInitializable(
TransferFailed(
UnderOverFlow(