deposit(uint256,uint256,uint256) :
This contract defines functions for depositing, redeeming, borrowing, staking, and getting information about FILL tokens and miners.
(autogenerated documentation)
redeem(uint256,uint256,uint256) :
Allows a user to redeem FLE tokens for FIL tokens based on the current exchange rate and slippage tolerance.
(autogenerated documentation)
borrow(uint64,uint256,uint256,uint256) :
This is the interface for the FILL contract, which allows users to deposit, redeem, borrow, and stake FLE tokens.
(autogenerated documentation)
payback(uint64,uint256) :
This is the interface for the FILL contract, which includes functions for depositing, redeeming, borrowing, staking, and more.
(autogenerated documentation)
stakingMiner(uint64) :
This contract defines the interface for the FILL token and its associated functions/events.
(autogenerated documentation)
unstakingMiner(uint64) :
Allows a user to unstake a miner and receive their staked tokens back.
(autogenerated documentation)
fleBalanceOf(address) :
This contract defines the FILL token and its interface for deposit, redeem, borrow, payback, staking, and unstaking.
(autogenerated documentation)
userBorrows(address) :
This function returns an array of MinerBorrowInfo for a given user's borrowing activity.
(autogenerated documentation)
getStakingMinerInfo(uint64) :
This contract defines functions and events for the FILL token, including staking, borrowing, and redeeming.
(autogenerated documentation)
fleAddress() :
This contract implements the FILLInterface, which defines functions and events for the FILL protocol.
(autogenerated documentation)
validationAddress() :
This contract defines the interface for the FILL token and its functions/events.
(autogenerated documentation)
exchangeRate() :
This contract implements the FILLInterface, which defines functions and events for the FILL token.
(autogenerated documentation)
feeRate() :
This contract implements the FILLInterface, which defines functions and events for the FILL token.
(autogenerated documentation)
interestRate() :
This contract implements the FILLInterface, which defines functions and events for the FILL token.
(autogenerated documentation)
utilizationRate() :
This contract defines the FILL token and its interface for depositing, redeeming, borrowing, staking miners, and more.
(autogenerated documentation)
fillInfo() :
This function returns information about the FILL token. It does not modify the state of the contract.
(autogenerated documentation)
bindMiner(uint64) :
This function binds a miner to a user's address using a signature validation process and adds it to various mappings and arrays.
(autogenerated documentation)
unbindMiner(uint64) :
This function unbinds a miner from a user's account by deleting the binding and removing the miner from the user's and allMiners arrays.
(autogenerated documentation)
setExchangeRate(uint64) :
This function sets a new exchange rate and returns it. Only the contract owner can call it.
(autogenerated documentation)
leastDepositingAmount() :
This function returns the minimum amount that can be deposited into the contract. It simply returns a stored variable value.
(autogenerated documentation)
setleastDepositingAmount(uint64) :
This function sets a new minimum deposit amount and returns the updated value. Only the contract owner can call it.
(autogenerated documentation)
collateralizationRate() :
This function returns the current collateralization rate of the contract. It simply retrieves the value of the private variable _collateralizationRate.
(autogenerated documentation)
setCollateralizationRate(uint64) :
This function sets a new collateralization rate and returns the updated rate. Only the contract owner can call this function.
(autogenerated documentation)
setFeeRate(uint64) :
This function sets a new fee rate and returns the updated rate. Only the contract owner can call it.
(autogenerated documentation)
setInterestRate(uint64) :
This function sets a new interest rate and returns it. Only the contract owner can call it.
(autogenerated documentation)
userMiners(address) :
This function returns an array of uint64 values representing the miners associated with a given user account.
(autogenerated documentation)
send(address,uint256) :
This function sends a specified amount of Ether to a specified account, using the transfer() function.
(autogenerated documentation)
devManage(uint256,uint64,uint256) :
This function manages developer actions on a miner, allowing them to change beneficiary, withdraw balance, or transfer ownership.
(autogenerated documentation)
noStaking(uint64) :
This function checks if a miner has any staked tokens and throws an error if they do.
(autogenerated documentation)
haveStaking(uint64) :
This function checks if a miner has staked before allowing them to proceed with a transaction.
(autogenerated documentation)
checkExchangeRate(uint256,uint256) :
This function checks if the exchange rate is within the specified slippage limit.
(autogenerated documentation)
checkInterestRate(uint256,uint256) :
This function checks if the interest rate is within the acceptable range, with a given slippage tolerance.
(autogenerated documentation)
isBindMiner(address,uint64) :
This function checks if an account is bound to a miner by verifying the minerId and account address in a mapping.
(autogenerated documentation)