RubicProxy

Verified contract

Active on Ethereum with 2,229 txns
Deployed by via 0x5b0ac2b7 at 15624472
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
ERC-20
Value $30.36
ERC-20
--
ERC-20
--
0x0b3ca732cff796116b5d0184c51040947fba471aa31f472e20a30dcf54841c99
0x9ddb9dcb05ddee6103e4b0330f4d2badc1e2ae68162f66d1d97447031ef8e604
0x82ccafe143e69304ca48f1c7bd17d2e7abfb64a06572b99a36bfc3ecc74feb2b
0x63d3bfb1b3b9d338f19eaca5c87b2ef71193f8847c90b6b553d47d5544b3ecef
0x747c77a52ac3793d780056f8b943865b907fc91e93792fd6604c7f8d3ab83229
0x775aabee964c2472f0bfe418b0b85bd04c7a91e0561a1e4f08d8f789761a0d06
0xaf0b36babe285c28e3889539f4022285a79f4048d30c52db01480eca0a1e9c1e
0x3c5e51a293d1b143ae632156027f63e406f80d28338c9aa75a7b9f2ca35945c2
0xf15fc3870d7ea06eadf59b366bc5f28c23bbf8c8b52cba24d2b6fa4ca453f45e
0xa416f9614009ab04766edb765b25e274975464e3bd63c48a83a5c8a945505c81

Functions
Getter at block 21333068
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
RubicPlatformFee(view returns (uint256)
0
availableRubicCryptoFee(view returns (uint256)
2409945649419243081
fixedCryptoFee(view returns (uint256)
1690931534182181
 
getAvailableRouters(view returns (address[])
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
addAvailableRouters(address[] _routers
collectIntegratorFee(address _integratoraddress _token
collectIntegratorFee(address _token
collectRubicCryptoFee(
collectRubicFee(address _token
grantRole(bytes32 roleaddress account
pauseExecution(
removeAvailableRouters(address[] _routers
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
routerCall(string _providerInfostruct BridgeBaseBaseCrossChainParams _paramsaddress _gatewaybytes _datapayable 
routerCallNative(string _providerInfostruct 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 parametersstring providerName
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
DifferentAmountSpent(
FeeTooHigh(
MaxMustBeBiggerThanMin(
MinMustBeLowerThanMax(
NotAManager(
NotAnAdmin(
RouterNotAvailable(
ShareTooHigh(
ZeroAddress(
ZeroAmount(