RevenueManagement
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
172
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "RevenueManagement"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RevenueManagement"
ABI
ABI objects
Getter at block 22943814
coreLendingPool() view returns (address)
0x0000000000000000000000000000000000000000
mfd() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
Read-only
approvedLendingPools(address) view returns (bool)
approvedSwapAddresses(address) view returns (bool)
computeInputValue(struct RevenueManagementSwapInput[] swapInput) view returns (uint256)
inputTokenOracle(address) view returns (address)
isApprovedSwapAddress(address _address) view returns (bool)
isInputTokenValid(address _inputToken) view returns (bool)
isWhitelisted(address) view returns (bool)
outputTokenConfigs(address) view returns (uint256 maximumSlippage, uint256 percentage, address priceOracle, address rTokenCore)
outputTokens(uint256) view returns (address)
State-modifying
Events addInputToken(address _inputToken, address _inputTokenOracle)
depositToCoreLendingPool(address _token, uint256 _amount)
initialize(address _mfd, address _coreLendingPool)
pause()
recoverERC20(address tokenAddress, uint256 tokenAmount)
removeInputToken(address _inputToken)
renounceOwnership()
setApprovedSwapAddress(address _account, bool _approved)
setCoreLendingPool(address _newCoreLendingPool)
setLendingPoolWhitelist(address lendingPool, bool status)
setMFD(address _newMFD)
setOutputTokensConfig(address[] _outputTokens, struct RevenueManagementOutputTokenConfig[] _configs)
setWhitelist(address _account, bool _isWhitelisted)
swapTokens(struct RevenueManagementSwapInput[] swapInput)
transferOwnership(address newOwner)
unpause()
unwrapRToken(address[] _rTokens, uint256[] _amounts)
CoreLendingPoolUpdated(address newCoreLendingPool)
Initialized(uint8 version)
InputTokenAdded(address indexed token, address oracle)
InputTokenRemoved(address indexed token)
MFDUpdated(address newMFD)
OutputTokensConfigUpdated(uint256 outputTokensLength)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Recovered(address indexed token, uint256 amount)
SetApprovedSwapAddress(address indexed account, bool approved)
SetLendingPoolWhitelist(address indexed lendingPool, bool status)
SetWhitelisted(address indexed account, bool isWhitelisted)
TokensAcquired(address indexed token, uint256 amount)
Unpaused(address account)
constructor()
This contract contains no fallback and receive objects.
AddressNotApproved()
AddressZero()
DexSwapFailed()
DuplicateOutputToken()
InputTokenConfigLengthMismatch()
InvalidInputData()
InvalidLendingPool()
InvalidSwapStrategy()
NativeAssetsNotSupported()
NotAuthorized()
OutputTokenBalanceOutOfRange()
OutputTokenConfigLengthMismatch()
PercentageMismatch()
ReceivedLessThanMinOutput()
TokenNotPresent()