DexRouter
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
42
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 18 additional slots
Balances ($0.00)
No balances found for "DexRouter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20068241 | 5 months ago | | | 0 | 0.00096377778 |
ABI
ABI objects
Getter at block 21244175
_APPROVE_PROXY() view returns (address)
0x70cbb871e8f30fc8ce23609e9e0ea87b6b222f58
_WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
_WNATIVE_RELAY() view returns (address)
0x5703b683c7f928b721ca95da988d73a3299d4757
admin() view returns (address)
0x0000000000000000000000000000000000000000
approveProxy() view returns (address)
0x0000000000000000000000000000000000000000
commissionRateLimit() view returns (uint256)
300
owner() view returns (address)
0x41244656f62711cc44f2e5001a5e7a960e8cb4bb
wNativeRelayer() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
priorityAddresses(address) view returns (bool)
State-modifying
Events initialize()
renounceOwnership()
setPriorityAddress(address _priorityAddress, bool valid)
setProtocolAdmin(address _newAdmin)
smartSwapByInvest(struct DexRouterBaseRequest baseRequest, uint256[] batchesAmount, struct DexRouterRouterPath[][] batches, struct PMMLibPMMSwapRequest[] extraData, address to) payable returns (uint256 returnAmount)
smartSwapByOrderId(uint256 orderId, struct DexRouterBaseRequest baseRequest, uint256[] batchesAmount, struct DexRouterRouterPath[][] batches, struct PMMLibPMMSwapRequest[] extraData) payable returns (uint256 returnAmount)
smartSwapByOrderIdByXBridge(uint256 orderId, struct DexRouterBaseRequest baseRequest, uint256[] batchesAmount, struct DexRouterRouterPath[][] batches, struct PMMLibPMMSwapRequest[] extraData) payable returns (uint256 returnAmount)
smartSwapTo(uint256 orderId, address receiver, struct DexRouterBaseRequest baseRequest, uint256[] batchesAmount, struct DexRouterRouterPath[][] batches, struct PMMLibPMMSwapRequest[] extraData) payable returns (uint256 returnAmount)
swapWrap(uint256 orderId, uint256 rawdata) payable
transferOwnership(address newOwner)
uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes)
uniswapV3SwapTo(uint256 receiver, uint256 amount, uint256 minReturn, uint256[] pools) payable returns (uint256 returnAmount)
uniswapV3SwapToByXBridge(uint256 receiver, uint256 amount, uint256 minReturn, uint256[] pools) payable returns (uint256 returnAmount)
uniswapV3SwapToWithPermit(uint256 receiver, address srcToken, uint256 amount, uint256 minReturn, uint256[] pools, bytes permit) returns (uint256 returnAmount)
unxswapByOrderId(uint256 srcToken, uint256 amount, uint256 minReturn, bytes32[] pools) payable returns (uint256 returnAmount)
unxswapByOrderIdByXBridge(uint256 srcToken, uint256 amount, uint256 minReturn, bytes32[] pools) payable returns (uint256 returnAmount)
unxswapTo(uint256 srcToken, uint256 amount, uint256 minReturn, address receiver, bytes32[] pools) payable returns (uint256 returnAmount)
withdrawDust(address token, address to, uint256 amount)
AdminChanged(address newAdmin)
CommissionRecord(uint256 commissionAmount, address referrerAddress)
Initialized(uint8 version)
OrderRecord(address fromToken, address toToken, address sender, uint256 fromAmount, uint256 returnAmount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PriorityAddressChanged(address priorityAddress, bool valid)
SwapOrderId(uint256 id)
This contract contains no constructor objects.
receive()
SafeTransferFailed()