Cream Pool Token
Verified contract
Active on
Ethereum with 9,474 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($5,303.48)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 2.689742K | $1.00 |
$2,689.74 | |
CREAM | ERC-20 | 151.696737 | $17.23 |
$2,613.73 | |
TOMATOS | ERC-20 | 9.999 | -- | -- | |
COW | ERC-20 | 1.008 | -- | -- | |
0x2534…8e24 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20721447 | 2 months ago | | | 0 | 0.00014365983 | |
| 20500143 | 3 months ago | | | 0 | 0.000044973072 | |
| 20141917 | 5 months ago | | | 0 | 0.00010925813 | |
| 19833572 | 6 months ago | | | 0 | 0.0012004116 | |
| 19831024 | 6 months ago | | | 0 | 0.00065373652 | |
| 19675347 | 7 months ago | | | 0 | 0.0047967972 | |
| 19657312 | 7 months ago | | | 0 | 0.00019560375 | |
| 18907828 | a year ago | | | 0 | 0.00027295836 | |
| 18559941 | a year ago | | | 0 | 0.00070776740 | |
| 18484296 | a year ago | | | 0 | 0.0050175469 |
ABI
ABI objects
Getter at block 21249368
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)
[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x2ba592F78dB6436527729929AAf6c908497cB200]
getFinalTokens() view returns (address[] tokens)
[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x2ba592F78dB6436527729929AAf6c908497cB200]
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)
4661811045828388086888
Read-only
allowance(address src, address dst) view returns (uint256)
balanceOf(address whom) view returns (uint256)
calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns (uint256 tokenAmountIn)
calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns (uint256 tokenAmountOut)
calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee, uint256 reservesRatio) pure returns (uint256 poolAmountIn, uint256 reserves)
calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee, uint256 reservesRatio) pure returns (uint256 poolAmountOut, uint256 reserves)
calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns (uint256 tokenAmountIn)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns (uint256 tokenAmountOut)
calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns (uint256 spotPrice)
getBalance(address token) view returns (uint256)
getDenormalizedWeight(address token) view returns (uint256)
getNormalizedWeight(address token) view returns (uint256)
getSpotPrice(address tokenIn, address tokenOut) view returns (uint256 spotPrice)
getSpotPriceSansFee(address tokenIn, address tokenOut) view returns (uint256 spotPrice)
isBound(address t) view returns (bool)
totalReserves(address) view returns (uint256)
State-modifying
Events approve(address dst, uint256 amt) returns (bool)
bind(address token, uint256 balance, uint256 denorm)
decreaseApproval(address dst, uint256 amt) returns (bool)
drainTotalReserves(address reservesAddress)
exitPool(uint256 poolAmountIn, uint256[] minAmountsOut)
exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns (uint256 tokenAmountOut)
finalize()
gulp(address token)
increaseApproval(address dst, uint256 amt) returns (bool)
joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn)
joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns (uint256 tokenAmountIn)
rebind(address token, uint256 balance, uint256 denorm)
seize(address token, uint256 amount)
setController(address manager)
setPublicSwap(bool public_)
setReservesRatio(uint256 reservesRatio)
setSwapFee(uint256 swapFee)
swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns (uint256 tokenAmountOut, uint256 spotPriceAfter)
swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns (uint256 tokenAmountIn, uint256 spotPriceAfter)
transfer(address dst, uint256 amt) returns (bool)
transferFrom(address src, address dst, uint256 amt) returns (bool)
unbind(address token)
Approval(address indexed src, address indexed dst, uint256 amt)
LOG_CALL(bytes4 indexed sig, address indexed caller, bytes data) anonymous
LOG_DRAIN_RESERVES(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)
LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)
LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)
LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)
Transfer(address indexed src, address indexed dst, uint256 amt)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.