GammaAdapter

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0xa7aafd7f at 12696563
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "GammaAdapter"

No transactions found for "GammaAdapter"


Functions
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 optionsuint256uint256 amountview returns (bool)
exerciseProfit(address optionsuint256uint256 amountview returns (uint256 profit)
getOptionsAddress(struct ProtocolAdapterTypesOptionTerms optionTermsview returns (address)
lookupOToken(struct ProtocolAdapterTypesOptionTerms optionTermsview returns (address oToken)
optionsExist(struct ProtocolAdapterTypesOptionTerms optionTermsview returns (bool)
premium(struct ProtocolAdapterTypesOptionTermsuint256pure returns (uint256 cost)
State-modifying
closeShort(returns (uint256)
createShort(struct ProtocolAdapterTypesOptionTerms optionTermsuint256 depositAmountreturns (uint256)
exercise(address optionsuint256uint256 amountaddress recipientpayable 
purchase(struct ProtocolAdapterTypesOptionTermsuint256uint256payable returns (uint256)
purchaseWithZeroEx(struct ProtocolAdapterTypesOptionTerms optionTermsstruct ProtocolAdapterTypesZeroExOrder zeroExOrderpayable 
Events
Exercised(address indexed calleraddress indexed optionsuint256 indexed optionIDuint256 amountuint256 exerciseProfit
Purchased(address indexed callerstring indexed protocolNameaddress indexed underlyinguint256 amountuint256 optionID
Constructor
constructor(address _oTokenFactoryaddress _gammaControlleraddress _marginPooladdress _usdcEthPriceFeedaddress _uniswapRouteraddress _wethaddress _usdcaddress _zeroExExchange
Fallback and receive
receive(
Errors

This contract contains no error objects.