GainLendingPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x6f45ac6d at 21174917
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
14 additional variables

No balances found for "GainLendingPool"

No transactions found for "GainLendingPool"


Functions
Getter at block 21327233
asset(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
0
depositsPaused(view returns (bool)
false
feesCollector(view returns (address)
0x0000000000000000000000000000000000000000
gainAdapter(view returns (address)
0x0000000000000000000000000000000000000000
getInitializedVersion(view returns (uint8)
255
getTotalLoansDeployed(view returns (uint256)
0
getWithdrawalEpoch(view returns (uint256 yearuint256 monthuint256 dayuint256 claimableEpoch)
(year=2024, month=12, day=4, claimableEpoch=1733270400)
globalLiabilityShares(view returns (uint256)
0
globalLoansAmount(view returns (uint256)
0
lagDuration(view returns (uint256)
0
liquidationHour(view returns (uint8)
0
loansDeployerAddress(view returns (address)
0x0000000000000000000000000000000000000000
loansOperator(view returns (address)
0x0000000000000000000000000000000000000000
maxDepositAmount(view returns (uint256)
0
maxSupply(view returns (uint256)
0
maxWithdrawalAmount(view returns (uint256)
0
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
scheduledCallerAddress(view returns (address)
0x0000000000000000000000000000000000000000
settlementAccount(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
 
totalAssets(view returns (uint256)
totalCollectableFees(view returns (uint256)
0
totalSupply(view returns (uint256)
0
withdrawalFee(view returns (uint256)
0
withdrawalsPaused(view returns (bool)
false
Read-only
allowance(address ownerAddraddress spenderAddrview returns (uint256)
balanceOf(address addrview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256)
convertToShares(uint256 assetsview returns (uint256)
getBurnableAmountByReceiver(uint256 yearuint256 monthuint256 dayaddress receiverAddrview returns (uint256)
getClaimableAmountByReceiver(uint256 yearuint256 monthuint256 dayaddress receiverAddrview returns (uint256)
getRequirementByDate(uint256 yearuint256 monthuint256 dayview returns (uint256 sharesuint256 assets)
getScheduledTransactionsByDate(uint256 yearuint256 monthuint256 dayview returns (uint256 totalTransactionsuint256 executionEpoch)
isBlacklisted(addressview returns (bool)
loansDeployed(uint256view returns (address)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address holderAddrview returns (uint256)
maxWithdraw(address holderAddrview returns (uint256)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256 assets)
previewWithdraw(uint256 assetsview returns (uint256)
redeem(uint256addressaddresspure returns (uint256)
withdraw(uint256addressaddresspure returns (uint256)
State-modifying
addToBlacklist(address addr
approve(address spenderuint256 valuereturns (bool)
callLoan(address loanAddruint256 callbackPeriodInHoursuint256 gracePeriodInHours
changeLateFees(address loanAddruint256 lateInterestFeeWithTwoDecimalsuint256 latePrincipalFeeWithTwoDecimals
changeMaintenanceCollateralRatio(address loanAddruint256 maintenanceCollateralRatioWith2Decimals
claim(uint256 yearuint256 monthuint256 dayaddress receiverAddrreturns (uint256uint256)
collectFees(
configurePool(uint256 newLagDurationuint256 newMaxDepositAmountuint256 newMaxWithdrawalAmountuint256 newMaxTokenSupplyaddress newUnderlyingAssetaddress newLoansOperatoraddress newLoansDeployerAddressaddress newFeesCollectorAddraddress newScheduledCallerAddressuint8 newProcessingHour
deployLoan(struct LoanDeploymentParams loanParamsreturns (address)
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
emergencyWithdraw(address tokenaddress destinationAddr
fundLoan(address loanAddr
initialize(address newOwneruint8 erc20Decimalsstring erc20Symbolstring erc20Name
liquidate(address loanAddr
mint(uint256 sharesaddress receiverreturns (uint256 assets)
notifyLoanClosed(
notifyLoanMatured(
notifyPrincipalRepayment(uint256 effectiveLoanAmountuint256 principalRepaid
pauseDepositsAndWithdrawals(bool bPauseDepositsbool bPauseWithdrawals
processAllClaimsByDate(uint256 yearuint256 monthuint256 dayuint256 maxLimit
processWithdrawal(address accountuint256 shares
proposeNewApr(address loanAddruint256 newAprWithTwoDecimals
removeFromBlacklist(address addr
requestRedeem(uint256 sharesaddress receiverAddraddress holderAddrreturns (uint256 assetsuint256 claimableEpoch)
reserveDeposit(address accountuint256 amountInETH
setGainAdapter(address _gainAdapter
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
updateIssuanceLimits(uint256 newMaxDepositAmountuint256 newMaxWithdrawalAmountuint256 newMaxTokenSupply
updateSettlementAccount(address addr
updateTimelockDuration(uint256 newDuration
updateWithdrawalFee(uint256 newWithdrawalFee
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
DepositWithdrawalStatusChanged(bool bDepositsPausedbool bWithdrawalsPaused
Initialized(uint8 version
NewLoanDeployedByPool(address loanAddruint256 aprWithTwoDecimals
OnEmergencyWithdraw(uint256 withdrawalAmountaddress tokenAddraddress destinationAddr
OnMaxSupplyChanged(uint256 prevValueuint256 newValue
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReserveDeposit(address accountuint256 sharesuint256 assets
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
WithdrawalProcessed(uint256 assetsAmountuint256 processedOnaddress receiverAddruint256 requestedOnbool wasBlacklisted
WithdrawalRequested(address ownerAddraddress receiverAddruint256 sharesuint256 assetsuint256 feeuint256 yearuint256 monthuint256 day
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressBlacklisted(
AllowanceCheckFailed(
AmountTooLow(
AssetsAmountRequired(
BalanceCheckFailed(
Blacklisted(
CannotBlacklistOwner(
CollectorRequired(
DeployerRequired(
DepositLimitReached(
FeeTooHigh(
FundingCheckFailed(
InsufficientShares(
InvalidAddress(
InvalidDeploymentAddress(
InvalidDepositLimit(
InvalidHolder(
InvalidLoanState(
InvalidOwner(
InvalidProcessingHour(
InvalidReceiver(
InvalidWithdrawalLimit(
LimitRequired(
MaxMintReached(
NoSharesForReceiver(
NothingToProcess(
OperatorRequired(
OwnerCannotBeDeployer(
OwnerCannotBeOperator(
PoolOwnerRequired(
SettlementAccountNotSet(
SharesAmountRequired(
TooEarly(
Unauthorized(
UnknownLoan(
WithdrawalLimitReached(
WithdrawalRequestRequired(
ZeroAddress(
ZeroAmount(