@sentio/sdk
    Preparing search index...

    Class SPLToken2022Processor

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    decodeInstruction endBlock getInstructionHandler getParsedInstruction getPartitionKey handleBlock handleInstruction onAmountToUiAmount onApplyPendingConfidentialTransferBalance onApprove onApproveChecked onApproveConfidentialTransferAccount onBlockInterval onBurn onBurnChecked onCloseAccount onConfidentialTransfer onConfidentialTransferWithFee onConfigureConfidentialAccountWithRegistry onConfigureConfidentialTransferAccount onCreateNativeMint onDefaultAccountStateExtension onDepositConfidentialTransfer onDisableConfidentialTransferConfidentialCredits onDisableConfidentialTransferNonConfidentialCredits onEmitTokenMetadata onEmptyConfidentialTransferAccount onEnableConfidentialTransferConfidentialCredits onEnableConfidentialTransferNonConfidentialCredits onFreezeAccount onGetAccountDataSize onInitializeAccount onInitializeAccount2 onInitializeAccount3 onInitializeConfidentialTransferMint onInitializeGroupMemberPointer onInitializeGroupPointer onInitializeImmutableOwner onInitializeMetadataPointer onInitializeMint onInitializeMint2 onInitializeMintCloseAuthority onInitializeMultisig onInitializeNonTransferableMint onInitializePermanentDelegate onInitializeTokenGroup onInitializeTokenGroupMember onInitializeTokenMetadata onInstruction onInterval onMemoTransferExtension onMintTo onMintToChecked onReallocate onRemoveTokenMetadataKey onRevoke onSetAuthority onSyncNative onThawAccount onTimeInterval onTransfer onTransferChecked onTransferFeeExtension onUiAmountToAmount onUpdateConfidentialTransferMint onUpdateGroupMemberPointer onUpdateGroupPointer onUpdateMetadataPointer onUpdateTokenGroupMaxSize onUpdateTokenGroupUpdateAuthority onUpdateTokenMetadataAuthority onUpdateTokenMetadataField onUpdateTokenMetadataUpdateAuthority onWithdrawConfidentialTransfer onWithdrawExcessLamports startSlot bind

    Constructors

    Properties

    address: string
    baseLabels?: Labels
    blockHandlers: SolanaBlockHandlerEntry<any>[] = []
    config: IndexConfigure = ...
    contractName: string
    endpoint: string
    fromParsedInstruction: (
        instruction: { info: any; type: string },
    ) => null | Instruction = ...
    instructionCoder: InstructionCoder
    instructionHandlerMap: Map<string, InstructionHandlerEntry> = ...
    network: SolanaChainId
    processInnerInstruction: boolean

    Methods

    • Parameters

      • handler: (
            data: {
                delegate: String;
                mint: String;
                multisigOwner?: String;
                owner?: String;
                signers?: String[];
                source: String;
                tokenAmount: { amount: string; decimals: number; uiAmountString: string };
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns this

    • Parameters

      • handler: (
            data: {
                account: String;
                authority?: String;
                mint: String;
                multisigAuthority?: String;
                signers?: String[];
                tokenAmount: { amount: string; decimals: number; uiAmountString: string };
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns this

    • Parameters

      • handler: (
            data: {
                ciphertextValidityProofContextStateAccount?: String;
                ciphertextValidityProofInstructionOffset: number;
                ciphertextValidityProofRecordAccount?: String;
                destination: String;
                equalityProofContextStateAccount?: String;
                equalityProofInstructionOffset: number;
                equalityProofRecordAccount?: String;
                instructionsSysvar?: String;
                mint: String;
                multisigOwner?: String;
                newSourceDecryptableAvailableBalance: string;
                owner?: String;
                rangeProofContextStateAccount?: String;
                rangeProofInstructionOffset: number;
                rangeProofRecordAccount?: String;
                signers?: String[];
                source: String;
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns SPLToken2022Processor

    • Parameters

      • handler: (
            data: {
                destination: String;
                equalityProofContextStateAccount?: String;
                equalityProofInstructionOffset: number;
                equalityProofRecordAccount?: String;
                feeCiphertextValidityProofContextStateAccount?: String;
                feeCiphertextValidityProofInstructionOffset: number;
                feeCiphertextValidityProofRecordAccount?: String;
                feeSigmaProofContextStateAccount?: String;
                feeSigmaProofInstructionOffset: number;
                feeSigmaProofRecordAccount?: String;
                instructionsSysvar?: String;
                mint: String;
                multisigOwner?: String;
                newSourceDecryptableAvailableBalance: string;
                owner?: String;
                rangeProofContextStateAccount?: String;
                rangeProofInstructionOffset: number;
                rangeProofRecordAccount?: String;
                signers?: String[];
                source: String;
                transferAmountCiphertextValidityProofContextStateAccount?: String;
                transferAmountCiphertextValidityProofInstructionOffset: number;
                transferAmountCiphertextValidityProofRecordAccount?: String;
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns SPLToken2022Processor

    • Parameters

      • handler: (
            data: {
                account: String;
                decryptableZeroBalance: string;
                instructionsSysvar?: String;
                maximumPendingBalanceCreditCounter: string | number;
                mint: String;
                multisigOwner?: String;
                owner?: String;
                proofContextStateAccount?: String;
                proofInstructionOffset: number;
                recordAccount?: String;
                signers?: String[];
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns SPLToken2022Processor

    • Parameters

      • handler: (
            data: {
                amount: string | number;
                decimals: number;
                destination: String;
                mint: String;
                multisigOwner?: String;
                owner?: String;
                signers?: String[];
                source: String;
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns SPLToken2022Processor

    • Parameters

      • handler: (
            data: {
                account: String;
                instructionsSysvar?: String;
                multisigOwner?: String;
                owner?: String;
                proofContextStateAccount?: String;
                proofInstructionOffset: number;
                recordAccount?: String;
                signers?: String[];
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns SPLToken2022Processor

    • Parameters

      • handler: (
            data: {
                account: String;
                amount: string | number;
                mint: String;
                mintAuthority?: String;
                multisigMintAuthority?: String;
                signers?: String[];
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns this

    • Parameters

      • handler: (
            data: {
                account: String;
                mint: String;
                mintAuthority?: String;
                multisigMintAuthority?: String;
                signers?: String[];
                tokenAmount: { amount: string; decimals: number; uiAmountString: string };
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns this

    • Parameters

      • handler: (
            data: {
                authority?: String;
                destination: String;
                mint: String;
                multisigAuthority?: String;
                signers?: String[];
                source: String;
                tokenAmount: { amount: string; decimals: number; uiAmountString: string };
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns this

    • Parameters

      • handler: (
            data: {
                amount: string | number;
                decimals: number;
                destination: String;
                equalityProofContextStateAccount?: String;
                equalityProofInstructionOffset: number;
                equalityProofRecordAccount?: String;
                instructionsSysvar?: String;
                mint: String;
                multisigOwner?: String;
                newDecryptableAvailableBalance: string;
                owner?: String;
                rangeProofContextStateAccount?: String;
                rangeProofInstructionOffset: number;
                rangeProofRecordAccount?: String;
                signers?: String[];
                source: String;
            },
            ctx: SolanaContext,
        ) => void
      • OptionalhandlerOptions: HandlerOptions<SolanaFetchConfig, Instruction>

      Returns SPLToken2022Processor