Router

Verified contract

Active on Base with 60 txns
Deployed by via 0x8c5d2a22 at 9575582
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xfc3f19103cd8e774424c6dca758dd347d3c89de8a4288d290e0513c515107843
0xd8f03cee0b71dc4093bfc7e79947e6d0563f378375bef7267e1fbae7863bb4ab
0x82f94e19e321f7b183c46077086da73e0953898d218e100acdbcf5413e1d6854
0x3a2c79310a01461f7195e036523e15fcb838cf77a198c78882b66908e6b691bf
0x46fd23865b452a2c00c3494fbaa763698ca3272f644c33dabd240fa53e8143a1
0x6ec13ffecfd45be90216af47b9e7308afa3b21268f27097d0e4316c9df01f8b1
0x0285e24e7ef387cee0a37ec3b9881bc1fedfc57fd67cdbe9c69499b1b92f545c
0xf2cda677001e5b11c2eb2ebbf198451ff5c8206c58e944d111f859b43a647725
0x5f0daf2c784905d28f3fb8b7f493d9f75147e7aa051d06b3ce57fd3408bdef2f
0x2cb6a7239015430ab1908bce86f9082ad9db67d86345818c3a86fd8f29c15c9c

Functions
Getter at block 23673943
feeDeducted(view returns (uint256)
10000
owner(view returns (address result)
0x50e79ccb185354a6a95db4aeb898a1888a466630
Read-only
getRoutes(bytes32 pairview returns (address[][])
getSwapInput(bytes32 pairuint256 outputview returns (uint256 indexuint256 input)
getSwapOutput(bytes32 pairuint256 inputview returns (uint256 indexuint256 output)
hasAllRoles(address useruint256 rolesview returns (bool)
hasAnyRole(address useruint256 rolesview returns (bool)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
rolesOf(address userview returns (uint256 roles)
State-modifying
addRoute(address[] newRoute
approvePath(bytes32 pairuint256 routeIndexuint256 pathIndex
cancelOwnershipHandover(payable 
completeOwnershipHandover(address pendingOwnerpayable 
grantRoles(address useruint256 rolespayable 
removeRoute(bytes32 pairuint256 index
renounceOwnership(payable 
renounceRoles(uint256 rolespayable 
requestOwnershipHandover(payable 
revokeRoles(address useruint256 rolespayable 
setFeeDeducted(uint256 _feeDeducted
swap(address inputTokenaddress outputTokenuint160 inputuint256 minOutputuint256 routeIndexaddress referrerreturns (uint256)
swap(address inputTokenaddress outputTokenuint256 inputuint256 minOutputuint256 routeIndexaddress referrerreturns (uint256)
swap(address inputTokenaddress outputTokenuint256 inputuint256 minOutputuint256 routeIndexaddress referrerstruct RouterPermitParams permitParamsreturns (uint256)
transferOwnership(address newOwnerpayable 
withdrawERC20(address tokenaddress recipientuint256 amount
Events
AddRoute(address indexed inputTokenaddress indexed outputTokenaddress[] newRoute
ApprovePath(address indexed pathaddress indexed inputTokenaddress indexed outputToken
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
RemoveRoute(bytes32 indexed pairuint256 indexed index
RolesUpdated(address indexed useruint256 indexed roles
SetFeeDeducted(uint256 feeDeducted
Swap(address indexed inputTokenaddress indexed outputTokenuint256 indexed indexuint256 outputuint256 fees
WithdrawERC20(address indexed tokenaddress indexed recipientuint256 amount
Constructor
constructor(address initialOwner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EmptyArray(
InsufficientOutput(
InvalidFeeDeducted(
InvalidPair(
NewOwnerIsZeroAddress(
NoHandoverRequest(
NoRoutesRemaining(
Unauthorized(