Coinbase Wrapped Staked ETH Basechain MAI Vault

Verified contract

Active on Base with 2,182 txns
Deployed by via 0x4e1ea94b at 2572101
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
19 additional variables
ERC-20
Value $470,434.67
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xaf414859042f6220135905adaf96443bddcf1425643b1ef39a6f01b98205a691
0xae1ffad6504d8695ced84cea05ed0fa73a720b2c66ee1f0e05c6228cb50de4c7
0xe60d15704eeb0b8d8c57696a3ef441e21906e1c92555a7ee618b0e13c0aef29b
0x7211b3aa30920446eb94621f130cfd1b679d38f744e93ca7f1afb82a78ce9557
0x944ecbe500c315d5d23da2b8454c3ecd80a08b62e9bde086c344904669ace93d
0xda746660af77e3308ba8463270d173a4d6642cbdbda1eab055e1963f1f77e3a2
0x9dc2b62b94fafb49ba9494dedd39966a06a5335abb6d36b3d8783127a394c79f
0x196095dd2c43e2a2383f5dbfcc078f492b707e6527a67fbd764a37750dfffc65
0xf5eac5b9d4b6cfe22f0fb172bfc02ccd26b60f0a37620f018c04271c78b58452
0xf597cdaa5be830b828c0c1fe5aaf57dde16091cf645e68a41f4fed00cdbf7073

