IonPool

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x45d657fe at 16878340
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "IonPool"

No transactions found for "IonPool"


Functions
Getter at block 22116921
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GEM_JOIN_ROLE(view returns (bytes32)
0xc8e63ee95f263967af737f71b1c5d180e676a7f8b91a501b355a526a9a8fe3eb
ION(view returns (bytes32)
0x5ab1a5ffb29c47d95dec8c5f9ad49a551754822b51a3359ed1c21e2be24beefa
LIQUIDATOR_ROLE(view returns (bytes32)
0x5e17fc5225d4a099df75359ce1f405503ca79498a8dc46a7d583235a0ee45c16
PAUSE_ROLE(view returns (bytes32)
0x139c2898040ef16910dc9f44dc697df79363da767d8bc92f2e310312b816e46d
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
calculateRewardAndDebtDistribution(view returns (uint256 totalSupplyFactorIncreaseuint256 totalTreasuryMintAmountuint104[] rateIncreasesuint256 totalDebtIncreaseuint48[] timestampIncreases)
(totalSupplyFactorIncrease=0, totalTreasuryMintAmount=0, rateIncreases=[], totalDebtIncrease=0, timestampIncreases=[])
decimals(view returns (uint8)
0
defaultAdmin(view returns (address)
0x0000000000000000000000000000000000000000
defaultAdminDelay(view returns (uint48)
0
defaultAdminDelayIncreaseWait(view returns (uint48)
432000
implementation(view returns (address)
0xb1f7395e72b0045600c946afab7e44cb35a6eb9b
name(view returns (string)
 
normalizedTotalSupply(view returns (uint256)
normalizedTotalSupplyUnaccrued(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
pendingDefaultAdmin(view returns (address newAdminuint48 schedule)
(newAdmin=0x0000000000000000000000000000000000000000, schedule=0)
pendingDefaultAdminDelay(view returns (uint48 newDelayuint48 schedule)
(newDelay=0, schedule=0)
supplyFactor(view returns (uint256)
0
supplyFactorUnaccrued(view returns (uint256)
0
symbol(view returns (string)
totalSupply(view returns (uint256)
0
totalSupplyUnaccrued(view returns (uint256)
0
treasury(view returns (address)
0x0000000000000000000000000000000000000000
underlying(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address userview returns (uint256)
balanceOfUnaccrued(address userview returns (uint256)
calculateRewardAndDebtDistributionForIlk(uint8 ilkIndexview returns (uint104 newRateIncreaseuint48 timestampIncrease)
collateral(uint8 ilkIndexaddress userview returns (uint256)
dust(uint8 ilkIndexview returns (uint256)
extsload(bytes32 slotview returns (bytes32 value)
getCurrentBorrowRate(uint8 ilkIndexview returns (uint256 borrowRateuint256 reserveFactor)
getIlkAddress(uint256 ilkIndexview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isAllowed(address useraddress operatorview returns (bool)
nonces(address ownerview returns (uint256)
normalizedBalanceOf(address userview returns (uint256)
normalizedDebt(uint8 ilkIndexaddress userview returns (uint256)
rate(uint8 ilkIndexview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
vault(uint8 ilkIndexaddress userview returns (uint256uint256)
State-modifying
acceptDefaultAdminTransfer(
accrueInterest(returns (uint256 newTotalDebt)
addOperator(address operator
approve(address spenderuint256 amountreturns (bool)
beginDefaultAdminTransfer(address newAdmin
borrow(uint8 ilkIndexaddress useraddress recipientuint256 amountOfNormalizedDebtbytes32[] proof
cancelDefaultAdminTransfer(
changeDefaultAdminDelay(uint48 newDelay
confiscateVault(uint8 ilkIndexaddress uaddress vaddress wint256 changeInCollateralint256 changeInNormalizedDebt
depositCollateral(uint8 ilkIndexaddress useraddress depositoruint256 amountbytes32[] proof
grantRole(bytes32 roleaddress account
initialize(address _underlyingaddress _treasuryuint8 decimals_string name_string symbol_address initialDefaultAdminaddress _interestRateModuleaddress _whitelist
initializeIlk(address ilkAddress
mintAndBurnGem(uint8 ilkIndexaddress usrint256 wad
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
removeOperator(address operator
renounceRole(bytes32 roleaddress account
repay(uint8 ilkIndexaddress useraddress payeruint256 amountOfNormalizedDebt
repayBadDebt(address useruint256 rad
revokeRole(bytes32 roleaddress account
rollbackDefaultAdminDelay(
supply(address useruint256 amountbytes32[] proof
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferGem(uint8 ilkIndexaddress srcaddress dstuint256 wad
unpause(
updateIlkDebtCeiling(uint8 ilkIndexuint256 newCeiling
updateIlkDust(uint8 ilkIndexuint256 newDust
updateIlkSpot(uint8 ilkIndexaddress newSpot
updateInterestRateModule(address _interestRateModule
updateSupplyCap(uint256 newSupplyCap
updateTreasury(address newTreasury
updateWhitelist(address _whitelist
withdraw(address receiverOfUnderlyinguint256 amount
withdrawCollateral(uint8 ilkIndexaddress useraddress recipientuint256 amount
Events
AddOperator(address indexed useraddress indexed operator
Approval(address indexed owneraddress indexed spenderuint256 value
Borrow(uint8 indexed ilkIndexaddress indexed useraddress indexed recipientuint256 amountOfNormalizedDebtuint256 ilkRateuint256 totalDebt
ConfiscateVault(uint8 indexed ilkIndexaddress indexed uaddress vaddress indexed wint256 changeInCollateralint256 changeInNormalizedDebt
DefaultAdminDelayChangeCanceled(
DefaultAdminDelayChangeScheduled(uint48 newDelayuint48 effectSchedule
DefaultAdminTransferCanceled(
DefaultAdminTransferScheduled(address indexed newAdminuint48 acceptSchedule
DepositCollateral(uint8 indexed ilkIndexaddress indexed useraddress indexed depositoruint256 amount
IlkDebtCeilingUpdated(uint8 indexed ilkIndexuint256 newDebtCeiling
IlkDustUpdated(uint8 indexed ilkIndexuint256 newDust
IlkInitialized(uint8 indexed ilkIndexaddress indexed ilkAddress
IlkSpotUpdated(uint8 indexed ilkIndexaddress newSpot
Initialized(uint64 version
InterestRateModuleUpdated(address newModule
MintAndBurnGem(uint8 indexed ilkIndexaddress indexed usrint256 wad
MintToTreasury(address indexed treasuryuint256 amountuint256 supplyFactor
Paused(address account
RemoveOperator(address indexed useraddress indexed operator
Repay(uint8 indexed ilkIndexaddress indexed useraddress indexed payeruint256 amountOfNormalizedDebtuint256 ilkRateuint256 totalDebt
RepayBadDebt(address indexed useraddress indexed payeruint256 rad
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Supply(address indexed useraddress indexed underlyingFromuint256 amountuint256 supplyFactoruint256 newDebt
SupplyCapUpdated(uint256 newSupplyCap
Transfer(address indexed fromaddress indexed touint256 value
TransferGem(uint8 indexed ilkIndexaddress indexed srcaddress indexed dstuint256 wad
TreasuryUpdate(address treasury
Unpaused(address account
WhitelistUpdated(address newWhitelist
Withdraw(address indexed useraddress indexed targetuint256 amountuint256 supplyFactoruint256 newDebt
WithdrawCollateral(uint8 indexed ilkIndexaddress indexed useraddress indexed recipientuint256 amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlEnforcedDefaultAdminDelay(uint48 schedule
AccessControlEnforcedDefaultAdminRules(
AccessControlInvalidDefaultAdmin(address defaultAdmin
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ArithmeticError(
CeilingExceeded(uint256 newDebtuint256 debtCeiling
DepositSurpassesSupplyCap(uint256 depositAmountuint256 supplyCap
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
EnforcedPause(
ExpectedPause(
FailedInnerCall(
GemTransferWithoutConsent(uint8 ilkIndexaddress useraddress unconsentedOperator
IlkAlreadyAdded(address ilkAddress
IlkNotInitialized(uint256 ilkIndex
InsufficientBalance(address accountuint256 balanceuint256 needed
InvalidBurnAmount(
InvalidIlkAddress(
InvalidInitialization(
InvalidInterestRateModule(address invalidInterestRateModule
InvalidMintAmount(
InvalidReceiver(address receiver
InvalidSender(address sender
InvalidTreasuryAddress(
InvalidUnderlyingAddress(
InvalidWhitelist(
MathOverflowedMulDiv(
MaxIlksReached(
NotInitializing(
NotScalingUp(uint256 fromuint256 to
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeCastOverflowedUintToInt(uint256 value
SafeERC20FailedOperation(address token
SelfTransfer(address self
TakingWethWithoutConsent(address payeraddress unconsentedOperator
UnsafePositionChange(uint256 newTotalDebtInVaultuint256 collateraluint256 spot
UnsafePositionChangeWithoutConsent(uint8 ilkIndexaddress useraddress unconsentedOperator
UseOfCollateralWithoutConsent(uint8 ilkIndexaddress depositoraddress unconsentedOperator
VaultCannotBeDusty(uint256 amountLeftuint256 dust