OxODexPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x24a1a5df at 17366596
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "OxODexPool"

No transactions found for "OxODexPool"


Functions
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 amountTokenview returns (uint256)
getDiscountFeeForAmount(uint256 amountview returns (uint256)
getFeeForAmount(uint256 amountview returns (uint256)
getParticipant(uint256 packedDatapure returns (uint256)
getPublicKeys(uint256 amountTokenuint256 ringIndexview returns (bytes32[2][2])
getRelayerFeeForAmount(uint256 _amountview returns (uint256 relayerFee)
getRingHash(uint256 _amountTokenuint256 _ringIndexview returns (bytes32)
getRingPackedData(uint256 packedDatapure returns (uint256uint256uint256)
getWParticipant(uint256 packedDatapure returns (uint256)
rings(uint256uint256view returns (uint256 amountDepositeduint256 packedRingDatabytes32 ringHash)
ringsNumber(uint256view returns (uint256)
State-modifying
deposit(uint256 _amountuint256[4] _publicKeypayable 
initialize(address _factoryaddress _wethAddress
swapOnWithdrawal(address tokenOutaddress routerbytes paramsaddress recipientuint256 relayerGasChargestruct OxODexPoolWithdrawalData withdrawalData
withdraw(address recipientstruct OxODexPoolWithdrawalData withdrawalDatauint256 relayerGasCharge
Events
Deposit(address arg0uint256 tokenAmountuint256 ringIndex
Initialized(uint8 version
Swap(address indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOut
Withdraw(address arg0uint256 tokenAmountuint256 ringIndex
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
NotInitialized(