BCoW AMM 50AAVE-50ETH
Verified contract
Active on
Ethereum with 148 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($44,532.61)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 5.63351 | $3,956.53 |
$22,289.15 | |
AAVE | ERC-20 | 60.757865 | $366.10 |
$22,243.45 | |
0x99bc…8f37 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21360641 | 9 days ago | | | 0 | 0.0012668319 | |
| 21243338 | 25 days ago | | | 0 | 0.00034255354 | |
| 21214423 | a month ago | | | 0 | 0.0013420261 | |
| 21049569 | 2 months ago | | | 0 | 0.00019936732 | |
| 21045215 | 2 months ago | | | 0 | 0.00067275094 | |
| 21034560 | 2 months ago | | | 0 | 0.0010538034 | |
| 21020574 | 2 months ago | | | 0 | 0.00087530381 | |
| 21015386 | 2 months ago | | | 0 | 0.00091900510 | |
| 20895862 | 2 months ago | | | 0 | 0.00035033443 | |
| 20891749 | 2 months ago | | | 0 | 0.00052524539 |
ABI
ABI objects
Getter at block 21423395
APP_DATA() view returns (bytes32)
0x362e5182440b52aa8fffe70a251550fbbcbca424740fe5a14f59bf0c1b06fe1d
BONE() view returns (uint256)
1000000000000000000
BPOW_PRECISION() view returns (uint256)
100000000
EXIT_FEE() view returns (uint256)
0
FACTORY() view returns (address)
0xf76c421bab7df8548604e60deccce50477c10462
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)
999999000000000000
MAX_IN_RATIO() view returns (uint256)
500000000000000000
MAX_ORDER_DURATION() view returns (uint32)
300
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
SOLUTION_SETTLER() view returns (address)
0x9008d19f58aabd9ed0d60971565aa8510560ab41
SOLUTION_SETTLER_DOMAIN_SEPARATOR() view returns (bytes32)
0xc078f884a2676e1345748b1feace7b0abee5d00ecadb6e574dcdd109a63e8943
VAULT_RELAYER() view returns (address)
0xc92e8bdf79f0507f65a392b0ab4667716bfe0110
decimals() view returns (uint8)
18
getController() view returns (address)
0xec576a26335de1c360d2fc9a68cba6ba37af4a13
getCurrentTokens() view returns (address[])
[0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
getFinalTokens() view returns (address[])
[0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
getNumTokens() view returns (uint256)
2
getSwapFee() view returns (uint256)
999900000000000000
getTotalDenormalizedWeight() view returns (uint256)
2000000000000000000
isFinalized() view returns (bool)
true
name() view returns (string)
BCoW AMM 50AAVE-50ETH
symbol() view returns (string)
BCoW-50AAVE-50ETH
totalSupply() view returns (uint256)
3712156260536992762970
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) 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)
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)
getSpotPriceSansFee(address tokenIn, address tokenOut) view returns (uint256)
isBound(address token) view returns (bool)
isValidSignature(bytes32 orderHash, bytes signature) view returns (bytes4 magicValue)
verify(struct GPv2OrderData order) view
State-modifying
Events approve(address spender, uint256 value) returns (bool)
bind(address token, uint256 balance, uint256 denorm)
commit(bytes32 orderHash)
decreaseApproval(address spender, uint256 amount) returns (bool success)
exitPool(uint256 poolAmountIn, uint256[] minAmountsOut)
finalize()
increaseApproval(address spender, uint256 amount) returns (bool success)
joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn)
setController(address newController)
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 to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
unbind(address token)
Approval(address indexed owner, address indexed spender, uint256 value)
COWAMMPoolCreated(address indexed bCoWPool)
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)
constructor(address cowSolutionSettler, bytes32 appData, string name, string symbol)
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
AppDataDoesNotMatch()
BCoWPool_FeeMustBeZero()
BCoWPool_InvalidBalanceMarker()
BCoWPool_InvalidOperation()
BCoWPool_OrderValidityTooLong()
BCoWPool_ReceiverIsNotBCoWPool()
BNum_AddOverflow()
BNum_BPowBaseTooHigh()
BNum_BPowBaseTooLow()
BNum_DivInternal()
BNum_DivZero()
BNum_MulOverflow()
BNum_SubUnderflow()
BPool_AddressZero()
BPool_BalanceBelowMinimum()
BPool_CallerIsNotController()
BPool_FeeAboveMaximum()
BPool_FeeBelowMinimum()
BPool_InvalidPoolAmountIn()
BPool_InvalidPoolRatio()
BPool_InvalidTokenAmountIn()
BPool_InvalidTokenAmountOut()
BPool_PoolAmountInAboveMaxPoolAmountIn()
BPool_PoolAmountOutBelowMinPoolAmountOut()
BPool_PoolIsFinalized()
BPool_PoolNotFinalized()
BPool_Reentrancy()
BPool_SpotPriceAboveMaxPrice()
BPool_SpotPriceAfterBelowSpotPriceBefore()
BPool_SpotPriceBeforeAboveTokenRatio()
BPool_TokenAlreadyBound()
BPool_TokenAmountInAboveMaxAmountIn()
BPool_TokenAmountInAboveMaxRatio()
BPool_TokenAmountOutAboveMaxOut()
BPool_TokenAmountOutBelowMinAmountOut()
BPool_TokenAmountOutBelowMinOut()
BPool_TokenNotBound()
BPool_TokensAboveMaximum()
BPool_TokensBelowMinimum()
BPool_TotalWeightAboveMaximum()
BPool_WeightAboveMaximum()
BPool_WeightBelowMinimum()
CommitOutsideOfSettlement()
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
FailedInnerCall()
OrderDoesNotMatchCommitmentHash()
OrderDoesNotMatchMessageHash()
SafeERC20FailedOperation(address token)