GammaAdapter
Verified contract
Active on
Ethereum with 0 txns
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
No balances found for "GammaAdapter"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "GammaAdapter"
ABI
ABI objects
Getter at block 21172712
MARGIN_POOL() view returns (address)
0x5934807cc0654d46755ebd2848840b616256c6ef
UNISWAP_ROUTER() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
USDC() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
USDCETHPriceFeed() view returns (address)
0x986b5e1e1755e3c2440e960477f25201b0a8bbd4
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
ZERO_EX_EXCHANGE_V3() view returns (address)
0xdef1c0ded9bec7f1a1670819833240f027b25eff
gammaController() view returns (address)
0x4ccc2339f87f6c59c6893e1a678c2266ca58dc72
nonFungible() pure returns (bool)
false
oTokenFactory() view returns (address)
0x7c06792af1632e77cb27a558dc0885338f4bdf8e
protocolName() pure returns (string)
OPYN_GAMMA
purchaseMethod() pure returns (uint8)
2
Read-only
canExercise(address options, uint256, uint256 amount) view returns (bool)
exerciseProfit(address options, uint256, uint256 amount) view returns (uint256 profit)
getOptionsAddress(struct ProtocolAdapterTypesOptionTerms optionTerms) view returns (address)
lookupOToken(struct ProtocolAdapterTypesOptionTerms optionTerms) view returns (address oToken)
optionsExist(struct ProtocolAdapterTypesOptionTerms optionTerms) view returns (bool)
premium(struct ProtocolAdapterTypesOptionTerms, uint256) pure returns (uint256 cost)
State-modifying
Events closeShort() returns (uint256)
createShort(struct ProtocolAdapterTypesOptionTerms optionTerms, uint256 depositAmount) returns (uint256)
exercise(address options, uint256, uint256 amount, address recipient) payable
purchase(struct ProtocolAdapterTypesOptionTerms, uint256, uint256) payable returns (uint256)
purchaseWithZeroEx(struct ProtocolAdapterTypesOptionTerms optionTerms, struct ProtocolAdapterTypesZeroExOrder zeroExOrder) payable
Exercised(address indexed caller, address indexed options, uint256 indexed optionID, uint256 amount, uint256 exerciseProfit)
Purchased(address indexed caller, string indexed protocolName, address indexed underlying, uint256 amount, uint256 optionID)
constructor(address _oTokenFactory, address _gammaController, address _marginPool, address _usdcEthPriceFeed, address _uniswapRouter, address _weth, address _usdc, address _zeroExExchange)
receive()
This contract contains no error objects.