Documentation
¶
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 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 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 WithdrawNonceAccount ¶
func WithdrawNonceAccount(param WithdrawNonceAccountParam) types.Instruction
Types ¶
type AdvanceNonceAccountParam ¶ added in v1.9.0
type AllocateParam ¶ added in v1.9.0
type AllocateWithSeedParam ¶ added in v1.9.0
type AssignParam ¶ added in v1.9.0
type AssignWithSeedParam ¶ added in v1.9.0
type AuthorizeNonceAccountParam ¶ added in v1.9.0
type CreateAccountParam ¶ added in v1.9.0
type CreateAccountWithSeedParam ¶ added in v1.9.0
type FeeCalculator ¶
type FeeCalculator struct {
LamportsPerSignature uint64
}
func FeeCalculatorDeserialize ¶
func FeeCalculatorDeserialize(data []byte) (FeeCalculator, error)
type InitializeNonceAccountParam ¶ added in v1.9.0
type Instruction ¶
type Instruction uint32
const ( InstructionCreateAccount Instruction = iota InstructionAssign InstructionTransfer InstructionCreateAccountWithSeed InstructionAdvanceNonceAccount InstructionWithdrawNonceAccount InstructionInitializeNonceAccount InstructionAuthorizeNonceAccount InstructionAllocate InstructionAllocateWithSeed InstructionAssignWithSeed InstructionTransferWithSeed )
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 ¶ added in v1.9.0
type TransferWithSeedParam ¶ added in v1.9.0
Click to show internal directories.
Click to hide internal directories.