RariFundController
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
16
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
Balances ($0.00)
No balances found for "RariFundController"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RariFundController"
ABI
ABI objects
Getter at block 21199248 getDydxBalances() view returns (address[], uint256[])
IS_RARI_FUND_CONTROLLER() view returns (bool)
true
isOwner() view returns (bool)
false
owner() view returns (address)
0x0000000000000000000000000000000000000000
rariFundManager() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_currencyIndexes(string) view returns (uint8)
fuseAssets(uint8, string) view returns (address)
getPoolsByCurrency(string currencyCode) view returns (uint8[])
hasCurrencyInPool(uint8 pool, string currencyCode) view returns (bool)
State-modifying
Events _getPoolBalance(uint8 pool, string currencyCode) returns (uint256)
addFuseAssets(uint8[] pools, string[][] currencyCodes, address[][] cTokens)
approveToPool(uint8 pool, string currencyCode, uint256 amount)
claimMStableRewards(bool all, uint256 first, uint256 last)
depositToPool(uint8 pool, string currencyCode, uint256 amount)
disableFund()
enableFund()
getPoolBalance(uint8 pool, string currencyCode) returns (uint256)
initialize()
initialize(address sender)
renounceOwnership()
setAaveReferralCode(uint16 referralCode)
setExchangeLossRateLimit(int256 limit)
setFundManager(address newContract)
setFundRebalancer(address newAddress)
swapExactTokensForTokens(address[] path, uint256 inputAmount, uint256 minOutputAmount)
swapMStable(string inputCurrencyCode, string outputCurrencyCode, uint256 inputAmount, uint256 minOutputAmount)
transferOwnership(address newOwner)
upgradeFundController(address newContract)
upgradeFundController(address newContract, address erc20Contract) returns (bool)
withdrawAllFromPool(uint8 pool, string currencyCode)
withdrawAllFromPoolOnUpgrade(uint8 pool, string currencyCode)
withdrawFromPool(uint8 pool, string currencyCode, uint256 amount)
withdrawFromPoolOptimized(uint8 pool, string currencyCode, uint256 amount, bool all)
CurrencyTrade(string indexed inputCurrencyCode, string indexed outputCurrencyCode, uint256 inputAmount, uint256 inputAmountUsd, uint256 outputAmount, uint256 outputAmountUsd, uint8 indexed exchange)
FundDisabled()
FundEnabled()
FundManagerSet(address newAddress)
FundRebalancerSet(address newAddress)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolAllocation(uint8 indexed action, uint8 indexed pool, string indexed currencyCode, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.