JoeMerchant

Verified contract

Active on Ethereum with 4 txns
Deployed by via 0x2dfa8d6a at 18529777
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $216.76
0x18699ad4e3ad9b3ef7ad8719cf7a7f4d960ed31ff5ab21644194cf44ecdb0eea
0x451b8b7fe43915c79fd9a68c9f6b651f0f70b962b8c01a05300314111c4d7c7c
0xc8be34a2a1864d202d30638d49ed75436e95b12e051d76fd9a5117690f725524
0x3bb3bd447a1f36dfcfff2cf36ff7e4be5ed49ad3b5a590a44d52c605812a265d

Functions
Getter at block 21381705
HIGH_FEE(view returns (uint24)
10000
JOE(view returns (address)
0x76e222b07c53d28b89b0bac18602810fc22b49a8
LOW_FEE(view returns (uint24)
3000
MAX_BPS(view returns (uint256)
1000000000000000000000000000
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
canUpdateWeights(view returns (bool)
true
currentTokenCount(view returns (uint256)
1
index(view returns (address)
0xa748c41421e8be2b9ea0eefff9076c78b685e85f
lastPurchase(view returns (uint256)
1699482719
owner(view returns (address)
0xec6c369732885e4e919830c371d359c8f0126c7d
redemptionAmounts(view returns (struct JoeMerchantTokenAmount[])
[(0x76e222b07c53d28b89b0bac18602810fc22b49a8, 0)]
totalTokenCount(view returns (uint256)
1
uniswapV2Router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
uniswapV3Router(view returns (address)
0xe592427a0aece92de3edee1f18e0157c05861564
Read-only
allTokens(uint256view returns (address)
components(addressview returns (address tokenuint8 weightuint24 feeuint8 version)
hasToken(addressview returns (bool)
tokens(uint256view returns (address)
State-modifying
purchaseTokensForJoe(
redeem(uint256 amount
sellToken(address token
setCanUpdateWeights(bool _canUpdateWeights
setToken(address newIndex
transferOwnership(address newOwner
updateWeights(struct JoeMerchantIndexComponent[] newComponents
Events
IndexComponentUpdated(address indexed tokenuint8 weight
OwnershipTransferred(address indexed useraddress indexed newOwner
TokenPurchased(address indexed tokenuint256 amount
TokenRedeemed(address indexed tokenuint256 amount
Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.