Expand description
An Anchor generated module containing the program’s set of
instructions, where each method handler in the #[program]
mod is
associated with a struct defining the input arguments to the
method. These should be used directly, when one wants to serialize
Anchor instruction data, for example, when speciying
instructions on a client.
Structs§
- Accept
Receiver - Instruction.
- Accept
Referral Code - Instruction.
- Accept
Store Authority - Instruction.
- Auto
Deleverage - Instruction.
- Cancel
Order IfNo Position - Instruction.
- Cancel
Referral Code Transfer - Instruction.
- Check
Admin - Instruction.
- Check
Role - Instruction.
- Claim
Fees From Market - Instruction.
- Clear
AllPrices - Instruction.
- Close
Deposit - Instruction.
- Close
Empty Claimable Account - Instruction.
- Close
GlvDeposit - Instruction.
- Close
GlvShift - Instruction.
- Close
GlvWithdrawal - Instruction.
- Close
GtExchange - Instruction.
- Close
Market Config Buffer - Instruction.
- Close
Order - Instruction.
- Close
Shift - Instruction.
- Close
Withdrawal - Instruction.
- Confirm
GtExchange Vault - Instruction.
- Create
Deposit - Instruction.
- Create
GlvDeposit - Instruction.
- Create
GlvShift - Instruction.
- Create
GlvWithdrawal - Instruction.
- Create
Order - Instruction.
- Create
Shift - Instruction.
- Create
Withdrawal - Instruction.
- Disable
Role - Instruction.
- Enable
Role - Instruction.
- Execute
Decrease Order - Instruction.
- Execute
Deposit - Instruction.
- Execute
GlvDeposit - Instruction.
- Execute
GlvShift - Instruction.
- Execute
GlvWithdrawal - Instruction.
- Execute
Increase OrSwap Order - Instruction.
- Execute
Shift - Instruction.
- Execute
Withdrawal - Instruction.
- GetMarket
Status - Instruction.
- GetMarket
Token Price - Instruction.
- Grant
Role - Instruction.
- GtSet
Exchange Time Window - Instruction.
- GtSet
Order FeeDiscount Factors - Instruction.
- GtSet
Referral Reward Factors - Instruction.
- HasAdmin
- Instruction.
- HasRole
- Instruction.
- Initialize
- Instruction.
- Initialize
Glv - Instruction.
- Initialize
Gt - Instruction.
- Initialize
Market - Instruction.
- Initialize
Market Config Buffer - Instruction.
- Initialize
Market Vault - Instruction.
- Initialize
Oracle - Instruction.
- Initialize
Price Feed - Instruction.
- Initialize
Referral Code - Instruction.
- Initialize
Token Map - Instruction.
- Insert
Address - Instruction.
- Insert
Amount - Instruction.
- Insert
Factor - Instruction.
- Insert
GlvMarket - Instruction.
- Insert
Order FeeDiscount ForReferred User - Instruction.
- IsToken
Config Enabled - Instruction.
- Liquidate
- Instruction.
- Market
Transfer In - Instruction.
- Migrate
Referral Code - Instruction.
- Prepare
Associated Token Account - Instruction.
- Prepare
GtExchange Vault - Instruction.
- Prepare
Position - Instruction.
- Prepare
Trade Event Buffer - Instruction.
- Prepare
User - Instruction.
- Push
ToMarket Config Buffer - Instruction.
- Push
ToToken Map - Instruction.
- Push
ToToken MapSynthetic - Instruction.
- Remove
GlvMarket - Instruction.
- Request
GtExchange - Instruction.
- Revoke
Role - Instruction.
- SetExpected
Provider - Instruction.
- SetFeed
Config - Instruction.
- SetMarket
Config Buffer Authority - Instruction.
- SetPrices
From Price Feed - Instruction.
- SetReferrer
- Instruction.
- SetToken
Map - Instruction.
- Toggle
Feature - Instruction.
- Toggle
GlvMarket Flag - Instruction.
- Toggle
GtMinting - Instruction.
- Toggle
Market - Instruction.
- Toggle
Token Config - Instruction.
- Token
Decimals - Instruction.
- Token
Expected Provider - Instruction.
- Token
Feed - Instruction.
- Token
Name - Instruction.
- Token
Precision - Instruction.
- Token
Timestamp Adjustment - Instruction.
- Transfer
Receiver - Instruction.
- Transfer
Referral Code - Instruction.
- Transfer
Store Authority - Instruction.
- Update
AdlState - Instruction.
- Update
GlvConfig - Instruction.
- Update
GlvMarket Config - Instruction.
- Update
Last Restarted Slot - Instruction.
- Update
Market Config - Instruction.
- Update
Market Config Flag - Instruction.
- Update
Market Config With Buffer - Instruction.
- Update
Order - Instruction.
- Update
Price Feed With Chainlink - Instruction.
- UseClaimable
Account - Instruction.