Fungify SAPS

Verified contract

Proxy

Active on Ethereum with 97 txns
Deployed by via 0xc658c453 at 19186471
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
28 additional variables
ERC-20
Value $1.91
 (#1280)
ERC-721
--
 (#943)
ERC-721
--
 (#868)
ERC-721
--
 (#60)
ERC-721
--
 (#34)
ERC-721
--
0x2b58ecf495c534e575bb5ac03b5a5752351d0acaaacd51287d25e57ea48862d9
0x7ea2bae4f0c7aebede0de8b4ed5a461f9862d57236ae6cc87a4628b463eb7c24
From
0x6f7f4539954f37bd1610dc6bd203cf0de6b2b8cd67f303a9d72301fc4a8c894d
0x99a5e76276492ea690b8e14f4a907b69f406ca743118eeac0ef3c97770b98014
0x23c459dac176dbabffb1c137916a4a57db27ee04e2e273fb1fb5911e347dc58f
0x0c6ed1fde131114e4bc056cec41b7d35ed541acc87929b737735e67b0309a137
0x726d39f29dc8d5ef0330b356e1e2dc14a17647e72f8487ba39f9f6790c90a710
0xec962c4dfe615ee63bb582b447a0928e8575aa8ecbb3b798d77ae52a07652455
0xfa6c52d925bc2ede30b81e3a45d5ab98eadbf0e2f99e7386e2cbaf838260dcc6
0xbf5767e92c76fec42bea4ed3b22cc0a368e47cb419c231de53817e8d680ddf2c

Functions
Getter at block 21429088
accrualBlockNumber(view returns (uint256)
21426406
admin(view returns (address)
0xb7240b2655d0b1aefab02c47447f74986c6acb3b
borrowIndex(view returns (uint256)
1000000573241276399
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0xf9c70750bf615de83fe7ff62d30c7faacd8f8ba0
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
200000000000000000000000000
getCash(view returns (uint256)
5000000000000000000
getNFTsHeld(view returns (uint256)
5
implementation(view returns (address)
0xf45f06bd08c930c21faf4896a7ef2d510b383a46
interestRateModel(view returns (address)
0xd1502fb1d61efc8cd06a92b7c80ce58cf8dc799d
isCToken(view returns (bool)
true
marketType(view returns (uint8)
2
name(view returns (string)
Fungify SAPS
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
125000000000000000
supplyIndex(view returns (uint256)
1000000327711920094
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
fSAPS
totalBorrows(view returns (uint256)
3000000000000000000
totalReserves(view returns (uint256)
3072735709703
totalSupply(view returns (uint256)
40000000000
underlying(view returns (address)
0x364c828ee171616a39897688a831c2499ad972ec
userHeldNFTCount(view returns (uint256)
0
NO_ERROR(view returns (uint256)
0
accrualBlockNumber(view returns (uint256)
21426406
admin(view returns (address)
0xb7240b2655d0b1aefab02c47447f74986c6acb3b
borrowIndex(view returns (uint256)
1000000573241276399
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0xf9c70750bf615de83fe7ff62d30c7faacd8f8ba0
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
200000000000000000000000000
getCash(view returns (uint256)
5000000000000000000
getNFTsHeld(view returns (uint256)
5
implementation(view returns (address)
0xf45f06bd08c930c21faf4896a7ef2d510b383a46
interestRateModel(view returns (address)
0xd1502fb1d61efc8cd06a92b7c80ce58cf8dc799d
isCToken(view returns (bool)
true
marketType(view returns (uint8)
2
name(view returns (string)
Fungify SAPS
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
125000000000000000
supplyIndex(view returns (uint256)
1000000327711920094
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
fSAPS
totalBorrows(view returns (uint256)
3000000000000000000
totalReserves(view returns (uint256)
3072735709703
totalSupply(view returns (uint256)
40000000000
underlying(view returns (address)
0x364c828ee171616a39897688a831c2499ad972ec
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowAndInterestBalanceStored(address accountview returns (uint256uint256)
borrowBalanceStored(address accountview returns (uint256)
delegateToViewImplementation(bytes dataview returns (bytes)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256uint256)
heldNFTs(uint256view returns (uint256)
supplyInterestStored(address accountview returns (uint256)
userHeldNFTs(addressuint256view returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowAndInterestBalanceStored(address accountview returns (uint256uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256uint256)
heldNFTs(uint256view returns (uint256)
supplyInterestStored(address accountview returns (uint256)
State-modifying
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_liquidateBorrow(address liquidatoraddress borroweruint256 repayAmountreturns (uint256)
_liquidateBorrow(address liquidatoraddress borroweruint256[] nftIdsreturns (uint256)
_redeemInterestForLiquidation(address redeemerreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setImplementation(address implementation_bool allowResignbytes becomeImplementationData
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setProtocolSeizeShare(uint256 newProtocolSeizeShareMantissareturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowNFTCountreturns (uint256)
borrowAndInterestBalanceCurrent(address accountreturns (uint256uint256)
borrowBalanceCurrent(address accountreturns (uint256)
delegateToImplementation(bytes datareturns (bytes)
exchangeRateCurrent(returns (uint256)
mint(uint256returns (uint256)
mint(uint256[] nftIdsreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemInterest(address redeemerreturns (uint256)
redeemUnderlying(uint256 redeemNFTCountreturns (uint256)
repayBorrow(uint256returns (uint256)
repayBorrow(uint256[] nftIdsuint256 repayInterestreturns (uint256)
repayBorrowBehalf(addressuint256returns (uint256)
repayBorrowBehalf(address borroweruint256[] nftIdsuint256 repayInterestreturns (uint256)
supplyInterestCurrent(address accountreturns (uint256)
sweepToken(address token
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_becomeImplementation(bytes data
_ensureNonEmpty(address minteruint256 amount
_liquidateBorrow(address liquidatoraddress borroweruint256 repayAmountreturns (uint256)
_liquidateBorrow(address liquidatoraddress borroweruint256[] nftIdsreturns (uint256)
_redeemInterestForLiquidation(address redeemerreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_resignImplementation(
_seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setProtocolSeizeShare(uint256 newProtocolSeizeShareMantissareturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowNFTCountreturns (uint256)
borrowAndInterestBalanceCurrent(address accountreturns (uint256uint256)
borrowBalanceCurrent(address accountreturns (uint256)
exchangeRateCurrent(returns (uint256)
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_
mint(uint256returns (uint256)
mint(uint256[] nftIdsreturns (uint256)
onERC721Received(address operatoraddress fromuint256 tokenIdbytes datareturns (bytes4)
redeem(uint256 redeemTokensreturns (uint256)
redeemInterest(address redeemerreturns (uint256)
redeemUnderlying(uint256 redeemNFTCountreturns (uint256)
repayBorrow(uint256returns (uint256)
repayBorrow(uint256[] nftIdsuint256 repayInterestreturns (uint256)
repayBorrowBehalf(addressuint256returns (uint256)
repayBorrowBehalf(address borroweruint256[] nftIdsuint256 repayInterestreturns (uint256)
supplyInterestCurrent(address accountreturns (uint256)
sweepToken(address token
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
Events
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
Borrow(address borroweruint256[] nftIdsuint256 accountBorrowsuint256 totalBorrows
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmount
LiquidateBorrow(address liquidatoraddress borroweruint256[] nftIdsuint256 repayInterest
Mint(address minteruint256 mintAmountuint256 mintTokens
Mint(address minteruint256 mintAmountuint256 mintTokensuint256[] nftIds
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewImplementation(address oldImplementationaddress newImplementation
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewProtocolSeizeShare(uint256 oldProtocolSeizeShareMantissauint256 newProtocolSeizeShareMantissa
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokensuint256[] nftIds
RedeemInterest(address redeemeruint256 redeemInterestuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
RepayBorrow(address payeraddress borroweruint256[] nftIdsuint256 repayInterestuint256 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
Borrow(address borroweruint256[] nftIdsuint256 accountBorrowsuint256 totalBorrows
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmount
LiquidateBorrow(address liquidatoraddress borroweruint256[] nftIdsuint256 repayInterest
Mint(address minteruint256 mintAmountuint256 mintTokens
Mint(address minteruint256 mintAmountuint256 mintTokensuint256[] nftIds
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewProtocolSeizeShare(uint256 oldProtocolSeizeShareMantissauint256 newProtocolSeizeShareMantissa
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokensuint256[] nftIds
RedeemInterest(address redeemeruint256 redeemInterestuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
RepayBorrow(address payeraddress borroweruint256[] nftIdsuint256 repayInterestuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
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
CannotReceiveValueGtZero(
Unauthorized(
Unsupported(
AcceptAdminPendingAdminCheck(
AddReservesFactorFreshCheck(uint256 actualAddAmount
AlreadyInitialized(
BorrowCashNotAvailable(
BorrowComptrollerRejection(uint256 errorCode
BorrowFreshnessCheck(
BorrowRateIsAbsurdlyHigh(uint256 borrowRateMantissa
CannotSweepUnderlying(
CollectInterestFailed(
CollectInterestNotAllowed(
EnsureNonEmptyAmountTooSmall(
InitializeExchangeRateInvalid(
InitializeInvalidMarketType(
InitializeMarketTypeNotSet(
InitializeSetComptrollerFailed(uint256 errorCode
InitializeSetInterestRateModelFailed(uint256 errorCode
InsufficientBalance(
InsufficientBalanceAfterTransfer(
InvalidComptrollerAddress(address comptrollerAddress
InvalidRateModelAddress(address interestRateModelAddress
LiquidateAccrueBorrowInterestFailed(uint256 errorCode
LiquidateAccrueCollateralInterestFailed(uint256 errorCode
LiquidateCloseAmountIsUintMax(
LiquidateCloseAmountIsZero(
LiquidateCollateralFreshnessCheck(
LiquidateComptrollerRejection(uint256 errorCode
LiquidateFreshnessCheck(
LiquidateLiquidatorIsBorrower(
LiquidateRepayBorrowFreshFailed(uint256 errorCode
LiquidateSeizeComptrollerRejection(uint256 errorCode
LiquidateSeizeLiquidatorIsBorrower(
MintComptrollerRejection(uint256 errorCode
MintFreshnessCheck(
PayInterestError(
PayInterestNotAllowed(
PriceError(
RedeemComptrollerRejection(uint256 errorCode
RedeemFreshnessCheck(
RedeemInvalidInputs(
RedeemTransferOutNotPossible(
ReduceReservesAdminCheck(
ReduceReservesCashNotAvailable(
ReduceReservesCashValidation(
ReduceReservesFreshCheck(
Reentry(
RepayBorrowComptrollerRejection(uint256 errorCode
RepayBorrowFreshnessCheck(
RepayTooHigh(
SenderMismatch(
SetComptrollerOwnerCheck(
SetInterestRateModelFreshCheck(
SetInterestRateModelOwnerCheck(
SetPendingAdminOwnerCheck(
SetProtocolSeizeShareAdminCheck(
SetProtocolSeizeShareTooHigh(
SetReserveFactorAdminCheck(
SetReserveFactorBoundsCheck(
SetReserveFactorFreshCheck(
TransferComptrollerRejection(uint256 errorCode
TransferInFailed(
TransferInvalidAmount(
TransferNotAllowed(
TransferNotEnough(
TransferOutFailed(
TransferTooMuch(
Unauthorized(
Unsupported(
ValueMismatch(