GainLendingPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
14 additional
variables
Balances ($0.00)
No balances found for "GainLendingPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "GainLendingPool"
ABI
ABI objects
Getter at block 21327233 totalAssets() view returns (uint256)
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 year, uint256 month, uint256 day, uint256 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)
totalCollectableFees() view returns (uint256)
0
totalSupply() view returns (uint256)
0
withdrawalFee() view returns (uint256)
0
withdrawalsPaused() view returns (bool)
false
Read-only
allowance(address ownerAddr, address spenderAddr) view returns (uint256)
balanceOf(address addr) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256)
convertToShares(uint256 assets) view returns (uint256)
getBurnableAmountByReceiver(uint256 year, uint256 month, uint256 day, address receiverAddr) view returns (uint256)
getClaimableAmountByReceiver(uint256 year, uint256 month, uint256 day, address receiverAddr) view returns (uint256)
getRequirementByDate(uint256 year, uint256 month, uint256 day) view returns (uint256 shares, uint256 assets)
getScheduledTransactionsByDate(uint256 year, uint256 month, uint256 day) view returns (uint256 totalTransactions, uint256 executionEpoch)
isBlacklisted(address) view returns (bool)
loansDeployed(uint256) view returns (address)
maxDeposit(address) view returns (uint256)
maxMint(address) view returns (uint256)
maxRedeem(address holderAddr) view returns (uint256)
maxWithdraw(address holderAddr) view returns (uint256)
previewDeposit(uint256 assets) view returns (uint256)
previewMint(uint256 shares) view returns (uint256)
previewRedeem(uint256 shares) view returns (uint256 assets)
previewWithdraw(uint256 assets) view returns (uint256)
redeem(uint256, address, address) pure returns (uint256)
withdraw(uint256, address, address) pure returns (uint256)
State-modifying
Events addToBlacklist(address addr)
approve(address spender, uint256 value) returns (bool)
callLoan(address loanAddr, uint256 callbackPeriodInHours, uint256 gracePeriodInHours)
changeLateFees(address loanAddr, uint256 lateInterestFeeWithTwoDecimals, uint256 latePrincipalFeeWithTwoDecimals)
changeMaintenanceCollateralRatio(address loanAddr, uint256 maintenanceCollateralRatioWith2Decimals)
claim(uint256 year, uint256 month, uint256 day, address receiverAddr) returns (uint256, uint256)
collectFees()
configurePool(uint256 newLagDuration, uint256 newMaxDepositAmount, uint256 newMaxWithdrawalAmount, uint256 newMaxTokenSupply, address newUnderlyingAsset, address newLoansOperator, address newLoansDeployerAddress, address newFeesCollectorAddr, address newScheduledCallerAddress, uint8 newProcessingHour)
deployLoan(struct LoanDeploymentParams loanParams) returns (address)
deposit(uint256 assets, address receiver) returns (uint256 shares)
emergencyWithdraw(address token, address destinationAddr)
fundLoan(address loanAddr)
initialize(address newOwner, uint8 erc20Decimals, string erc20Symbol, string erc20Name)
liquidate(address loanAddr)
mint(uint256 shares, address receiver) returns (uint256 assets)
notifyLoanClosed()
notifyLoanMatured()
notifyPrincipalRepayment(uint256 effectiveLoanAmount, uint256 principalRepaid)
pauseDepositsAndWithdrawals(bool bPauseDeposits, bool bPauseWithdrawals)
processAllClaimsByDate(uint256 year, uint256 month, uint256 day, uint256 maxLimit)
processWithdrawal(address account, uint256 shares)
proposeNewApr(address loanAddr, uint256 newAprWithTwoDecimals)
removeFromBlacklist(address addr)
requestRedeem(uint256 shares, address receiverAddr, address holderAddr) returns (uint256 assets, uint256 claimableEpoch)
reserveDeposit(address account, uint256 amountInETH)
setGainAdapter(address _gainAdapter)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership(address newOwner)
updateIssuanceLimits(uint256 newMaxDepositAmount, uint256 newMaxWithdrawalAmount, uint256 newMaxTokenSupply)
updateSettlementAccount(address addr)
updateTimelockDuration(uint256 newDuration)
updateWithdrawalFee(uint256 newWithdrawalFee)
Approval(address indexed owner, address indexed spender, uint256 value)
Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
DepositWithdrawalStatusChanged(bool bDepositsPaused, bool bWithdrawalsPaused)
Initialized(uint8 version)
NewLoanDeployedByPool(address loanAddr, uint256 aprWithTwoDecimals)
OnEmergencyWithdraw(uint256 withdrawalAmount, address tokenAddr, address destinationAddr)
OnMaxSupplyChanged(uint256 prevValue, uint256 newValue)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ReserveDeposit(address account, uint256 shares, uint256 assets)
Transfer(address indexed from, address indexed to, uint256 value)
Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
WithdrawalProcessed(uint256 assetsAmount, uint256 processedOn, address receiverAddr, uint256 requestedOn, bool wasBlacklisted)
WithdrawalRequested(address ownerAddr, address receiverAddr, uint256 shares, uint256 assets, uint256 fee, uint256 year, uint256 month, uint256 day)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
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()