This contract is being backfilled. You may encounter incomplete storage history.

Cream Pool Token

Verified contract

Active on Ethereum with 1,536 txns
Deployed by via 0xd80fe91e at 11053925
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $200.84
ERC-20
--
0x45334dd301761c000ec87d6046c350a0f6d54228a2d3b93c5298fe129ad525ee
0x295f92b93b4d328983c18bddbb83b11d95bbf86da1e512e140d0cd70c7ee2dbc
0x3017986d11b2b18a0f065591e1748fe3347be9b6fb4692a29591ee501497de1f
0x8e1b3deebd076eb8c36293c16b39b50885c9d1fee9e63dd9a8cdb1363e2f617c
0x9ce2f799ba51eaf770c84d1f93009508f1abfffea44e3160b04e37ae4419c783
0x3b80df37f23aad2b33ce883627406e35a080b5d450c841f3d9822e5283bb1d89
From
0x7a1d24817a5b78674d360ea45100049628c3b4feaba53735ca283876a8629d82
0x52ba5862765136ec3bede8df1b8688c56fd45b1f3cd127aec1f4ca7e26a9bdf9
0x7b36ac0025cd523272570a4cadc6131117ddd17cb5543c1d93e7a8cf1f3f5c79
0x110a4d725f3f2f443734ed3ef552a8fafec93bcc2ed883ba82a565e0d8f3a701

Functions
Getter at block 21214130
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)
0x3bd9c0df645d22be0c34b5e7566fb316b4f3aac7
getCurrentTokens(view returns (address[] tokens)
[0x2ba592F78dB6436527729929AAf6c908497cB200, 0x87eDfFDe3E14c7a66c9b9724747a1C5696b742e6]
getFinalTokens(view returns (address[] tokens)
[0x2ba592F78dB6436527729929AAf6c908497cB200, 0x87eDfFDe3E14c7a66c9b9724747a1C5696b742e6]
getNumTokens(view returns (uint256)
2
getReservesRatio(view returns (uint256)
200000000000000000
getSwapFee(view returns (uint256)
1000000000000
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)
1793573062483873767
Read-only
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)
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_ADD_RESERVES(address indexed tokenuint256 reservesAmount
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 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.