0x23a630d24f9ff6146acf952ec6710202a745a691
Verified contract
Proxy
Active on
Ethereum with 185 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($135.08)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
OCEAN | ERC-20 | 181.975902 | $0.742285 |
$135.08 | |
WONPUF-68 | ERC-20 | 12.416849 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12661592 | 3 years ago | | | 0 | 0.0012828123 | |
| 12642575 | 3 years ago | | | 0 | 0.0019075392 | |
| 12642429 | 3 years ago | | | 0 | 0.0010565205 | |
| 12642295 | 3 years ago | | | 0 | 0.0016068917 | |
| 11701583 | 4 years ago | | | 0 | 0.025485395 | |
| 11459259 | 4 years ago | | | 0 | 0.0065717584 | |
| 11459252 | 4 years ago | | | 0 | 0.0088028167 | |
| 11433900 | 4 years ago | | | 0 | 0.0024579640 | |
| 11409711 | 4 years ago | | | 0 | 0.0052811500 | |
| 11409705 | 4 years ago | | | 0 | 0.0035892500 |
ABI
ABI objects
Getter at block 21405411
BONE() view returns (uint256)
1000000000000000000
BPOW_PRECISION() view returns (uint256)
100000000
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)
0
getController() view returns (address)
0x5c2494715cb87b4cbbcc6e0ddedf3742f40310d1
getCurrentTokens() view returns (address[] tokens)
[0x5DC0a8b93842fd2357A51F7D677DD03A2A18577c, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getFinalTokens() view returns (address[] tokens)
[0x5DC0a8b93842fd2357A51F7D677DD03A2A18577c, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getNumTokens() view returns (uint256)
2
getSwapFee() view returns (uint256)
50000000000000000
getTotalDenormalizedWeight() view returns (uint256)
10000000000000000000
isFinalized() view returns (bool)
true
isInitialized() view returns (bool)
true
isPublicSwap() view returns (bool)
true
name() view returns (string)
symbol() view returns (string)
totalSupply() view returns (uint256)
3146120488961126779
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) pure returns (uint256 poolAmountIn)
calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns (uint256 poolAmountOut)
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)
State-modifying
Events approve(address dst, uint256 amt) returns (bool)
bind(address token, uint256 balance, uint256 denorm)
decreaseApproval(address dst, uint256 amt) returns (bool)
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)
initialize(address controller, address factory, uint256 swapFee, bool publicSwap, bool finalized) 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)
setController(address manager)
setPublicSwap(bool public_)
setSwapFee(uint256 swapFee)
setup(address dataTokenAaddress, uint256 dataTokenAmount, uint256 dataTokenWeight, address baseTokenAddress, uint256 baseTokenAmount, uint256 baseTokenWeight, 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 owner, address indexed spender, uint256 value)
LOG_CALL(bytes4 indexed sig, address indexed caller, bytes data) anonymous
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 from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.