Expand description
An Anchor generated module, providing a set of structs
mirroring the structs deriving Accounts
, where each field is
an AccountInfo
. This is useful for CPI.
Structsยง
- Cancel
Swap - Generated CPI struct of the accounts for
CancelSwap
. - Claim
Fees - Generated CPI struct of the accounts for
ClaimFees
. - Complete
GtExchange - Generated CPI struct of the accounts for
CompleteGtExchange
. - Confirm
GtBuyback - Generated CPI struct of the accounts for
ConfirmGtBuyback
. - Create
Swap - Generated CPI struct of the accounts for
CreateSwap
. - Deposit
ToTreasury Vault - Generated CPI struct of the accounts for
DepositToTreasuryVault
. - Initialize
Config - Generated CPI struct of the accounts for
InitializeConfig
. - Initialize
Treasury Vault Config - Generated CPI struct of the accounts for
InitializeTreasuryVaultConfig
. - Insert
Token ToTreasury Vault - Generated CPI struct of the accounts for
InsertTokenToTreasuryVault
. - Prepare
GtBank - Generated CPI struct of the accounts for
PrepareGtBank
. - Remove
Token From Treasury Vault - Generated CPI struct of the accounts for
RemoveTokenFromTreasuryVault
. - SetReferral
Reward - Generated CPI struct of the accounts for
SetReferralReward
. - SetTreasury
Vault Config - Generated CPI struct of the accounts for
SetTreasuryVaultConfig
. - Sync
GtBank - Generated CPI struct of the accounts for
SyncGtBank
. - Toggle
Token Flag - Generated CPI struct of the accounts for
ToggleTokenFlag
. - Transfer
Receiver - Generated CPI struct of the accounts for
TransferReceiver
. - Update
Config - Generated CPI struct of the accounts for
UpdateConfig
. - Withdraw
From Treasury Vault - Generated CPI struct of the accounts for
WithdrawFromTreasuryVault
.