CrosschainForwarder
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
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
Balances ($0.00)
No balances found for "CrosschainForwarder"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CrosschainForwarder"
ABI
ABI objects
Getter at block 21157566
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
NATIVE_TOKEN() view returns (address)
0x0000000000000000000000000000000000000000
deBridgeGate() view returns (address)
0x0000000000000000000000000000000000000000
version() pure returns (uint256)
200
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportedRouters(address) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events grantRole(bytes32 role, address account)
initialize(address _deBridgeGate)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sendV2(address _srcTokenIn, uint256 _srcAmountIn, bytes _srcTokenInPermitEnvelope, struct ICrossChainForwarderGateParams _gateParams) payable
sendV3(address _srcTokenIn, uint256 _srcAmountIn, bytes _srcTokenInPermitEnvelope, uint256 _affiliateFeeAmount, address _affiliateFeeRecipient, struct ICrossChainForwarderGateParams _gateParams) payable
strictlySwapAndCall(address _srcTokenIn, uint256 _srcAmountIn, bytes _srcTokenInPermitEnvelope, address _srcSwapRouter, bytes _srcSwapCalldata, address _srcTokenOut, uint256 _srcTokenExpectedAmountOut, address _srcTokenRefundRecipient, address _target, bytes _targetData) payable
swapAndSendV2(address _srcTokenIn, uint256 _srcAmountIn, bytes _srcTokenInPermitEnvelope, address _srcSwapRouter, bytes _srcSwapCalldata, address _srcTokenOut, struct ICrossChainForwarderGateParams _gateParams) payable
swapAndSendV3(address _srcTokenIn, uint256 _srcAmountIn, bytes _srcTokenInPermitEnvelope, uint256 _affiliateFeeAmount, address _affiliateFeeRecipient, address _srcSwapRouter, bytes _srcSwapCalldata, address _srcTokenOut, struct ICrossChainForwarderGateParams _gateParams) payable
updateSupportedRouter(address _srcSwapRouter, bool _isSupported)
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SupportedRouter(address srcSwapRouter, bool isSupported)
SwapExecuted(address router, address tokenIn, uint256 amountIn, address tokenOut, uint256 amountOut)
This contract contains no constructor objects.
receive()
AdminBadRole()
AffiliateFeeDistributionFailed(address recipient, address token, uint256 amount)
CallCausedBalanceDiscrepancy(address target, address token, uint256 expectedBalance, uint256 actualBalance)
CallFailed(address target, bytes data)
EthTransferFailed()
NotEnoughSrcFundsIn(uint256 amount)
NotSupportedRouter()
SignatureInvalidV()
SwapEmptyResult(address srcTokenOut)
SwapFailed(address srcRouter)
WrongArgumentLength()