This contract is being backfilled. You may encounter incomplete storage history.

TransparentUpgradeableProxy

Verified contract

Proxy

Active on Base with 1,135 txns
Deployed by via 0xd889ae88 at 2492098
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
55 additional variables
ERC-20
Value $0
0x8f1f210480ba2b43d8ee92f1c10d081e55ae74ccf0fefa86d29536e42932060e
0x060d383ddc5c34595118282b8ca1900029dc8199fc7d3255230ec61b50565f20
0xc3502d9dc0b2bf10731f1515d21f8a603572996f67ca0d3f5483985698d7e6eb
0xd07240e074845d46542133b188508d4f9448b9baad36e5078e41e9f769c07b9a
0x4474fd1cdbc8640f3f0fefd54e70c7f4595d8c0d86b1ac34f1cf4551232b7212
0x420190ccd4691557a3695a6f5c949e9f42c1f0be2e9861c71b16730b66dae4e7
0x5ba1fe1a15f52facb1d39e285cdde90090be7f99a48907fe4a4daa8e57ffff34
0x9a3a14e0c602d7af039bc92526dc9e5162c1591aaef272183fe4a51607a70c3a
0xf0df02c59ccaf970f3b491121dbbd8be5fe5b98346faa73f3c5a8312c03d3df6
0xb6f9c12850c0c188ffec6861d84b3ff79c27cc71e9d72e25190d35a992b68bd4

