DexRouter

Verified contract

Implementation

Active on Base with 1 txns
Deployed by via 0x8237c075 at 22433530
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
-
variable spans 5 additional slots
-
variable spans 49 additional slots

No balances found for "DexRouter"

0x91cf07fa1decb44a1a016651ce58d5afb37dff8f9495be345f6e36285537f726

Functions
Getter at block 23229592
VERSION(view returns (uint256)
1
_APPROVE_PROXY(view returns (address)
0x1b5d39419c268b76db06de49e38b010fbfb5e226
_WETH(view returns (address)
0x4200000000000000000000000000000000000006
_WNATIVE_RELAY(view returns (address)
0xd2f0ac2012c8433f235c8e5e97f2368197dd06c7
admin(view returns (address)
0x0000000000000000000000000000000000000000
approveProxy(view returns (address)
0x0000000000000000000000000000000000000000
commissionRateLimit(view returns (uint256)
300
feeRateAndReceiver_UNUSED(view returns (uint256)
0
owner(view returns (address)
0x358506b4c5c441873ade429c5a2be777578e2c6f
wNativeRelayer(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
operator_UNUSED(addressview returns (address)
orderRemaining_UNUSED(bytes32view returns (uint256)
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(