NlpManager

Verified contract

Active on Base with 3 txns
Deployed by via 0x5b60579a at 3213953
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x929e9f095c050b09d55edd737896e451062ef496f1f7916c897260e918a26cea
0x9e89d5be97dbc807cd1ef0f84889bdcff230369ce82dfe4fcb70049f69c2c4df
0x991e8b544cc863b250ba96ce91fa1b780e42d159f9146b4fb1997b7294e91202

Functions
Getter at block 21833818
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
GLP_PRECISION(view returns (uint256)
1000000000000000000
MAX_COOLDOWN_DURATION(view returns (uint256)
172800
PRICE_PRECISION(view returns (uint256)
1000000000000000000000000000000
USDG_DECIMALS(view returns (uint256)
18
aumAddition(view returns (uint256)
0
aumDeduction(view returns (uint256)
0
cooldownDuration(view returns (uint256)
0
 
getAums(view returns (uint256[])
glp(view returns (address)
0x74460ee587cb53aebb0386aa96f68be173d98a50
gov(view returns (address)
0xe89194dc902fa6909e3b539c6ba90fe44dcc0c0a
inPrivateMode(view returns (bool)
true
shortsTracker(view returns (address)
0x34ee6e2056a3905dd66f9236a76d0e7785fe1dc5
shortsTrackerAveragePriceWeight(view returns (uint256)
0
usdg(view returns (address)
0x9410fef607af03d550bcaeee905b860fdda7a30e
vault(view returns (address)
0xad378c374f7996235e927e693edea32605c0a61f
Read-only
getAum(bool maximiseview returns (uint256)
getAumInUsdg(bool maximiseview returns (uint256)
getGlobalShortAveragePrice(address _tokenview returns (uint256)
getGlobalShortDelta(address _tokenuint256 _priceuint256 _sizeview returns (uint256bool)
getPrice(bool _maximiseview returns (uint256)
isHandler(addressview returns (bool)
lastAddedAt(addressview returns (uint256)
State-modifying
addLiquidity(address _tokenuint256 _amountuint256 _minUsdguint256 _minGlpreturns (uint256)
addLiquidityForAccount(address _fundingAccountaddress _accountaddress _tokenuint256 _amountuint256 _minUsdguint256 _minGlpreturns (uint256)
removeLiquidity(address _tokenOutuint256 _glpAmountuint256 _minOutaddress _receiverreturns (uint256)
removeLiquidityForAccount(address _accountaddress _tokenOutuint256 _glpAmountuint256 _minOutaddress _receiverreturns (uint256)
setAumAdjustment(uint256 _aumAdditionuint256 _aumDeduction
setCooldownDuration(uint256 _cooldownDuration
setGov(address _gov
setHandler(address _handlerbool _isActive
setInPrivateMode(bool _inPrivateMode
setShortsTracker(address _shortsTracker
setShortsTrackerAveragePriceWeight(uint256 _shortsTrackerAveragePriceWeight
Events
AddLiquidity(address accountaddress tokenuint256 amountuint256 aumInUsdguint256 glpSupplyuint256 usdgAmountuint256 mintAmount
RemoveLiquidity(address accountaddress tokenuint256 glpAmountuint256 aumInUsdguint256 glpSupplyuint256 usdgAmountuint256 amountOut
Constructor
constructor(address _vaultaddress _usdgaddress _glpaddress _shortsTrackeruint256 _cooldownDuration
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.