Documentation ¶
Overview ¶
Deprecated: please use github.com/AbelGate/solana-go-sdk/program/system
Index ¶
- Constants
- func AdvanceNonceAccount(param AdvanceNonceAccountParam) types.Instruction
- func Allocate(param AllocateParam) types.Instruction
- func AllocateWithSeed(param AllocateWithSeedParam) types.Instruction
- func Assign(param AssignParam) types.Instruction
- func AssignWithSeed(param AssignWithSeedParam) types.Instruction
- func AuthorizeNonceAccount(param AuthorizeNonceAccountParam) types.Instruction
- func CreateAccount(param CreateAccountParam) types.Instruction
- func CreateAccountWithSeed(param CreateAccountWithSeedParam) types.Instruction
- func InitializeNonceAccount(param InitializeNonceAccountParam) types.Instruction
- func Transfer(param TransferParam) types.Instruction
- func TransferWithSeed(param TransferWithSeedParam) types.Instruction
- func UpgradeNonceAccount(param UpgradeNonceAccountParam) types.Instruction
- func WithdrawNonceAccount(param WithdrawNonceAccountParam) types.Instruction
- type AdvanceNonceAccountParam
- type AllocateParam
- type AllocateWithSeedParam
- type AssignParam
- type AssignWithSeedParam
- type AuthorizeNonceAccountParam
- type CreateAccountParam
- type CreateAccountWithSeedParam
- type FeeCalculator
- type InitializeNonceAccountParam
- type Instruction
- type NonceAccount
- type TransferParam
- type TransferWithSeedParam
- type UpgradeNonceAccountParam
- type WithdrawNonceAccountParam
Constants ¶
View Source
const FeeCalculatorSize = 8
View Source
const NonceAccountSize = 80
Variables ¶
This section is empty.
Functions ¶
func AdvanceNonceAccount ¶
func AdvanceNonceAccount(param AdvanceNonceAccountParam) types.Instruction
func Allocate ¶
func Allocate(param AllocateParam) types.Instruction
func AllocateWithSeed ¶
func AllocateWithSeed(param AllocateWithSeedParam) types.Instruction
func Assign ¶
func Assign(param AssignParam) types.Instruction
func AssignWithSeed ¶
func AssignWithSeed(param AssignWithSeedParam) types.Instruction
func AuthorizeNonceAccount ¶
func AuthorizeNonceAccount(param AuthorizeNonceAccountParam) types.Instruction
func CreateAccount ¶
func CreateAccount(param CreateAccountParam) types.Instruction
func CreateAccountWithSeed ¶
func CreateAccountWithSeed(param CreateAccountWithSeedParam) types.Instruction
func InitializeNonceAccount ¶
func InitializeNonceAccount(param InitializeNonceAccountParam) types.Instruction
func Transfer ¶
func Transfer(param TransferParam) types.Instruction
func TransferWithSeed ¶
func TransferWithSeed(param TransferWithSeedParam) types.Instruction
func UpgradeNonceAccount ¶
func UpgradeNonceAccount(param UpgradeNonceAccountParam) types.Instruction
func WithdrawNonceAccount ¶
func WithdrawNonceAccount(param WithdrawNonceAccountParam) types.Instruction
Types ¶
type AllocateParam ¶
type AllocateWithSeedParam ¶
type AssignWithSeedParam ¶
type CreateAccountParam ¶
type FeeCalculator ¶
type FeeCalculator struct {
LamportsPerSignature uint64
}
func FeeCalculatorDeserialize ¶
func FeeCalculatorDeserialize(data []byte) (FeeCalculator, error)
type Instruction ¶
type Instruction uint32
const ( InstructionCreateAccount Instruction = iota InstructionAssign InstructionTransfer InstructionCreateAccountWithSeed InstructionAdvanceNonceAccount InstructionWithdrawNonceAccount InstructionInitializeNonceAccount InstructionAuthorizeNonceAccount InstructionAllocate InstructionAllocateWithSeed InstructionAssignWithSeed InstructionTransferWithSeed InstructionUpgradeNonceAccount )
type NonceAccount ¶
type NonceAccount struct { Version uint32 State uint32 AuthorizedPubkey common.PublicKey Nonce common.PublicKey FeeCalculator FeeCalculator }
func NonceAccountDeserialize ¶
func NonceAccountDeserialize(data []byte) (NonceAccount, error)
type TransferParam ¶
type TransferWithSeedParam ¶
Click to show internal directories.
Click to hide internal directories.