Wrapped Bitcoin MAI Vault

Verified contract

Active on Ethereum with 426 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
18 additional variables
ERC-20
Value $22,560.04
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x77b557cab755468cd649440489dbe47377897b96e888049e3671614a0b71c3d2
0xdffb97cdc6de6709b6470ca7bcadb8f88bcc5a1b3cc5d29919d1e34f881f2091
0x391cd5487af1d230166bf0dd5af03cd3a98bad7ef74fdf1f9004522f2dc15e3e
0x26254653d502f675e5d76e81ad37c5ad4a353fd6b016df248d9530961fd4f18e
0x079bc6fe4a8c6473a60700f5855473a01336e0ed9faf1485cfc90c21592851e0
0xdc311dfa10d0db2b3d44b785781cafdf996cb44e7432cbeacdfe36bb6810d486
From
0x9768c97921a1b1cdff1ba76eb4b9cf0c5fcf0497fda21c0f5587c3a57f046dbc
From
0x2f6d3425faedc02d26d382ee89e8d9a28b2b099b3dc62bd99374e6a11a5b9430
0xc14bb3c78dcc02c89d32ed4b50c3e7caea1ef9ebc1f9c15b37eb291fa7eeb566
0xc0b02fd34dd9add9f7448a9c53efa15d7169679d4852fd192e0e843c20dbcef6

Functions
Getter at block 21307546
_minimumCollateralPercentage(view returns (uint256)
120
adm(view returns (address)
0x594f17028522bf85e830b689973682967e0dbcbc
adminFee(view returns (uint256)
10000
closingFee(view returns (uint256)
0
collateral(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
debtRatio(view returns (uint256)
2
decimalDifferenceRaisedToTen(view returns (uint256)
10000000000
ethPriceSource(view returns (address)
0xf4030086522a5beea4988f8ca5b36dbc97bee88c
gainRatio(view returns (uint256)
1100
getClosingFee(view returns (uint256)
0
getDebtCeiling(view returns (uint256)
246634820465961949924156
getEthPriceSource(view returns (uint256)
9699668000000
getTokenPriceSource(view returns (uint256)
100000000
 
getTotalValueLocked(view returns (uint256)
iR(view returns (uint256)
1000
mai(view returns (address)
0x8d6cebd76f18e1558d4db88138e2defb3909fad6
maiDebt(view returns (uint256)
2614820465961949924156
maxDebt(view returns (uint256)
500000000000000000000000
minDebt(view returns (uint256)
10000000000000000000000
name(view returns (string)
Wrapped Bitcoin MAI Vault
openingFee(view returns (uint256)
0
owner(view returns (address)
0x3182e6856c3b59c39114416075770ec9dc9ff436
priceSourceDecimals(view returns (uint256)
8
ref(view returns (address)
0x3182e6856c3b59c39114416075770ec9dc9ff436
refFee(view returns (uint256)
0
router(view returns (address)
0x0000000000000000000000000000000000000000
stabilityPool(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
WBMVT
tokenPeg(view returns (uint256)
100000000
totalBorrowed(view returns (uint256)
0
totalSupply(view returns (uint256)
42
uri(view returns (string)
ipfs://QmeK6pJXVPzDeuyTca83CbGVWu8wpgrM5XMJnHjGtmp5CQ
vaultCount(view returns (uint256)
45
version(view returns (uint8)
7
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
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 _uri
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
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
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.