Proxy
Verified contract
Proxy
Active on
Ethereum with 201 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
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
0xf2b2…c4c3
0xa027…b0e1
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
| ERC-20 | 6.222467 | -- | -- | |
| ERC-20 | 3.265526 | -- | -- | |
| ERC-20 | 0.10564 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13114189 | 3 years ago | | | 0 | 0.024468318 | |
| 13078427 | 3 years ago | | | 0 | 0.015825018 | |
| 13048295 | 3 years ago | | | 0 | 0.014563067 | |
| 13046969 | 3 years ago | | | 0 | 0.015298965 | |
| 13032035 | 3 years ago | | | 0 | 0.026420733 | |
| 13024175 | 3 years ago | | | 0 | 0.018880357 | |
| 12989567 | 3 years ago | | | 0 | 0.014120801 | |
| 12906580 | 3 years ago | | | 0 | 0.0074568160 | |
| 12860765 | 3 years ago | | | 0 | 0.0070626720 | |
| 12809933 | 3 years ago | | | 0 | 0.0048815600 |
ABI
ABI objects
Getter at block 21081720 getCurrentCollateralPrice() view returns (uint256) getMarkets() view returns (address[]) getUnclaimedBalances() view returns (uint256, uint256)
MINIMUM_TRADE_SIZE() view returns (uint256)
1000
assetPair() view returns (bytes32)
0x40a9db9abd767f926138230079100899f02bfb6ef10291d745f117ddfee67398
collateralToken() view returns (address)
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
enforceDepositLimits() view returns (bool)
false
getLogicAddress() view returns (address logicAddress)
0x45341d48d32645d4d5c22f96cb178cf4ecde0a4e
globalDepositLimit() view returns (uint256)
0
lpToken() view returns (address)
0xf2b2dfb04b8d5390a3e22df1fc3b4a554630c4c3
owner() view returns (address)
0xac3201cf1332c8ee37aed9884be6d81c9fad57d0
paymentToken() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
proxiableUUID() pure returns (bytes32)
0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7
registry() view returns (address)
0xb8623477ea6f39b63598ceac4559728dca81af63
tradeFeeBasisPoints() view returns (uint16)
0
volatilityFactor() view returns (uint256)
156703742495919
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)
constructor(address contractLogic)
fallback()
This contract contains no error objects.