MinterAmm
Verified contract
Implementation
Active on
Ethereum with 3 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0xe8e7…bfb2
0xe7bb…5fa9
0x9de7…d3ba
0xf403…e88c
Balances ($0.00)
No balances found for "MinterAmm"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11434004 | 4 years ago | | | 0 | 0.0010421680 | |
| 11433999 | 4 years ago | | | 0 | 0.023120680 | |
| 11433901 | 4 years ago | | | 0 | 0.010257126 |
ABI
ABI objects
Getter at block 21258604 getMarkets() view returns (address[]) getUnclaimedBalances() view returns (uint256, uint256)
MINIMUM_TRADE_SIZE() view returns (uint256)
1000
assetPair() view returns (bytes32)
0x675de0fba0d2b8d34e4ffbe4000ead4030909b653cb575147e397993b45a23f6
collateralToken() view returns (address)
0xe7bb1866db7d736b625cdf27e383f41486185fa9
enforceDepositLimits() view returns (bool)
false
getCurrentCollateralPrice() view returns (uint256)
96359692000000000000000
getLogicAddress() view returns (address logicAddress)
0x0000000000000000000000000000000000000000
globalDepositLimit() view returns (uint256)
0
lpToken() view returns (address)
0xe8e7da36ae6f77b4dc5373a45abef41c7172bfb2
owner() view returns (address)
0x000000000000000000000000000000000000dead
paymentToken() view returns (address)
0x9de76539de34f3ae31f69bb713125dd53ba8d3ba
proxiableUUID() pure returns (bytes32)
0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7
registry() view returns (address)
0x000000000000000000000000000000000000dead
tradeFeeBasisPoints() view returns (uint16)
0
volatilityFactor() view returns (uint256)
40000000000000
Read-only
bTokenGetCollateralIn(address market, uint256 bTokenAmount) view returns (uint256)
bTokenGetCollateralOut(address market, uint256 bTokenAmount) view returns (uint256)
calcPrice(uint256 timeUntilExpiry, uint256 strike, uint256 currentPrice, uint256 volatility) pure returns (uint256)
collateralDepositLimits(address) view returns (bool allowedToDeposit, uint256 currentDeposit)
getMarket(uint256 marketIndex) view returns (address)
getPriceForMarket(address market) view returns (uint256)
getTokensSaleValue(uint256 lpTokenAmount) view returns (uint256)
getTotalPoolValue(bool includeUnclaimed) view returns (uint256)
getVirtualReserves(address market) view returns (uint256, uint256)
State-modifying
Events bTokenBuy(uint256 marketIndex, uint256 bTokenAmount, uint256 collateralMaximum) returns (uint256)
bTokenSell(uint256 marketIndex, uint256 bTokenAmount, uint256 collateralMinimum) returns (uint256)
claimAllExpiredTokens()
claimExpiredTokens(address optionMarket, uint256 wTokenBalance)
initialize(address _registry, address _priceOracle, address _paymentToken, address _collateralToken, address _tokenImplementation, uint16 _tradeFeeBasisPoints, bool _shouldInvertOraclePrice)
provideCapital(uint256 collateralAmount, uint256 lpTokenMinimum)
renounceOwnership()
setCapitalDepositLimit(address[] lpAddresses, bool[] allowedToDeposit)
setEnforceDepositLimits(bool _enforceDepositLimits, uint256 _globalDepositLimit)
setVolatilityFactor(uint256 _volatilityFactor)
transferOwnership(address newOwner)
updateAmmImplementation(address newAmmImplementation)
withdrawCapital(uint256 lpTokenAmount, bool sellTokens, uint256 collateralMinimum)
AMMInitialized(address lpToken, address priceOracle)
BTokensBought(address buyer, uint256 bTokensBought, uint256 collateralPaid)
BTokensSold(address seller, uint256 bTokensSold, uint256 collateralPaid)
CodeAddressUpdated(address newAddress)
DepositAllowedUpdated(address lpAddress, bool allowed)
EnforceDepositLimitsUpdated(bool isEnforced, uint256 globalLimit)
LpTokensBurned(address redeemer, uint256 collateralRemoved, uint256 paymentRemoved, uint256 lpTokensBurned)
LpTokensMinted(address minter, uint256 collateralAdded, uint256 lpTokensMinted)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
VolatilityFactorUpdated(uint256 newVolatilityFactor)
WTokensBought(address buyer, uint256 wTokensBought, uint256 collateralPaid)
WTokensSold(address seller, uint256 wTokensSold, uint256 collateralPaid)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.