Controller

Verified contract

Active on Ethereum with 3,444 txns
Deployed by via 0xf1cc2985 at 13982541
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,700,212.16
ERC-20
Value $0.01
ERC-20
--
 (#491)
ERC-1555
--
 (#491)
ERC-1555
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xe9aaf512716f974dfcaa71627fe8e266b94ee3d2c3098a592746668a2f29c739
0xc1b4a7ee4abe4b1f468942b64157eb750ffd3400705a3c3200e94f73e6bc162a
0xa1f3cef26b2bd47ce0029454597033c1814d1d5980a4ae69b732a3a02b059b17
0xc2e22d2835ee4b4ea93689179eb3a7052663fd8d3940ecdedcb6663dd9ec99a0
0x7c6a844c2fdd3750339b3161e7242e30e41b780018c9dd52d10e0a4d98218566
0xe4b3f2197f133f36799db3424f0741d64e481519e96ef630b9c242b6823b953c
0xd80b39d087522a47fd10ab1d348fb97fc81d8b4ce433712aab20192515efb01a
0x9b80093b81affd2f11aea81850919ec5df16e0d52361187da5e6e87b69ad4981
0x0b4e5cbb8553daab7fde2ce877e5d696da3c020ef3174cf002a23904a53bfa91
0x17e89c7606c33729f08034c1cb3b3f0a067470bc550cde35a63572354e6b808b

Functions
Getter at block 21278338
FUNDING_PERIOD(view returns (uint256)
1512000
TWAP_PERIOD(view returns (uint32)
420
ethQuoteCurrencyPool(view returns (address)
0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8
feeRate(view returns (uint256)
0
feeRecipient(view returns (address)
0x0000000000000000000000000000000000000000
feeTier(view returns (uint24)
3000
 
getExpectedNormalizationFactor(view returns (uint256)
indexForSettlement(view returns (uint256)
243770599400000000
isShutDown(view returns (bool)
true
isSystemPaused(view returns (bool)
true
lastFundingUpdateTimestamp(view returns (uint128)
1730735327
lastPauseTime(view returns (uint256)
0
normalizationFactor(view returns (uint128)
134220908262942152
oracle(view returns (address)
0x65d66c76447ccb45daf1e8044e918fa786a483a1
owner(view returns (address)
0x609fff64429e2a275a879e5c50e415cec842c629
pausesLeft(view returns (uint256)
4
quoteCurrency(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
shortPowerPerp(view returns (address)
0xa653e22a963ff0026292cc8b67941c0ba7863a38
wPowerPerp(view returns (address)
0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b
wPowerPerpPool(view returns (address)
0x82c427adfdf2d245ec51d8046b41c4ee87f0d29c
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getDenormalizedMark(uint32 _periodview returns (uint256)
getDenormalizedMarkForFunding(uint32 _periodview returns (uint256)
getIndex(uint32 _periodview returns (uint256)
getUnscaledIndex(uint32 _periodview returns (uint256)
isVaultSafe(uint256 _vaultIdview returns (bool)
vaults(uint256view returns (address operatoruint32 NftCollateralIduint96 collateralAmountuint128 shortAmount)
State-modifying
applyFunding(
burnPowerPerpAmount(uint256 _vaultIduint256 _powerPerpAmountuint256 _withdrawAmountreturns (uint256)
burnWPowerPerpAmount(uint256 _vaultIduint256 _wPowerPerpAmountuint256 _withdrawAmount
deposit(uint256 _vaultIdpayable 
depositUniPositionToken(uint256 _vaultIduint256 _uniTokenId
donate(payable 
liquidate(uint256 _vaultIduint256 _maxDebtAmountreturns (uint256)
mintPowerPerpAmount(uint256 _vaultIduint256 _powerPerpAmountuint256 _uniTokenIdpayable returns (uint256uint256)
mintWPowerPerpAmount(uint256 _vaultIduint256 _wPowerPerpAmountuint256 _uniTokenIdpayable returns (uint256)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
pause(
redeemLong(uint256 _wPerpAmount
redeemShort(uint256 _vaultId
reduceDebt(uint256 _vaultId
reduceDebtShutdown(uint256 _vaultId
renounceOwnership(
setFeeRate(uint256 _newFeeRate
setFeeRecipient(address _newFeeRecipient
shutDown(
transferOwnership(address newOwner
unPauseAnyone(
unPauseOwner(
updateOperator(uint256 _vaultIdaddress _operator
withdraw(uint256 _vaultIduint256 _amount
withdrawUniPositionToken(uint256 _vaultId
Events
BurnShort(address senderuint256 amountuint256 vaultId
DepositCollateral(address senderuint256 vaultIduint256 amount
DepositUniPositionToken(address senderuint256 vaultIduint256 tokenId
FeeRateUpdated(uint256 oldFeeuint256 newFee
FeeRecipientUpdated(address oldFeeRecipientaddress newFeeRecipient
Liquidate(address liquidatoruint256 vaultIduint256 debtAmountuint256 collateralPaid
MintShort(address senderuint256 amountuint256 vaultId
NormalizationFactorUpdated(uint256 oldNormFactoruint256 newNormFactoruint256 lastModificationTimestampuint256 timestamp
OpenVault(address senderuint256 vaultId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(uint256 pausesLeft
RedeemLong(address senderuint256 wPowerPerpAmountuint256 payoutAmount
RedeemShort(address senderuint256 vauldIduint256 collateralAmount
ReduceDebt(address senderuint256 vaultIduint256 ethRedeemeduint256 wPowerPerpRedeemeduint256 wPowerPerpBurneduint256 wPowerPerpExcessuint256 bounty
Shutdown(uint256 indexForSettlement
UnPaused(address unpauser
UpdateOperator(address senderuint256 vaultIdaddress operator
WithdrawCollateral(address senderuint256 vaultIduint256 amount
WithdrawUniPositionToken(address senderuint256 vaultIduint256 tokenId
Constructor
constructor(address _oracleaddress _shortPowerPerpaddress _wPowerPerpaddress _wethaddress _quoteCurrencyaddress _ethQuoteCurrencyPooladdress _wPowerPerpPooladdress _uniPositionManageruint24 _feeTier
Fallback and receive
receive(
Errors

This contract contains no error objects.