Skip to content

Commit

Permalink
solana-labs#2406: Init Reallocate Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrushi20 committed Apr 22, 2024
1 parent d3d1bef commit 85163b8
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions packages/rpc-graphql/src/schema/instruction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,30 +511,39 @@ export const instructionTypeDefs = /* GraphQL */ `
mint: Account
newAuthority: Account
}
"""
Token Extension 2022: TransferFee
"""
type TransferFeeExtension {
mint: String,
transferFeeBasisPoints: INT,
maximumFee: INT,
transferFeeConfigAuthority: String,
withdrawWithheldAuthority: String,
source: String,
destination: String,
tokenAmount: TokenAmount,
feeAmount: TokenAmount,
signers: [Address],
authority: String,
multisigWithdrawWithheldAuthority: String,
feeRecipient: String,
sourceAccounts: [String],
multisigtransferFeeConfigAuthority: String,
multisigAuthority: String,
mint: String
transferFeeBasisPoints: INT
maximumFee: INT
transferFeeConfigAuthority: String
withdrawWithheldAuthority: String
source: String
destination: String
tokenAmount: TokenAmount
feeAmount: TokenAmount
signers: [Address]
authority: String
multisigWithdrawWithheldAuthority: String
feeRecipient: String
sourceAccounts: [String]
multisigtransferFeeConfigAuthority: String
multisigAuthority: String
}
type Reallocate {
account: String
payer: String
systemProgram: String
extensionTypes: [String]
owner: String
signers: [String]
multisigOwner: String
}
# TODO: Extensions!
# - TransferFeeExtension
# - ConfidentialTransferFeeExtension
Expand Down

0 comments on commit 85163b8

Please sign in to comment.