Anchor Program for Tokenized Euros
The address of the EuroMeta account
The address of the option token traded on the Seurm Market
The PublicKey of the DEX program
The address of the price currency mint
Generate a TransactionInstruction
for canceling an open order by the set clientId
Anchor Program for Tokenized Euros
The address of the EuroMeta account
The address of the option token traded on the Seurm Market
The PublicKey of the DEX program
The address of the price currency mint
The Serum Order to cancel
Create a TransactionInstruction for canceling a specific order
Anchor Program for Tokenized Euros
The address of the EuroMeta account
The address of the option token traded on the Seurm Market
The PublicKey of the DEX program
The address of the price currency mint
The Serum Order to cancel
Create instruction to close OpenOrders account.
Anchor Psy Tokenized Euros program
The EuroMeta address
The address for the option mint trading
The Serum DEX program ID
The open orders key for the account we're closing
The key for the price currency mint
OPTIONAL: pass in a different address to send the unlocked Sol to
Create a proxied InitOpenOrdersInstruction
Anchor Psy Tokenized Euros program
The user's wallet address
The address of the EuroMeta account
The address of the option mint that is trading
Serum DEX id
The address for the price currency of the serum market
options for the permissioned market loader
Create a new order proxied through the Psy Tokenized Euro Protocol
Anchor Psy Tokenized Euro program
The address of the EuroMeta account
The address of the option mint
The Serum DEX program ID
The price currency mint that is used to quote the Serum market
The Serum OrderParams
Options for the permissioned market proxy
Create a TransactionInstruction for the settleFunds instruction
Anchor Psy Tokenized Euros program
The address of the EuroMeta account
The mint of the option being traded on the serum market
The address of the mint that the Serum market is quoted in
The Serum DEX program ID
The wallet address that contains the user's base asset tokens
The wallet address that contains the user's quote asset tokens
The Psy American referral address for the quote asset
The open orders keys
Create a TransactionInstruction for the settleFunds instruction
Note: this API abstracts the complexity of the serumReferralKey away.
Anchor Psy American Program
The address of the EuroMeta account
The Serum DEX program ID
The Serum market
The wallet address that contains the user's base asset tokens
The wallet address that contains the user's quote asset tokens
The open orders keys
Generated using TypeDoc
Create an array of TransactionInstructions to cancel all of the wallet's orders for a given OptionMarket and SerumMarket.
NOTE: Current implementation does not account for Transaction packet size limitations. It is on the client to slice the instructions to be within the limits.