Proxy
Verified contract
Proxy
Active on
Ethereum with 336 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
0x079a…15ba
0xf403…e88c
Balances ($2,961.23)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WBTC | ERC-20 | 0.030824 | $96,068.00 |
$2,961.23 | |
USDC | ERC-20 | 0.000001 | $0.998786 |
$0 | |
SWAPP | ERC-20 | 5 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13805422 | 3 years ago | | | 0 | 0.035715938 | |
| 13805406 | 3 years ago | | | 0 | 0.021322979 | |
| 12239948 | 4 years ago | | | 0 | 0.041889750 | |
| 12221650 | 4 years ago | | | 0 | 0.022407552 | |
| 12218967 | 4 years ago | | | 0 | 0.027477708 | |
| 12129096 | 4 years ago | | | 0 | 0.062327484 | |
| 12127581 | 4 years ago | | | 0 | 0.034661682 | |
| 12123868 | 4 years ago | | | 0 | 0.032290780 | |
| 12094432 | 4 years ago | | | 0 | 0.041120520 | |
| 12081117 | 4 years ago | | | 0 | 0.034613198 |
ABI
ABI objects
Getter at block 21258604 getCurrentCollateralPrice() view returns (uint256) getMarkets() view returns (address[]) getUnclaimedBalances() view returns (uint256, uint256)
MINIMUM_TRADE_SIZE() view returns (uint256)
1000
assetPair() view returns (bytes32)
0x9ea518776184c510b4464eeade9b627198cc588b96331825ddfcac9bed2c762e
collateralToken() view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
enforceDepositLimits() view returns (bool)
false
getLogicAddress() view returns (address logicAddress)
0x7d4167f56dab086ac119eec8ff013dc4f7754a1c
globalDepositLimit() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
lpToken() view returns (address)
0x079a4ae617af07bc2f7820e565eff90401a915ba
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)
77710810483203
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.