FxUSDCompounder
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 44 additional slots
-
variable spans 47 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
12 additional
variables
Balances ($0.00)
No balances found for "FxUSDCompounder"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "FxUSDCompounder"
ABI
ABI objects
Getter at block 21428599 getTokensIn() view returns (address[] res) liquidated() view returns (bool)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0xb181e50ccaef81fa231eaf894c2db10077917ba0f69d65b4e8fcda3f77a1e0a8
REBALANCER_ROLE() view returns (bytes32)
0xccc64574297998b6c3edf6078cc5e01268465ff116954e3af02ff3a70a730f46
assetInfo() view returns (uint8 assetType, address assetAddress, uint8 assetDecimals)
(assetType=0, assetAddress=0x0000000000000000000000000000000000000000, assetDecimals=18)
converter() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
18
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=, version=, chainId=1, verifyingContract=0xcbfc063185e2ceffacbd050976479efd53f5fe76, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
exchangeRate() view returns (uint256 res)
1000000000000000000
getBaseToken() view returns (address)
0x0000000000000000000000000000000000000000
getExpenseRatio() view returns (uint256)
0
getHarvesterRatio() view returns (uint256)
0
getPool() view returns (address)
0x0000000000000000000000000000000000000000
getRewardTokens() view returns (address[] rewardTokens)
[]
getTokensOut() view returns (address[] res)
[0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000]
getTotalAssets() view returns (uint256)
0
getWithdrawFeePercentage() view returns (uint256)
0
harvester() view returns (address)
0x0000000000000000000000000000000000000000
minRebalanceProfit() view returns (uint256)
0
name() view returns (string)
nav() view returns (uint256)
1000000000000000000
rewardIndexesStored() view returns (uint256[] indexes)
[]
symbol() view returns (string)
totalPendingBaseToken() view returns (uint256)
0
totalSupply() view returns (uint256)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
vault() view returns (address)
0x0000000000000000000000000000000000000000
yieldToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
accruedRewards(address) view returns (uint256[] rewardAmounts)
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getConvertRoutes(address token) view returns (uint256[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isValidTokenIn(address token) view returns (bool)
isValidTokenOut(address token) view returns (bool)
nonces(address owner) view returns (uint256)
previewDeposit(address tokenIn, uint256 amountTokenToDeposit) view returns (uint256 amountSharesOut)
previewRedeem(address tokenOut, uint256 amountSharesToRedeem) view returns (uint256 amountTokenOut)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
claimRewards(address) returns (uint256[] rewardAmounts)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(address receiver, address tokenIn, uint256 amountTokenToDeposit, uint256 minSharesOut) payable returns (uint256 amountSharesOut)
grantRole(bytes32 role, address account)
harvest(address receiver, uint256 minBaseOut, uint256 minFxUSD) returns (uint256 baseOut, uint256 fxUSDOut)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _treasury, address _harvester, address _converter, address _fxUSD, address _pool, string _name, string _symbol, uint256 _pid)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
rebalance(uint256 minFxUSD) returns (uint256 fxUSDOut)
redeem(address receiver, uint256 amountSharesToRedeem, address tokenOut, uint256 minTokenOut, bool burnFromInternalBalance) returns (uint256 amountTokenOut)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
rewardIndexesCurrent() returns (uint256[] indexes)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
updateConvertRoutes(address token, uint256[] newRoutes)
updateConverter(address _newConverter)
updateExpenseRatio(uint32 _newRatio)
updateHarvester(address _newHarvester)
updateHarvesterRatio(uint32 _newRatio)
updateMinRebalanceProfit(uint256 newMinRebalanceProfit)
updateTreasury(address _newTreasury)
updateWithdrawFeePercentage(uint32 _newPercentage)
Approval(address indexed owner, address indexed spender, uint256 value)
ClaimRewards(address indexed user, address[] rewardTokens, uint256[] rewardAmounts)
Deposit(address indexed caller, address indexed receiver, address indexed tokenIn, uint256 amountDeposited, uint256 amountSyOut)
EIP712DomainChanged()
Harvest(address indexed caller, uint256 baseOut, uint256 expense, uint256 bounty, uint256 fxUSDOut)
Initialized(uint8 version)
Rebalance(address indexed caller, uint256 amountBaseToken, uint256 amountFxUSD)
Redeem(address indexed caller, address indexed receiver, address indexed tokenOut, uint256 amountSyToRedeem, uint256 amountTokenOut)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 value)
UpdateConvertRoutes(address token, uint256[] routes)
UpdateConverter(address indexed oldConverter, address indexed newConverter)
UpdateExpenseRatio(uint256 oldRatio, uint256 newRatio)
UpdateHarvester(address indexed oldHarvester, address indexed newHarvester)
UpdateHarvesterRatio(uint256 oldRatio, uint256 newRatio)
UpdateMinRebalanceProfit(uint256 oldValue, uint256 newValue)
UpdateTreasury(address indexed oldTreasury, address indexed newTreasury)
UpdateWithdrawFeePercentage(uint256 oldPercentage, uint256 newPercentage)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
CallerIsNotHarvester()
ConverterIsZero()
ErrDepositZeroAmount()
ErrHasLiquidation()
ErrInsufficientHarvestedBaseToken()
ErrInsufficientHarvestedFxUSD()
ErrInsufficientRebalancedFxUSD()
ErrInsufficientSharesOut()
ErrInsufficientTokensOut()
ErrInvalidTokenIn()
ErrInvalidTokenOut()
ErrNotLiquidatedBefore()
ErrRedeemZeroShares()
ExpenseRatioTooLarge()
HarvesterRatioTooLarge()
TreasuryIsZero()
WithdrawFeePercentageTooLarge()