Functions
Getter at block 22934698
basisFundingRateFactor(view returns (uint256)
10000
bountyPercent(view returns (uint32uint32)
(2000, 8000)
closeDeltaTime(view returns (uint256)
0
cooldownDuration(view returns (uint256)
0
defaultBorrowFeeFactor(view returns (uint256)
100
defaultMaxOpenInterestPerUser(view returns (uint256)
10000000000000000000000000000000000000000000000
defaultMaxProfitPercent(view returns (uint256)
2000
executionGasUnits(view returns (uint256)
750000
expiryDuration(view returns (uint256)
60
feeManager(view returns (address)
0x242407a9e444e08623ebb83676cf77307b5cc42f
feeRewardBasisPoints(view returns (uint256)
30000
liquidateVault(view returns (address)
0x361a5f8fa6860b5f5c021a5dd370c1180010a561
liquidationPendingTime(view returns (uint256)
10
marketOrderGasFee(view returns (uint256)
200000000000000
maxFundingRate(view returns (uint256)
300000000000
maxTotalOpenInterest(view returns (uint256)
1
maxTotalVlp(view returns (uint256)
20000000000000000000000000000000000000
maxTriggerPerPosition(view returns (uint256)
10
minCollateral(view returns (uint256)
20000000000000000000000000000000
operators(view returns (address)
0x23fc7c88402fe3314d4e76ac42f4c5a3e01ae684
positionVault(view returns (address)
0x8b97e18ee706d056a5659947a717a7971003f524
priceMovementPercent(view returns (uint256)
50
selfExecuteCooldown(view returns (uint256)
60
tokenFarm(view returns (address)
0x00b01710c2098b883c4f93dd093be8cf605a7bde
totalOpenInterest(view returns (uint256)
200001232535857640000000000000000
triggerGasFee(view returns (uint256)
200000000000000
vusd(view returns (address)
0xaa0b397b0896a864714de56aa33e3df471229268
withdrawalExecutionDelay(view returns (uint256)
1
Read-only
aTokens(addressview returns (address)
borrowFeeFactor(uint256view returns (uint256)
borrowFeeFactorPerAssetPerSide(uint256boolview returns (uint256)
checkBanList(address _addrview returns (bool)
checkDelegation(address _masteraddress _delegateview returns (bool)
deductFeePercent(addressview returns (uint256)
depositFee(addressview returns (uint256)
fundingIndex(uint256view returns (int256)
fundingRateFactor(uint256view returns (uint256)
fundingRateVelocityFactors(uint256view returns (uint256)
getBorrowFee(uint256 _borrowedSizeuint256 _lastIncreasedTimeuint256 _tokenIdbool _isLongview returns (uint256)
getBorrowRate(uint256 _tokenIdbool _isLongview returns (uint256)
getDelegates(address _masterview returns (address[])
getFundingFee(uint256 _tokenIdbool _isLonguint256 _sizeint256 _fundingIndexview returns (int256)
getFundingRate(uint256 _tokenIdview returns (int256)
getFundingRateVelocity(uint256 _tokenIdview returns (int256)
getLatestFundingIndex(uint256 _tokenIdview returns (int256)
getPnl(uint256 _tokenIdbool _isLonguint256 _sizeuint256 _averagePriceuint256 _lastPriceuint256 _lastIncreasedTimeuint256 _accruedBorrowFeeint256 _fundingIndexview returns (int256 pnlint256 fundingFeeint256 borrowFee)
getPriceWithSlippage(uint256 _tokenIdbool _isLonguint256 _sizeuint256 _priceview returns (uint256)
getReferFee(address _referview returns (uint256)
getReferFeeAndTraderRebate(address _referview returns (uint256 referFeeuint256 traderRebate)
getSlippage(uint256 _slippageFactoruint256 _sizeview returns (uint256)
getTempMaxFundingRate(uint256 _tokenIdview returns (uint256)
getTraderRebate(address _referview returns (uint256)
getTradingFee(address _accountuint256 _tokenIdbool _isLonguint256 _sizeDeltaview returns (uint256)
getUndiscountedTradingFee(uint256 _tokenIdbool _isLonguint256 _sizeDeltaview returns (uint256)
globalDelegates(addressview returns (bool)
isAaveSupplyEnabled(addressview returns (bool)
isDecreasingPositionDisabled(uint256view returns (bool)
isDeposit(addressview returns (bool)
isIncreasingPositionDisabled(uint256view returns (bool)
isStakingEnabled(addressview returns (bool)
isUnstakingEnabled(addressview returns (bool)
isWhitelistedFromCooldown(addressview returns (bool)
isWhitelistedFromTransferCooldown(addressview returns (bool)
isWhitelistedFromWithdrawCooldown(address _accountview returns (bool)
isWithdraw(addressview returns (bool)
lastFundingRates(uint256view returns (int256)
lastFundingTimes(uint256view returns (uint256)
liquidateThreshold(uint256view returns (uint256)
longBiasFactors(uint256view returns (uint256)
maxCloseProfitPercents(uint256view returns (uint256)
maxCloseProfits(uint256view returns (uint256)
maxOpenInterestPerAssetPerSide(uint256boolview returns (uint256)
maxOpenInterestPerUser(addressview returns (uint256)
maxProfitPercent(uint256view returns (uint256)
minProfitDurations(uint256view returns (uint256)
openInterestPerAssetPerSide(uint256boolview returns (uint256)
openInterestPerUser(addressview returns (uint256)
platformFees(addressview returns (uint256)
referrerTiers(addressview returns (uint256)
slippageFactor(uint256view returns (uint256)
stakingFee(addressview returns (uint256)
tempMaxFundingRateFactors(uint256view returns (uint256)
tierFees(uint256view returns (uint256)
tierRebates(uint256view returns (uint256)
tradingFee(uint256boolview returns (uint256)
unstakingFee(addressview returns (uint256)
volatilityFactors(uint256view returns (uint256)
withdrawFee(addressview returns (uint256)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addAccountsToWithdrawWhitelist(address[] _accounts
addWalletsToBanList(address[] _wallets
decreaseOpenInterest(uint256 _tokenIdaddress _senderbool _isLonguint256 _amount
delegate(address[] _delegates
increaseOpenInterest(uint256 _tokenIdaddress _senderbool _isLonguint256 _amount
initialize(address _liquidateVaultaddress _positionVaultaddress _operatorsaddress _vusdaddress _tokenFarm
initializeV2(
initializeV3(
removeAccountsFromWithdrawWhitelist(address[] _accounts
removeWalletsFromBanList(address[] _wallets
setAToken(address _stableTokenaddress _aToken
setAaveSupply(address _stableTokenbool _isAaveSupplyEnabled
setBasisFundingRateFactor(uint256 _basisFundingRateFactor
setBorrowFeeFactorPerAssetPerSide(uint256 _tokenIdbool _isLonguint256 _borrowFeeFactor
setBountyPercent(uint32 _bountyPercentFirstCalleruint32 _bountyPercentResolver
setCloseDeltaTime(uint256 _deltaTime
setCooldownDuration(uint256 _cooldownDuration
setDeductFeePercentForUser(address _accountuint256 _deductFee
setDefaultMaxOpenInterestPerUser(uint256 _maxAmount
setDefaultMaxProfitPercent(uint256 _defaultMaxProfitPercent
setDepositFee(address tokenuint256 _fee
setEnableDeposit(address _tokenbool _isEnabled
setEnableStaking(address _tokenbool _isEnabled
setEnableUnstaking(address _tokenbool _isEnabled
setEnableWithdraw(address _tokenbool _isEnabled
setExecutionGasUnits(uint256 _executionGasUnits
setExpiryDuration(uint256 _expiryDuration
setFeeManager(address _feeManager
setFeeRewardBasisPoints(uint256 _feeRewardsBasisPoints
setFundingRateFactor(uint256 _tokenIduint256 _fundingRateFactor
setFundingRateVelocityFactor(uint256 _tokenIduint256 _fundingRateVelocityFactor
setGlobalDelegates(address _delegatebool _allowed
setIsDecreasingPositionDisabled(uint256 _tokenIdbool _isDisabled
setIsIncreasingPositionDisabled(uint256 _tokenIdbool _isDisabled
setIsWhitelistedFromCooldown(address _addrbool _isWhitelisted
setIsWhitelistedFromTransferCooldown(address _addrbool _isWhitelisted
setLiquidateThreshold(uint256 _tokenIduint256 _liquidateThreshold
setLiquidationPendingTime(uint256 _liquidationPendingTime
setLongBiasFactor(uint256 _tokenIduint256 _longBiasFactor
setMarketOrderGasFee(uint256 _fee
setMaxCloseProfit(uint256 _tokenIduint256 _maxCloseProfit
setMaxCloseProfitPercent(uint256 _tokenIduint256 _maxCloseProfitPercent
setMaxFundingRate(uint256 _maxFundingRate
setMaxOpenInterestPerAsset(uint256 _tokenIduint256 _maxAmount
setMaxOpenInterestPerAssetPerSide(uint256 _tokenIdbool _isLonguint256 _maxAmount
setMaxOpenInterestPerUser(address _accountuint256 _maxAmount
setMaxProfitPercent(uint256 _tokenIduint256 _maxProfitPercent
setMaxTotalOpenInterest(uint256 _maxAmount
setMaxTotalVlp(uint256 _maxTotalVlp
setMaxTriggerPerPosition(uint256 _value
setMinCollateral(uint256 _minCollateral
setMinProfitDuration(uint256 _tokenIduint256 _minProfitDuration
setPlatformFee(address _platformuint256 _fee
setPriceMovementPercent(uint256 _priceMovementPercent
setReferrerTier(address _referreruint256 _tier
setSelfExecuteCooldown(uint256 _selfExecuteCooldown
setSlippageFactor(uint256 _tokenIduint256 _slippageFactor
setStakingFee(address tokenuint256 _fee
setTempMaxFundingRateFactor(uint256 _tokenIduint256 _tempMaxFundingRateFactor
setTierFee(uint256 _tieruint256 _fee
setTierRebate(uint256 _tieruint256 _rebate
setTradingFee(uint256 _tokenIdbool _isLonguint256 _tradingFee
setTriggerGasFee(uint256 _fee
setUnstakingFee(address tokenuint256 _fee
setVolatilityFactor(uint256 _tokenIduint256 _volatilityFactor
setWithdrawFee(address tokenuint256 _fee
setWithdrawalExecutionDelay(uint256 _withdrawalExecutionDelay
undelegate(address[] _delegates
updateFunding(uint256 _tokenId
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
DecreaseOpenInterest(uint256 indexed idbool isLonguint256 amount
GlobalDelegatesChange(address indexed delegatebool allowed
IncreaseOpenInterest(uint256 indexed idbool isLonguint256 amount
Initialized(uint8 version
SetAToken(address stableTokenaddress aToken
SetAaveSupply(address stableTokenbool isAaveSupplyEnabled
SetBasisFundingRateFactor(uint256 basisFundingRateFactor
SetBorrowFeeFactorPerAssetPerSide(uint256 tokenIdbool isLonguint256 borrowFeeFactor
SetBountyPercent(uint32 bountyPercentFirstCalleruint32 bountyPercentResolver
SetCloseDeltaTime(uint256 deltaTime
SetCooldownDuration(uint256 cooldownDuration
SetDeductFeePercent(address indexed accountuint256 deductFee
SetDefaultMaxOpenInterestPerUser(uint256 maxOIAmount
SetDefaultMaxProfitPercent(uint256 defaultMaxProfitPercent
SetDepositFee(address indexed tokenuint256 indexed fee
SetEnableAaveSupply(address indexed tokenbool isEnabled
SetEnableDeposit(address indexed tokenbool isEnabled
SetEnableStaking(address indexed tokenbool isEnabled
SetEnableUnstaking(address indexed tokenbool isEnabled
SetEnableWithdraw(address indexed tokenbool isEnabled
SetExecutionGasUnits(uint256 executionGasUnits
SetExpiryDuration(uint256 expiryDuration
SetFeeManager(address indexed feeManager
SetFeeRewardBasisPoints(uint256 feeRewardBasisPoints
SetFundingRateFactor(uint256 indexed tokenIduint256 fundingRateFactor
SetFundingRateVelocityFactor(uint256 indexed tokenIduint256 fundingRateVelocityFactor
SetIsDecreasingPositionDisabled(uint256 tokenIdbool isDisabled
SetIsIncreasingPositionDisabled(uint256 tokenIdbool isDisabled
SetIsWhitelistedFromCooldown(address addrbool isWhitelisted
SetIsWhitelistedFromTransferCooldown(address addrbool isWhitelisted
SetLiquidateThreshold(uint256 indexed tokenIduint256 newThreshold
SetLiquidationPendingTime(uint256 liquidationPendingTime
SetLongBiasFactor(uint256 indexed tokenIduint256 longBiasFactor
SetMarketOrderGasFee(uint256 indexed fee
SetMaxCloseProfit(uint256 tokenIduint256 maxCloseProfit
SetMaxCloseProfitPercent(uint256 tokenIduint256 maxCloseProfitPercent
SetMaxFundingRate(uint256 maxFundingRateFactor
SetMaxOpenInterestPerAssetPerSide(uint256 indexed tokenIdbool isLonguint256 maxOIAmount
SetMaxOpenInterestPerUser(address indexed accountuint256 maxOIAmount
SetMaxProfitPercent(uint256 tokenIduint256 maxProfitPercent
SetMaxTotalOpenInterest(uint256 maxOIAmount
SetMaxTotalVlp(uint256 maxTotalVlp
SetMaxTriggerPerPosition(uint256 value
SetMinCollateral(uint256 minCollateral
SetMinProfitDuration(uint256 tokenIduint256 minProfitDuration
SetPlatformFee(address platformuint256 fee
SetPriceMovementPercent(uint256 priceMovementPercent
SetReferrerTier(address referreruint256 tier
SetSelfExecuteCooldown(uint256 selfExecuteCooldown
SetSlippageFactor(uint256 indexed tokenIduint256 slippageFactor
SetStakingFee(address indexed tokenuint256 indexed fee
SetTempMaxFundingRateFactor(uint256 indexed tokenIduint256 tempMaxFundingRateFactor
SetTierFee(uint256 tieruint256 fee
SetTierRebate(uint256 tieruint256 rebate
SetTradingFee(uint256 indexed tokenIdbool isLonguint256 tradingFee
SetTriggerGasFee(uint256 indexed fee
SetUnstakingFee(address indexed tokenuint256 indexed fee
SetVolatilityFactor(uint256 indexed tokenIduint256 volatilityFactor
SetWithdrawFee(address indexed tokenuint256 indexed fee
SetWithdrawalExecutionDelay(uint256 withdrawalExecutionDelay
UpdateFunding(uint256 indexed tokenIdint256 fundingIndex
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.