RubicProxy

Verified contract

Active on Ethereum with 889 txns
Deployed by via 0xed2c9bea at 15212118
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
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
Native
Value $1.93
ERC-20
Value $0.02
ERC-20
--
0x4b9dc7cfc3a8039d9e0deb919dc89e589f7061ac65230525f9b25587f1a90fb1
0x37a7f0f34bfb81522a379eafa0cf00dfb5a1ec139039c4beb7375012249b2bd4
0x5d743a7f64e43c66f0f0c09c91958316d0f9d63497d53aa1509d3e268661903e
0xe0c9c032ad82b5f89a26697199e1941a99d71e35a5c4718b78d919cacf2d86b9
0xed6d67cb33901657c7a0fcc39f0db7b1033cdaee5e517eeba3db04097436cda4
0xdf396910329f31a0ab1683e589c6f7834c939603ea09cb6b3b5be95238c3285a
0x6e47cb6247002610fbda2be50c805718469e90b7f6dcc7f55c5f8a5f37721122
0x9966cf4d44600bbc9797e8aa874d9b5ed4c32bca87a692000108ca1bd4fce0b4
0xd21441c9112b0019cda65eb2beb97e9af96c4822911efbc7ffb8cddb226ba2d9
0x8b3a03def81d1462fce3c7380278faeeee82000a350bbe5c74b10c142982e49f

Functions
Getter at block 21261884
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
RubicPlatformFee(view returns (uint256)
0
availableRubicCryptoFee(view returns (uint256)
32
fixedCryptoFee(view returns (uint256)
576721224500000
getAvailableRouters(view returns (address[])
[0x663DC15D3C1aC63ff12E45Ab68FeA3F0a883C251, 0x362fA9D0bCa5D19f743Db50738345ce2b40eC99f, 0xB9E13785127BFfCc3dc970A55F6c7bF0844a3C15, 0x03B7551EB0162c838a10c2437b60D1f5455b9554, 0x935BbF5c69225E3EDa7C3aA542A7Baa5c5c30094, 0xc30141B657f4216252dc59Af2e7CdB9D8792e1B0, 0x0e3EB2eAB0e524b69C79E24910f4318dB46bAa9c, 0x73Ce60416035B8D7019f6399778c14ccf5C9c7A1]
paused(view returns (bool)
true
Read-only
availableIntegratorCryptoFee(addressview returns (uint256)
availableIntegratorTokenFee(addressaddressview returns (uint256)
availableRubicTokenFee(addressview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
integratorToFeeInfo(addressview returns (bool isIntegratoruint32 tokenFeeuint32 RubicTokenShareuint32 RubicFixedCryptoShareuint128 fixedFeeAmount)
maxTokenAmount(addressview returns (uint256)
minTokenAmount(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addAvailableRouter(address _router
collectIntegratorFee(address _integratoraddress _token
collectIntegratorFee(address _token
collectRubicCryptoFee(
collectRubicFee(address _token
grantRole(bytes32 roleaddress account
pauseExecution(
removeAvailableRouter(address _router
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
routerCall(struct BridgeBaseBaseCrossChainParams _paramsaddress _gatewaybytes _datapayable 
routerCallNative(struct BridgeBaseBaseCrossChainParams _paramsbytes _datapayable 
setFixedCryptoFee(uint256 _fixedCryptoFee
setIntegratorInfo(address _integratorstruct BridgeBaseIntegratorFeeInfo _info
setMaxTokenAmount(address _tokenuint256 _maxTokenAmount
setMinTokenAmount(address _tokenuint256 _minTokenAmount
setRubicPlatformFee(uint256 _platformFee
sweepTokens(address _tokenuint256 _amount
transferAdmin(address _newAdmin
unpauseExecution(
Events
FixedCryptoFee(uint256 RubicPartuint256 integratorPartaddress indexed integrator
FixedCryptoFeeCollected(uint256 amountaddress collector
Initialized(uint8 version
IntegratorTokenFeeCollected(uint256 amountaddress indexed integratoraddress token
Paused(address account
RequestSent(struct BridgeBaseBaseCrossChainParams parameters
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RubicTokenFeeCollected(uint256 amountaddress token
TokenFee(uint256 RubicPartuint256 integratorPartaddress indexed integratoraddress token
Unpaused(address account
Constructor
constructor(uint256 _fixedCryptoFeeuint256 _RubicPlatformFeeaddress[] _routersaddress[] _tokensuint256[] _minTokenAmountsuint256[] _maxTokenAmounts
Fallback and receive
fallback(
receive(
Errors
ApproveFailed(
DifferentAmountSpent(
FeeTooHigh(
MaxMustBeBiggerThanMin(
MinMustBeLowerThanMax(
NotAManager(
NotAnAdmin(
RouterNotAvailable(
ShareTooHigh(
ZeroAddress(
ZeroAmount(