Cream Pool Token

Verified contract

Active on Ethereum with 607 txns
Deployed by via 0x27787425 at 10828303
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $159.9
ERC-20
Value $35.54
0x051d375d59addcb124c8e12c2d27a1de9479174fa3b4e346311d61c583c72e86
0x3c62b3eeab04706aa50bab0ec01a879dd5829c8d43b2ea85997f2b64c751b47a
0x0859003afc22d5ea080724e0b0e13083a228346bd1296196ff966f3911d474d8
0xa544efd65bad911600b1ce12c5a8ad7c1459c44e7eba969a562a54ce2886714a
0xf51bc2193ef7cdfbf4454dce076ff023abd1be90f483adc7ee2fd09039784cd4
0x07c36b190fac3a9f4ec53d0308eff7976a53a8568b137f864b0e1f08b28169bf
0x4aed63ba7cd923dd3fbdcf99b5d4088596acfbd1562eaaac09831a75395ed541
0x342a11cc221c877314e6d39256c9d6dd54a2ecba49042d8dba23bb0b931f2d2c
0x2577731cdbb5f8babd3d0e1e3120708cbbe88fb67cac8915b3aa660d436f1fcf
0x47e580c56e002f16e6e7990eebc8a35c4a3665c2d4bb118595235f598ab4f23b

Functions
Getter at block 21200672
BONE(view returns (uint256)
1000000000000000000
BPOW_PRECISION(view returns (uint256)
100000000
DEFAULT_RESERVES_RATIO(view returns (uint256)
200000000000000000
EXIT_FEE(view returns (uint256)
0
INIT_POOL_SUPPLY(view returns (uint256)
100000000000000000000
MAX_BOUND_TOKENS(view returns (uint256)
8
MAX_BPOW_BASE(view returns (uint256)
1999999999999999999
MAX_FEE(view returns (uint256)
100000000000000000
MAX_IN_RATIO(view returns (uint256)
500000000000000000
MAX_OUT_RATIO(view returns (uint256)
333333333333333334
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)
1000000000000
MIN_WEIGHT(view returns (uint256)
1000000000000000000
decimals(view returns (uint8)
18
getColor(view returns (bytes32)
0x42524f4e5a450000000000000000000000000000000000000000000000000000
getController(view returns (address)
0x197939c1ca20c2b506d6811d8b6cdb3394471074
getCurrentTokens(view returns (address[] tokens)
[0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48]
getFinalTokens(view returns (address[] tokens)
[0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48]
getNumTokens(view returns (uint256)
2
getReservesRatio(view returns (uint256)
200000000000000000
getSwapFee(view returns (uint256)
2500000000000000
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
isFinalized(view returns (bool)
true
isPublicSwap(view returns (bool)
true
name(view returns (string)
Cream Pool Token
symbol(view returns (string)
CRPT
totalSupply(view returns (uint256)
77250015240655373412
Read-only
allowance(address srcaddress dstview returns (uint256)
balanceOf(address whomview returns (uint256)
calcInGivenOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcOutGivenIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
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)
calcSingleInGivenPoolOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 poolAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
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)
getSpotPriceSansFee(address tokenInaddress tokenOutview returns (uint256 spotPrice)
isBound(address tview returns (bool)
totalReserves(addressview returns (uint256)
State-modifying
approve(address dstuint256 amtreturns (bool)
bind(address tokenuint256 balanceuint256 denorm
decreaseApproval(address dstuint256 amtreturns (bool)
drainTotalReserves(address reservesAddress
exitPool(uint256 poolAmountInuint256[] minAmountsOut
exitswapExternAmountOut(address tokenOutuint256 tokenAmountOutuint256 maxPoolAmountInreturns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutreturns (uint256 tokenAmountOut)
finalize(
gulp(address token
increaseApproval(address dstuint256 amtreturns (bool)
joinPool(uint256 poolAmountOutuint256[] maxAmountsIn
joinswapExternAmountIn(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenInuint256 poolAmountOutuint256 maxAmountInreturns (uint256 tokenAmountIn)
rebind(address tokenuint256 balanceuint256 denorm
seize(address tokenuint256 amount
setController(address manager
setPublicSwap(bool public_
setReservesRatio(uint256 reservesRatio
setSwapFee(uint256 swapFee
swapExactAmountIn(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutuint256 maxPricereturns (uint256 tokenAmountOutuint256 spotPriceAfter)
swapExactAmountOut(address tokenInuint256 maxAmountInaddress tokenOutuint256 tokenAmountOutuint256 maxPricereturns (uint256 tokenAmountInuint256 spotPriceAfter)
transfer(address dstuint256 amtreturns (bool)
transferFrom(address srcaddress dstuint256 amtreturns (bool)
unbind(address token
Events
Approval(address indexed srcaddress indexed dstuint256 amt
LOG_CALL(bytes4 indexed sigaddress indexed callerbytes data anonymous
LOG_DRAIN_RESERVES(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_EXIT(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_JOIN(address indexed calleraddress indexed tokenInuint256 tokenAmountIn
LOG_SWAP(address indexed calleraddress indexed tokenInaddress indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOut
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.