TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Base with 1,135 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 48 additional slots
0x361a…a561
0x8b97…f524
0x00b0…7bde
0x23fc…e684
55 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USA | ERC-20 | 1 | $0.000614 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21598030 | a month ago | | | 0 | 0.000000606508798584 | |
| 21590226 | a month ago | | | 0 | 4.5549990e-7 | |
| 21590222 | a month ago | | | 0 | 4.5549990e-7 | |
| 21590213 | a month ago | | | 0 | 4.5549990e-7 | |
| 21590202 | a month ago | | | 0 | 4.6000980e-7 | |
| 21590199 | a month ago | | | 0 | 4.6000980e-7 | |
| 21590087 | a month ago | | | 0 | 4.9661000e-7 | |
| 21590081 | a month ago | | | 0 | 4.9661000e-7 | |
| 21590073 | a month ago | | | 0 | 6.7787000e-7 | |
| 21590070 | a month ago | | | 0 | 6.7787000e-7 |
ABI
ABI objects
Getter at block 22934698
basisFundingRateFactor() view returns (uint256)
10000
bountyPercent() view returns (uint32, uint32)
(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(address) view returns (address)
borrowFeeFactor(uint256) view returns (uint256)
borrowFeeFactorPerAssetPerSide(uint256, bool) view returns (uint256)
checkBanList(address _addr) view returns (bool)
checkDelegation(address _master, address _delegate) view returns (bool)
deductFeePercent(address) view returns (uint256)
depositFee(address) view returns (uint256)
fundingIndex(uint256) view returns (int256)
fundingRateFactor(uint256) view returns (uint256)
fundingRateVelocityFactors(uint256) view returns (uint256)
getBorrowFee(uint256 _borrowedSize, uint256 _lastIncreasedTime, uint256 _tokenId, bool _isLong) view returns (uint256)
getBorrowRate(uint256 _tokenId, bool _isLong) view returns (uint256)
getDelegates(address _master) view returns (address[])
getFundingFee(uint256 _tokenId, bool _isLong, uint256 _size, int256 _fundingIndex) view returns (int256)
getFundingRate(uint256 _tokenId) view returns (int256)
getFundingRateVelocity(uint256 _tokenId) view returns (int256)
getLatestFundingIndex(uint256 _tokenId) view returns (int256)
getPnl(uint256 _tokenId, bool _isLong, uint256 _size, uint256 _averagePrice, uint256 _lastPrice, uint256 _lastIncreasedTime, uint256 _accruedBorrowFee, int256 _fundingIndex) view returns (int256 pnl, int256 fundingFee, int256 borrowFee)
getPriceWithSlippage(uint256 _tokenId, bool _isLong, uint256 _size, uint256 _price) view returns (uint256)
getReferFee(address _refer) view returns (uint256)
getReferFeeAndTraderRebate(address _refer) view returns (uint256 referFee, uint256 traderRebate)
getSlippage(uint256 _slippageFactor, uint256 _size) view returns (uint256)
getTempMaxFundingRate(uint256 _tokenId) view returns (uint256)
getTraderRebate(address _refer) view returns (uint256)
getTradingFee(address _account, uint256 _tokenId, bool _isLong, uint256 _sizeDelta) view returns (uint256)
getUndiscountedTradingFee(uint256 _tokenId, bool _isLong, uint256 _sizeDelta) view returns (uint256)
globalDelegates(address) view returns (bool)
isAaveSupplyEnabled(address) view returns (bool)
isDecreasingPositionDisabled(uint256) view returns (bool)
isDeposit(address) view returns (bool)
isIncreasingPositionDisabled(uint256) view returns (bool)
isStakingEnabled(address) view returns (bool)
isUnstakingEnabled(address) view returns (bool)
isWhitelistedFromCooldown(address) view returns (bool)
isWhitelistedFromTransferCooldown(address) view returns (bool)
isWhitelistedFromWithdrawCooldown(address _account) view returns (bool)
isWithdraw(address) view returns (bool)
lastFundingRates(uint256) view returns (int256)
lastFundingTimes(uint256) view returns (uint256)
liquidateThreshold(uint256) view returns (uint256)
longBiasFactors(uint256) view returns (uint256)
maxCloseProfitPercents(uint256) view returns (uint256)
maxCloseProfits(uint256) view returns (uint256)
maxOpenInterestPerAssetPerSide(uint256, bool) view returns (uint256)
maxOpenInterestPerUser(address) view returns (uint256)
maxProfitPercent(uint256) view returns (uint256)
minProfitDurations(uint256) view returns (uint256)
openInterestPerAssetPerSide(uint256, bool) view returns (uint256)
openInterestPerUser(address) view returns (uint256)
platformFees(address) view returns (uint256)
referrerTiers(address) view returns (uint256)
slippageFactor(uint256) view returns (uint256)
stakingFee(address) view returns (uint256)
tempMaxFundingRateFactors(uint256) view returns (uint256)
tierFees(uint256) view returns (uint256)
tierRebates(uint256) view returns (uint256)
tradingFee(uint256, bool) view returns (uint256)
unstakingFee(address) view returns (uint256)
volatilityFactors(uint256) view returns (uint256)
withdrawFee(address) view returns (uint256)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addAccountsToWithdrawWhitelist(address[] _accounts)
addWalletsToBanList(address[] _wallets)
decreaseOpenInterest(uint256 _tokenId, address _sender, bool _isLong, uint256 _amount)
delegate(address[] _delegates)
increaseOpenInterest(uint256 _tokenId, address _sender, bool _isLong, uint256 _amount)
initialize(address _liquidateVault, address _positionVault, address _operators, address _vusd, address _tokenFarm)
initializeV2()
initializeV3()
removeAccountsFromWithdrawWhitelist(address[] _accounts)
removeWalletsFromBanList(address[] _wallets)
setAToken(address _stableToken, address _aToken)
setAaveSupply(address _stableToken, bool _isAaveSupplyEnabled)
setBasisFundingRateFactor(uint256 _basisFundingRateFactor)
setBorrowFeeFactorPerAssetPerSide(uint256 _tokenId, bool _isLong, uint256 _borrowFeeFactor)
setBountyPercent(uint32 _bountyPercentFirstCaller, uint32 _bountyPercentResolver)
setCloseDeltaTime(uint256 _deltaTime)
setCooldownDuration(uint256 _cooldownDuration)
setDeductFeePercentForUser(address _account, uint256 _deductFee)
setDefaultMaxOpenInterestPerUser(uint256 _maxAmount)
setDefaultMaxProfitPercent(uint256 _defaultMaxProfitPercent)
setDepositFee(address token, uint256 _fee)
setEnableDeposit(address _token, bool _isEnabled)
setEnableStaking(address _token, bool _isEnabled)
setEnableUnstaking(address _token, bool _isEnabled)
setEnableWithdraw(address _token, bool _isEnabled)
setExecutionGasUnits(uint256 _executionGasUnits)
setExpiryDuration(uint256 _expiryDuration)
setFeeManager(address _feeManager)
setFeeRewardBasisPoints(uint256 _feeRewardsBasisPoints)
setFundingRateFactor(uint256 _tokenId, uint256 _fundingRateFactor)
setFundingRateVelocityFactor(uint256 _tokenId, uint256 _fundingRateVelocityFactor)
setGlobalDelegates(address _delegate, bool _allowed)
setIsDecreasingPositionDisabled(uint256 _tokenId, bool _isDisabled)
setIsIncreasingPositionDisabled(uint256 _tokenId, bool _isDisabled)
setIsWhitelistedFromCooldown(address _addr, bool _isWhitelisted)
setIsWhitelistedFromTransferCooldown(address _addr, bool _isWhitelisted)
setLiquidateThreshold(uint256 _tokenId, uint256 _liquidateThreshold)
setLiquidationPendingTime(uint256 _liquidationPendingTime)
setLongBiasFactor(uint256 _tokenId, uint256 _longBiasFactor)
setMarketOrderGasFee(uint256 _fee)
setMaxCloseProfit(uint256 _tokenId, uint256 _maxCloseProfit)
setMaxCloseProfitPercent(uint256 _tokenId, uint256 _maxCloseProfitPercent)
setMaxFundingRate(uint256 _maxFundingRate)
setMaxOpenInterestPerAsset(uint256 _tokenId, uint256 _maxAmount)
setMaxOpenInterestPerAssetPerSide(uint256 _tokenId, bool _isLong, uint256 _maxAmount)
setMaxOpenInterestPerUser(address _account, uint256 _maxAmount)
setMaxProfitPercent(uint256 _tokenId, uint256 _maxProfitPercent)
setMaxTotalOpenInterest(uint256 _maxAmount)
setMaxTotalVlp(uint256 _maxTotalVlp)
setMaxTriggerPerPosition(uint256 _value)
setMinCollateral(uint256 _minCollateral)
setMinProfitDuration(uint256 _tokenId, uint256 _minProfitDuration)
setPlatformFee(address _platform, uint256 _fee)
setPriceMovementPercent(uint256 _priceMovementPercent)
setReferrerTier(address _referrer, uint256 _tier)
setSelfExecuteCooldown(uint256 _selfExecuteCooldown)
setSlippageFactor(uint256 _tokenId, uint256 _slippageFactor)
setStakingFee(address token, uint256 _fee)
setTempMaxFundingRateFactor(uint256 _tokenId, uint256 _tempMaxFundingRateFactor)
setTierFee(uint256 _tier, uint256 _fee)
setTierRebate(uint256 _tier, uint256 _rebate)
setTradingFee(uint256 _tokenId, bool _isLong, uint256 _tradingFee)
setTriggerGasFee(uint256 _fee)
setUnstakingFee(address token, uint256 _fee)
setVolatilityFactor(uint256 _tokenId, uint256 _volatilityFactor)
setWithdrawFee(address token, uint256 _fee)
setWithdrawalExecutionDelay(uint256 _withdrawalExecutionDelay)
undelegate(address[] _delegates)
updateFunding(uint256 _tokenId)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
DecreaseOpenInterest(uint256 indexed id, bool isLong, uint256 amount)
GlobalDelegatesChange(address indexed delegate, bool allowed)
IncreaseOpenInterest(uint256 indexed id, bool isLong, uint256 amount)
Initialized(uint8 version)
SetAToken(address stableToken, address aToken)
SetAaveSupply(address stableToken, bool isAaveSupplyEnabled)
SetBasisFundingRateFactor(uint256 basisFundingRateFactor)
SetBorrowFeeFactorPerAssetPerSide(uint256 tokenId, bool isLong, uint256 borrowFeeFactor)
SetBountyPercent(uint32 bountyPercentFirstCaller, uint32 bountyPercentResolver)
SetCloseDeltaTime(uint256 deltaTime)
SetCooldownDuration(uint256 cooldownDuration)
SetDeductFeePercent(address indexed account, uint256 deductFee)
SetDefaultMaxOpenInterestPerUser(uint256 maxOIAmount)
SetDefaultMaxProfitPercent(uint256 defaultMaxProfitPercent)
SetDepositFee(address indexed token, uint256 indexed fee)
SetEnableAaveSupply(address indexed token, bool isEnabled)
SetEnableDeposit(address indexed token, bool isEnabled)
SetEnableStaking(address indexed token, bool isEnabled)
SetEnableUnstaking(address indexed token, bool isEnabled)
SetEnableWithdraw(address indexed token, bool isEnabled)
SetExecutionGasUnits(uint256 executionGasUnits)
SetExpiryDuration(uint256 expiryDuration)
SetFeeManager(address indexed feeManager)
SetFeeRewardBasisPoints(uint256 feeRewardBasisPoints)
SetFundingRateFactor(uint256 indexed tokenId, uint256 fundingRateFactor)
SetFundingRateVelocityFactor(uint256 indexed tokenId, uint256 fundingRateVelocityFactor)
SetIsDecreasingPositionDisabled(uint256 tokenId, bool isDisabled)
SetIsIncreasingPositionDisabled(uint256 tokenId, bool isDisabled)
SetIsWhitelistedFromCooldown(address addr, bool isWhitelisted)
SetIsWhitelistedFromTransferCooldown(address addr, bool isWhitelisted)
SetLiquidateThreshold(uint256 indexed tokenId, uint256 newThreshold)
SetLiquidationPendingTime(uint256 liquidationPendingTime)
SetLongBiasFactor(uint256 indexed tokenId, uint256 longBiasFactor)
SetMarketOrderGasFee(uint256 indexed fee)
SetMaxCloseProfit(uint256 tokenId, uint256 maxCloseProfit)
SetMaxCloseProfitPercent(uint256 tokenId, uint256 maxCloseProfitPercent)
SetMaxFundingRate(uint256 maxFundingRateFactor)
SetMaxOpenInterestPerAssetPerSide(uint256 indexed tokenId, bool isLong, uint256 maxOIAmount)
SetMaxOpenInterestPerUser(address indexed account, uint256 maxOIAmount)
SetMaxProfitPercent(uint256 tokenId, uint256 maxProfitPercent)
SetMaxTotalOpenInterest(uint256 maxOIAmount)
SetMaxTotalVlp(uint256 maxTotalVlp)
SetMaxTriggerPerPosition(uint256 value)
SetMinCollateral(uint256 minCollateral)
SetMinProfitDuration(uint256 tokenId, uint256 minProfitDuration)
SetPlatformFee(address platform, uint256 fee)
SetPriceMovementPercent(uint256 priceMovementPercent)
SetReferrerTier(address referrer, uint256 tier)
SetSelfExecuteCooldown(uint256 selfExecuteCooldown)
SetSlippageFactor(uint256 indexed tokenId, uint256 slippageFactor)
SetStakingFee(address indexed token, uint256 indexed fee)
SetTempMaxFundingRateFactor(uint256 indexed tokenId, uint256 tempMaxFundingRateFactor)
SetTierFee(uint256 tier, uint256 fee)
SetTierRebate(uint256 tier, uint256 rebate)
SetTradingFee(uint256 indexed tokenId, bool isLong, uint256 tradingFee)
SetTriggerGasFee(uint256 indexed fee)
SetUnstakingFee(address indexed token, uint256 indexed fee)
SetVolatilityFactor(uint256 indexed tokenId, uint256 volatilityFactor)
SetWithdrawFee(address indexed token, uint256 indexed fee)
SetWithdrawalExecutionDelay(uint256 withdrawalExecutionDelay)
UpdateFunding(uint256 indexed tokenId, int256 fundingIndex)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.