Anchor provider
Asset NFT which underlies the option
Promise resolving to the transaction signature
Close the put option buyer position.
Anchor provider
Asset NFT which underlies the option
Position NFT representing option buyer position
Token account containing the asset NFT
Promise resolving to the transaction signature
Close the put option seller position.
Anchor provider
Asset NFT which underlies the option
Position NFT representing option seller position
Token account containing the asset NFT
Promise resolving to the transaction signature
Create a put option request as an option buyer
Anchor provider
Asset NFT which underlies the option
Token account containing the asset NFT
Promise resolving to the transaction signature
Exercise the put option
Anchor provider
Asset NFT which underlies the option
Position NFT representing option buyer position
Promise resolving to the transaction signature
Fill the put option request as a seller.
Anchor provider
Asset NFT which underlies the option
Promise resolving to the transaction signature
Close the put option buyer position.
Anchor provider
Option key representing a unique option
Promise resolving to the transaction signature
Close the put option seller position.
Anchor provider
Option key representing a unique option
Asset NFT which underlies the option
Token account containing the asset NFT
Promise resolving to the transaction signature
Create a put option request as an option buyer
Anchor provider
CollectionIdentifier key of the NFT collection which underlies the option
Promise resolving to the transaction signature
Exercise the put option
Anchor provider
Option key representing a unique option
Asset NFT which underlies the option
The Merkle proof of the NFT wrt the mint list tree
Optional: The token account of the user wrt the NFT
Promise resolving to the transaction signature
Fill the put option request as a seller.
Anchor provider
Option key representing the option to be filled
Promise resolving to the transaction signature
Fetch all OptionState accounts
Solana Web3 connection object
Promise resolving to the OptionState account contents
Fetch all OptionState accounts
Solana Web3 connection object
Promise resolving to the OptionState account contents
Fetch OptionState account
Solana Web3 connection object
OptionKey representing an option uniquely
Promise resolving to the OptionState account contents
Fetch OptionState account
Solana Web3 connection object
Promise resolving to the OptionState account contents
Generated using TypeDoc
Close the OptionState account and release lamports