Anchor Program for Psy American
The amount of WriterTokens to burn and retrieve the quote assets for
The deserialized OptionMarket data
The SPL Token account that holds the WriterTokens
SPL Token account that is the destination for the quote assets
Close size option positions by burning the OptionTokens and WriterTokens.
Anchor Program for Psy American
The amount of OptionTokens and WriterTokens to burn
The OptionMarket the OptionTokens and WriterTokens belong to
The SPL Token address that holds the WriterTokens
The SPL Token address that holds the OptionTokens
The SPL Token address destination for the returned underlying assets
After a market has expired, burn WriterTokens to get the underlying assets back from the contract(s).
Anchor Program for Psy American
The amount of options to exercise
The OptionMarket data from the chain for the options to exercise
The SPL Token address holding the WriterTokens
The SPL Token address where the underlying assets will be sent
Exercise OptionTokens you're holding
Anchor Program for Psy American
The amount of options to exercise
The OptionMarket data from the chain for the options to exercise
The SPL Token address holding the OptionTokens
The SPL Token address where the underlying assets will be sent
The SPL Token address holding the quote asset used to exercise
The authority account that owns the options
Exercise OptionTokens you're holding without fees!
Anchor Program for Psy American
The amount of options to exercise
The OptionMarket data from the chain for the options to exercise
The SPL Token address holding the OptionTokens
The SPL Token address where the underlying assets will be sent
The SPL Token address holding the quote asset used to exercise
The authority account that owns the options
Initialize a new OptionMarket
The Psy American program
The option market expiration timestamp in seconds
The quote amount per contract for the OptionMarket Strike price is derived from underlyingAmountPerContract & quoteAmountPerContract
The quote asset mint
The underlying amount per contract for the OptionMarket. * Strike price is derived from underlyingAmountPerContract & quoteAmountPerContract
The underlying mint address
Anchor Psy American Program
The address for the new Serum market's asks
The address for the new Serum market's bids
The address for the new Serum market's eventual Event Queue
The OptionMarket address that owns the OptionToken mint
The OptionToken's Mint address. This is the base token for the Serum market
Serum market's dust threshold for the price currency
Serum market's price currency lot size
The Serum's price currency mint
The Serum DEX program ID
Create a TransactionInstruction for minting size option contracts
Anchor Program for the PsyAmerican program and the minter as the provider wallet
Where the OptionTokens will be sent
Where the WriterTokens will be sent
Where the underlying asset tokens come from
The amount of contracts to mint
The OptionMarket data
Create a TransactionInstruction for minting size option contracts using V2 instruction
Anchor Program for the PsyAmerican program and the minter as the provider wallet
Where the OptionTokens will be sent
Where the WriterTokens will be sent
Where the underlying asset tokens come from
The amount of contracts to mint
The OptionMarket data
Execute a transaction to mint size options
Anchor Program for the PsyAmerican program and the minter as the provider wallet
Where the OptionTokens will be sent
Where the WriterTokens will be sent
Where the underlying asset tokens come from
The amount of contracts to mint
The OptionMarket data
Generated using TypeDoc
Burn WriterTokens to get the
size * OptionMarket.quoteAmountPerContract
from the OptionMarket's quote asset pool. This instruction will fail if no one has exercised or the quote assets in the pool have already been claimed.