basic

package
v0.0.0-...-1fb291d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TxStatus_name = map[int32]string{
		0: "PROCESSED",
		1: "CONFIRMED",
		2: "FINALIZED",
	}
	TxStatus_value = map[string]int32{
		"PROCESSED": 0,
		"CONFIRMED": 1,
		"FINALIZED": 2,
	}
)

Enum value maps for TxStatus.

View Source
var File_proto_basic_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {
	Slot  uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountInfo) Descriptor deprecated

func (*AccountInfo) Descriptor() ([]byte, []int)

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetSlot

func (x *AccountInfo) GetSlot() uint64

func (*AccountInfo) GetValue

func (x *AccountInfo) GetValue() []byte

func (*AccountInfo) ProtoMessage

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) ProtoReflect

func (x *AccountInfo) ProtoReflect() protoreflect.Message

func (*AccountInfo) Reset

func (x *AccountInfo) Reset()

func (*AccountInfo) String

func (x *AccountInfo) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Keypair

type Keypair struct {

	// Types that are assignable to Input:
	//	*Keypair_Seed
	//	*Keypair_PrivateKey
	Input isKeypair_Input `protobuf_oneof:"input"`
	// contains filtered or unexported fields
}

func (*Keypair) Descriptor deprecated

func (*Keypair) Descriptor() ([]byte, []int)

Deprecated: Use Keypair.ProtoReflect.Descriptor instead.

func (*Keypair) GetInput

func (m *Keypair) GetInput() isKeypair_Input

func (*Keypair) GetPrivateKey

func (x *Keypair) GetPrivateKey() []byte

func (*Keypair) GetSeed

func (x *Keypair) GetSeed() []byte

func (*Keypair) ProtoMessage

func (*Keypair) ProtoMessage()

func (*Keypair) ProtoReflect

func (x *Keypair) ProtoReflect() protoreflect.Message

func (*Keypair) Reset

func (x *Keypair) Reset()

func (*Keypair) String

func (x *Keypair) String() string

type Keypair_PrivateKey

type Keypair_PrivateKey struct {
	PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3,oneof"`
}

type Keypair_Seed

type Keypair_Seed struct {
	Seed []byte `protobuf:"bytes,1,opt,name=seed,proto3,oneof"`
}

type ProgramId

type ProgramId struct {
	Id *Pubkey `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgramId) Descriptor deprecated

func (*ProgramId) Descriptor() ([]byte, []int)

Deprecated: Use ProgramId.ProtoReflect.Descriptor instead.

func (*ProgramId) GetId

func (x *ProgramId) GetId() *Pubkey

func (*ProgramId) ProtoMessage

func (*ProgramId) ProtoMessage()

func (*ProgramId) ProtoReflect

func (x *ProgramId) ProtoReflect() protoreflect.Message

func (*ProgramId) Reset

func (x *ProgramId) Reset()

func (*ProgramId) String

func (x *ProgramId) String() string

type Pubkey

type Pubkey struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Pubkey) Descriptor deprecated

func (*Pubkey) Descriptor() ([]byte, []int)

Deprecated: Use Pubkey.ProtoReflect.Descriptor instead.

func (*Pubkey) GetData

func (x *Pubkey) GetData() []byte

func (*Pubkey) ProtoMessage

func (*Pubkey) ProtoMessage()

func (*Pubkey) ProtoReflect

func (x *Pubkey) ProtoReflect() protoreflect.Message

func (*Pubkey) Reset

func (x *Pubkey) Reset()

func (*Pubkey) String

func (x *Pubkey) String() string

type SignedTx

type SignedTx struct {
	Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTx) Descriptor deprecated

func (*SignedTx) Descriptor() ([]byte, []int)

Deprecated: Use SignedTx.ProtoReflect.Descriptor instead.

func (*SignedTx) GetTx

func (x *SignedTx) GetTx() []byte

func (*SignedTx) ProtoMessage

func (*SignedTx) ProtoMessage()

func (*SignedTx) ProtoReflect

func (x *SignedTx) ProtoReflect() protoreflect.Message

func (*SignedTx) Reset

func (x *SignedTx) Reset()

func (*SignedTx) String

func (x *SignedTx) String() string

type TxStatus

type TxStatus int32
const (
	TxStatus_PROCESSED TxStatus = 0
	TxStatus_CONFIRMED TxStatus = 1
	TxStatus_FINALIZED TxStatus = 2
)

func (TxStatus) Descriptor

func (TxStatus) Descriptor() protoreflect.EnumDescriptor

func (TxStatus) Enum

func (x TxStatus) Enum() *TxStatus

func (TxStatus) EnumDescriptor deprecated

func (TxStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TxStatus.Descriptor instead.

func (TxStatus) Number

func (x TxStatus) Number() protoreflect.EnumNumber

func (TxStatus) String

func (x TxStatus) String() string

func (TxStatus) Type

type TxStatusWithSlot

type TxStatusWithSlot struct {
	Status TxStatus `protobuf:"varint,1,opt,name=status,proto3,enum=basic.TxStatus" json:"status,omitempty"`
	Slot   uint64   `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

func (*TxStatusWithSlot) Descriptor deprecated

func (*TxStatusWithSlot) Descriptor() ([]byte, []int)

Deprecated: Use TxStatusWithSlot.ProtoReflect.Descriptor instead.

func (*TxStatusWithSlot) GetSlot

func (x *TxStatusWithSlot) GetSlot() uint64

func (*TxStatusWithSlot) GetStatus

func (x *TxStatusWithSlot) GetStatus() TxStatus

func (*TxStatusWithSlot) ProtoMessage

func (*TxStatusWithSlot) ProtoMessage()

func (*TxStatusWithSlot) ProtoReflect

func (x *TxStatusWithSlot) ProtoReflect() protoreflect.Message

func (*TxStatusWithSlot) Reset

func (x *TxStatusWithSlot) Reset()

func (*TxStatusWithSlot) String

func (x *TxStatusWithSlot) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL