RubicRouterV2

Verified contract

Active on Ethereum with 1,082 txns
Deployed by via 0xbf225d57 at 14762257
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
 (#26)
ERC-1555
--
0x9a696b7a0aa1af52b656b494d76efcc95a5e714993a84f85144ad462025de418
0x51ebfd85bfe4b7683fa446227c6ecebc186cbe18e041c976c6510f08aa878c02
0x0aa97803b2075c627d5b75d34fa0e9631c0995aba0a48df98aa41ca22de2f0ca
0x69f524abf4ecbf1319fbe1d037ee8ab4653533683dc1d7b86d04d32e2eac6a70
0x84162c8b60d02bf5844e2d85cf1fbf6a82bb4418761ae8a4ccb47916f38d5bdc
0xfeccc1c50cbac733dbeb67cdecc19309821fc3c8b3ee6f0845b3eff39b544131
0x4fd8a46cef7c13d07e34d8462e1e1628af7e6f884d0eb6c64f9e338de488fd87
0x369e7d865e89640fd8d2a74eadb83c9c65d202925bc6ccc97eab6b29c828b6c1
0xb9b21b7257ebe2b64c10e3fc0e5abbbf4c7001036e190b7799f01b60468a426c
0x3078d32ec5d05148cd62508beed977b2f7e7408a262ac8abba60f2aa62174909

Functions
Getter at block 21324091
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXECUTOR(view returns (bytes32)
0x9cf85f95575c3af1e116e3d37fd41e7f36a8a373623f51ffaaa87fdd032fa767
MANAGER(view returns (bytes32)
0xaf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c
feeRubic(view returns (uint256)
1500
getSupportedDEXes(view returns (address[] dexes)
[0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F, 0xE592427A0AEce92De3Edee1F18E0157C05861564, 0x1111111254fb6c44bAC0beD2854e76F90643097d]
messageBus(view returns (address)
0x4066d196a423b2b3b8b054f4f40efb47a74e200c
nativeWrap(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
nonce(view returns (uint64)
966
paused(view returns (bool)
true
Read-only
collectedFee(addressview returns (uint256)
dstCryptoFee(uint64view returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
integratorCollectedFee(addressaddressview returns (uint256)
integratorFee(addressview returns (uint256)
maxSwapAmount(addressview returns (uint256)
minSwapAmount(addressview returns (uint256)
platformShare(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
txStatusById(bytes32view returns (uint8)
State-modifying
addSupportedDex(address[] _dexes
bridgeWithSwap(address _receiveruint256 _amountInuint64 _dstChainIdaddress _srcBridgeTokenstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
bridgeWithSwapNative(address _receiveruint256 _amountInuint64 _dstChainIdaddress _srcBridgeTokenstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
executeMessage(address _senderuint64 _srcChainIdbytes _messageaddress _executorpayable returns (uint8)
executeMessageWithTransfer(addressaddress _tokenuint256 _amountuint64 _srcChainIdbytes _messageaddress _executorpayable returns (uint8)
executeMessageWithTransferFallback(addressaddress _tokenuint256 _amountuint64 _srcChainIdbytes _messageaddress _executorpayable returns (uint8)
executeMessageWithTransferRefund(address _tokenuint256 _amountbytes _messageaddress _executorpayable returns (uint8)
grantRole(bytes32 roleaddress account
integratorCollectFee(address _tokenuint256 _amount
pauseRubic(
removeSupportedDex(address[] _dexes
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
rubicCollectCryptoFee(uint256 _amount
rubicCollectPlatformFee(address _tokenuint256 _amount
setCryptoFee(uint64 _networkIDuint256 _amount
setIntegrator(address _integratoruint256 _percent
setMaxSwapAmount(address _tokenuint256 _amount
setMessageBus(address _messageBus
setMinSwapAmount(address _tokenuint256 _amount
setNativeWrap(address _nativeWrap
setRubicFee(uint256 _feeRubic
setRubicShare(address _integratoruint256 _percent
sweepTokens(address _tokenuint256 _amount
transferWithSwapInch(address _receiveruint256 _amountInuint64 _dstChainIdstruct SwapBaseSwapInfoInch _srcSwapstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
transferWithSwapInchNative(address _receiveruint256 _amountInuint64 _dstChainIdstruct SwapBaseSwapInfoInch _srcSwapstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
transferWithSwapV2(address _receiveruint256 _amountInuint64 _dstChainIdstruct SwapBaseSwapInfoV2 _srcSwapstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
transferWithSwapV2Native(address _receiveruint256 _amountInuint64 _dstChainIdstruct SwapBaseSwapInfoV2 _srcSwapstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
transferWithSwapV3(address _receiveruint256 _amountInuint64 _dstChainIdstruct SwapBaseSwapInfoV3 _srcSwapstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
transferWithSwapV3Native(address _receiveruint256 _amountInuint64 _dstChainIdstruct SwapBaseSwapInfoV3 _srcSwapstruct SwapBaseSwapInfoDest _dstSwapuint32 _maxBridgeSlippagepayable 
unPauseRubic(
Events
BridgeRequestSent(bytes32 iduint64 dstChainIduint256 srcAmountaddress srcToken
MessageBusUpdated(address messageBus
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SwapRequestDone(bytes32 iduint256 dstAmountuint8 status
SwapRequestSentInch(bytes32 iduint64 dstChainIduint256 srcAmountaddress srcToken
SwapRequestSentV2(bytes32 iduint64 dstChainIduint256 srcAmountaddress srcToken
SwapRequestSentV3(bytes32 iduint64 dstChainIduint256 srcAmountaddress srcToken
Unpaused(address account
Constructor
constructor(address _messageBusaddress[] _supportedDEXesaddress _nativeWrap
Fallback and receive
fallback(
Errors

This contract contains no error objects.