Functions
Getter at block 21837265
_minimumCollateralPercentage(view returns (uint256)
125
adm(view returns (address)
0x8fc068436e798997c29b767ef559a8ba51e253fb
adminFee(view returns (uint256)
10000
closingFee(view returns (uint256)
0
collateral(view returns (address)
0xc765d6b7ea9d4b9ccd8cbadbb0e4726d68e195e4
custom(view returns (bool)
false
debtRatio(view returns (uint256)
2
decimalDifferenceRaisedToTen(view returns (uint256)
1
ethPriceSource(view returns (address)
0x5e5cce0ac9375937d264d0aaf680c5261f95e3ff
gainRatio(view returns (uint256)
1100
getClosingFee(view returns (uint256)
0
getDebtCeiling(view returns (uint256)
468560432634450381770846
 
getEthPriceSource(view returns (uint256)
getTokenPriceSource(view returns (uint256)
100000000
 
getTotalValueLocked(view returns (uint256)
iR(view returns (uint256)
500
mai(view returns (address)
0xbf1aea8670d2528e08334083616dd9c5f3b087ae
maiDebt(view returns (uint256)
0
maxDebt(view returns (uint256)
500000000000000000000000
minDebt(view returns (uint256)
10000000000000000000
name(view returns (string)
Coinbase Wrapped Staked ETH Basechain MAI Vault
openingFee(view returns (uint256)
0
owner(view returns (address)
0xe816f03e31a75cabe64861064a6219ebe62c613d
priceSourceDecimals(view returns (uint256)
8
ref(view returns (address)
0xe816f03e31a75cabe64861064a6219ebe62c613d
refFee(view returns (uint256)
0
router(view returns (address)
0x0000000000000000000000000000000000000000
stabilityPool(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
CBSTEMVT
tokenPeg(view returns (uint256)
100000000
totalBorrowed(view returns (uint256)
417408665310902795000747
totalSupply(view returns (uint256)
708
vaultCount(view returns (uint256)
734
version(view returns (uint8)
8
Read-only
accumulatedVaultDebt(uint256view returns (uint256)
balanceOf(address ownerview returns (uint256)
calculateFee(uint256 feeuint256 amountuint256 promoFeeview returns (uint256)
checkCollateralPercentage(uint256 vaultIDview returns (uint256)
checkCost(uint256 vaultIDview returns (uint256)
checkExtract(uint256 vaultIDview returns (uint256)
checkLiquidation(uint256 vaultIDview returns (bool)
checkRiskyVault(uint256 vaultIDview returns (bool)
exists(uint256 vaultIDview returns (bool)
getApproved(uint256 tokenIdview returns (address)
isApprovedForAll(address owneraddress operatorview returns (bool)
isValidCollateral(uint256 _collateraluint256 debtview returns (bool)
lastInterest(uint256view returns (uint256)
maticDebt(addressview returns (uint256)
ownerOf(uint256 tokenIdview returns (address)
promoter(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
vaultCollateral(uint256view returns (uint256)
vaultDebt(uint256 vaultIDview returns (uint256)
State-modifying
addFrontEnd(uint256 _promoter
approve(address touint256 tokenId
borrowToken(uint256 vaultIDuint256 amountuint256 _front
burn(uint256 amountToken
buyRiskDebtVault(uint256 vaultIDreturns (uint256)
changeEthPriceSource(address ethPriceSourceAddress
createVault(returns (uint256)
depositCollateral(uint256 vaultIDuint256 amount
destroyVault(uint256 vaultID
getPaid(
getPaid(address pay
liquidateVault(uint256 vaultIDuint256 _front
payBackToken(uint256 vaultIDuint256 amountuint256 _front
paybackTokenAll(uint256 vaultIDuint256 deadlineuint256 _front
removeFrontEnd(uint256 _promoter
renounceOwnership(
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setAdmin(address _adm
setApprovalForAll(address operatorbool approved
setClosingFee(uint256 _closingFee
setCustomURI(bool _custom
setDebtRatio(uint256 _debtRatio
setFees(uint256 _adminuint256 _ref
setGainRatio(uint256 _gainRatio
setInterestRate(uint256 _iR
setMaxDebt(uint256 _maxDebt
setMinCollateralRatio(uint256 minimumCollateralPercentage
setMinDebt(uint256 _minDebt
setOpeningFee(uint256 _openingFee
setRef(address _ref
setRouter(address _router
setStabilityPool(address _pool
setTokenURI(string _baseURI
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
updateFrontEnd(uint256 _promoteruint256 cashback
updateOracleName(string _oracle
updateVaultDebt(uint256 vaultIDreturns (uint256)
withdrawCollateral(uint256 vaultIDuint256 amount
withdrawInterest(
Events
AddedFrontEnd(uint256 promoter
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BorrowToken(uint256 vaultIDuint256 amount
BoughtRiskyDebtVault(uint256 riskyVaultuint256 newVaultaddress riskyVaultBuyeruint256 amountPaidtoBuy
BurnedToken(uint256 amount
CreateVault(uint256 vaultIDaddress creator
DepositCollateral(uint256 vaultIDuint256 amount
DestroyVault(uint256 vaultID
LiquidateVault(uint256 vaultIDaddress owneraddress buyeruint256 debtRepaiduint256 collateralLiquidateduint256 closingFee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PayBackToken(uint256 vaultIDuint256 amountuint256 closingFee
RemovedFrontEnd(uint256 promoter
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
UpdatedAdmin(address newAdmin
UpdatedClosingFee(uint256 newFee
UpdatedCustomURI(bool custom
UpdatedDebtRatio(uint256 _debtRatio
UpdatedEthPriceSource(address _ethPriceSourceAddress
UpdatedFees(uint256 _adminFeeuint256 _refFee
UpdatedFrontEnd(uint256 promoteruint256 newFee
UpdatedGainRatio(uint256 _gainRatio
UpdatedInterestRate(uint256 interestRate
UpdatedMaxDebt(uint256 newMaxDebt
UpdatedMinCollateralRatio(uint256 newMinCollateralRatio
UpdatedMinDebt(uint256 newMinDebt
UpdatedOpeningFee(uint256 newFee
UpdatedOracleName(string oracle
UpdatedRef(address newRef
UpdatedRouter(address router
UpdatedStabilityPool(address pool
UpdatedTokenURI(string uri
WithdrawCollateral(uint256 vaultIDuint256 amount
WithdrawInterest(uint256 earned
Constructor
constructor(address ethPriceSourceAddressuint256 minimumCollateralPercentagestring namestring symboladdress _maiaddress _collateralstring baseURI
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.