BrrrManager

Verified contract

Active on Base with 4 txns
Deployed by via 0x4d69642f at 7018495
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xeb6d77d849db04f76de8cd7156017b5db4e210ce51b9911b8fdc2458580c9db3
0xdcd8e5c802c27aa0c95fbbcb41613abbe3e95f67eeb1d62e4267c330f4c98101
0xa6df133bb84299a8d1ef298dc45175320ad1cd632d31feac9970ad32edbf0c14
0xa6f17449e73ec643deec2c6ea7161bf549fe92e58941a98841f2bb28dcd73e03

Functions
Getter at block 23166936
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
BRRR_PRECISION(view returns (uint256)
1000000000000000000
MAX_COOLDOWN_DURATION(view returns (uint256)
172800
PRICE_PRECISION(view returns (uint256)
1000000000000000000000000000000
USDP_DECIMALS(view returns (uint256)
18
aumAddition(view returns (uint256)
0
aumDeduction(view returns (uint256)
0
brrr(view returns (address)
0x9e9e0b5aa375c12f3ecccea987baf3f3f9229f4e
cooldownDuration(view returns (uint256)
0
 
getAums(view returns (uint256[])
gov(view returns (address)
0x4f6e437f7e90087f7090acfe967d77ba0b4c7444
inPrivateMode(view returns (bool)
true
shortsTracker(view returns (address)
0x83f29709dbaf3d8612d85091e75bc01b607e8238
shortsTrackerAveragePriceWeight(view returns (uint256)
0
usdp(view returns (address)
0xa8c2fecc1a59130cb931adcf2262aab2db8c3788
vault(view returns (address)
0x102b73ca761f5dfb59918f62604b54aeb2fb0b3e
Read-only
getAum(bool maximiseview returns (uint256)
getAumInUsdp(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 _minUsdpuint256 _minBrrrreturns (uint256)
addLiquidityForAccount(address _fundingAccountaddress _accountaddress _tokenuint256 _amountuint256 _minUsdpuint256 _minBrrrreturns (uint256)
removeLiquidity(address _tokenOutuint256 _brrrAmountuint256 _minOutaddress _receiverreturns (uint256)
removeLiquidityForAccount(address _accountaddress _tokenOutuint256 _brrrAmountuint256 _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 aumInUsdpuint256 brrrSupplyuint256 usdpAmountuint256 mintAmount
RemoveLiquidity(address accountaddress tokenuint256 brrrAmountuint256 aumInUsdpuint256 brrrSupplyuint256 usdpAmountuint256 amountOut
Constructor
constructor(address _vaultaddress _usdpaddress _brrraddress _shortsTrackeruint256 _cooldownDuration
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token