Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + const AccountInfoByteSize + const AccountMetaSize + const AddrLookupTableInstrTypeCloseLookupTable + const AddrLookupTableInstrTypeCreateLookupTable + const AddrLookupTableInstrTypeDeactivateLookupTable + const AddrLookupTableInstrTypeExtendLookupTable + const AddrLookupTableInstrTypeFreezeLookupTable + const AddressLookupTableMetaSize + const AddressLookupTableProgramStateLookupTable + const AddressLookupTableProgramStateUninitialized + const AddressLookupTableStatusTypeActivated + const AddressLookupTableStatusTypeDeactivated + const AddressLookupTableStatusTypeDeactivating + const AltBn128Add + const AltBn128AddLE + const AltBn128AdditionInputLen + const AltBn128AdditionOutputLen + const AltBn128G1Compress + const AltBn128G1CompressLE + const AltBn128G1Decompress + const AltBn128G1DecompressLE + const AltBn128G2Add + const AltBn128G2AddLE + const AltBn128G2AdditionInputLen + const AltBn128G2AdditionOutputLen + const AltBn128G2Compress + const AltBn128G2CompressLE + const AltBn128G2Decompress + const AltBn128G2DecompressLE + const AltBn128G2Mul + const AltBn128G2MulLE + const AltBn128G2MultiplicationInputLen + const AltBn128G2MultiplicationOutputLen + const AltBn128G2Sub + const AltBn128G2SubLE + const AltBn128LittleEndianFlag + const AltBn128Mul + const AltBn128MulLE + const AltBn128MultiplicationInputLen + const AltBn128MultiplicationOutputLen + const AltBn128Pairing + const AltBn128PairingElementLen + const AltBn128PairingLE + const AltBn128PairingOutputLen + const AltBn128Sub + const AltBn128SubLE + const Bls12_381BE + const Bls12_381Fq2Len + const Bls12_381FqLen + const Bls12_381G1BE + const Bls12_381G1CompressedLen + const Bls12_381G1LE + const Bls12_381G1Len + const Bls12_381G2BE + const Bls12_381G2CompressedLen + const Bls12_381G2LE + const Bls12_381G2Len + const Bls12_381GtLen + const Bls12_381LE + const Bls12_381MaxPairingPairs + const Bls12_381ScalarLen + const Bn128G1CompressedLen + const Bn128G1Len + const Bn128G2CompressedLen + const Bn128G2Len + const ComputeBudgetInstrTypeRequestHeapFrame + const ComputeBudgetInstrTypeSetComputeUnitLimit + const ComputeBudgetInstrTypeSetComputeUnitPrice + const ComputeBudgetInstrTypeSetLoadedAccountsDataSizeLimit + const Curve25519Edwards + const Curve25519Ristretto + const CurveOpAdd + const CurveOpMul + const CurveOpSub + const CurvePointBytesLen + const CurveScalarBytesLen + const DataStart + const DefaultInstructionComputeUnitLimit + const Ed25519SignatureOffsetsSize + const HeapFrameBytesMultiple + const InitialLockout + const InstrErrCodeAccountAlreadyInitialized + const InstrErrCodeAccountBorrowFailed + const InstrErrCodeAccountBorrowOutstanding + const InstrErrCodeAccountDataSizeChanged + const InstrErrCodeAccountDataTooSmall + const InstrErrCodeAccountNotExecutable + const InstrErrCodeAccountNotRentExempt + const InstrErrCodeArithmeticOverflow + const InstrErrCodeBorshIoError + const InstrErrCodeBuiltinProgramsMustConsumeComputeUnits + const InstrErrCodeCallDepth + const InstrErrCodeComputationalBudgetExceeded + const InstrErrCodeCustom + const InstrErrCodeDuplicateAccountIndex + const InstrErrCodeDuplicateAccountOutOfSync + const InstrErrCodeExecutableAccountNotRentExempt + const InstrErrCodeExecutableDataModified + const InstrErrCodeExecutableLamportChange + const InstrErrCodeExecutableModified + const InstrErrCodeExternalAccountDataModified + const InstrErrCodeExternalAccountLamportSpend + const InstrErrCodeGenericError + const InstrErrCodeIllegalOwner + const InstrErrCodeImmutable + const InstrErrCodeIncorrectAuthority + const InstrErrCodeIncorrectProgramId + const InstrErrCodeInsufficientFunds + const InstrErrCodeInvalidAccountData + const InstrErrCodeInvalidAccountOwner + const InstrErrCodeInvalidArgument + const InstrErrCodeInvalidError + const InstrErrCodeInvalidInstructionData + const InstrErrCodeInvalidRealloc + const InstrErrCodeInvalidSeeds + const InstrErrCodeMaxAccountsDataAllocationsExceeded + const InstrErrCodeMaxAccountsExceeded + const InstrErrCodeMaxInstructionTraceLengthExceeded + const InstrErrCodeMaxSeedLengthExceeded + const InstrErrCodeMissingAccount + const InstrErrCodeMissingRequiredSignature + const InstrErrCodeModifiedProgramId + const InstrErrCodeNotEnoughAccountKeys + const InstrErrCodePrivilegeEscalation + const InstrErrCodeProgramEnvironmentSetupFailure + const InstrErrCodeProgramFailedToCompile + const InstrErrCodeProgramFailedToComplete + const InstrErrCodeReadonlyDataModified + const InstrErrCodeReadonlyLamportChange + const InstrErrCodeReentrancyNotAllowed + const InstrErrCodeRentEpochModified + const InstrErrCodeSuccess + const InstrErrCodeUnbalancedInstruction + const InstrErrCodeUninitializedAccount + const InstrErrCodeUnsupportedProgramId + const InstrErrCodeUnsupportedSysvar + const LoaderV4InstrTypeCopy + const LoaderV4InstrTypeDeploy + const LoaderV4InstrTypeFinalize + const LoaderV4InstrTypeRetract + const LoaderV4InstrTypeSetProgramLength + const LoaderV4InstrTypeTransferAuthority + const LoaderV4InstrTypeWrite + const LoaderV4StatusDeployed + const LoaderV4StatusFinalized + const LoaderV4StatusRetracted + const LookupTableMaxAddresses + const MaxBuiltinAllocationComputeUnitLimit + const MaxComputeUnitLimit + const MaxCpiAccountInfos + const MaxCpiAccountInfosSimd0339 + const MaxCpiInstructionAccounts + const MaxCpiInstructionDataLen + const MaxEpochCreditsHistory + const MaxHeapFrameBytes + const MaxInstructionAccounts + const MaxLoadedAccountsDataSizeBytes + const MaxLockoutHistory + const MaxPermittedDataIncrease + const MaxPermittedDataLength + const MaxReturnData + const MaxSeedLen + const MaxSeeds + const MaxSigners + const MergeKindStatusActivationEpoch + const MergeKindStatusFullyActive + const MergeKindStatusInactive + const MinHeapFrameBytes + const MinimumDelinquentEpochsForDeactivation + const MinimumSlotsPerEpoch + const NonceVersionCurrent + const NonceVersionLegacy + const PoseidonCostCoefficientA + const PoseidonCostCoefficientC + const PrecompileErrCodeInvalidDataOffsets + const PrecompileErrCodeInvalidInstructionDataSize + const PrecompileErrCodeInvalidRecoveryId + const PrecompileErrCodeInvalidSignature + const ProcessedSiblingInstructionSize + const PubkeySerializedSize + const ReallocAlign + const ReallocSpace + const RefCellRustSize + const RefCellVecRustSize + const Secp256k1DataStart + const Secp256k1HashedPubkeySerializedSize + const Secp256k1SignatureOffsetsSerializedSize + const Secp256k1SignatureOffsetsStart + const Secp256k1SignatureSerializedSize + const Secp256r1CompressedPubkeySerializedSize + const Secp256r1DataStart + const Secp256r1SignatureOffsetsSerializedSize + const Secp256r1SignatureOffsetsStart + const Secp256r1SignatureSerializedSize + const SignatureOffsetStarts + const SignatureOffsetsSerializedSize + const SignatureSerializedSize + const SlotHashesMaxEntries + const SolAccountInfoCSize + const SolAccountInfoRustSize + const SolAccountMetaCSize + const SolAccountMetaRustSize + const SolInstructionCStructSize + const SolInstructionRustStructSize + const SolSignerSeedsCSize + const StakeAuthorizeStaker + const StakeAuthorizeWithdrawer + const StakeProgramInstrTypeAuthorize + const StakeProgramInstrTypeAuthorizeChecked + const StakeProgramInstrTypeAuthorizeCheckedWithSeed + const StakeProgramInstrTypeAuthorizeWithSeed + const StakeProgramInstrTypeDeactivate + const StakeProgramInstrTypeDeactivateDelinquent + const StakeProgramInstrTypeDelegateStake + const StakeProgramInstrTypeGetMinimumDelegation + const StakeProgramInstrTypeInitialize + const StakeProgramInstrTypeInitializeChecked + const StakeProgramInstrTypeMerge + const StakeProgramInstrTypeMoveLamports + const StakeProgramInstrTypeMoveStake + const StakeProgramInstrTypeRedelegate + const StakeProgramInstrTypeSetLockup + const StakeProgramInstrTypeSetLockupChecked + const StakeProgramInstrTypeSplit + const StakeProgramInstrTypeWithdraw + const StakeStateV2Size + const StakeStateV2StatusInitialized + const StakeStateV2StatusRewardsPool + const StakeStateV2StatusStake + const StakeStateV2StatusUninitialized + const SystemProgMaxPermittedDataLen + const SystemProgramInstrTypeAdvanceNonceAccount + const SystemProgramInstrTypeAllocate + const SystemProgramInstrTypeAllocateWithSeed + const SystemProgramInstrTypeAssign + const SystemProgramInstrTypeAssignWithSeed + const SystemProgramInstrTypeAuthorizeNonceAccount + const SystemProgramInstrTypeCreateAccount + const SystemProgramInstrTypeCreateAccountAllowPrefund + const SystemProgramInstrTypeCreateAccountWithSeed + const SystemProgramInstrTypeInitializeNonceAccount + const SystemProgramInstrTypeTransfer + const SystemProgramInstrTypeTransferWithSeed + const SystemProgramInstrTypeUpgradeNonceAccount + const SystemProgramInstrTypeWithdrawNonceAccount + const SysvarClockAddrStr + const SysvarClockStructLen + const SysvarEpochRewardsAddrStr + const SysvarEpochRewardsStructLen + const SysvarEpochScheduleAddrStr + const SysvarEpochScheduleStructLen + const SysvarFeesAddrStr + const SysvarFeesStructLen + const SysvarInstructionsAddrStr + const SysvarLastRestartSlotAddrStr + const SysvarLastRestartSlotStructLen + const SysvarRecentBlockHashesAddrStr + const SysvarRentAddrStr + const SysvarRentStructLen + const SysvarSlotHashesAddrStr + const SysvarSlotHistoryAddrStr + const SysvarStakeHistoryAddrStr + const SysvarStakeHistoryMaxEntries + const UpgradeableLoaderInstrTypeClose + const UpgradeableLoaderInstrTypeDeployWithMaxDataLen + const UpgradeableLoaderInstrTypeExtendProgram + const UpgradeableLoaderInstrTypeInitializeBuffer + const UpgradeableLoaderInstrTypeSetAuthority + const UpgradeableLoaderInstrTypeSetAuthorityChecked + const UpgradeableLoaderInstrTypeUpgrade + const UpgradeableLoaderInstrTypeWrite + const UpgradeableLoaderStateTypeBuffer + const UpgradeableLoaderStateTypeProgram + const UpgradeableLoaderStateTypeProgramData + const UpgradeableLoaderStateTypeUninitialized + const VoteAuthorizeTypeVoter + const VoteAuthorizeTypeWithdrawer + const VoteCreditsGraceSlots + const VoteCreditsMaximumPerSlot + const VoteCreditsMaximumPerSlotOld + const VoteProgramInstrTypeAuthorize + const VoteProgramInstrTypeAuthorizeChecked + const VoteProgramInstrTypeAuthorizeCheckedWithSeed + const VoteProgramInstrTypeAuthorizeWithSeed + const VoteProgramInstrTypeCompactUpdateVoteState + const VoteProgramInstrTypeCompactUpdateVoteStateSwitch + const VoteProgramInstrTypeInitializeAccount + const VoteProgramInstrTypeTowerSync + const VoteProgramInstrTypeTowerSyncSwitch + const VoteProgramInstrTypeUpdateCommission + const VoteProgramInstrTypeUpdateValidatorIdentity + const VoteProgramInstrTypeUpdateVoteState + const VoteProgramInstrTypeUpdateVoteStateSwitch + const VoteProgramInstrTypeVote + const VoteProgramInstrTypeVoteSwitch + const VoteProgramInstrTypeWithdraw + const VoteStateV2Size + const VoteStateV3Size + const VoteStateVersionCurrent + const VoteStateVersionV0_23_5 + const VoteStateVersionV1_14_11 + const VoteStateVersionV4 + var BorrowedAccountArenas []*arena.Arena[BorrowedAccount] + var DefaultWarmupCooldownRate float64 = 0.25 + var ErrInvalidProof = errors.New("invalid proof") + var InstrErrAccountAlreadyInitialized = errors.New("InstrErrAccountAlreadyInitialized") + var InstrErrAccountBorrowFailed = errors.New("InstrErrAccountBorrowFailed") + var InstrErrAccountBorrowOutstanding = errors.New("InstrErrAccountBorrowOutstanding") + var InstrErrAccountDataSizeChanged = errors.New("InstrErrAccountDataSizeChanged") + var InstrErrAccountDataTooSmall = errors.New("InstrErrAccountDataTooSmall") + var InstrErrAccountNotExecutable = errors.New("InstrErrAccountNotExecutable") + var InstrErrAccountNotRentExempt = errors.New("InstrErrAccountNotRentExempt") + var InstrErrArithmeticOverflow = errors.New("InstrErrArithmeticOverflow") + var InstrErrBorshIoError = errors.New("InstrErrBorshIoError") + var InstrErrBuiltinProgramsMustConsumeComputeUnits = errors.New("InstrErrBuiltinProgramsMustConsumeComputeUnits") + var InstrErrCallDepth = errors.New("InstrErrCallDepth") + var InstrErrComputationalBudgetExceeded = errors.New("InstrErrComputationalBudgetExceeded") + var InstrErrCustom = errors.New("InstrErrCustom") + var InstrErrDuplicateAccountIndex = errors.New("InstrErrDuplicateAccountIndex") + var InstrErrDuplicateAccountOutOfSync = errors.New("InstrErrDuplicateAccountOutOfSync") + var InstrErrExecutableAccountNotRentExempt = errors.New("InstrErrExecutableAccountNotRentExempt") + var InstrErrExecutableDataModified = errors.New("InstrErrExecutableDataModified") + var InstrErrExecutableLamportChange = errors.New("InstrErrExecutableLamportChange") + var InstrErrExecutableModified = errors.New("InstrErrExecutableModified") + var InstrErrExternalAccountDataModified = errors.New("InstrErrExternalAccountDataModified") + var InstrErrExternalAccountLamportSpend = errors.New("InstrErrExternalAccountLamportSpend") + var InstrErrGenericError = errors.New("InstrErrGenericError") + var InstrErrIllegalOwner = errors.New("InstrErrIllegalOwner") + var InstrErrImmutable = errors.New("InstrErrImmutable") + var InstrErrIncorrectAuthority = errors.New("InstrErrIncorrectAuthority") + var InstrErrIncorrectProgramId = errors.New("InstrErrIncorrectProgramId") + var InstrErrInsufficientFunds = errors.New("InstrErrInsufficientFunds") + var InstrErrInvalidAccountData = errors.New("InstrErrInvalidAccountData") + var InstrErrInvalidAccountOwner = errors.New("InstrErrInvalidAccountOwner") + var InstrErrInvalidArgument = errors.New("InstrErrInvalidArgument") + var InstrErrInvalidError = errors.New("InstrErrInvalidError") + var InstrErrInvalidInstructionData = errors.New("InstrErrInvalidInstructionData") + var InstrErrInvalidRealloc = errors.New("InstrErrInvalidRealloc") + var InstrErrInvalidSeeds = errors.New("InstrErrInvalidSeeds") + var InstrErrMaxAccountsDataAllocationsExceeded = errors.New("InstrErrMaxAccountsDataAllocationsExceeded") + var InstrErrMaxAccountsExceeded = errors.New("InstrErrMaxAccountsExceeded") + var InstrErrMaxInstructionTraceLengthExceeded = errors.New("InstrErrMaxInstructionTraceLengthExceeded") + var InstrErrMaxSeedLengthExceeded = errors.New("InstrErrMaxSeedLengthExceeded") + var InstrErrMissingAccount = errors.New("InstrErrMissingAccount") + var InstrErrMissingRequiredSignature = errors.New("InstrErrMissingRequiredSignature") + var InstrErrModifiedProgramId = errors.New("InstrErrModifiedProgramId") + var InstrErrNotEnoughAccountKeys = errors.New("InstrErrNotEnoughAccountKeys") + var InstrErrPrivilegeEscalation = errors.New("InstrErrPrivilegeEscalation") + var InstrErrProgramEnvironmentSetupFailure = errors.New("InstrErrProgramEnvironmentSetupFailure") + var InstrErrProgramFailedToCompile = errors.New("InstrErrProgramFailedToCompile") + var InstrErrProgramFailedToComplete = errors.New("InstrErrProgramFailedToComplete") + var InstrErrReadonlyDataModified = errors.New("InstrErrReadonlyDataModified") + var InstrErrReadonlyLamportChange = errors.New("InstrErrReadonlyLamportChange") + var InstrErrReentrancyNotAllowed = errors.New("InstrErrReentrancyNotAllowed") + var InstrErrRentEpochModified = errors.New("InstrErrRentEpochModified") + var InstrErrUnbalancedInstruction = errors.New("InstrErrUnbalancedInstruction") + var InstrErrUninitializedAccount = errors.New("InstrErrUninitializedAccount") + var InstrErrUnsupportedProgramId = errors.New("InstrErrUnsupportedProgramId") + var InstrErrUnsupportedSysvar = errors.New("InstrErrUnsupportedSysvar") + var IsPrecompile = errors.New("IsPrecompile") + var NewReservedAcctsSet = map[solana.PublicKey]struct + var NewWarmupCooldownRate float64 = 0.09 + var PrecompileErrDataOffset = errors.New("PrecompileErrDataOffset") + var PrecompileErrInstrDataSize = errors.New("PrecompileErrInstrDataSize") + var PrecompileErrPublicKey = errors.New("PrecompileErrPublicKey") + var PrecompileErrRecoveryId = errors.New("PrecompileErrRecoveryId") + var PrecompileErrSignature = errors.New("PrecompileErrSignature") + var PubkeyErrIllegalOwner = errors.New("PubkeyErrIllegalOwner") + var PubkeyErrInvalidSeeds = errors.New("PubkeyErrInvalidSeeds") + var PubkeyErrMaxSeedLengthExceeded = errors.New("PubkeyErrMaxSeedLengthExceeded") + var SECP256K1_N = [8]uint32 + var StakeErrAlreadyDeactivated = errors.New("StakeErrAlreadyDeactivated") + var StakeErrCustodianMissing = errors.New("StakeErrCustodianMissing") + var StakeErrCustodianSignatureMissing = errors.New("StakeErrCustodianSignatureMissing") + var StakeErrEpochRewardsActive = errors.New("StakeErrEpochRewardsActive") + var StakeErrInsufficientDelegation = errors.New("StakeErrInsufficientDelegation") + var StakeErrInsufficientReferenceVotes = errors.New("StakeErrInsufficientReferenceVotes") + var StakeErrInsufficientStake = errors.New("StakeErrInsufficientStake") + var StakeErrLockupInForce = errors.New("StakeErrLockupInForce") + var StakeErrMergeMismatch = errors.New("StakeErrMergeMismatch") + var StakeErrMergeTransientStake = errors.New("StakeErrMergeTransientStake") + var StakeErrMinimumDelinquentEpochsForDeactivationNotMet = errors.New("StakeErrMinimumDelinquentEpochsForDeactivationNotMet") + var StakeErrRedelegateToSameVoteAccount = errors.New("StakeErrRedelegateToSameVoteAccount") + var StakeErrRedelegateTransientOrInactiveStake = errors.New("StakeErrRedelegateTransientOrInactiveStake") + var StakeErrRedelegatedStakeMustFullyActivateBeforeDeactivationIsPermitted = errors.New("StakeErrRedelegatedStakeMustFullyActivateBeforeDeactivationIsPermitted") + var StakeErrTooSoonToRedelegate = errors.New("StakeErrTooSoonToRedelegate") + var StakeErrVoteAddressMismatch = errors.New("StakeErrVoteAddressMismatch") + var StakeFlagsMustFullyActivateBeforeDeactivationIsPermitted = StakeFlags + var SyscallAbort = sbpf.SyscallFunc0(SyscallAbortImpl) + var SyscallAllocFree = sbpf.SyscallFunc2(SyscallAllocFreeImpl) + var SyscallAltBn128 = sbpf.SyscallFunc4(SyscallAltBn128Impl) + var SyscallAltBn128Compression = sbpf.SyscallFunc4(SyscallAltBn128CompressionImpl) + var SyscallBlake3 = sbpf.SyscallFunc3(SyscallBlake3Impl) + var SyscallCreateProgramAddress = sbpf.SyscallFunc4(SyscallCreateProgramAddressImpl) + var SyscallCurveDecompress = sbpf.SyscallFunc3(SyscallCurveDecompressImpl) + var SyscallCurveGroupOps = sbpf.SyscallFunc5(SyscallCurveGroupOpsImpl) + var SyscallCurveMultiscalarMultiplication = sbpf.SyscallFunc5(SyscallCurveMultiscalarMultiplicationImpl) + var SyscallCurvePairingMap = sbpf.SyscallFunc5(SyscallCurvePairingMapImpl) + var SyscallErrCopyOverlapping = errors.New("SyscallErrCopyOverlapping") + var SyscallErrInstructionTooLarge = errors.New("SyscallErrInstructionTooLarge") + var SyscallErrInvalidArgument = errors.New("SyscallErrInvalidArgument") + var SyscallErrInvalidLength = errors.New("SyscallErrInvalidLength") + var SyscallErrInvalidString = errors.New("SyscallErrInvalidString") + var SyscallErrMalformedBool = errors.New("SyscallErrMalformedBool") + var SyscallErrMaxInstructionAccountInfosExceeded = errors.New("SyscallErrMaxInstructionAccountInfosExceeded") + var SyscallErrMaxInstructionAccountsExceeded = errors.New("SyscallErrMaxInstructionAccountsExceeded") + var SyscallErrMaxInstructionDataLenExceeded = errors.New("SyscallErrMaxInstructionDataLenExceeded") + var SyscallErrMaxSeedLengthExceeded = errors.New("SyscallErrMaxSeedLengthExceeded") + var SyscallErrNotEnoughAccountKeys = errors.New("SyscallErrNotEnoughAccountKeys") + var SyscallErrProgramNotSupported = errors.New("SyscallErrProgramNotSupported") + var SyscallErrReturnDataTooLarge = errors.New("SyscallErrReturnDataTooLarge") + var SyscallErrTooManyAccounts = errors.New("SyscallErrTooManyAccounts") + var SyscallErrTooManyBytesConsumed = errors.New("SyscallErrTooManyBytesConsumed") + var SyscallErrTooManySigners = errors.New("SyscallErrTooManySigners") + var SyscallErrTooManySlices = errors.New("SyscallErrTooManySlices") + var SyscallGetClockSysvar = sbpf.SyscallFunc1(SyscallGetClockSysvarImpl) + var SyscallGetEpochRewardsSysvar = sbpf.SyscallFunc1(SyscallGetEpochRewardsSysvarImpl) + var SyscallGetEpochScheduleSysvar = sbpf.SyscallFunc1(SyscallGetEpochScheduleSysvarImpl) + var SyscallGetEpochStake = sbpf.SyscallFunc1(SyscallGetEpochStakeImpl) + var SyscallGetLastRestartSlotSysvar = sbpf.SyscallFunc1(SyscallGetLastRestartSlotSysvarImpl) + var SyscallGetProcessedSiblingInstruction = sbpf.SyscallFunc5(SyscallGetProcessedSiblingInstructionImpl) + var SyscallGetRentSysvar = sbpf.SyscallFunc1(SyscallGetRentSysvarImpl) + var SyscallGetReturnData = sbpf.SyscallFunc3(SyscallGetReturnDataImpl) + var SyscallGetStackHeight = sbpf.SyscallFunc0(SyscallGetStackHeightImpl) + var SyscallGetSysvar = sbpf.SyscallFunc4(SyscallGetSysvarImpl) + var SyscallKeccak256 = sbpf.SyscallFunc3(SyscallKeccak256Impl) + var SyscallLog = sbpf.SyscallFunc2(SyscallLogImpl) + var SyscallLog64 = sbpf.SyscallFunc5(SyscallLog64Impl) + var SyscallLogCUs = sbpf.SyscallFunc0(SyscallLogCUsImpl) + var SyscallLogData = sbpf.SyscallFunc2(SyscallLogDataImpl) + var SyscallLogPubkey = sbpf.SyscallFunc1(SyscallLogPubkeyImpl) + var SyscallMemcmp = sbpf.SyscallFunc4(SyscallMemcmpImpl) + var SyscallMemcpy = sbpf.SyscallFunc3(SyscallMemcpyImpl) + var SyscallMemmove = sbpf.SyscallFunc3(SyscallMemmoveImpl) + var SyscallMemset = sbpf.SyscallFunc3(SyscallMemsetImpl) + var SyscallPanic = sbpf.SyscallFunc4(SyscallPanicImpl) + var SyscallPoseidon = sbpf.SyscallFunc5(SyscallPoseidonImpl) + var SyscallSecp256k1Recover = sbpf.SyscallFunc4(SyscallSecp256k1RecoverImpl) + var SyscallSetReturnData = sbpf.SyscallFunc2(SyscallSetReturnDataImpl) + var SyscallSha256 = sbpf.SyscallFunc3(SyscallSha256Impl) + var SyscallTryFindProgramAddress = sbpf.SyscallFunc5(SyscallTryFindProgramAddressImpl) + var SyscallValidatePoint = sbpf.SyscallFunc2(SyscallCurveValidatePointImpl) + var SystemProgErrAccountAlreadyInUse = errors.New("SystemProgErrAccountAlreadyInUse") + var SystemProgErrAddressWithSeedMismatch = errors.New("SystemProgErrAddressWithSeedMismatch") + var SystemProgErrInvalidAccountDataLength = errors.New("SystemProgErrInvalidAccountDataLength") + var SystemProgErrNonceBlockhashNotExpired = errors.New("SystemProgErrNonceBlockhashNotExpired") + var SystemProgErrNonceNoRecentBlockhashes = errors.New("SystemProgErrNonceNoRecentBlockhashes") + var SystemProgErrResultWithNegativeLamports = errors.New("SystemProgErrResultWithNegativeLamports") + var SysvarCache = sysvarCache + var SysvarClockAddr = base58.MustDecodeFromString(SysvarClockAddrStr) + var SysvarEpochRewardsAddr = base58.MustDecodeFromString(SysvarEpochRewardsAddrStr) + var SysvarEpochScheduleAddr = base58.MustDecodeFromString(SysvarEpochScheduleAddrStr) + var SysvarFeesAddr = base58.MustDecodeFromString(SysvarFeesAddrStr) + var SysvarInstructionsAddr = base58.MustDecodeFromString(SysvarInstructionsAddrStr) + var SysvarLastRestartSlotAddr = base58.MustDecodeFromString(SysvarLastRestartSlotAddrStr) + var SysvarRecentBlockHashesAddr = base58.MustDecodeFromString(SysvarRecentBlockHashesAddrStr) + var SysvarRentAddr = base58.MustDecodeFromString(SysvarRentAddrStr) + var SysvarSlotHashesAddr = base58.MustDecodeFromString(SysvarSlotHashesAddrStr) + var SysvarSlotHistoryAddr = base58.MustDecodeFromString(SysvarSlotHistoryAddrStr) + var SysvarStakeHistoryAddr = base58.MustDecodeFromString(SysvarStakeHistoryAddrStr) + var VoteErrActiveVoteAccountClose = errors.New("VoteErrActiveVoteAccountClose") + var VoteErrCommissionUpdateTooLate = errors.New("VoteErrCommissionUpdateTooLate") + var VoteErrConfirmationRollback = errors.New("VoteErrConfirmationRollback") + var VoteErrConfirmationTooLarge = errors.New("VoteErrConfirmationTooLarge") + var VoteErrConfirmationsNotOrdered = errors.New("VoteErrConfirmationsNotOrdered") + var VoteErrEmptySlots = errors.New("VoteErrEmptySlots") + var VoteErrLockoutConflict = errors.New("VoteErrLockoutConflict") + var VoteErrNewVoteStateLockoutMismatch = errors.New("VoteErrNewVoteStateLockoutMismatch") + var VoteErrRootOnDifferentFork = errors.New("VoteErrRootOnDifferentFork") + var VoteErrRootRollback = errors.New("VoteErrRootRollback") + var VoteErrSlotHashMismatch = errors.New("VoteErrSlotHashMismatch") + var VoteErrSlotSmallerThanRoot = errors.New("VoteErrSlotSmallerThanRoot") + var VoteErrSlotsMismatch = errors.New("VoteErrSlotsMismatch") + var VoteErrSlotsNotOrdered = errors.New("VoteErrSlotsNotOrdered") + var VoteErrTimestampTooOld = errors.New("VoteErrTimestampTooOld") + var VoteErrTooManyVotes = errors.New("VoteErrTooManyVotes") + var VoteErrTooSoonToReauthorize = errors.New("VoteErrTooSoonToReauthorize") + var VoteErrVoteTooOld = errors.New("VoteErrVoteTooOld") + var VoteErrVotesTooOldAllFiltered = errors.New("VoteErrVotesTooOldAllFiltered") + var VoteErrZeroConfirmations = errors.New("VoteErrZeroConfirmations") + func AddressLookupTableCloseLookupTable(execCtx *ExecutionCtx) error + func AddressLookupTableCreateLookupTable(execCtx *ExecutionCtx, untrustedRecentSlot uint64, bumpSeed byte) error + func AddressLookupTableDeactivateLookupTable(execCtx *ExecutionCtx) error + func AddressLookupTableExecute(execCtx *ExecutionCtx) error + func AddressLookupTableExtendLookupTable(execCtx *ExecutionCtx, newAddresses []solana.PublicKey) error + func AddressLookupTableFreezeLookupTable(execCtx *ExecutionCtx) error + func BpfLoaderProgramExecute(execCtx *ExecutionCtx) error + func CheckAcctForRecentBlockHashesSysvar(txCtx *TransactionCtx, instrCtx *InstructionCtx, instrAcctIdx uint64) error + func ComputeBudgetExecute(execCtx *ExecutionCtx) error + func ConfigProgramExecute(ctx *ExecutionCtx) error + func Ed25519GetDataSlice(txCtx *TransactionCtx, index uint16, offset uint16, size uint16) ([]byte, error) + func Ed25519ProgramExecute(execCtx *ExecutionCtx) error + func ElGamalProofProgramExecute(execCtx *ExecutionCtx) error + func IsCustomErr(err error) bool + func IsNativeProgram(pubkey solana.PublicKey) bool + func IsNonceInstr(instr Instruction) bool + func IsSysvar(pubkey solana.PublicKey) bool + func IsTransactionAgeValid(tx *solana.Transaction, instrs []Instruction, slotCtx *SlotCtx) bool + func IsWritable(am *AccountMeta, f *features.Features) bool + func LoaderV4Execute(execCtx *ExecutionCtx) error + func LoaderV4ProcessCopy(execCtx *ExecutionCtx, destinationOffset uint32, sourceOffset uint32, ...) error + func LoaderV4ProcessDeploy(execCtx *ExecutionCtx) error + func LoaderV4ProcessFinalize(execCtx *ExecutionCtx) error + func LoaderV4ProcessRetract(execCtx *ExecutionCtx) error + func LoaderV4ProcessSetProgramLength(execCtx *ExecutionCtx, newLen uint32) error + func LoaderV4ProcessTransferAuthority(execCtx *ExecutionCtx) error + func LoaderV4ProcessWrite(execCtx *ExecutionCtx, offset uint32, bytes []byte) error + func MakeInstructionsSysvarAccount(instructions []Instruction) *accounts.Account + func MarshalStakeStake(state *StakeStateV2) ([]byte, error) + func MarshalStakeStakeInto(state *StakeStateV2, dst []byte) error + func MaybeAdvanceNonceAccountForFailedTx(slotCtx *SlotCtx, tx *solana.Transaction, instr Instruction) (solana.PublicKey, bool) + func MemOpConsume(execCtx *ExecutionCtx, n uint64) error + func NewWarmupCooldownRateEpoch(execCtx *ExecutionCtx) (*uint64, error) + func NewWarmupCooldownRateEpochWithSlotCtx(slotCtx *SlotCtx, epochSchedule *SysvarEpochSchedule) *uint64 + func PoseidonHash(input [][]byte, isBigEndian bool, enforceSimd0359 bool) ([]byte, error) + func ProcessUpgradeableLoaderInstruction(execCtx *ExecutionCtx) error + func ReadBool(decoder *bin.Decoder) (bool, error) + func Secp256k1GetDataSlice(txCtx *TransactionCtx, index uint16, offset uint16, size uint64) ([]byte, error) + func Secp256k1ProgramExecute(execCtx *ExecutionCtx) error + func Secp256r1GetDataSlice(txCtx *TransactionCtx, index uint16, offset uint16, size uint64) ([]byte, error) + func Secp256r1ProgramExecute(execCtx *ExecutionCtx) error + func StakeProgramAuthorize(stakeAcct *BorrowedAccount, signers []solana.PublicKey, ...) error + func StakeProgramAuthorizeWithSeed(txCtx *TransactionCtx, instrCtx *InstructionCtx, stakeAcct *BorrowedAccount, ...) error + func StakeProgramDeactivate(execCtx *ExecutionCtx, stakeAcct *BorrowedAccount, clock SysvarClock, ...) error + func StakeProgramDeactivateDelinquent(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func StakeProgramDelegate(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func StakeProgramExecute(execCtx *ExecutionCtx) error + func StakeProgramInitialize(stakeAcct *BorrowedAccount, authorized Authorized, lockup StakeLockup, ...) error + func StakeProgramMerge(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func StakeProgramMoveLamports(execCtx *ExecutionCtx, instrCtx *InstructionCtx, srcAcctIdx uint64, ...) error + func StakeProgramMoveStake(execCtx *ExecutionCtx, instrCtx *InstructionCtx, srcAcctIdx uint64, ...) error + func StakeProgramRedelegate(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func StakeProgramSetLockup(stakeAcct *BorrowedAccount, lockup StakeInstrSetLockup, ...) error + func StakeProgramSplit(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func StakeProgramWithdraw(txCtx *TransactionCtx, instrCtx *InstructionCtx, stakeAcctIdx uint64, ...) error + func SwapEndianness(xs []byte) []byte + func SyscallAbortImpl(_ sbpf.VM) (uint64, error) + func SyscallAllocFreeImpl(vm sbpf.VM, size, freeAddr uint64) (uint64, error) + func SyscallAltBn128CompressionImpl(vm sbpf.VM, op, inputAddr, inputLen, resultAddr uint64) (uint64, error) + func SyscallAltBn128Impl(vm sbpf.VM, groupOp, inputAddr, inputLen, resultAddr uint64) (uint64, error) + func SyscallBlake3Impl(vm sbpf.VM, valsAddr, valsLen, resultsAddr uint64) (uint64, error) + func SyscallCreateProgramAddressImpl(vm sbpf.VM, seedsAddr, seedsLen, programIdAddr, addressAddr uint64) (uint64, error) + func SyscallCurveDecompressImpl(vm sbpf.VM, curveId, pointAddr, resultAddr uint64) (uint64, error) + func SyscallCurveGroupOpsImpl(vm sbpf.VM, ...) (uint64, error) + func SyscallCurveMultiscalarMultiplicationImpl(vm sbpf.VM, ...) (uint64, error) + func SyscallCurvePairingMapImpl(vm sbpf.VM, curveId, numPairs, g1PointsAddr, g2PointsAddr, resultAddr uint64) (uint64, error) + func SyscallCurveValidatePointImpl(vm sbpf.VM, curveId, pointAddr uint64) (uint64, error) + func SyscallGetClockSysvarImpl(vm sbpf.VM, addr uint64) (uint64, error) + func SyscallGetEpochRewardsSysvarImpl(vm sbpf.VM, addr uint64) (uint64, error) + func SyscallGetEpochScheduleSysvarImpl(vm sbpf.VM, addr uint64) (uint64, error) + func SyscallGetEpochStakeImpl(vm sbpf.VM, varAddr uint64) (uint64, error) + func SyscallGetLastRestartSlotSysvarImpl(vm sbpf.VM, addr uint64) (uint64, error) + func SyscallGetProcessedSiblingInstructionImpl(vm sbpf.VM, index, metaAddr, programIdAddr, dataAddr, accountsAddr uint64) (uint64, error) + func SyscallGetRentSysvarImpl(vm sbpf.VM, addr uint64) (uint64, error) + func SyscallGetReturnDataImpl(vm sbpf.VM, returnDataAddr, length, programIdAddr uint64) (uint64, error) + func SyscallGetStackHeightImpl(vm sbpf.VM) (uint64, error) + func SyscallGetSysvarImpl(vm sbpf.VM, sysvarIdAddr uint64, varAddr uint64, offset uint64, length uint64) (uint64, error) + func SyscallInvokeSignedCImpl(vm sbpf.VM, ...) (uint64, error) + func SyscallInvokeSignedRustImpl(vm sbpf.VM, ...) (uint64, error) + func SyscallKeccak256Impl(vm sbpf.VM, valsAddr, valsLen, resultsAddr uint64) (uint64, error) + func SyscallLog64Impl(vm sbpf.VM, r1, r2, r3, r4, r5 uint64) (uint64, error) + func SyscallLogCUsImpl(vm sbpf.VM) (uint64, error) + func SyscallLogDataImpl(vm sbpf.VM, addr uint64, len uint64) (uint64, error) + func SyscallLogImpl(vm sbpf.VM, ptr, strlen uint64) (uint64, error) + func SyscallLogPubkeyImpl(vm sbpf.VM, pubkeyAddr uint64) (uint64, error) + func SyscallMemcmpImpl(vm sbpf.VM, addr1, addr2, n, resultAddr uint64) (uint64, error) + func SyscallMemcpyImpl(vm sbpf.VM, dst, src, n uint64) (uint64, error) + func SyscallMemmoveImpl(vm sbpf.VM, dst, src, n uint64) (uint64, error) + func SyscallMemsetImpl(vm sbpf.VM, dst, c, n uint64) (uint64, error) + func SyscallPanicImpl(vm sbpf.VM, fileNameAddr, len, line, column uint64) (uint64, error) + func SyscallPoseidonImpl(vm sbpf.VM, parameters, endianness, valsAddr, valsLen, resultAddr uint64) (uint64, error) + func SyscallSecp256k1RecoverImpl(vm sbpf.VM, hashAddr, recoveryIdVal, signatureAddr, resultAddr uint64) (uint64, error) + func SyscallSetReturnDataImpl(vm sbpf.VM, addr, length uint64) (uint64, error) + func SyscallSha256Impl(vm sbpf.VM, valsAddr, valsLen, resultsAddr uint64) (uint64, error) + func SyscallTryFindProgramAddressImpl(vm sbpf.VM, ...) (uint64, error) + func Syscalls(ft *features.Features, isDeploy bool, h uint32) (f sbpf.Syscall, ok bool) + func SystemProgramAdvanceNonceAccount(execCtx *ExecutionCtx, acct *BorrowedAccount, signers []solana.PublicKey, ...) error + func SystemProgramAllocate(execCtx *ExecutionCtx, acct *BorrowedAccount, address solana.PublicKey, ...) error + func SystemProgramAllocateAndAssign(execCtx *ExecutionCtx, toAcct *BorrowedAccount, toAddr solana.PublicKey, ...) error + func SystemProgramAssign(execCtx *ExecutionCtx, acct *BorrowedAccount, address solana.PublicKey, ...) error + func SystemProgramAuthorizeNonceAccount(execCtx *ExecutionCtx, acct *BorrowedAccount, nonceAuthority solana.PublicKey, ...) error + func SystemProgramCreateAccount(execCtx *ExecutionCtx, toAddr solana.PublicKey, lamports uint64, space uint64, ...) error + func SystemProgramCreateAccountAllowPrefund(execCtx *ExecutionCtx, instrCtx *InstructionCtx, toAcctIdx uint64, ...) error + func SystemProgramExecute(execCtx *ExecutionCtx) error + func SystemProgramInitializeNonceAccount(execCtx *ExecutionCtx, acct *BorrowedAccount, nonceAuthority solana.PublicKey, ...) error + func SystemProgramTransfer(execCtx *ExecutionCtx, fromAcctIdx uint64, toAcctIdx uint64, lamports uint64) error + func SystemProgramTransferWithSeed(execCtx *ExecutionCtx, fromAcctIdx uint64, fromBaseAcctIdx uint64, ...) error + func SystemProgramUpgradeNonceAccount(execCtx *ExecutionCtx, acct *BorrowedAccount) error + func SystemProgramWithdrawNonceAccount(execCtx *ExecutionCtx, instrCtx *InstructionCtx, fromAcctIdx uint64, ...) error + func TranslateErrToErrCode(err error) int + func UpgradeableLoaderClose(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx) error + func UpgradeableLoaderDeployWithMaxDataLen(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func UpgradeableLoaderExtendProgram(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func UpgradeableLoaderInitializeBuffer(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx) error + func UpgradeableLoaderSetAuthority(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx) error + func UpgradeableLoaderSetAuthorityChecked(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx) error + func UpgradeableLoaderUpgrade(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx) error + func UpgradeableLoaderWrite(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func ValidateAndCreateWithSeed(base solana.PublicKey, seed string, owner solana.PublicKey) (solana.PublicKey, error) + func ValidateUpgradeableLoaderProgram(programData []byte, f *features.Features) error + func VoteProgramAuthorize(execCtx *ExecutionCtx, voteAcct *BorrowedAccount, authorized solana.PublicKey, ...) error + func VoteProgramAuthorizeWithSeed(execCtx *ExecutionCtx, instrCtx *InstructionCtx, voteAcct *BorrowedAccount, ...) error + func VoteProgramExecute(execCtx *ExecutionCtx) error + func VoteProgramInitializeAccount(execCtx *ExecutionCtx, voteAccount *BorrowedAccount, ...) error + func VoteProgramProcessTowerSync(execCtx *ExecutionCtx, voteAcct *BorrowedAccount, slotHashes SysvarSlotHashes, ...) error + func VoteProgramProcessVote(execCtx *ExecutionCtx, voteAcct *BorrowedAccount, slotHashes SysvarSlotHashes, ...) error + func VoteProgramProcessVoteStateUpdate(execCtx *ExecutionCtx, voteAcct *BorrowedAccount, slotHashes SysvarSlotHashes, ...) error + func VoteProgramUpdateCommission(execCtx *ExecutionCtx, voteAcct *BorrowedAccount, commission byte, ...) error + func VoteProgramUpdateValidatorIdentity(execCtx *ExecutionCtx, voteAcct *BorrowedAccount, nodePubkey solana.PublicKey, ...) error + func VoteProgramWithdraw(execCtx *ExecutionCtx, txCtx *TransactionCtx, instrCtx *InstructionCtx, ...) error + func WriteClockSysvar(accts *accounts.Accounts, clock SysvarClock) + func WriteEpochRewardsSysvar(accts *accounts.Accounts, epochRewards SysvarEpochRewards) + func WriteEpochScheduleSysvar(accts *accounts.Accounts, epochSchedule SysvarEpochSchedule) + func WriteFeesSysvar(accts *accounts.Accounts, fees SysvarFees) + func WriteLastRestartSlotSysvar(accts *accounts.Accounts, lastRestartSlot SysvarLastRestartSlot) + func WriteRentSysvar(accts *accounts.Accounts, rent SysvarRent) + func WriteSlotHashesSysvar(accts *accounts.Accounts, slotHashes SysvarSlotHashes) + func WriteSlotHistorySysvar(accts *accounts.Accounts, slotHistory SysvarSlotHistory) + func WriteStakeHistorySysvar(accts *accounts.Accounts, stakeHistory SysvarStakeHistory) + type AccountMeta struct + IsSigner bool + IsWritable bool + Pubkey solana.PublicKey + func (accountMeta *AccountMeta) Marshal() []byte + func (accountMeta *AccountMeta) Unmarshal(buf io.Reader) error + type AccountParam struct + Data []byte + DuplicateIndex uint8 + IsDuplicate bool + IsExecutable bool + IsSigner bool + IsWritable bool + Key solana.PublicKey + Lamports uint64 + Owner solana.PublicKey + Padding int + RentEpoch uint64 + type AddrLookupTableInstrCreateLookupTable struct + BumpSeed byte + RecentSlot uint64 + func (createLookupTable *AddrLookupTableInstrCreateLookupTable) MarshalWithEncoder(encoder *bin.Encoder) error + func (createLookupTable *AddrLookupTableInstrCreateLookupTable) UnmarshalWithDecoder(decoder *bin.Decoder) error + type AddrLookupTableInstrExtendLookupTable struct + NewAddresses []solana.PublicKey + func (extendLookupTable *AddrLookupTableInstrExtendLookupTable) MarshalWithEncoder(encoder *bin.Encoder) error + func (extendLookupTable *AddrLookupTableInstrExtendLookupTable) UnmarshalWithDecoder(decoder *bin.Decoder) error + type AddressLookupTable struct + Addresses []solana.PublicKey + Meta LookupTableMeta + State uint32 + func UnmarshalAddressLookupTable(data []byte) (*AddressLookupTable, error) + type AddressLookupTableStatus struct + DeactivatingRemainingBlocks uint64 + Status uint64 + type Authorized struct + Staker solana.PublicKey + Withdrawer solana.PublicKey + func (authorized *Authorized) Authorize(signers []solana.PublicKey, newAuthorized solana.PublicKey, ...) error + func (authorized *Authorized) Check(signers []solana.PublicKey, stakeAuthorize uint32) error + func (authorized *Authorized) MarshalWithEncoder(encoder *bin.Encoder) error + func (authorized *Authorized) UnmarshalWithDecoder(decoder *bin.Decoder) error + type AuthorizedVoter struct + Epoch uint64 + Pubkey solana.PublicKey + func (authVoter *AuthorizedVoter) MarshalWithEncoder(encoder *bin.Encoder) error + func (authVoter *AuthorizedVoter) UnmarshalWithDecoder(decoder *bin.Decoder) error + type AuthorizedVoters struct + AuthorizedVoters btree.Map[uint64, solana.PublicKey] + func (authVoters *AuthorizedVoters) GetAndCacheAuthorizedVoterForEpoch(epoch uint64) (solana.PublicKey, error) + func (authVoters *AuthorizedVoters) GetOrCalculateAuthorizedVoterForEpoch(epoch uint64) (solana.PublicKey, bool, error) + func (authVoters *AuthorizedVoters) MarshalWithEncoder(encoder *bin.Encoder) error + func (authVoters *AuthorizedVoters) PurgeAuthorizedVoters(currentEpoch uint64) bool + func (authVoters *AuthorizedVoters) UnmarshalWithDecoder(decoder *bin.Decoder) error + type BlockTimestamp struct + Slot uint64 + Timestamp int64 + func (blockTimestamp *BlockTimestamp) MarshalWithEncoder(encoder *bin.Encoder) error + func (blockTimestamp *BlockTimestamp) UnmarshalWithDecoder(decoder *bin.Decoder) error + type BorrowedAccount struct + Account *accounts.Account + IndexInInstruction uint64 + IndexInTransaction uint64 + InstrCtx *InstructionCtx + TxCtx *TransactionCtx + func (acct *BorrowedAccount) AccountExists() bool + func (acct *BorrowedAccount) CanDataBeResized(newLen uint64) error + func (acct *BorrowedAccount) CheckedAddLamports(lamports uint64, f features.Features) error + func (acct *BorrowedAccount) CheckedSubLamports(lamports uint64, f features.Features) error + func (acct *BorrowedAccount) Data() []byte + func (acct *BorrowedAccount) DataCanBeChanged(f features.Features) error + func (acct *BorrowedAccount) DataMutable(f features.Features) ([]byte, error) + func (acct *BorrowedAccount) Drop() + func (acct *BorrowedAccount) ExtendFromSlice(f features.Features, data []byte) error + func (acct *BorrowedAccount) IsExecutable() bool + func (acct *BorrowedAccount) IsOwnedByCurrentProgram() bool + func (acct *BorrowedAccount) IsRentExemptAtDataLength(len uint64) bool + func (acct *BorrowedAccount) IsSigner() bool + func (acct *BorrowedAccount) IsWritable() bool + func (acct *BorrowedAccount) IsZeroed() bool + func (acct *BorrowedAccount) Key() solana.PublicKey + func (acct *BorrowedAccount) Lamports() uint64 + func (acct *BorrowedAccount) Owner() solana.PublicKey + func (acct *BorrowedAccount) RentEpoch() uint64 + func (acct *BorrowedAccount) SetData(features features.Features, data []byte) error + func (acct *BorrowedAccount) SetDataLength(newLength uint64, f features.Features) error + func (acct *BorrowedAccount) SetExecutable(f features.Features, isExecutable bool) error + func (acct *BorrowedAccount) SetLamports(lamports uint64, f features.Features) error + func (acct *BorrowedAccount) SetOwner(f features.Features, owner solana.PublicKey) error + func (acct *BorrowedAccount) SetState(f features.Features, data []byte) error + func (acct *BorrowedAccount) Touch() error + func (acct *BorrowedAccount) UpdateAccountsResizeDelta(newLength uint64) + func (acct BorrowedAccount) String() string + type CallerAccount struct + Lamports []byte + OriginalDataLen uint64 + Owner []byte + RefToLenInVm []byte + SerializedData []byte + VmDataAddr uint64 + type CompactUpdateVoteState struct + Hash [32]byte + LockoutOffsets []LockoutOffset + Root uint64 + Timestamp *int64 + func (cuvs *CompactUpdateVoteState) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ComputeBudgetInstrRequestHeapFrame struct + Bytes uint32 + func (requestHeapFrame *ComputeBudgetInstrRequestHeapFrame) MarshalWithEncoder(encoder *bin.Encoder) error + func (requestHeapFrame *ComputeBudgetInstrRequestHeapFrame) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ComputeBudgetInstrSetComputeUnitLimit struct + ComputeUnitLimit uint32 + func (setComputeUnitLimit *ComputeBudgetInstrSetComputeUnitLimit) MarshalWithEncoder(encoder *bin.Encoder) error + func (setComputeUnitLimit *ComputeBudgetInstrSetComputeUnitLimit) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ComputeBudgetInstrSetComputeUnitPrice struct + MicroLamports uint64 + func (setComputeUnitPrice *ComputeBudgetInstrSetComputeUnitPrice) MarshalWithEncoder(encoder *bin.Encoder) error + func (setComputeUnitPrice *ComputeBudgetInstrSetComputeUnitPrice) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ComputeBudgetInstrSetLoadedAccountsDataSizeLimit struct + Bytes uint32 + func (setLoadedAccountsDataSizeLimit *ComputeBudgetInstrSetLoadedAccountsDataSizeLimit) MarshalWithEncoder(encoder *bin.Encoder) error + func (setLoadedAccountsDataSizeLimit *ComputeBudgetInstrSetLoadedAccountsDataSizeLimit) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ComputeBudgetLimits struct + ComputeUnitLimit uint32 + ComputeUnitPrice uint64 + LoadedAccountBytes uint32 + UpdatedHeapBytes uint32 + func ComputeBudgetExecuteInstructions(instructions []Instruction, f *features.Features) (*ComputeBudgetLimits, error) + type ConfigKey struct + IsSigner bool + Pubkey solana.PublicKey + func (configKey *ConfigKey) MarshalWithEncoder(encoder *bin.Encoder) error + func (configKey *ConfigKey) UnmarshalWithDecoder(decoder *bin.Decoder) error + type Delegation struct + ActivationEpoch uint64 + CreditsObserved uint64 + DeactivationEpoch uint64 + StakeLamports uint64 + VoterPubkey solana.PublicKey + WarmupCooldownRate float64 + func (delegation *Delegation) IsBootstrap() bool + func (delegation *Delegation) MarshalWithEncoder(encoder *bin.Encoder) error + func (delegation *Delegation) Stake(epoch uint64, stakeHistory *SysvarStakeHistory, newRateActivationEpoch *uint64) uint64 + func (delegation *Delegation) StakeActivatingAndDeactivating(targetEpoch uint64, stakeHistory *SysvarStakeHistory, ...) StakeHistoryEntry + func (delegation *Delegation) StakeAndActivating(targetEpoch uint64, stakeHistory *SysvarStakeHistory, ...) (uint64, uint64) + func (delegation *Delegation) UnmarshalWithDecoder(decoder *bin.Decoder) error + type Ed25519SignatureOffsets struct + MessageDataOffset uint16 + MessageDataSize uint16 + MessageInstructionIndex uint16 + PublicKeyInstructionIndex uint16 + PublicKeyOffset uint16 + SignatureInstructionIndex uint16 + SignatureOffset uint16 + func (offsets *Ed25519SignatureOffsets) UnmarshalWithDecoder(buf io.Reader) error + type ElGamalProofInstruction uint8 + const CloseContextState + const VerifyBatchedGroupedCiphertext2HandlesValidity + const VerifyBatchedGroupedCiphertext3HandlesValidity + const VerifyBatchedRangeProofU128 + const VerifyBatchedRangeProofU256 + const VerifyBatchedRangeProofU64 + const VerifyCiphertextCiphertextEquality + const VerifyCiphertextCommitmentEquality + const VerifyGroupedCiphertext2HandlesValidity + const VerifyGroupedCiphertext3HandlesValidity + const VerifyPercentageWithCap + const VerifyPubkeyValidity + const VerifyZeroCiphertext + type EpochCredits struct + Credits uint64 + Epoch uint64 + PrevCredits uint64 + func (epochCredits *EpochCredits) MarshalWithEncoder(encoder *bin.Encoder) error + func (epochCredits *EpochCredits) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ExecutionCtx struct + Accounts accounts.Accounts + Blockhash [32]byte + ComputeMeter cu.ComputeMeter + Features features.Features + InnerInstrs []RecordedInnerInstr + IsSimulation bool + Log Logger + ModifiedVoteStates map[solana.PublicKey]*VoteStateVersions + PrevLamportsPerSignature uint64 + RecordInnerInstructions bool + SlotCtx *SlotCtx + TransactionContext *TransactionCtx + func (execCtx *ExecutionCtx) AddModifiedVoteState(pubkey solana.PublicKey, state *VoteStateVersions) + func (execCtx *ExecutionCtx) CheckAligned() bool + func (execCtx *ExecutionCtx) ExecuteInstruction() error + func (execCtx *ExecutionCtx) NativeInvoke(instruction Instruction, signers []solana.PublicKey) error + func (execCtx *ExecutionCtx) Pop() error + func (execCtx *ExecutionCtx) PrepareInstruction(ix Instruction, signers []solana.PublicKey) ([]InstructionAccount, []uint64, error) + func (execCtx *ExecutionCtx) ProcessInstruction(instrData []byte, instructionAccts []InstructionAccount, ...) error + func (execCtx *ExecutionCtx) Push() error + func (execCtx *ExecutionCtx) SetCurrentTopLevelInstr(idx uint8) + func (execCtx *ExecutionCtx) StackHeight() uint64 + type FeeCalculator struct + LamportsPerSignature uint64 + type FeeRateGovernor struct + BurnPercent byte + LamportsPerSignature uint64 + MaxLamportsPerSignature uint64 + MinLamportsPerSignature uint64 + PrevLamportsPerSignature uint64 + TargetLamportsPerSignature uint64 + TargetSignaturesPerSlot uint64 + func NewFeeRateGovernorDerived(baseFeeRateGovernor *FeeRateGovernor, latestSignaturesPerSlot uint64) *FeeRateGovernor + func (rateGovernor *FeeRateGovernor) Clone() *FeeRateGovernor + func (rateGovernor *FeeRateGovernor) UnmarshalWithDecoder(decoder *bin.Decoder) error + type IPPProof struct + A [32]byte + B [32]byte + LR []IPProofLr + LogN uint64 + type IPProofLr struct + L [32]byte + R [32]byte + type Instruction struct + Accounts []AccountMeta + Data []byte + ProgramId solana.PublicKey + type InstructionAccount struct + IndexInCallee uint64 + IndexInCaller uint64 + IndexInTransaction uint64 + IsSigner bool + IsWritable bool + func InstructionAcctsFromAccountMetas(instrAcctMetas []AccountMeta, txAccounts TransactionAccounts) []InstructionAccount + type InstructionCtx struct + Data []byte + InstructionAccounts []InstructionAccount + InstructionAccountsLamportSum wide.Uint128 + NestingLevel uint64 + ProgramAccounts []uint64 + func (instrCtx *InstructionCtx) BorrowAccount(txCtx *TransactionCtx, idxInTx uint64, idxInInstr uint64) (*BorrowedAccount, error) + func (instrCtx *InstructionCtx) BorrowExecutableAccount(txCtx *TransactionCtx, pubkey solana.PublicKey) (*BorrowedAccount, error) + func (instrCtx *InstructionCtx) BorrowInstructionAccount(txCtx *TransactionCtx, instrAcctIdx uint64) (*BorrowedAccount, error) + func (instrCtx *InstructionCtx) BorrowLastProgramAccount(txCtx *TransactionCtx) (*BorrowedAccount, error) + func (instrCtx *InstructionCtx) BorrowProgramAccount(txCtx *TransactionCtx, programAcctIdx uint64) (*BorrowedAccount, error) + func (instrCtx *InstructionCtx) CheckNumOfInstructionAccounts(num uint64) error + func (instrCtx *InstructionCtx) Configure(programAccts []uint64, instrAccts []InstructionAccount, instrData []byte) + func (instrCtx *InstructionCtx) IndexOfInstructionAccount(txCtx *TransactionCtx, pubkey solana.PublicKey) (uint64, error) + func (instrCtx *InstructionCtx) IndexOfInstructionAccountInTransaction(instrAcctIdx uint64) (uint64, error) + func (instrCtx *InstructionCtx) IndexOfProgramAccountInTransaction(programAccountIndex uint64) (uint64, error) + func (instrCtx *InstructionCtx) IsInstructionAccountDuplicate(instrAcctIdx uint64) (bool, uint64, error) + func (instrCtx *InstructionCtx) IsInstructionAccountSigner(instrAcctIdx uint64) (bool, error) + func (instrCtx *InstructionCtx) IsInstructionAccountWritable(instrAcctIdx uint64) (bool, error) + func (instrCtx *InstructionCtx) KeyOfInstructionAccount(txCtx *TransactionCtx, instrAcctIdx uint64) (solana.PublicKey, error) + func (instrCtx *InstructionCtx) LastProgramKey(txCtx *TransactionCtx) (solana.PublicKey, error) + func (instrCtx *InstructionCtx) NumberOfInstructionAccounts() uint64 + func (instrCtx *InstructionCtx) NumberOfProgramAccounts() uint64 + func (instrCtx *InstructionCtx) ProgramId() solana.PublicKey + func (instrCtx *InstructionCtx) Signers(txCtx *TransactionCtx) ([]solana.PublicKey, error) + func (instrCtx *InstructionCtx) StackHeight() uint64 + type LandedVote struct + Latency byte + Lockout VoteLockout + func (landedVote *LandedVote) MarshalWithEncoder(encoder *bin.Encoder) error + func (landedVote *LandedVote) UnmarshalWithDecoder(decoder *bin.Decoder) error + type LoaderV4Copy struct + DestinationOffset uint32 + Length uint32 + SourceOffset uint32 + func (copy *LoaderV4Copy) UnmarshalWithDecoder(decoder *bin.Decoder) error + type LoaderV4SetProgramLength struct + NewSize uint32 + func (setProgramLen *LoaderV4SetProgramLength) UnmarshalWithDecoder(decoder *bin.Decoder) error + type LoaderV4State struct + AuthorityAddrOrNextVersion solana.PublicKey + Slot uint64 + Status uint64 + func (state *LoaderV4State) Marshal() []byte + func (state *LoaderV4State) UnmarshalWithDecoder(decoder *bin.Decoder) error + type LoaderV4Write struct + Bytes []byte + Offset uint32 + func (write *LoaderV4Write) UnmarshalWithDecoder(decoder *bin.Decoder) error + type LockoutOffset struct + ConfirmationCount byte + Offset uint64 + func (lockoutOffset *LockoutOffset) UnmarshalWithDecoder(decoder *bin.Decoder) error + type LogRecorder struct + Logs []string + func (r *LogRecorder) Log(s string) + type Logger interface + Log func(s string) + type LookupTableMeta struct + Authority *solana.PublicKey + DeactivationSlot uint64 + LastExtendedSlot uint64 + LastExtendedSlotStartIndex byte + Padding uint16 + func (lookupTableMeta *LookupTableMeta) MarshalWithEncoder(encoder *bin.Encoder) error + func (lookupTableMeta *LookupTableMeta) Status(currentSlot uint64, slotHashes SysvarSlotHashes) AddressLookupTableStatus + func (lookupTableMeta *LookupTableMeta) UnmarshalWithDecoder(decoder *bin.Decoder) error + type MergeKind struct + ActivationEpoch MergeKindActivationEpoch + FullyActive MergeKindFullyActive + Inactive MergeKindInactive + Status uint64 + func (mergeKind *MergeKind) ActiveStake() *Stake + func (mergeKind *MergeKind) Merge(execCtx *ExecutionCtx, src *MergeKind, clock SysvarClock) (*StakeStateV2, error) + func (mergeKind *MergeKind) Meta() *Meta + type MergeKindActivationEpoch struct + Meta Meta + Stake Stake + StakeFlags StakeFlags + type MergeKindFullyActive struct + Meta Meta + Stake Stake + type MergeKindInactive struct + Meta Meta + StakeFlags StakeFlags + StakeLamports uint64 + type Meta struct + Authorized Authorized + Lockup StakeLockup + RentExemptReserve uint64 + func (meta *Meta) MarshalWithEncoder(encoder *bin.Encoder) error + func (meta *Meta) SetLockup(lockup StakeInstrSetLockup, signers []solana.PublicKey, clock SysvarClock) error + func (meta *Meta) UnmarshalWithDecoder(decoder *bin.Decoder) error + type NonceData struct + Authority solana.PublicKey + DurableNonce [32]byte + FeeCalculator FeeCalculator + IsInitialized bool + func (nonceData *NonceData) IsSignerAuthority(signers []solana.PublicKey) bool + func (nonceData *NonceData) Marshal() ([]byte, error) + func (nonceData *NonceData) UnmarshalWithDecoder(decoder *bin.Decoder) error + type NonceStateVersions struct + Current NonceData + Legacy NonceData + Type uint32 + func UnmarshalNonceStateVersions(data []byte) (*NonceStateVersions, error) + func (nonceStateVersions *NonceStateVersions) Deinitialize() + func (nonceStateVersions *NonceStateVersions) IsUpgradeable() bool + func (nonceStateVersions *NonceStateVersions) Marshal() ([]byte, error) + func (nonceStateVersions *NonceStateVersions) State() *NonceData + func (nonceStateVersions *NonceStateVersions) UnmarshalWithDecoder(decoder *bin.Decoder) error + func (nonceStateVersions *NonceStateVersions) Upgrade() bool + type Params struct + Accounts []AccountParam + Data []byte + Features features.Features + ProgramID solana.PublicKey + func (p *Params) Serialize(buf *bytes.Buffer) + func (p *Params) Update(buf *bytes.Reader) error + type PriorVoter struct + EpochEnd uint64 + EpochStart uint64 + Pubkey solana.PublicKey + Slot uint64 + func (priorVoter *PriorVoter) MarshalWithEncoder(encoder *bin.Encoder, isVersion0_23_5 bool) error + func (priorVoter *PriorVoter) UnmarshalWithDecoder(decoder *bin.Decoder, isVersion0_23_5 bool) error + type PriorVoters struct + Buf [32]PriorVoter + Index uint64 + IsEmpty bool + func (priorVoters *PriorVoters) Append(priorVoter PriorVoter) + func (priorVoters *PriorVoters) Last() *PriorVoter + func (priorVoters *PriorVoters) MarshalWithEncoder(encoder *bin.Encoder) error + func (priorVoters *PriorVoters) UnmarshalWithDecoder(decoder *bin.Decoder) error + type PriorVoters0_23_5 struct + Buf [32]PriorVoter + Index uint64 + func (priorVoters *PriorVoters0_23_5) Append(priorVoter PriorVoter) + func (priorVoters *PriorVoters0_23_5) MarshalWithEncoder(encoder *bin.Encoder) error + func (priorVoters *PriorVoters0_23_5) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ProcessedSiblingInstruction struct + AccountsLen uint64 + DataLen uint64 + func (psi *ProcessedSiblingInstruction) Marshal() []byte + func (psi *ProcessedSiblingInstruction) Unmarshal(buf io.Reader) error + type RangeProof struct + IppA [32]byte + IppB [32]byte + IppLrVec []IPProofLr + RangeProof RangeProofData + type RangeProofData struct + A [32]byte + EBlinding [32]byte + S [32]byte + T1 [32]byte + T2 [32]byte + Tx [32]byte + TxBlinding [32]byte + type RecentBlockHashesEntry struct + Blockhash [32]byte + FeeCalculator FeeCalculator + type RecordedInnerInstr struct + Accounts []uint8 + Data []byte + ProgramIdIndex uint8 + StackHeight uint8 + TopLevelIdx uint8 + type RefCellRust struct + Addr uint64 + Borrow uint64 + Strong uint64 + Weak uint64 + func (refCell *RefCellRust) Unmarshal(buf io.Reader) error + type RefCellVecRust struct + Addr uint64 + Borrow uint64 + Len uint64 + Strong uint64 + Weak uint64 + func (refCellVec *RefCellVecRust) Unmarshal(buf io.Reader) error + type Secp256r1SignatureOffsets struct + MessageDataOffset uint16 + MessageDataSize uint16 + MessageInstructionIndex uint16 + PublicKeyInstructionIndex uint16 + PublicKeyOffset uint16 + SignatureInstructionIndex uint16 + SignatureOffset uint16 + type SecppSignatureOffsets struct + EthAddressInstructionIndex byte + EthAddressOffset uint16 + MessageDataOffset uint16 + MessageDataSize uint16 + MessageInstructionIndex byte + SignatureInstructionIndex byte + SignatureOffset uint16 + func (so *SecppSignatureOffsets) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + type SlotBank struct + BanksHash [32]byte + PreviousSlot uint64 + type SlotCtx struct + Accounts accounts.Accounts + AccountsDb *accountsdb.AccountsDb + AcctMapsMu *sync.Mutex + AcctsLtHash *lthash.LtHash + Blockhash [32]byte + EahWorkaroundBankhash []byte + Epoch uint64 + EpochsAcctHash []byte + Features *features.Features + FeeRateGovernor *FeeRateGovernor + FinalBankhash []byte + HasEahWorkaround bool + LamportsBurnt uint64 + LastBlockhash [32]byte + LatestEvictedBlockhash [32]byte + ModifiedAccts map[solana.PublicKey]bool + NumSignatures uint64 + ParentAccts accounts.Accounts + ParentSlot uint64 + Replay bool + SerializedParameterArena *arena.Arena[byte] + Slot uint64 + SlotBank SlotBank + TotalComputeUnitsConsumed uint64 + TotalEpochStake uint64 + TraceCtx context.Context + VoteAccts map[solana.PublicKey]uint64 + VoteTimestampMu *sync.Mutex + VoteTimestamps map[solana.PublicKey]BlockTimestamp + WritableAccts map[solana.PublicKey]bool + func (slotCtx *SlotCtx) GetAccount(pubkey solana.PublicKey) (*accounts.Account, error) + func (slotCtx *SlotCtx) GetAccountFromAccountsDb(pubkey solana.PublicKey) (*accounts.Account, error) + func (slotCtx *SlotCtx) GetAccountShared(pubkey solana.PublicKey) (*accounts.Account, error) + func (slotCtx *SlotCtx) GetParentAccount(pubkey solana.PublicKey) (*accounts.Account, error) + func (slotCtx *SlotCtx) RecordModifiedAcct(pubkey solana.PublicKey) + func (slotCtx *SlotCtx) RecordWritableAcct(pubkey solana.PublicKey) + func (slotCtx *SlotCtx) SetAccount(pubkey solana.PublicKey, acct *accounts.Account) error + type SlotHash struct + Hash [32]byte + Slot uint64 + type SlotHistoryBitvec struct + Bits SlotHistoryInner + Len uint64 + type SlotHistoryInner struct + Blocks []uint64 + BlocksLen uint64 + type SolAccountInfoC struct + DataAddr uint64 + DataLen uint64 + Executable bool + IsSigner bool + IsWritable bool + KeyAddr uint64 + LamportsAddr uint64 + OwnerAddr uint64 + RentEpoch uint64 + func (accountInfo *SolAccountInfoC) Unmarshal(buf io.Reader) error + type SolAccountInfoRust struct + DataBoxAddr uint64 + Executable byte + IsSigner byte + IsWritable byte + LamportsBoxAddr uint64 + OwnerAddr uint64 + PubkeyAddr uint64 + RentEpoch uint64 + func (accountInfo *SolAccountInfoRust) Unmarshal(buf io.Reader) error + type SolAccountMetaC struct + IsSigner byte + IsWritable byte + PubkeyAddr uint64 + func (accountMeta *SolAccountMetaC) Marshal() ([]byte, error) + func (accountMeta *SolAccountMetaC) Unmarshal(buf io.Reader) error + type SolAccountMetaRust struct + IsSigner byte + IsWritable byte + Pubkey solana.PublicKey + type SolInstructionC struct + AccountsAddr uint64 + AccountsLen uint64 + DataAddr uint64 + DataLen uint64 + ProgramIdAddr uint64 + func (solInstr *SolInstructionC) Marshal() ([]byte, error) + func (solInstr *SolInstructionC) Unmarshal(buf io.Reader) error + type SolInstructionRust struct + Accounts VectorDescrRust + Data VectorDescrRust + Pubkey solana.PublicKey + func (solInstr *SolInstructionRust) Unmarshal(buf io.Reader) error + type Stake struct + CreditsObserved uint64 + Delegation Delegation + func (stake *Stake) Deactivate(epoch uint64) error + func (stake *Stake) MarshalWithEncoder(encoder *bin.Encoder) error + func (stake *Stake) MergeDelegationStakeAndCreditsObserved(absorbedLamports uint64, absorbedCreditsObserved uint64) error + func (stake *Stake) Split(remainingStakeDelta uint64, splitStakeAmount uint64) (Stake, error) + func (stake *Stake) Stake(epoch uint64, stakeHistory *SysvarStakeHistory, newRateActivationEpoch *uint64) uint64 + func (stake *Stake) StakeWeightCreditsObserved(absorbedLamports uint64, absorbedCreditsObserved uint64) (uint64, error) + func (stake *Stake) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeConfig struct + SlashPenalty byte + WarmupCooldownRate float64 + func (config *StakeConfig) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeFlags struct + Bits byte + func (stakeFlags *StakeFlags) Contains(other StakeFlags) bool + func (stakeFlags *StakeFlags) MarshalWithEncoder(encoder *bin.Encoder) error + func (stakeFlags *StakeFlags) Remove(other StakeFlags) + func (stakeFlags *StakeFlags) Union(other StakeFlags) StakeFlags + func (stakeFlags *StakeFlags) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeHistoryEntry struct + Activating uint64 + Deactivating uint64 + Effective uint64 + type StakeHistoryPair struct + Entry StakeHistoryEntry + Epoch uint64 + type StakeInstrAuthorize struct + Pubkey solana.PublicKey + StakeAuthorize uint32 + func (auth *StakeInstrAuthorize) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrAuthorizeChecked struct + StakeAuthorize uint32 + func (authChecked *StakeInstrAuthorizeChecked) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrAuthorizeCheckedWithSeed struct + AuthorityOwner solana.PublicKey + AuthoritySeed string + StakeAuthorize uint32 + func (authCheckedWithSeed *StakeInstrAuthorizeCheckedWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrAuthorizeWithSeed struct + AuthorityOwner solana.PublicKey + AuthoritySeed string + NewAuthorizedPubkey solana.PublicKey + StakeAuthorize uint32 + func (authWithSeed *StakeInstrAuthorizeWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrInitialize struct + Authorized Authorized + Lockup StakeLockup + func (initialize *StakeInstrInitialize) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrMoveLamports struct + Lamports uint64 + func (moveLamports *StakeInstrMoveLamports) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrMoveStake struct + Lamports uint64 + func (moveStake *StakeInstrMoveStake) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrSetLockup struct + Custodian *solana.PublicKey + Epoch *uint64 + UnixTimestamp *uint64 + func (lockup *StakeInstrSetLockup) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrSetLockupChecked struct + Epoch *uint64 + UnixTimestamp *uint64 + func (lockup *StakeInstrSetLockupChecked) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrSplit struct + Lamports uint64 + func (split *StakeInstrSplit) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeInstrWithdraw struct + Lamports uint64 + func (withdraw *StakeInstrWithdraw) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeLockup struct + Custodian solana.PublicKey + Epoch uint64 + UnixTimeStamp uint64 + func (lockup *StakeLockup) IsInForce(clock SysvarClock, custodian *solana.PublicKey) bool + func (lockup *StakeLockup) MarshalWithEncoder(encoder *bin.Encoder) error + func (lockup *StakeLockup) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeStateV2 struct + Initialized StakeStateV2Initialized + Stake StakeStateV2Stake + Status uint32 + func UnmarshalStakeState(data []byte) (*StakeStateV2, error) + func (state *StakeStateV2) MarshalWithEncoder(encoder *bin.Encoder) error + func (state *StakeStateV2) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeStateV2Initialized struct + Meta Meta + func (initialized *StakeStateV2Initialized) MarshalWithEncoder(encoder *bin.Encoder) error + func (initialized *StakeStateV2Initialized) UnmarshalWithDecoder(decoder *bin.Decoder) error + type StakeStateV2Stake struct + Meta Meta + Stake Stake + StakeFlags StakeFlags + func (stake *StakeStateV2Stake) MarshalWithEncoder(encoder *bin.Encoder) error + func (stake *StakeStateV2Stake) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrAllocate struct + Space uint64 + func (instr *SystemInstrAllocate) MarshalWithEncoder(encoder *bin.Encoder) error + func (instr *SystemInstrAllocate) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrAllocateWithSeed struct + Base solana.PublicKey + Owner solana.PublicKey + Seed string + Space uint64 + func (instr *SystemInstrAllocateWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrAssign struct + Owner solana.PublicKey + func (instr *SystemInstrAssign) MarshalWithEncoder(encoder *bin.Encoder) error + func (instr *SystemInstrAssign) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrAssignWithSeed struct + Base solana.PublicKey + Owner solana.PublicKey + Seed string + func (instr *SystemInstrAssignWithSeed) MarshalWithEncoder(encoder *bin.Encoder) error + func (instr *SystemInstrAssignWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrAuthorizeNonceAccount struct + Pubkey solana.PublicKey + func (instr *SystemInstrAuthorizeNonceAccount) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrCreateAccount struct + Lamports uint64 + Owner solana.PublicKey + Space uint64 + func (instr *SystemInstrCreateAccount) MarshalWithEncoder(encoder *bin.Encoder) error + func (instr *SystemInstrCreateAccount) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrCreateAccountAllowPrefund struct + Lamports uint64 + Owner solana.PublicKey + Space uint64 + func (instr *SystemInstrCreateAccountAllowPrefund) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrCreateAccountWithSeed struct + Base solana.PublicKey + Lamports uint64 + Owner solana.PublicKey + Seed string + Space uint64 + func (instr *SystemInstrCreateAccountWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrInitializeNonceAccount struct + Pubkey solana.PublicKey + func (instr *SystemInstrInitializeNonceAccount) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrTransfer struct + Lamports uint64 + func (instr *SystemInstrTransfer) MarshalWithEncoder(encoder *bin.Encoder) error + func (instr *SystemInstrTransfer) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrTransferWithSeed struct + FromOwner solana.PublicKey + FromSeed string + Lamports uint64 + func (instr *SystemInstrTransferWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SystemInstrWithdrawNonceAccount struct + Lamports uint64 + func (instr *SystemInstrWithdrawNonceAccount) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SysvarClock struct + Epoch uint64 + EpochStartTimestamp int64 + LeaderScheduleEpoch uint64 + Slot uint64 + UnixTimestamp int64 + func ReadClockSysvar(execCtx *ExecutionCtx) (SysvarClock, error) + func (sc *SysvarClock) MustMarshal() []byte + func (sc *SysvarClock) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sc *SysvarClock) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + type SysvarEpochRewards struct + Active bool + DistributedRewards uint64 + DistributionStartingBlockHeight uint64 + NumPartitions uint64 + ParentBlockhash [32]byte + TotalPoints wide.Uint128 + TotalRewards uint64 + func ReadEpochRewardsSysvar(execCtx *ExecutionCtx) (SysvarEpochRewards, error) + func (ser *SysvarEpochRewards) MarshalWithEncoder(encoder *bin.Encoder) error + func (ser *SysvarEpochRewards) UnmarshalWithDecoder(decoder *bin.Decoder) error + func (sr *SysvarEpochRewards) Distribute(amount uint64) + func (sr *SysvarEpochRewards) MustMarshalWithEncoder(encoder *bin.Encoder) + func (sr *SysvarEpochRewards) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sr SysvarEpochRewards) String() string + type SysvarEpochSchedule struct + FirstNormalEpoch uint64 + FirstNormalSlot uint64 + LeaderScheduleSlotOffset uint64 + SlotsPerEpoch uint64 + Warmup bool + func ReadEpochScheduleSysvar(execCtx *ExecutionCtx) (SysvarEpochSchedule, error) + func (ses *SysvarEpochSchedule) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + func (sr *SysvarEpochSchedule) FirstSlotInEpoch(epoch uint64) uint64 + func (sr *SysvarEpochSchedule) GetEpoch(slot uint64) uint64 + func (sr *SysvarEpochSchedule) GetEpochAndSlotIndex(slot uint64) (uint64, uint64) + func (sr *SysvarEpochSchedule) LeaderScheduleEpoch(slot uint64) uint64 + func (sr *SysvarEpochSchedule) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sr *SysvarEpochSchedule) Slot0(epoch uint64) uint64 + func (sr *SysvarEpochSchedule) SlotsInEpoch(epoch uint64) uint64 + type SysvarFees struct + FeeCalculator FeeCalculator + func ReadFeesSysvar(accts *accounts.Accounts) SysvarFees + func (sf *SysvarFees) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sf *SysvarFees) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + func (sf *SysvarFees) Update(lamportsPerSignature uint64) + type SysvarLastRestartSlot struct + LastRestartSlot uint64 + func ReadLastRestartSlotSysvar(execCtx *ExecutionCtx) SysvarLastRestartSlot + func (lrs *SysvarLastRestartSlot) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + func (sr *SysvarLastRestartSlot) MustUnmarshalWithDecoder(decoder *bin.Decoder) + type SysvarRecentBlockhashes []RecentBlockHashesEntry + func ReadRecentBlockHashesSysvar(execCtx *ExecutionCtx) (SysvarRecentBlockhashes, error) + func (recentBlockhashes *SysvarRecentBlockhashes) GetLatest() RecentBlockHashesEntry + func (recentBlockhashes *SysvarRecentBlockhashes) IsBlockhashAgeValid(hash [32]byte) bool + func (recentBlockhashes *SysvarRecentBlockhashes) MarshalWithEncoder(encoder *bin.Encoder) error + func (recentBlockhashes *SysvarRecentBlockhashes) MustMarshal() []byte + func (recentBlockhashes *SysvarRecentBlockhashes) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (recentBlockhashes *SysvarRecentBlockhashes) PushLatest(latest [32]byte, lamportsPerSignature uint64) [32]byte + func (recentBlockhashes *SysvarRecentBlockhashes) UnmarshalWithDecoder(decoder *bin.Decoder) error + type SysvarRent struct + BurnPercent byte + ExemptionThreshold float64 + LamportsPerUint8Year uint64 + func NewDefaultRentSysvar() SysvarRent + func ReadRentSysvar(execCtx *ExecutionCtx) (SysvarRent, error) + func (sr *SysvarRent) InitializeDefault() + func (sr *SysvarRent) IsExempt(balance uint64, dataLen uint64) bool + func (sr *SysvarRent) MinimumBalance(dataLen uint64) uint64 + func (sr *SysvarRent) MustMarshal() []byte + func (sr *SysvarRent) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sr *SysvarRent) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + type SysvarSlotHashes []SlotHash + func ReadSlotHashesSysvar(execCtx *ExecutionCtx) (SysvarSlotHashes, error) + func (sh *SysvarSlotHashes) Get(slot uint64) ([32]byte, error) + func (sh *SysvarSlotHashes) MustMarshal() []byte + func (sh *SysvarSlotHashes) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sh *SysvarSlotHashes) Position(slot uint64) (uint64, error) + func (sh *SysvarSlotHashes) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + func (sh *SysvarSlotHashes) Update(slot uint64, parentSlot uint64, hash [32]byte) + func (sh *SysvarSlotHashes) UpdateWithSlotCtx(slotCtx *SlotCtx) + func (slotHashes *SysvarSlotHashes) FromInstrAcct(execCtx *ExecutionCtx, instrAcctIdx uint64) error + type SysvarSlotHistory struct + Bits SlotHistoryBitvec + NextSlot uint64 + func ReadSlotHistorySysvar(execCtx *ExecutionCtx) SysvarSlotHistory + func (sh *SysvarSlotHistory) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + func (sr *SysvarSlotHistory) Add(slot uint64) + func (sr *SysvarSlotHistory) MustMarshal() []byte + func (sr *SysvarSlotHistory) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sr *SysvarSlotHistory) SetNextSlot(nextSlot uint64) + type SysvarStakeHistory []StakeHistoryPair + func ReadStakeHistorySysvar(execCtx *ExecutionCtx) (SysvarStakeHistory, error) + func (sh *SysvarStakeHistory) Get(epoch uint64) *StakeHistoryEntry + func (sh *SysvarStakeHistory) MarshalWithEncoder(encoder *bin.Encoder) error + func (sh *SysvarStakeHistory) MustMarshalWithEncoder(encoder *bin.Encoder) + func (sh *SysvarStakeHistory) MustUnmarshalWithDecoder(decoder *bin.Decoder) + func (sh *SysvarStakeHistory) String() string + func (sh *SysvarStakeHistory) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + func (sh *SysvarStakeHistory) Update(epoch uint64, entry StakeHistoryEntry) + type TransactionAccounts struct + Accounts []*accounts.Account + AcctMetas []*AccountMeta + Locked []bool + OnFirstWriteClone func(*accounts.Account) + Shared []bool + Touched []bool + func NewTransactionAccounts(accts []accounts.Account) *TransactionAccounts + func NewTransactionAccountsFromRefs(accts []*accounts.Account, shared []bool) *TransactionAccounts + func (txAccounts *TransactionAccounts) GetAccount(idx uint64) (*accounts.Account, error) + func (txAccounts *TransactionAccounts) IsLocked(idx uint64) bool + func (txAccounts *TransactionAccounts) Lock(idx uint64) + func (txAccounts *TransactionAccounts) Touch(idx uint64) (*accounts.Account, error) + func (txAccounts *TransactionAccounts) Unlock(idx uint64) + type TransactionCtx struct + AccountKeys []solana.PublicKey + Accounts TransactionAccounts + AccountsResizeDelta int64 + AllInstructions []Instruction + BorrowedAccountArena *arena.Arena[BorrowedAccount] + ComputeBudgetLimits *ComputeBudgetLimits + ExecutableAccounts []BorrowedAccount + HeapSize uint32 + InstructionStack []uint64 + InstructionTrace []InstructionCtx + InstructionTraceCapacity uint64 + ModifiedStakeAccts bool + ModifiedVoteAccts bool + NonceAcctAdvanced bool + Rent SysvarRent + RetData TxReturnData + Signature solana.Signature + func NewTransactionCtx(txAccts TransactionAccounts, instrStackCapacity uint64, ...) *TransactionCtx + func (txCtx *TransactionCtx) AccountAtIndex(idxInTx uint64) (*accounts.Account, error) + func (txCtx *TransactionCtx) CurrentInstructionCtx() (*InstructionCtx, error) + func (txCtx *TransactionCtx) IndexOfAccount(pubkey solana.PublicKey) (uint64, error) + func (txCtx *TransactionCtx) InstructionAccountsLamportSum(instrCtx *InstructionCtx) (wide.Uint128, error) + func (txCtx *TransactionCtx) InstructionCtxAtIndexInTrace(idxInTrace uint64) (*InstructionCtx, error) + func (txCtx *TransactionCtx) InstructionCtxAtNestingLevel(nestingLevel uint64) (*InstructionCtx, error) + func (txCtx *TransactionCtx) InstructionCtxStackHeight() uint64 + func (txCtx *TransactionCtx) InstructionTraceLength() uint64 + func (txCtx *TransactionCtx) KeyOfAccountAtIndex(index uint64) (solana.PublicKey, error) + func (txCtx *TransactionCtx) NextInstructionCtx() (*InstructionCtx, error) + func (txCtx *TransactionCtx) Pop() error + func (txCtx *TransactionCtx) Push() error + func (txCtx *TransactionCtx) PushInstructionCtx(ixCtx InstructionCtx) + func (txCtx *TransactionCtx) ReturnData() (solana.PublicKey, []byte) + func (txCtx *TransactionCtx) SetReturnData(programId solana.PublicKey, data []byte) + type TranslatedAccount struct + CallerAccount *CallerAccount + IndexOfAccount uint64 + type TranslatedAccounts []TranslatedAccount + type TxReturnData struct + type UpgradeableLoaderInstrDeployWithMaxDataLen struct + MaxDataLen uint64 + func (deploy *UpgradeableLoaderInstrDeployWithMaxDataLen) MarshalWithEncoder(encoder *bin.Encoder) error + func (deploy *UpgradeableLoaderInstrDeployWithMaxDataLen) UnmarshalWithDecoder(decoder *bin.Decoder) error + type UpgradeableLoaderInstrExtendProgram struct + AdditionalBytes uint32 + func (extendProgram *UpgradeableLoaderInstrExtendProgram) MarshalWithEncoder(encoder *bin.Encoder) error + func (extendProgram *UpgradeableLoaderInstrExtendProgram) UnmarshalWithDecoder(decoder *bin.Decoder) error + type UpgradeableLoaderInstrWrite struct + Bytes []byte + Offset uint32 + func (write *UpgradeableLoaderInstrWrite) MarshalWithEncoder(encoder *bin.Encoder) error + func (write *UpgradeableLoaderInstrWrite) UnmarshalWithDecoder(decoder *bin.Decoder) error + type UpgradeableLoaderState struct + Buffer UpgradeableLoaderStateBuffer + Program UpgradeableLoaderStateProgram + ProgramData UpgradeableLoaderStateProgramData + Type uint32 + func UnmarshalUpgradeableLoaderState(data []byte) (*UpgradeableLoaderState, error) + func (state *UpgradeableLoaderState) MarshalWithEncoder(encoder *bin.Encoder) error + func (state *UpgradeableLoaderState) UnmarshalWithDecoder(decoder *bin.Decoder) error + type UpgradeableLoaderStateBuffer struct + AuthorityAddress *solana.PublicKey + func (buffer *UpgradeableLoaderStateBuffer) MarshalWithEncoder(encoder *bin.Encoder) error + func (buffer *UpgradeableLoaderStateBuffer) UnmarshalWithDecoder(decoder *bin.Decoder) error + type UpgradeableLoaderStateProgram struct + ProgramDataAddress solana.PublicKey + func (program *UpgradeableLoaderStateProgram) MarshalWithEncoder(encoder *bin.Encoder) error + func (program *UpgradeableLoaderStateProgram) UnmarshalWithDecoder(decoder *bin.Decoder) error + type UpgradeableLoaderStateProgramData struct + Slot uint64 + UpgradeAuthorityAddress *solana.PublicKey + func (programData *UpgradeableLoaderStateProgramData) MarshalWithEncoder(encoder *bin.Encoder) error + func (programData *UpgradeableLoaderStateProgramData) UnmarshalWithDecoder(decoder *bin.Decoder) error + type ValidatedProgram struct + EntryPc uint64 + LastUpdatedSlot uint64 + RodataLen uint64 + TextCnt uint64 + TextOffset uint64 + type VectorDescrC struct + Addr uint64 + Len uint64 + func (vectorDescr *VectorDescrC) Marshal() ([]byte, error) + func (vectorDescr *VectorDescrC) Unmarshal(buf io.Reader) error + type VectorDescrRust struct + Addr uint64 + Cap uint64 + Len uint64 + func (vectorDescr *VectorDescrRust) Unmarshal(buf io.Reader) error + type VoteInstrAuthorizeCheckedWithSeed struct + AuthorizationType uint32 + CurrentAuthorityDerivedKeyOwner solana.PublicKey + CurrentAuthorityDerivedKeySeed string + func (acws *VoteInstrAuthorizeCheckedWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrAuthorizeWithSeed struct + AuthorizationType uint32 + CurrentAuthorityDerivedKeyOwner solana.PublicKey + CurrentAuthorityDerivedKeySeed string + NewAuthority solana.PublicKey + func (authWithSeed *VoteInstrAuthorizeWithSeed) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrCompactUpdateVoteState struct + UpdateVoteState VoteInstrUpdateVoteState + func (compactUpdateVoteState *VoteInstrCompactUpdateVoteState) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrCompactUpdateVoteStateSwitch struct + Hash [32]byte + UpdateVoteState VoteInstrUpdateVoteState + func (compactUpdateVoteState *VoteInstrCompactUpdateVoteStateSwitch) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrTowerSync struct + BlockId [32]byte + Hash [32]byte + Lockouts deque.Deque[VoteLockout] + Root *uint64 + Timestamp *int64 + func (towerSync *VoteInstrTowerSync) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrTowerSyncSwitch struct + Hash [32]byte + TowerSync VoteInstrTowerSync + func (towerSyncSwitch *VoteInstrTowerSyncSwitch) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrUpdateCommission struct + Commission byte + func (updateCommission *VoteInstrUpdateCommission) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrUpdateVoteState struct + Hash [32]byte + Lockouts deque.Deque[VoteLockout] + Root *uint64 + Timestamp *int64 + func (updateVoteState *VoteInstrUpdateVoteState) BuildFromCompactUpdateVoteState(compactUpdateVoteState *CompactUpdateVoteState) error + func (updateVoteState *VoteInstrUpdateVoteState) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrUpdateVoteStateSwitch struct + Hash [32]byte + UpdateVoteState VoteInstrUpdateVoteState + func (uvss *VoteInstrUpdateVoteStateSwitch) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrVote struct + Hash [32]byte + Slots []uint64 + Timestamp *int64 + func (vote *VoteInstrVote) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrVoteAuthorize struct + Pubkey solana.PublicKey + VoteAuthorize uint32 + func (voteAuthorize *VoteInstrVoteAuthorize) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrVoteAuthorizeChecked struct + Pubkey solana.PublicKey + VoteAuthorize uint32 + func (voteAuthChecked *VoteInstrVoteAuthorizeChecked) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrVoteInit struct + AuthorizedVoter solana.PublicKey + AuthorizedWithdrawer solana.PublicKey + Commission byte + NodePubkey solana.PublicKey + func (voteInit *VoteInstrVoteInit) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrVoteSwitch struct + Hash [32]byte + Vote VoteInstrVote + func (voteSwitch *VoteInstrVoteSwitch) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteInstrWithdraw struct + Lamports uint64 + func (withdraw *VoteInstrWithdraw) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteLockout struct + ConfirmationCount uint32 + Slot uint64 + func (lockout *VoteLockout) IncreaseConfirmationCount(by uint32) + func (lockout *VoteLockout) IsLockedOutAtSlot(slot uint64) bool + func (lockout *VoteLockout) LastLockedOutSlot() uint64 + func (lockout *VoteLockout) Lockout() uint64 + func (lockout *VoteLockout) MarshalWithEncoder(encoder *bin.Encoder) error + func (lockout *VoteLockout) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteState struct + AuthorizedVoters AuthorizedVoters + AuthorizedWithdrawer solana.PublicKey + Commission byte + EpochCredits []EpochCredits + LastTimestamp BlockTimestamp + NodePubkey solana.PublicKey + PriorVoters PriorVoters + RootSlot *uint64 + Votes deque.Deque[LandedVote] + func (voteState *VoteState) ContainsSlot(candidateSlot uint64) bool + func (voteState *VoteState) Credits() uint64 + func (voteState *VoteState) CreditsForVoteAtIndex(index uint64, timelyVoteCredits, deprecateUnusedLegacyVotePlumbing bool) uint64 + func (voteState *VoteState) DoubleLockouts() + func (voteState *VoteState) GetAndUpdateAuthorizedVoter(currentEpoch uint64, f features.Features) (solana.PublicKey, error) + func (voteState *VoteState) IncrementCredits(epoch uint64, credits uint64) + func (voteState *VoteState) LastLockout() *VoteLockout + func (voteState *VoteState) LastVotedSlot() (uint64, bool) + func (voteState *VoteState) MarshalWithEncoder(encoder *bin.Encoder) error + func (voteState *VoteState) PopExpiredVotes(nextVoteSlot uint64) + func (voteState *VoteState) ProcessNextVoteSlot(nextVoteSlot uint64, epoch uint64, currentSlot uint64, ...) + func (voteState *VoteState) ProcessTimestamp(slot uint64, timestamp int64) error + func (voteState *VoteState) SetNewAuthorizedVoter(authorized solana.PublicKey, currentEpoch uint64, targetEpoch uint64, ...) error + func (voteState *VoteState) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteState0_23_5 struct + AuthorizedVoter solana.PublicKey + AuthorizedVoterEpoch uint64 + AuthorizedWithdrawer solana.PublicKey + Commission byte + EpochCredits []EpochCredits + LastTimestamp BlockTimestamp + NodePubkey solana.PublicKey + PriorVoters PriorVoters0_23_5 + RootSlot *uint64 + Votes deque.Deque[VoteLockout] + func (voteState *VoteState0_23_5) MarshalWithEncoder(encoder *bin.Encoder) error + func (voteState *VoteState0_23_5) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteState1_14_11 struct + AuthorizedVoters AuthorizedVoters + AuthorizedWithdrawer solana.PublicKey + Commission byte + EpochCredits []EpochCredits + LastTimestamp BlockTimestamp + NodePubkey solana.PublicKey + PriorVoters PriorVoters + RootSlot *uint64 + Votes deque.Deque[VoteLockout] + func (voteState *VoteState1_14_11) MarshalWithEncoder(encoder *bin.Encoder) error + func (voteState *VoteState1_14_11) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteState4 struct + AuthorizedVoters AuthorizedVoters + AuthorizedWithdrawer solana.PublicKey + BlockRevenueCollector solana.PublicKey + BlockRevenueCommissionBps uint16 + BlsPubkeyCompressed *[48]byte + EpochCredits []EpochCredits + InflationRewardsCollector solana.PublicKey + InflationRewardsCommissionBps uint16 + LastTimestamp BlockTimestamp + NodePubkey solana.PublicKey + PendingDelegatorRewards uint64 + RootSlot *uint64 + Votes deque.Deque[LandedVote] + func (voteState *VoteState4) MarshalWithEncoder(encoder *bin.Encoder) error + func (voteState *VoteState4) UnmarshalWithDecoder(decoder *bin.Decoder) error + type VoteStateVersions struct + Current VoteState + Type uint32 + V0_23_5 VoteState0_23_5 + V1_14_11 VoteState1_14_11 + V4 VoteState4 + func UnmarshalVersionedVoteState(data []byte) (*VoteStateVersions, error) + func (voteStateVersions *VoteStateVersions) ConvertToCurrent() *VoteState + func (voteStateVersions *VoteStateVersions) IsInitialized() bool + func (voteStateVersions *VoteStateVersions) LastTimestamp() *BlockTimestamp + func (voteStateVersions *VoteStateVersions) MarshalWithEncoder(encoder *bin.Encoder) error + func (voteStateVersions *VoteStateVersions) NodePubkey() solana.PublicKey + func (voteStateVersions *VoteStateVersions) UnmarshalWithDecoder(decoder *bin.Decoder) error v0.1.0-alpha.1 Jan 15, 2026