GlpManager

Verified contract

Active on Base
Deployed by via 0xdd364ba8 at 2492288
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x28a877d0eef507a9670e0953b8194f3faa7c950eb81d349f573994196f42d6bc
0xa7d8d05209e7dee5877dfa50d7abbce04a5b898e96f9ff5aec71c1caa21a8f4e
0x6ec5b5723bb3de33aa337b40c189c02c4b83951d9cab235e88938e5e15affd04
0x1b924c81a225985f2deea8d69a9af19107812a57b22d4e5a1b5474ae6a858779

Functions
Getter at block 22913728
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)
60
 
getAums(view returns (uint256[])
glp(view returns (address)
0xdff36d3a84ff458fd2242d49dfedbb897e869ab4
gov(view returns (address)
0x77bc62764241a2a8e45b69cef0560fc36463b64a
inPrivateMode(view returns (bool)
true
shortsTracker(view returns (address)
0x8e5cab4e44b7626a530b258a0f52e8f554e50190
shortsTrackerAveragePriceWeight(view returns (uint256)
10000
usdg(view returns (address)
0xaec117e93f7087c277bb520b80785113d91da11b
vault(view returns (address)
0x853a8ce6b6338f5b0a14bcfc97f9d68396099c9c
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.