Router

Verified contract

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

No balances found for "Router"

0xf554e7ea3bf5971b10a0d32499ec59445495aaba7b24011fecbbdd6f0fbaf20a
0x694babc0fb13a14a86bc05da4446f044712bc678734c9ebcd22ec1ae7ff9eb33
0x700cdc9ace6ab8bdd5be3282035384bd1228fa072c4954f6f3675c5ec2f5c5d7
0x03399acaa379ef43aaeff3d7c792ed78b4d40845176e10678bcfee4cc3db47fe
0x9698ba3b484599340f11805ec7679c75757906f4e7f57c1fd4315ab56f966fc5
0x338c9ee589044486662b4f8c077fa66471b2fe88b7274889e629ff28e9b765ab
0x3876d20b37669d095a8af7e85f3040a82b2c02e5c2a23a137acb998f0723b804
0x1f94ef50e8b928a7abd25e617973942c87ef7185c2f6a08194753bb5aad64aaf
0x7b385d22a994fcfadf0082ed470b716793a9f2f40cc7f9aea844eea31848c4f4
0x6defcde031ce52ed94dbf4db0aa025fab229a32671a583468e00dc6770603d10

Functions
Getter at block 21208728
agentImplementation(view returns (address)
0x4d4c961de7140e642b7217f221b73e859e3a6482
currentUser(view returns (address)
0x0000000000000000000000000000000000000001
defaultCollector(view returns (address)
0xfb20753f85f89be6f42d228667d70e62d1ba5f75
defaultReferral(view returns (bytes32)
0xfb20753f85f89be6f42d228667d70e62d1ba5f75000000000000000000002710
domainSeparator(view returns (bytes32)
0x21d6724d4c87211b065ce35bab2fb7136a01644d57e246b387d7f288b31f3992
feeRate(view returns (uint256)
20
getCurrentUserAgent(view returns (addressaddress)
(0x0000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000)
owner(view returns (address)
0xa7248f4b85fb6261c314d08e7938285d1d86cd61
pauser(view returns (address)
0x4d2d634bf4b271f74bbf3a30f50497ec3d90024e
Read-only
agents(address userview returns (address agent)
calcAgent(address userview returns (address)
delegations(address useraddress delegateeview returns (uint128 expiryuint128 nonce)
executionNonces(address userview returns (uint256 nonce)
getAgent(address userview returns (address)
signers(address signerview returns (bool valid)
State-modifying
addSigner(address signer
allow(address delegateeuint128 expiry
allowBySig(struct DataTypeDelegationDetails detailsaddress delegatorbytes signature
disallow(address delegatee
execute(bytes[] permit2Datasstruct DataTypeLogic[] logicsaddress[] tokensReturnpayable 
executeBySig(struct DataTypeExecutionDetails detailsaddress userbytes signaturepayable 
executeBySigWithSignerFee(struct DataTypeExecutionBatchDetails detailsaddress userbytes userSignatureaddress signerbytes signerSignaturepayable 
executeFor(address userbytes[] permit2Datasstruct DataTypeLogic[] logicsaddress[] tokensReturnpayable 
executeForWithSignerFee(address userbytes[] permit2Datasstruct DataTypeLogicBatch logicBatchaddress signerbytes signatureaddress[] tokensReturnpayable 
executeWithSignerFee(bytes[] permit2Datasstruct DataTypeLogicBatch logicBatchaddress signerbytes signatureaddress[] tokensReturnpayable 
invalidateDelegationNonces(address delegateeuint128 newNonce
invalidateExecutionNonces(uint256 newNonce
newAgent(returns (address)
newAgent(address userreturns (address)
pause(
removeSigner(address signer
renounceOwnership(
rescue(address tokenaddress receiveruint256 amount
setFeeCollector(address feeCollector_
setFeeRate(uint256 feeRate_
setPauser(address pauser_
transferOwnership(address newOwner
unpause(
Events
AgentCreated(address indexed agentaddress indexed user
Delegated(address indexed delegatoraddress indexed delegateeuint128 expiry
DelegationNonceInvalidation(address indexed useraddress indexed delegateeuint128 newNonceuint128 oldNonce
Executed(address indexed useraddress indexed agent
ExecutionNonceInvalidation(address indexed useruint256 newNonceuint256 oldNonce
FeeCollectorSet(address indexed feeCollector_
FeeRateSet(uint256 feeRate_
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(
PauserSet(address indexed pauser
SignerAdded(address indexed signer
SignerRemoved(address indexed signer
Unpaused(
Constructor
constructor(address wrappedNativeaddress permit2address deployer
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AgentAlreadyCreated(
AlreadyPaused(
ExcessiveInvalidation(
InvalidDelegatee(
InvalidFeeCollector(
InvalidNewPauser(
InvalidNonce(
InvalidPauser(
InvalidRate(
InvalidSignature(
InvalidSigner(address signer
NotPaused(
NotReady(
SignatureExpired(uint256 deadline