HighCovRatioFeePoolV2

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xeabb7112 at 6879781
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 2 additional slots
-
variable spans 48 additional slots
2 additional variables

No balances found for "HighCovRatioFeePoolV2"

No transactions found for "HighCovRatioFeePoolV2"


Functions
Getter at block 23087973
ampFactor(view returns (uint256)
0
dev(view returns (address)
0x0000000000000000000000000000000000000000
endCovRatio(view returns (uint128)
0
feeTo(view returns (address)
0x0000000000000000000000000000000000000000
getTokens(view returns (address[])
[]
 
globalEquilCovRatio(view returns (uint256 equilCovRatiouint256 invariantInUint)
haircutRate(view returns (uint256)
0
lpDividendRatio(view returns (uint256)
0
masterWombat(view returns (address)
0x0000000000000000000000000000000000000000
mintFeeThreshold(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
retentionRatio(view returns (uint256)
0
startCovRatio(view returns (uint128)
0
Read-only
addressOfAsset(address tokenview returns (address)
exchangeRate(address tokenview returns (uint256 xr)
isPaused(address tokenview returns (bool)
quoteAmountIn(address fromTokenaddress toTokenint256 toAmountview returns (uint256 amountInuint256 haircut)
quotePotentialDeposit(address tokenuint256 amountview returns (uint256 liquidityuint256 reward)
quotePotentialSwap(address fromTokenaddress toTokenint256 fromAmountview returns (uint256 potentialOutcomeuint256 haircut)
quotePotentialWithdraw(address tokenuint256 liquidityview returns (uint256 amountuint256 fee)
quotePotentialWithdrawFromOtherAsset(address fromTokenaddress toTokenuint256 liquidityview returns (uint256 amountuint256 withdrewAmount)
tipBucketBalance(address tokenview returns (uint256 balance)
State-modifying
addAsset(address tokenaddress asset
deposit(address tokenuint256 amountuint256 minimumLiquidityaddress touint256 deadlinebool shouldStakereturns (uint256 liquidity)
fillPool(address tokenuint256 amount
initialize(uint256 ampFactor_uint256 haircutRate_
mintFee(address tokenreturns (uint256 feeCollected)
pause(
pauseAsset(address token
removeAsset(address token
renounceOwnership(
setAmpFactor(uint256 ampFactor_
setCovRatioFeeParam(uint128 startCovRatio_uint128 endCovRatio_
setDev(address dev_
setFee(uint256 lpDividendRatio_uint256 retentionRatio_
setFeeTo(address feeTo_
setHaircutRate(uint256 haircutRate_
setMasterWombat(address masterWombat_
setMintFeeThreshold(uint256 mintFeeThreshold_
swap(address fromTokenaddress toTokenuint256 fromAmountuint256 minimumToAmountaddress touint256 deadlinereturns (uint256 actualToAmountuint256 haircut)
transferOwnership(address newOwner
transferTipBucket(address tokenuint256 amountaddress to
unpause(
unpauseAsset(address token
withdraw(address tokenuint256 liquidityuint256 minimumAmountaddress touint256 deadlinereturns (uint256 amount)
withdrawFromOtherAsset(address fromTokenaddress toTokenuint256 liquidityuint256 minimumAmountaddress touint256 deadlinereturns (uint256 toAmount)
Events
AssetAdded(address indexed tokenaddress indexed asset
AssetRemoved(address indexed tokenaddress indexed asset
Deposit(address indexed senderaddress tokenuint256 amountuint256 liquidityaddress indexed to
FillPool(address tokenuint256 amount
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PausedAsset(address tokenaddress account
SetAmpFactor(uint256 value
SetDev(address addr
SetFee(uint256 lpDividendRatiouint256 retentionRatio
SetFeeTo(address addr
SetHaircutRate(uint256 value
SetMasterWombat(address addr
SetMintFeeThreshold(uint256 value
Swap(address indexed senderaddress fromTokenaddress toTokenuint256 fromAmountuint256 toAmountaddress indexed to
TransferTipBucket(address tokenuint256 amountaddress to
Unpaused(address account
UnpausedAsset(address tokenaddress account
Withdraw(address indexed senderaddress tokenuint256 amountuint256 liquidityaddress indexed to
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
CORE_UNDERFLOW(
WOMBAT_AMOUNT_TOO_LOW(
WOMBAT_ASSET_ALREADY_EXIST(
WOMBAT_ASSET_ALREADY_PAUSED(
WOMBAT_ASSET_NOT_EXISTS(
WOMBAT_ASSET_NOT_PAUSED(
WOMBAT_CASH_NOT_ENOUGH(
WOMBAT_COV_RATIO_LIMIT_EXCEEDED(
WOMBAT_EXPIRED(
WOMBAT_FORBIDDEN(
WOMBAT_INVALID_VALUE(
WOMBAT_SAME_ADDRESS(
WOMBAT_ZERO_ADDRESS(
WOMBAT_ZERO_AMOUNT(
WOMBAT_ZERO_LIQUIDITY(