Iron Bank CHF

Verified contract

Proxy

Active on Ethereum with 390 txns
Deployed by via 0xd8912bc5 at 13035372
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
21 additional variables
ERC-20
--
0xa4cf022de01f0b1d87843c5bfef85a18e4469966c4cd4f1f9fb3cdb206c66301
From
0xa3de72571f1721ee0a509000f67e6abf5adb0760adb2f4257d57379e46af9440
0xf99b2efdda63cfecffc12a66e07925191aea4fb5ea64a9e83276bdf0aa2db76a
0x8b156c798872ada0bfa3a3b1c9edfadd2e323ef1519bda58fd8cb5017d30dda0
0x94b5b1b89714aaa426b56ce06108c7b7e1027ef8f0448f54ac7d65c7ef55bd4b
0x289a6020f3c167e10d5e1a3b844440db7aeb943f3fd0634aa4bb273a2aa4226f
0x68321b875fec26e059bc97edddf32916f51d367ebe6bc856f50062b9b43618ef
0xe559182c08b406e0eda21f1b4d7fb48f26b8c9bfb3e00823b750f0c83e69177a
0x8279c63361bd4931d4565c5e77a540dd52a201298af4fbcb5c80bc02c2e6924e
0x6130ced41ec5d87023cd22c89b6a0be33d0e3c5c27048e2d650118e705edc56d

Functions
Getter at block 21178214
accrualBlockNumber(view returns (uint256)
21024939
admin(view returns (address)
0x1145ed8549fc5a49ace3f01354a05d03058fef24
borrowIndex(view returns (uint256)
1110696621037269910
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0xab1c342c7bf5ec5f02adea1c2270670bca144cbb
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
102797908360701810843076111
getCash(view returns (uint256)
511059629287323049699677
implementation(view returns (address)
0x7e8844ea4c211a69ad9308ba0b6cdb3ea0bb2b05
interestRateModel(view returns (address)
0x5931ee26a25b8d4ba3ced3dc32653606a76a7612
isCToken(view returns (bool)
true
name(view returns (string)
Iron Bank CHF
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
100000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
iCHF
totalBorrows(view returns (uint256)
209488966298250722521755
totalReserves(view returns (uint256)
14168449645327747951048
totalSupply(view returns (uint256)
6871542010968437
underlying(view returns (address)
0x1cc481ce2bd2ec7bf67d1be64d4878b16078f309
accrualBlockNumber(view returns (uint256)
21024939
admin(view returns (address)
0x1145ed8549fc5a49ace3f01354a05d03058fef24
borrowIndex(view returns (uint256)
1110696621037269910
 
borrowRatePerBlock(view returns (uint256)
collateralCap(view returns (uint256)
0
comptroller(view returns (address)
0xab1c342c7bf5ec5f02adea1c2270670bca144cbb
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
102797908360701810843076111
flashFeeBips(view returns (uint256)
3
getCash(view returns (uint256)
511059629287323049699677
implementation(view returns (address)
0x7e8844ea4c211a69ad9308ba0b6cdb3ea0bb2b05
interestRateModel(view returns (address)
0x5931ee26a25b8d4ba3ced3dc32653606a76a7612
internalCash(view returns (uint256)
511059629287323049699677
isCToken(view returns (bool)
true
name(view returns (string)
Iron Bank CHF
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
100000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
iCHF
totalBorrows(view returns (uint256)
209488966298250722521755
totalCollateralTokens(view returns (uint256)
3330277638
totalReserves(view returns (uint256)
14168449645327747951048
totalSupply(view returns (uint256)
6871542010968437
underlying(view returns (address)
0x1cc481ce2bd2ec7bf67d1be64d4878b16078f309
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
delegateToViewImplementation(bytes dataview returns (bytes)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
accountCollateralTokens(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
estimateBorrowRatePerBlockAfterChange(uint256 changebool repayview returns (uint256)
estimateSupplyRatePerBlockAfterChange(uint256 changebool repayview returns (uint256)
flashFee(address tokenuint256 amountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
isCollateralTokenInit(addressview returns (bool)
maxFlashLoan(address tokenview returns (uint256)
State-modifying
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setImplementation(address implementation_bool allowResignbytes becomeImplementationData
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
delegateToImplementation(bytes datareturns (bytes)
exchangeRateCurrent(returns (uint256)
liquidateBorrow(address borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(uint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_becomeImplementation(bytes data
_reduceReserves(uint256 reduceAmountreturns (uint256)
_resignImplementation(
_setCollateralCap(uint256 newCollateralCap
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
exchangeRateCurrent(returns (uint256)
flashLoan(address receiveraddress tokenuint256 amountbytes datareturns (bool)
gulp(
initialize(address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
initialize(address underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
liquidateBorrow(address borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
registerCollateral(address accountreturns (uint256)
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
unregisterCollateral(address account
Events
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
Failure(uint256 erroruint256 infouint256 detail
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewImplementation(address oldImplementationaddress newImplementation
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
Failure(uint256 erroruint256 infouint256 detail
Flashloan(address indexed receiveruint256 amountuint256 totalFeeuint256 reservesFee
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewCollateralCap(address tokenuint256 newCap
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
UserCollateralChanged(address accountuint256 newCollateralTokens
Constructor
constructor(address underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_address admin_address implementation_bytes becomeImplementationData
Fallback and receive
fallback(
Errors

This contract contains no error objects.