FEGexV2

Verified contract

Active on Ethereum with 4,728 txns
Deployed by via 0xf239ecfc at 12742525
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
12 additional variables
Native
Value $1,215.46
ERC-20
--
ERC-20
--
0x97a482723153034f328b4fe903677828f518b27f65d775d857295792ad819f99
0x1d1f7bf6d2582d69a50a5684352059e84a02aed6beb2c3225a8a329a99e7233b
0x3962b1be9d25f01ed935ca95e80504b870b2929995146d2a7225600ca8b4cbe5
0x9bb4fcf4d3b151c23574d55cf561de2907465a450de1d60784cb5b44027b507d
0xe8fadb7953c03948ad6b64a35988cd7c8027245376430eb45afd0626c5727716
0xd271818a2f66c83891de3a3b6d1e7c75fe43f132b8e8b872e245c64a50430a5d
0xbe78bbeabd8fdac5e59b1b806caf67cc70a25d01defb20033c6401daee399c71
0xcb6121a81381b929aee176139ce0b84443b51d02c9f3306676dc8ecd84e7b8ad
0x407ec54281beee72618052210c6d45a8c1dc2e52bc4562fbd6d004408b87b287
0x821ce850c597e0c5130ba0ae6d4abbdd4fec3d09204d6db518894ce9dff8f2d6

Functions
Getter at block 21282124
BASE(view returns (uint256)
1000000000000000000
BPOW_PRECISION(view returns (uint256)
100000000
DEFAULT_RESERVES_RATIO(view returns (uint256)
0
EXIT_FEE(view returns (uint256)
10000000000000000
FEGstake(view returns (address)
0x0f8baa9bf4e0ebaa9111f07f8125df66166a1d9e
FSS(view returns (uint256)
25
INIT_POOL_SUPPLY(view returns (uint256)
100000000000000000000
MAX_BOUND_TOKENS(view returns (uint256)
2
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
PSS(view returns (uint256)
20
RPF(view returns (uint256)
1000
SHR(view returns (uint256)
995
SHR1(view returns (uint256)
997
SM(view returns (uint256)
10
Token(view returns (address)
0x389999216860ab8e0175387a0c90e5c52522c945
Wrap(view returns (address)
0xf786c34106762ab4eeb45a51b42a62470e9d5332
_totalSupply1(view returns (uint256)
1745661791829613878651
_totalSupply2(view returns (uint256)
742941463474824192
burn(view returns (address)
0x000000000000000000000000000000000000dead
decimals(view returns (uint8)
18
getColor(pure returns (bytes32)
0x42524f4e5a450000000000000000000000000000000000000000000000000000
getController(view returns (address)
0x4c9bc793716e8dc05d1f48d8ca8f84318ec3043c
getFinalTokens(view returns (address[] tokens)
[0x389999216860AB8E0175387A0c90E5c52522C945, 0xf786c34106762Ab4Eeb45a51B42a62470E9D5332]
getSwapFee(view returns (uint256)
2000000000000000
getTotalDenormalizedWeight(view returns (uint256)
0
live(view returns (bool)
true
name(view returns (string)
FEGexV2
pairRewardPool(view returns (address)
0x94d4ac11689c6ebba91cdc1430fc7dfa9a858753
symbol(view returns (string)
FEGfETH
totalSupply(view returns (uint256)
15300000000000000
Read-only
IsWhiteListContract(address _addyview returns (bool)
_unlockTime(addressview returns (bool setLockuint256 unlockTime)
_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 
getNormalizedWeight(address tokenview returns (uint256)
getSpotPrice(address tokenInaddress tokenOutview returns (uint256 spotPrice)
getUserLock(address usrview returns (bool lock)
isBound(address tview returns (bool)
userBalanceInternal(address _addrview returns (uint256 tokenuint256 fwrap)
whiteListContract(addressview returns (bool)
State-modifying
BUY(address touint256 minAmountOutpayable returns (uint256 tokenAmountOutuint256 spotPriceAfter)
BUYSmart(uint256 tokenAmountInuint256 minAmountOutreturns (uint256 tokenAmountOutuint256 spotPriceAfter)
PayToken(address payeeuint256 amount
PayWrap(address payeeuint256 amount
SELL(address touint256 tokenAmountInuint256 minAmountOutreturns (uint256 tokenAmountOutuint256 spotPriceAfter)
SELLSmart(uint256 tokenAmountInuint256 minAmountOutreturns (uint256 tokenAmountOutuint256 spotPriceAfter)
addBothLiquidity(uint256 poolAmountOutuint256[] maxAmountsIn
addWhiteListContract(address _addybool boolean
approve(address dstuint256 amtreturns (bool)
decreaseApproval(address dstuint256 amtreturns (bool)
deploySwap(uint256 amtoftokenuint256 amtofwrap
depositToken(uint256 amt
depositWrap(uint256 amt
emergencyLockOverride(address userbool _booluint256 _time
increaseApproval(address dstuint256 amtreturns (bool)
releaseLiquidity(
removeBothLiquidity(uint256 poolAmountInuint256[] minAmountsOut
saveLostTokens(address tokenuint256 amount
setController(address manager
setFSS(uint256 _FSS
setLockLiquidity(
setMaxSellRatio(uint256 _amount
setPSS(uint256 _PSS
setPairRewardPool(address _addy
setRPF(uint256 _RPF
setSHR(uint256 _SHRuint256 _SHR1
setStakePool(address _addy
setupWrap(
transfer(address dstuint256 amtreturns (bool)
transferFrom(address srcaddress dstuint256 amtreturns (bool)
withdrawToken(uint256 amt
withdrawWrap(uint256 amt
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 tokenAmountOut
Transfer(address indexed srcaddress indexed dstuint256 amt
Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.