DexRouter

Verified contract

Implementation

Active on Ethereum with 1 txns
Deployed by via 0xfc9b360f at 19809479
Slot
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

No balances found for "DexRouter"

0xd86e3cc0d9093e2c572e3f492d48fc88bf7f1d00fa65de647c058c25fbf10670

Functions
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(addressview returns (bool)
State-modifying
initialize(
renounceOwnership(
setPriorityAddress(address _priorityAddressbool valid
setProtocolAdmin(address _newAdmin
smartSwapByInvest(struct DexRouterBaseRequest baseRequestuint256[] batchesAmountstruct DexRouterRouterPath[][] batchesstruct PMMLibPMMSwapRequest[] extraDataaddress topayable returns (uint256 returnAmount)
smartSwapByOrderId(uint256 orderIdstruct DexRouterBaseRequest baseRequestuint256[] batchesAmountstruct DexRouterRouterPath[][] batchesstruct PMMLibPMMSwapRequest[] extraDatapayable returns (uint256 returnAmount)
smartSwapByOrderIdByXBridge(uint256 orderIdstruct DexRouterBaseRequest baseRequestuint256[] batchesAmountstruct DexRouterRouterPath[][] batchesstruct PMMLibPMMSwapRequest[] extraDatapayable returns (uint256 returnAmount)
smartSwapTo(uint256 orderIdaddress receiverstruct DexRouterBaseRequest baseRequestuint256[] batchesAmountstruct DexRouterRouterPath[][] batchesstruct PMMLibPMMSwapRequest[] extraDatapayable returns (uint256 returnAmount)
swapWrap(uint256 orderIduint256 rawdatapayable 
transferOwnership(address newOwner
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes
uniswapV3SwapTo(uint256 receiveruint256 amountuint256 minReturnuint256[] poolspayable returns (uint256 returnAmount)
uniswapV3SwapToByXBridge(uint256 receiveruint256 amountuint256 minReturnuint256[] poolspayable returns (uint256 returnAmount)
uniswapV3SwapToWithPermit(uint256 receiveraddress srcTokenuint256 amountuint256 minReturnuint256[] poolsbytes permitreturns (uint256 returnAmount)
unxswapByOrderId(uint256 srcTokenuint256 amountuint256 minReturnbytes32[] poolspayable returns (uint256 returnAmount)
unxswapByOrderIdByXBridge(uint256 srcTokenuint256 amountuint256 minReturnbytes32[] poolspayable returns (uint256 returnAmount)
unxswapTo(uint256 srcTokenuint256 amountuint256 minReturnaddress receiverbytes32[] poolspayable returns (uint256 returnAmount)
withdrawDust(address tokenaddress touint256 amount
Events
AdminChanged(address newAdmin
CommissionRecord(uint256 commissionAmountaddress referrerAddress
Initialized(uint8 version
OrderRecord(address fromTokenaddress toTokenaddress senderuint256 fromAmountuint256 returnAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PriorityAddressChanged(address priorityAddressbool valid
SwapOrderId(uint256 id
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
SafeTransferFailed(