|
|
@@ -0,0 +1,127 @@
|
|
|
+// Re-exports from @solana-program/system
|
|
|
+export {
|
|
|
+ ADVANCE_NONCE_ACCOUNT_DISCRIMINATOR,
|
|
|
+ ALLOCATE_DISCRIMINATOR,
|
|
|
+ ALLOCATE_WITH_SEED_DISCRIMINATOR,
|
|
|
+ ASSIGN_DISCRIMINATOR,
|
|
|
+ ASSIGN_WITH_SEED_DISCRIMINATOR,
|
|
|
+ AUTHORIZE_NONCE_ACCOUNT_DISCRIMINATOR,
|
|
|
+ CREATE_ACCOUNT_DISCRIMINATOR,
|
|
|
+ CREATE_ACCOUNT_WITH_SEED_DISCRIMINATOR,
|
|
|
+ INITIALIZE_NONCE_ACCOUNT_DISCRIMINATOR,
|
|
|
+ NonceState,
|
|
|
+ NonceVersion,
|
|
|
+ SYSTEM_ERROR__ACCOUNT_ALREADY_IN_USE,
|
|
|
+ SYSTEM_ERROR__ADDRESS_WITH_SEED_MISMATCH,
|
|
|
+ SYSTEM_ERROR__INVALID_ACCOUNT_DATA_LENGTH,
|
|
|
+ SYSTEM_ERROR__INVALID_PROGRAM_ID,
|
|
|
+ SYSTEM_ERROR__MAX_SEED_LENGTH_EXCEEDED,
|
|
|
+ SYSTEM_ERROR__NONCE_BLOCKHASH_NOT_EXPIRED,
|
|
|
+ SYSTEM_ERROR__NONCE_NO_RECENT_BLOCKHASHES,
|
|
|
+ SYSTEM_ERROR__NONCE_UNEXPECTED_BLOCKHASH_VALUE,
|
|
|
+ SYSTEM_ERROR__RESULT_WITH_NEGATIVE_LAMPORTS,
|
|
|
+ SYSTEM_PROGRAM_ADDRESS,
|
|
|
+ SystemAccount,
|
|
|
+ SystemInstruction,
|
|
|
+ TRANSFER_SOL_DISCRIMINATOR,
|
|
|
+ TRANSFER_SOL_WITH_SEED_DISCRIMINATOR,
|
|
|
+ UPGRADE_NONCE_ACCOUNT_DISCRIMINATOR,
|
|
|
+ WITHDRAW_NONCE_ACCOUNT_DISCRIMINATOR,
|
|
|
+ decodeNonce,
|
|
|
+ fetchAllMaybeNonce,
|
|
|
+ fetchAllNonce,
|
|
|
+ fetchMaybeNonce,
|
|
|
+ fetchNonce,
|
|
|
+ getAdvanceNonceAccountDiscriminatorBytes,
|
|
|
+ getAdvanceNonceAccountInstruction,
|
|
|
+ getAdvanceNonceAccountInstructionDataCodec,
|
|
|
+ getAdvanceNonceAccountInstructionDataDecoder,
|
|
|
+ getAdvanceNonceAccountInstructionDataEncoder,
|
|
|
+ getAllocateDiscriminatorBytes,
|
|
|
+ getAllocateInstruction,
|
|
|
+ getAllocateInstructionDataCodec,
|
|
|
+ getAllocateInstructionDataDecoder,
|
|
|
+ getAllocateInstructionDataEncoder,
|
|
|
+ getAllocateWithSeedDiscriminatorBytes,
|
|
|
+ getAllocateWithSeedInstruction,
|
|
|
+ getAllocateWithSeedInstructionDataCodec,
|
|
|
+ getAllocateWithSeedInstructionDataDecoder,
|
|
|
+ getAllocateWithSeedInstructionDataEncoder,
|
|
|
+ getAssignDiscriminatorBytes,
|
|
|
+ getAssignInstruction,
|
|
|
+ getAssignInstructionDataCodec,
|
|
|
+ getAssignInstructionDataDecoder,
|
|
|
+ getAssignInstructionDataEncoder,
|
|
|
+ getAssignWithSeedDiscriminatorBytes,
|
|
|
+ getAssignWithSeedInstruction,
|
|
|
+ getAssignWithSeedInstructionDataCodec,
|
|
|
+ getAssignWithSeedInstructionDataDecoder,
|
|
|
+ getAssignWithSeedInstructionDataEncoder,
|
|
|
+ getAuthorizeNonceAccountDiscriminatorBytes,
|
|
|
+ getAuthorizeNonceAccountInstruction,
|
|
|
+ getAuthorizeNonceAccountInstructionDataCodec,
|
|
|
+ getAuthorizeNonceAccountInstructionDataDecoder,
|
|
|
+ getAuthorizeNonceAccountInstructionDataEncoder,
|
|
|
+ getCreateAccountDiscriminatorBytes,
|
|
|
+ getCreateAccountInstruction,
|
|
|
+ getCreateAccountInstructionDataCodec,
|
|
|
+ getCreateAccountInstructionDataDecoder,
|
|
|
+ getCreateAccountInstructionDataEncoder,
|
|
|
+ getCreateAccountWithSeedDiscriminatorBytes,
|
|
|
+ getCreateAccountWithSeedInstruction,
|
|
|
+ getCreateAccountWithSeedInstructionDataCodec,
|
|
|
+ getCreateAccountWithSeedInstructionDataDecoder,
|
|
|
+ getCreateAccountWithSeedInstructionDataEncoder,
|
|
|
+ getInitializeNonceAccountDiscriminatorBytes,
|
|
|
+ getInitializeNonceAccountInstruction,
|
|
|
+ getInitializeNonceAccountInstructionDataCodec,
|
|
|
+ getInitializeNonceAccountInstructionDataDecoder,
|
|
|
+ getInitializeNonceAccountInstructionDataEncoder,
|
|
|
+ getNonceCodec,
|
|
|
+ getNonceDecoder,
|
|
|
+ getNonceEncoder,
|
|
|
+ getNonceSize,
|
|
|
+ getNonceStateCodec,
|
|
|
+ getNonceStateDecoder,
|
|
|
+ getNonceStateEncoder,
|
|
|
+ getNonceVersionCodec,
|
|
|
+ getNonceVersionDecoder,
|
|
|
+ getNonceVersionEncoder,
|
|
|
+ getSystemErrorMessage,
|
|
|
+ getTransferSolDiscriminatorBytes,
|
|
|
+ getTransferSolInstruction,
|
|
|
+ getTransferSolInstructionDataCodec,
|
|
|
+ getTransferSolInstructionDataDecoder,
|
|
|
+ getTransferSolInstructionDataEncoder,
|
|
|
+ getTransferSolWithSeedDiscriminatorBytes,
|
|
|
+ getTransferSolWithSeedInstruction,
|
|
|
+ getTransferSolWithSeedInstructionDataCodec,
|
|
|
+ getTransferSolWithSeedInstructionDataDecoder,
|
|
|
+ getTransferSolWithSeedInstructionDataEncoder,
|
|
|
+ getUpgradeNonceAccountDiscriminatorBytes,
|
|
|
+ getUpgradeNonceAccountInstruction,
|
|
|
+ getUpgradeNonceAccountInstructionDataCodec,
|
|
|
+ getUpgradeNonceAccountInstructionDataDecoder,
|
|
|
+ getUpgradeNonceAccountInstructionDataEncoder,
|
|
|
+ getWithdrawNonceAccountDiscriminatorBytes,
|
|
|
+ getWithdrawNonceAccountInstruction,
|
|
|
+ getWithdrawNonceAccountInstructionDataCodec,
|
|
|
+ getWithdrawNonceAccountInstructionDataDecoder,
|
|
|
+ getWithdrawNonceAccountInstructionDataEncoder,
|
|
|
+ identifySystemInstruction,
|
|
|
+ isSystemError,
|
|
|
+ parseAdvanceNonceAccountInstruction,
|
|
|
+ parseAllocateInstruction,
|
|
|
+ parseAllocateWithSeedInstruction,
|
|
|
+ parseAssignInstruction,
|
|
|
+ parseAssignWithSeedInstruction,
|
|
|
+ parseAuthorizeNonceAccountInstruction,
|
|
|
+ parseCreateAccountInstruction,
|
|
|
+ parseCreateAccountWithSeedInstruction,
|
|
|
+ parseInitializeNonceAccountInstruction,
|
|
|
+ parseTransferSolInstruction,
|
|
|
+ parseTransferSolWithSeedInstruction,
|
|
|
+ parseUpgradeNonceAccountInstruction,
|
|
|
+ parseWithdrawNonceAccountInstruction,
|
|
|
+} from "@solana-program/system";
|
|
|
+
|