OxODexPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "OxODexPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OxODexPool"
ABI
ABI objects
Getter at block 21307216
factory() view returns (address)
0x0000000000000000000000000000000000000000
getPoolBalance() view returns (uint256)
0
getRingMaxParticipants() pure returns (uint256)
2
token() view returns (address)
0x0000000000000000000000000000000000000000
wethAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getCurrentRingIndex(uint256 amountToken) view returns (uint256)
getDiscountFeeForAmount(uint256 amount) view returns (uint256)
getFeeForAmount(uint256 amount) view returns (uint256)
getParticipant(uint256 packedData) pure returns (uint256)
getPublicKeys(uint256 amountToken, uint256 ringIndex) view returns (bytes32[2][2])
getRelayerFeeForAmount(uint256 _amount) view returns (uint256 relayerFee)
getRingHash(uint256 _amountToken, uint256 _ringIndex) view returns (bytes32)
getRingPackedData(uint256 packedData) pure returns (uint256, uint256, uint256)
getWParticipant(uint256 packedData) pure returns (uint256)
rings(uint256, uint256) view returns (uint256 amountDeposited, uint256 packedRingData, bytes32 ringHash)
ringsNumber(uint256) view returns (uint256)
State-modifying
Events deposit(uint256 _amount, uint256[4] _publicKey) payable
initialize(address _factory, address _wethAddress)
swapOnWithdrawal(address tokenOut, address router, bytes params, address recipient, uint256 relayerGasCharge, struct OxODexPoolWithdrawalData withdrawalData)
withdraw(address recipient, struct OxODexPoolWithdrawalData withdrawalData, uint256 relayerGasCharge)
Deposit(address arg0, uint256 tokenAmount, uint256 ringIndex)
Initialized(uint8 version)
Swap(address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)
Withdraw(address arg0, uint256 tokenAmount, uint256 ringIndex)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AlreadyInitialized()
NotInitialized()