CrosschainForwarder

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x856e4b44 at 5157519
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 49 additional slots
-
variable spans 48 additional slots

No balances found for "CrosschainForwarder"

No transactions found for "CrosschainForwarder"


Functions
Getter at block 22717281
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
NATIVE_TOKEN(view returns (address)
0x0000000000000000000000000000000000000000
deBridgeGate(view returns (address)
0x0000000000000000000000000000000000000000
version(pure returns (uint256)
210
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportedRouters(addressview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
initialize(address _deBridgeGate
renounceRole(bytes32 roleaddress account
rescueFunds(address tokenaddress recipientuint256 amount
revokeRole(bytes32 roleaddress account
sendV2(address _srcTokenInuint256 _srcAmountInbytes _srcTokenInPermitEnvelopestruct ICrossChainForwarderGateParams _gateParamspayable 
sendV3(address _srcTokenInuint256 _srcAmountInbytes _srcTokenInPermitEnvelopeuint256 _affiliateFeeAmountaddress _affiliateFeeRecipientstruct ICrossChainForwarderGateParams _gateParamspayable 
strictlySwapAndCall(address _srcTokenInuint256 _srcAmountInbytes _srcTokenInPermitEnvelopeaddress _srcSwapRouterbytes _srcSwapCalldataaddress _srcTokenOutuint256 _srcTokenExpectedAmountOutaddress _srcTokenRefundRecipientaddress _targetbytes _targetDatapayable 
strictlySwapAndCallDln(address _srcTokenInuint256 _srcAmountInbytes _srcTokenInPermitEnvelopestruct CrosschainForwarderSwapDetails _swapDetailsaddress _targetbytes _targetDatabytes32 _orderIdpayable 
swapAndSendV2(address _srcTokenInuint256 _srcAmountInbytes _srcTokenInPermitEnvelopeaddress _srcSwapRouterbytes _srcSwapCalldataaddress _srcTokenOutstruct ICrossChainForwarderGateParams _gateParamspayable 
swapAndSendV3(address _srcTokenInuint256 _srcAmountInbytes _srcTokenInPermitEnvelopeuint256 _affiliateFeeAmountaddress _affiliateFeeRecipientaddress _srcSwapRouterbytes _srcSwapCalldataaddress _srcTokenOutstruct ICrossChainForwarderGateParams _gateParamspayable 
updateSupportedRouter(address _srcSwapRouterbool _isSupported
Events
Initialized(uint8 version
Refund(address tokenuint256 amountaddress recipient
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SupportedRouter(address srcSwapRouterbool isSupported
SwapExecuted(address routeraddress tokenInuint256 amountInaddress tokenOutuint256 amountOut
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AdminBadRole(
AffiliateFeeDistributionFailed(address recipientaddress tokenuint256 amount
CallCausedBalanceDiscrepancy(address targetaddress tokenuint256 expectedBalanceuint256 actualBalance
CallFailed(address targetbytes data
EthTransferFailed(
NotEnoughSrcFundsIn(uint256 amount
NotSupportedRouter(
SignatureInvalidV(
SwapEmptyResult(address srcTokenOut
SwapFailed(address srcRouter
WrongArgumentLength(