FEGwETHpair

Verified contract

Active on Ethereum with 8,765 txns
Deployed by via 0xcfcbbc1b at 12151425
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
5 additional variables
ERC-20
--
ERC-20
--
0xb0bcfc8b6d7c2dceb0a6fab5e0d96d02759298db30215fda66a6dbdd9cbe1742
0x250943b0ec16b9e55953d5eefe45f6b7e8b5d2b5eeea4b3f773cf8d262c3a7cb
0xb88330ff588df57e0cf62cb6fbcaba9b10bc7d1ef5d9452ca5cec0734db70ae9
0xc44f93c00e5de7308c5bb0725b43bef0e38c014b7796947fbc5c98be0209a836
0x583d09f17ed752c2128d8f7e186c07b5a354c10cc960043e5cf4a96fa50091ce
0x03839895111692cb248c4542030addc4316bd7d9b2da4b80e348dbd67d766dfa
0x4983e4790a46f465c002b81a799ad1152d018e74353a1c968c4140d176f6dfe4
0xfbfa6644a585a97780d8ccb83e22a4d726c0915f1acdf9e244afbe033fdeccc8
0x4cc4d971a7f581bb98699c492f48004021369ece97d6fa07c3a175aebc3bc954
0x71befdc5d98ac96c99b6a207c87133914b6aa3454194c0aa02a5bad74511aabc

Functions
Getter at block 20468075
BASE(view returns (uint256)
1000000000000000000
BPOW_PRECISION(view returns (uint256)
100000000
DEFAULT_RESERVES_RATIO(view returns (uint256)
0
EXIT_FEE(view returns (uint256)
5000000000000000
FEG(view returns (address)
0x389999216860ab8e0175387a0c90e5c52522c945
FEGstake(view returns (address)
0x04788562ab11ea3a5201d579e2b3ee7a3f74f1fa
INIT_POOL_SUPPLY(view returns (uint256)
100000000000000000000
M1(view returns (uint256)
10
MAX_1_RATIO(view returns (uint256)
100000000000000000
MAX_BOUND_TOKENS(view returns (uint256)
8
MAX_BPOW_BASE(view returns (uint256)
1999999999999999999
MAX_FEE(view returns (uint256)
2000000000000000
MAX_IN_RATIO(view returns (uint256)
500000000000000000
MAX_OUT_RATIO(view returns (uint256)
333333333333333334
MAX_SELL_RATIO(view returns (uint256)
100000000000000000
MAX_TOTAL_WEIGHT(view returns (uint256)
50000000000000000000
MAX_WEIGHT(view returns (uint256)
50000000000000000000
MIN_BALANCE(view returns (uint256)
1000000
MIN_BOUND_TOKENS(view returns (uint256)
2
MIN_BPOW_BASE(view returns (uint256)
1
MIN_FEE(view returns (uint256)
2000000000000000
MIN_WEIGHT(view returns (uint256)
1000000000000000000
SM(view returns (uint256)
10
decimals(view returns (uint8)
18
fETH(view returns (address)
0xf786c34106762ab4eeb45a51b42a62470e9d5332
getColor(pure returns (bytes32)
0x42524f4e5a450000000000000000000000000000000000000000000000000000
getController(view returns (address)
0x3b30bac3c331168e40fc6338ba2295a2f3adde52
getFinalTokens(view returns (address[] tokens)
[0xf786c34106762Ab4Eeb45a51B42a62470E9D5332, 0x389999216860AB8E0175387A0c90E5c52522C945]
getSwapFee(view returns (uint256)
2000000000000000
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
isPublicSwap(view returns (bool)
true
name(view returns (string)
FEGwETHpair
pairRewardPool(view returns (address)
0x4c9bc793716e8dc05d1f48d8ca8f84318ec3043c
symbol(view returns (string)
FEGwETHLP
totalSupply(view returns (uint256)
4230000000000000
Read-only
IsWhiteListContract(address _addyview returns (bool)
_userlock(addressview returns (bool setLockuint256 unlockTime)
allowance(address srcaddress dstview returns (uint256)
balanceOf(address whomview returns (uint256)
calcInGivenOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountOutuint256 swapFeepure returns (uint256 tokenAmountInuint256 tokenInFee)
calcOutGivenIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountInuint256 swapFeepure returns (uint256 tokenAmountOutuint256 tokenInFee)
calcPoolInGivenSingleOut(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 tokenAmountOutuint256 swapFeeuint256 reservesRatiopure returns (uint256 poolAmountInuint256 reserves)
calcPoolOutGivenSingleIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 tokenAmountInuint256 swapFeeuint256 reservesRatiopure returns (uint256 poolAmountOutuint256 reserves)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 poolAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
calcSpotPrice(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 swapFeepure returns (uint256 spotPrice)
getBalance(address tokenview returns (uint256)
getDenormalizedWeight(address tokenview returns (uint256)
getNormalizedWeight(address tokenview returns (uint256)
getSpotPrice(address tokenInaddress tokenOutview returns (uint256 spotPrice)
getUserLock(address usrview returns (bool lock)
isBound(address tview returns (bool)
totalReserves(addressview returns (uint256)
whiteListContract(addressview returns (bool)
State-modifying
AddTokenInitial(address tokenuint256 balanceuint256 denorm
AddfETHInitial(address tokenuint256 balanceuint256 denorm
BUY(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutuint256 maxPricereturns (uint256 tokenAmountOutuint256 spotPriceAfter)
Launch(
RemoveLiquidityExtactAmountOut(address tokenOutuint256 tokenAmountOutuint256 maxPoolAmountInreturns (uint256 poolAmountIn)
RemoveLiquidityPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutreturns (uint256 tokenAmountOut)
SELL(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutuint256 maxPricereturns (uint256 tokenAmountOutuint256 spotPriceAfter)
addBothLiquidity(uint256 poolAmountOutuint256[] maxAmountsIn
addLiquidityFEG(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
addLiquidityfETH(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
addWhiteListContract(address _addybool boolean
approve(address dstuint256 amtreturns (bool)
claimTotalReserves(address reservesAddress
decreaseApproval(address dstuint256 amtreturns (bool)
emergencyLockOverride(address userbool _bool
increaseApproval(address dstuint256 amtreturns (bool)
rebind(address tokenuint256 balanceuint256 denorm
removeBothLiquidity(uint256 poolAmountInuint256[] minAmountsOut
saveLostTokens(address tokenuint256 amount
setController(address manager
setLockLiquidity(
setMax1SideLiquidityRatio(uint256 _amount
setMaxSellRatio(uint256 _amount
setPairRewardPool(address _addy
setStakePool(address _addy
transfer(address dstuint256 amtreturns (bool)
transferFrom(address srcaddress dstuint256 amtreturns (bool)
Events
Approval(address indexed srcaddress indexed dstuint256 amt
LOG_ADD_RESERVES(address indexed tokenuint256 reservesAmount
LOG_CALL(bytes4 indexed sigaddress indexed callerbytes data anonymous
LOG_CLAIM_RESERVES(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_EXIT(address indexed calleraddress indexed tokenOutuint256 tokenAmountOutuint256 reservesAmount
LOG_JOIN(address indexed calleraddress indexed tokenInuint256 tokenAmountInuint256 reservesAmount
LOG_SWAP(address indexed calleraddress indexed tokenInaddress indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOutuint256 reservesAmount
Transfer(address indexed srcaddress indexed dstuint256 amt
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.