pbstatedb

package
v0.9.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MetdataLastIrrBlockID = "statedb-last-irr-block-id"
View Source
const MetdataLastIrrBlockNum = "statedb-last-irr-block-num"
View Source
const MetdataUpToBlockID = "statedb-up-to-block-id"
View Source
const MetdataUpToBlockNum = "statedb-up-to-block-num"

Variables

View Source
var ErrStreamReferenceNotFound = errors.New("not found")
View Source
var SkipTable = errors.New("skip table")

Functions

func FetchTableScopes

func FetchTableScopes(ctx context.Context, client StateClient, blockNum uint64, contract, table string) (out []string, err error)

func ForEachTableScopes

func ForEachTableScopes(ctx context.Context, client StateClient, blockNum uint64, contract, table string, onEach func(response *TableScopeResponse) error) error

func RegisterStateServer

func RegisterStateServer(s *grpc.Server, srv StateServer)

Types

type AuthLinkValue

type AuthLinkValue struct {
	Permission           uint64   `protobuf:"varint,1,opt,name=permission,proto3" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthLinkValue) Descriptor

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

func (*AuthLinkValue) GetPermission

func (m *AuthLinkValue) GetPermission() uint64

func (*AuthLinkValue) ProtoMessage

func (*AuthLinkValue) ProtoMessage()

func (*AuthLinkValue) Reset

func (m *AuthLinkValue) Reset()

func (*AuthLinkValue) String

func (m *AuthLinkValue) String() string

func (*AuthLinkValue) XXX_DiscardUnknown

func (m *AuthLinkValue) XXX_DiscardUnknown()

func (*AuthLinkValue) XXX_Marshal

func (m *AuthLinkValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthLinkValue) XXX_Merge

func (m *AuthLinkValue) XXX_Merge(src proto.Message)

func (*AuthLinkValue) XXX_Size

func (m *AuthLinkValue) XXX_Size() int

func (*AuthLinkValue) XXX_Unmarshal

func (m *AuthLinkValue) XXX_Unmarshal(b []byte) error

type ContractABIValue

type ContractABIValue struct {
	RawAbi               []byte   `protobuf:"bytes,1,opt,name=raw_abi,json=rawAbi,proto3" json:"raw_abi,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContractABIValue) Descriptor

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

func (*ContractABIValue) GetRawAbi

func (m *ContractABIValue) GetRawAbi() []byte

func (*ContractABIValue) ProtoMessage

func (*ContractABIValue) ProtoMessage()

func (*ContractABIValue) Reset

func (m *ContractABIValue) Reset()

func (*ContractABIValue) String

func (m *ContractABIValue) String() string

func (*ContractABIValue) XXX_DiscardUnknown

func (m *ContractABIValue) XXX_DiscardUnknown()

func (*ContractABIValue) XXX_Marshal

func (m *ContractABIValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractABIValue) XXX_Merge

func (m *ContractABIValue) XXX_Merge(src proto.Message)

func (*ContractABIValue) XXX_Size

func (m *ContractABIValue) XXX_Size() int

func (*ContractABIValue) XXX_Unmarshal

func (m *ContractABIValue) XXX_Unmarshal(b []byte) error

type ContractStateValue

type ContractStateValue struct {
	Payer                uint64   `protobuf:"varint,1,opt,name=payer,proto3" json:"payer,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContractStateValue) Descriptor

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

func (*ContractStateValue) GetData

func (m *ContractStateValue) GetData() []byte

func (*ContractStateValue) GetPayer

func (m *ContractStateValue) GetPayer() uint64

func (*ContractStateValue) ProtoMessage

func (*ContractStateValue) ProtoMessage()

func (*ContractStateValue) Reset

func (m *ContractStateValue) Reset()

func (*ContractStateValue) String

func (m *ContractStateValue) String() string

func (*ContractStateValue) XXX_DiscardUnknown

func (m *ContractStateValue) XXX_DiscardUnknown()

func (*ContractStateValue) XXX_Marshal

func (m *ContractStateValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractStateValue) XXX_Merge

func (m *ContractStateValue) XXX_Merge(src proto.Message)

func (*ContractStateValue) XXX_Size

func (m *ContractStateValue) XXX_Size() int

func (*ContractStateValue) XXX_Unmarshal

func (m *ContractStateValue) XXX_Unmarshal(b []byte) error

type ContractTableScopeValue

type ContractTableScopeValue struct {
	Payer                uint64   `protobuf:"varint,1,opt,name=payer,proto3" json:"payer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContractTableScopeValue) Descriptor

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

func (*ContractTableScopeValue) GetPayer

func (m *ContractTableScopeValue) GetPayer() uint64

func (*ContractTableScopeValue) ProtoMessage

func (*ContractTableScopeValue) ProtoMessage()

func (*ContractTableScopeValue) Reset

func (m *ContractTableScopeValue) Reset()

func (*ContractTableScopeValue) String

func (m *ContractTableScopeValue) String() string

func (*ContractTableScopeValue) XXX_DiscardUnknown

func (m *ContractTableScopeValue) XXX_DiscardUnknown()

func (*ContractTableScopeValue) XXX_Marshal

func (m *ContractTableScopeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractTableScopeValue) XXX_Merge

func (m *ContractTableScopeValue) XXX_Merge(src proto.Message)

func (*ContractTableScopeValue) XXX_Size

func (m *ContractTableScopeValue) XXX_Size() int

func (*ContractTableScopeValue) XXX_Unmarshal

func (m *ContractTableScopeValue) XXX_Unmarshal(b []byte) error

type GetABIRequest

type GetABIRequest struct {
	Contract             string   `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	BlockNum             uint64   `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	ToJson               bool     `protobuf:"varint,3,opt,name=to_json,json=toJson,proto3" json:"to_json,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetABIRequest) Descriptor

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

func (*GetABIRequest) GetBlockNum

func (m *GetABIRequest) GetBlockNum() uint64

func (*GetABIRequest) GetContract

func (m *GetABIRequest) GetContract() string

func (*GetABIRequest) GetToJson

func (m *GetABIRequest) GetToJson() bool

func (*GetABIRequest) ProtoMessage

func (*GetABIRequest) ProtoMessage()

func (*GetABIRequest) Reset

func (m *GetABIRequest) Reset()

func (*GetABIRequest) String

func (m *GetABIRequest) String() string

func (*GetABIRequest) XXX_DiscardUnknown

func (m *GetABIRequest) XXX_DiscardUnknown()

func (*GetABIRequest) XXX_Marshal

func (m *GetABIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetABIRequest) XXX_Merge

func (m *GetABIRequest) XXX_Merge(src proto.Message)

func (*GetABIRequest) XXX_Size

func (m *GetABIRequest) XXX_Size() int

func (*GetABIRequest) XXX_Unmarshal

func (m *GetABIRequest) XXX_Unmarshal(b []byte) error

type GetABIResponse

type GetABIResponse struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	RawAbi               []byte   `protobuf:"bytes,2,opt,name=raw_abi,json=rawAbi,proto3" json:"raw_abi,omitempty"`
	JsonAbi              string   `protobuf:"bytes,3,opt,name=json_abi,json=jsonAbi,proto3" json:"json_abi,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetABIResponse) Descriptor

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

func (*GetABIResponse) GetBlockNum

func (m *GetABIResponse) GetBlockNum() uint64

func (*GetABIResponse) GetJsonAbi

func (m *GetABIResponse) GetJsonAbi() string

func (*GetABIResponse) GetRawAbi

func (m *GetABIResponse) GetRawAbi() []byte

func (*GetABIResponse) ProtoMessage

func (*GetABIResponse) ProtoMessage()

func (*GetABIResponse) Reset

func (m *GetABIResponse) Reset()

func (*GetABIResponse) String

func (m *GetABIResponse) String() string

func (*GetABIResponse) XXX_DiscardUnknown

func (m *GetABIResponse) XXX_DiscardUnknown()

func (*GetABIResponse) XXX_Marshal

func (m *GetABIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetABIResponse) XXX_Merge

func (m *GetABIResponse) XXX_Merge(src proto.Message)

func (*GetABIResponse) XXX_Size

func (m *GetABIResponse) XXX_Size() int

func (*GetABIResponse) XXX_Unmarshal

func (m *GetABIResponse) XXX_Unmarshal(b []byte) error

type GetKeyAccountsRequest

type GetKeyAccountsRequest struct {
	PublicKey            string   `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	BlockNum             uint64   `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetKeyAccountsRequest) Descriptor

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

func (*GetKeyAccountsRequest) GetBlockNum

func (m *GetKeyAccountsRequest) GetBlockNum() uint64

func (*GetKeyAccountsRequest) GetPublicKey

func (m *GetKeyAccountsRequest) GetPublicKey() string

func (*GetKeyAccountsRequest) ProtoMessage

func (*GetKeyAccountsRequest) ProtoMessage()

func (*GetKeyAccountsRequest) Reset

func (m *GetKeyAccountsRequest) Reset()

func (*GetKeyAccountsRequest) String

func (m *GetKeyAccountsRequest) String() string

func (*GetKeyAccountsRequest) XXX_DiscardUnknown

func (m *GetKeyAccountsRequest) XXX_DiscardUnknown()

func (*GetKeyAccountsRequest) XXX_Marshal

func (m *GetKeyAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetKeyAccountsRequest) XXX_Merge

func (m *GetKeyAccountsRequest) XXX_Merge(src proto.Message)

func (*GetKeyAccountsRequest) XXX_Size

func (m *GetKeyAccountsRequest) XXX_Size() int

func (*GetKeyAccountsRequest) XXX_Unmarshal

func (m *GetKeyAccountsRequest) XXX_Unmarshal(b []byte) error

type GetKeyAccountsResponse

type GetKeyAccountsResponse struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Accounts             []string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetKeyAccountsResponse) Descriptor

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

func (*GetKeyAccountsResponse) GetAccounts

func (m *GetKeyAccountsResponse) GetAccounts() []string

func (*GetKeyAccountsResponse) GetBlockNum

func (m *GetKeyAccountsResponse) GetBlockNum() uint64

func (*GetKeyAccountsResponse) ProtoMessage

func (*GetKeyAccountsResponse) ProtoMessage()

func (*GetKeyAccountsResponse) Reset

func (m *GetKeyAccountsResponse) Reset()

func (*GetKeyAccountsResponse) String

func (m *GetKeyAccountsResponse) String() string

func (*GetKeyAccountsResponse) XXX_DiscardUnknown

func (m *GetKeyAccountsResponse) XXX_DiscardUnknown()

func (*GetKeyAccountsResponse) XXX_Marshal

func (m *GetKeyAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetKeyAccountsResponse) XXX_Merge

func (m *GetKeyAccountsResponse) XXX_Merge(src proto.Message)

func (*GetKeyAccountsResponse) XXX_Size

func (m *GetKeyAccountsResponse) XXX_Size() int

func (*GetKeyAccountsResponse) XXX_Unmarshal

func (m *GetKeyAccountsResponse) XXX_Unmarshal(b []byte) error

type GetPermissionLinksRequest

type GetPermissionLinksRequest struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Account              string   `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPermissionLinksRequest) Descriptor

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

func (*GetPermissionLinksRequest) GetAccount

func (m *GetPermissionLinksRequest) GetAccount() string

func (*GetPermissionLinksRequest) GetBlockNum

func (m *GetPermissionLinksRequest) GetBlockNum() uint64

func (*GetPermissionLinksRequest) ProtoMessage

func (*GetPermissionLinksRequest) ProtoMessage()

func (*GetPermissionLinksRequest) Reset

func (m *GetPermissionLinksRequest) Reset()

func (*GetPermissionLinksRequest) String

func (m *GetPermissionLinksRequest) String() string

func (*GetPermissionLinksRequest) XXX_DiscardUnknown

func (m *GetPermissionLinksRequest) XXX_DiscardUnknown()

func (*GetPermissionLinksRequest) XXX_Marshal

func (m *GetPermissionLinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPermissionLinksRequest) XXX_Merge

func (m *GetPermissionLinksRequest) XXX_Merge(src proto.Message)

func (*GetPermissionLinksRequest) XXX_Size

func (m *GetPermissionLinksRequest) XXX_Size() int

func (*GetPermissionLinksRequest) XXX_Unmarshal

func (m *GetPermissionLinksRequest) XXX_Unmarshal(b []byte) error

type GetPermissionLinksResponse

type GetPermissionLinksResponse struct {
	UpToBlock             *v1.BlockRef        `protobuf:"bytes,1,opt,name=up_to_block,json=upToBlock,proto3" json:"up_to_block,omitempty"`
	LastIrreversibleBlock *v1.BlockRef        `` /* 126-byte string literal not displayed */
	Permissions           []*LinkedPermission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}            `json:"-"`
	XXX_unrecognized      []byte              `json:"-"`
	XXX_sizecache         int32               `json:"-"`
}

func (*GetPermissionLinksResponse) Descriptor

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

func (*GetPermissionLinksResponse) GetLastIrreversibleBlock

func (m *GetPermissionLinksResponse) GetLastIrreversibleBlock() *v1.BlockRef

func (*GetPermissionLinksResponse) GetPermissions

func (m *GetPermissionLinksResponse) GetPermissions() []*LinkedPermission

func (*GetPermissionLinksResponse) GetUpToBlock

func (m *GetPermissionLinksResponse) GetUpToBlock() *v1.BlockRef

func (*GetPermissionLinksResponse) ProtoMessage

func (*GetPermissionLinksResponse) ProtoMessage()

func (*GetPermissionLinksResponse) Reset

func (m *GetPermissionLinksResponse) Reset()

func (*GetPermissionLinksResponse) String

func (m *GetPermissionLinksResponse) String() string

func (*GetPermissionLinksResponse) XXX_DiscardUnknown

func (m *GetPermissionLinksResponse) XXX_DiscardUnknown()

func (*GetPermissionLinksResponse) XXX_Marshal

func (m *GetPermissionLinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPermissionLinksResponse) XXX_Merge

func (m *GetPermissionLinksResponse) XXX_Merge(src proto.Message)

func (*GetPermissionLinksResponse) XXX_Size

func (m *GetPermissionLinksResponse) XXX_Size() int

func (*GetPermissionLinksResponse) XXX_Unmarshal

func (m *GetPermissionLinksResponse) XXX_Unmarshal(b []byte) error

type GetTableRowRequest

type GetTableRowRequest struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	KeyType              string   `protobuf:"bytes,2,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	ToJson               bool     `protobuf:"varint,3,opt,name=to_json,json=toJson,proto3" json:"to_json,omitempty"`
	WithBlockNum         bool     `protobuf:"varint,4,opt,name=with_block_num,json=withBlockNum,proto3" json:"with_block_num,omitempty"`
	IrreversibleOnly     bool     `protobuf:"varint,5,opt,name=irreversible_only,json=irreversibleOnly,proto3" json:"irreversible_only,omitempty"`
	Contract             string   `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract,omitempty"`
	Table                string   `protobuf:"bytes,7,opt,name=table,proto3" json:"table,omitempty"`
	Scope                string   `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"`
	PrimaryKey           string   `protobuf:"bytes,9,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTableRowRequest) Descriptor

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

func (*GetTableRowRequest) GetBlockNum

func (m *GetTableRowRequest) GetBlockNum() uint64

func (*GetTableRowRequest) GetContract

func (m *GetTableRowRequest) GetContract() string

func (*GetTableRowRequest) GetIrreversibleOnly

func (m *GetTableRowRequest) GetIrreversibleOnly() bool

func (*GetTableRowRequest) GetKeyType

func (m *GetTableRowRequest) GetKeyType() string

func (*GetTableRowRequest) GetPrimaryKey

func (m *GetTableRowRequest) GetPrimaryKey() string

func (*GetTableRowRequest) GetScope

func (m *GetTableRowRequest) GetScope() string

func (*GetTableRowRequest) GetTable

func (m *GetTableRowRequest) GetTable() string

func (*GetTableRowRequest) GetToJson

func (m *GetTableRowRequest) GetToJson() bool

func (*GetTableRowRequest) GetWithBlockNum

func (m *GetTableRowRequest) GetWithBlockNum() bool

func (*GetTableRowRequest) ProtoMessage

func (*GetTableRowRequest) ProtoMessage()

func (*GetTableRowRequest) Reset

func (m *GetTableRowRequest) Reset()

func (*GetTableRowRequest) String

func (m *GetTableRowRequest) String() string

func (*GetTableRowRequest) XXX_DiscardUnknown

func (m *GetTableRowRequest) XXX_DiscardUnknown()

func (*GetTableRowRequest) XXX_Marshal

func (m *GetTableRowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTableRowRequest) XXX_Merge

func (m *GetTableRowRequest) XXX_Merge(src proto.Message)

func (*GetTableRowRequest) XXX_Size

func (m *GetTableRowRequest) XXX_Size() int

func (*GetTableRowRequest) XXX_Unmarshal

func (m *GetTableRowRequest) XXX_Unmarshal(b []byte) error

type GetTableRowResponse

type GetTableRowResponse struct {
	UpToBlock             *v1.BlockRef      `protobuf:"bytes,1,opt,name=up_to_block,json=upToBlock,proto3" json:"up_to_block,omitempty"`
	LastIrreversibleBlock *v1.BlockRef      `` /* 126-byte string literal not displayed */
	Row                   *TableRowResponse `protobuf:"bytes,3,opt,name=row,proto3" json:"row,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}          `json:"-"`
	XXX_unrecognized      []byte            `json:"-"`
	XXX_sizecache         int32             `json:"-"`
}

func (*GetTableRowResponse) Descriptor

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

func (*GetTableRowResponse) GetLastIrreversibleBlock

func (m *GetTableRowResponse) GetLastIrreversibleBlock() *v1.BlockRef

func (*GetTableRowResponse) GetRow

func (*GetTableRowResponse) GetUpToBlock

func (m *GetTableRowResponse) GetUpToBlock() *v1.BlockRef

func (*GetTableRowResponse) ProtoMessage

func (*GetTableRowResponse) ProtoMessage()

func (*GetTableRowResponse) Reset

func (m *GetTableRowResponse) Reset()

func (*GetTableRowResponse) String

func (m *GetTableRowResponse) String() string

func (*GetTableRowResponse) XXX_DiscardUnknown

func (m *GetTableRowResponse) XXX_DiscardUnknown()

func (*GetTableRowResponse) XXX_Marshal

func (m *GetTableRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTableRowResponse) XXX_Merge

func (m *GetTableRowResponse) XXX_Merge(src proto.Message)

func (*GetTableRowResponse) XXX_Size

func (m *GetTableRowResponse) XXX_Size() int

func (*GetTableRowResponse) XXX_Unmarshal

func (m *GetTableRowResponse) XXX_Unmarshal(b []byte) error

type KeyAccountValue

type KeyAccountValue struct {
	Present              bool     `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

KeyAccountValue is actual empty and the bool field is there mainly to permit a future extension where we could add more fields in there.

func (*KeyAccountValue) Descriptor

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

func (*KeyAccountValue) GetPresent

func (m *KeyAccountValue) GetPresent() bool

func (*KeyAccountValue) ProtoMessage

func (*KeyAccountValue) ProtoMessage()

func (*KeyAccountValue) Reset

func (m *KeyAccountValue) Reset()

func (*KeyAccountValue) String

func (m *KeyAccountValue) String() string

func (*KeyAccountValue) XXX_DiscardUnknown

func (m *KeyAccountValue) XXX_DiscardUnknown()

func (*KeyAccountValue) XXX_Marshal

func (m *KeyAccountValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyAccountValue) XXX_Merge

func (m *KeyAccountValue) XXX_Merge(src proto.Message)

func (*KeyAccountValue) XXX_Size

func (m *KeyAccountValue) XXX_Size() int

func (*KeyAccountValue) XXX_Unmarshal

func (m *KeyAccountValue) XXX_Unmarshal(b []byte) error

type LinkedPermission

type LinkedPermission struct {
	Contract             string   `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Action               string   `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	PermissionName       string   `protobuf:"bytes,3,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LinkedPermission) Descriptor

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

func (*LinkedPermission) GetAction

func (m *LinkedPermission) GetAction() string

func (*LinkedPermission) GetContract

func (m *LinkedPermission) GetContract() string

func (*LinkedPermission) GetPermissionName

func (m *LinkedPermission) GetPermissionName() string

func (*LinkedPermission) ProtoMessage

func (*LinkedPermission) ProtoMessage()

func (*LinkedPermission) Reset

func (m *LinkedPermission) Reset()

func (*LinkedPermission) String

func (m *LinkedPermission) String() string

func (*LinkedPermission) XXX_DiscardUnknown

func (m *LinkedPermission) XXX_DiscardUnknown()

func (*LinkedPermission) XXX_Marshal

func (m *LinkedPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LinkedPermission) XXX_Merge

func (m *LinkedPermission) XXX_Merge(src proto.Message)

func (*LinkedPermission) XXX_Size

func (m *LinkedPermission) XXX_Size() int

func (*LinkedPermission) XXX_Unmarshal

func (m *LinkedPermission) XXX_Unmarshal(b []byte) error

type MockStateClient

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

func NewMockStateClient

func NewMockStateClient() *MockStateClient

func (*MockStateClient) GetABI

func (*MockStateClient) GetKeyAccounts

func (*MockStateClient) GetTableRow

func (*MockStateClient) SetStreamTableRows

func (m *MockStateClient) SetStreamTableRows(response *MockStreamTableRows)

func (*MockStateClient) StreamTableRows

func (*MockStateClient) StreamTableScopes

type MockStreamTableRows

type MockStreamTableRows struct {
	LastIrrBlockID  string              `json:"last_irreversible_block_id"`
	LastIrrBlockNum uint64              `json:"last_irreversible_block_num"`
	UpToBlockID     string              `json:"up_to_block_id"`
	UpToBlockNum    uint64              `json:"up_to_block_num"`
	Rows            []*TableRowResponse `json:"rows"`
	// contains filtered or unexported fields
}

func (MockStreamTableRows) CloseSend

func (s MockStreamTableRows) CloseSend() error

func (MockStreamTableRows) Context

func (s MockStreamTableRows) Context() context.Context

func (MockStreamTableRows) Header

func (s MockStreamTableRows) Header() (metadata.MD, error)

func (*MockStreamTableRows) Recv

func (MockStreamTableRows) RecvMsg

func (s MockStreamTableRows) RecvMsg(m interface{}) error

func (MockStreamTableRows) SendMsg

func (s MockStreamTableRows) SendMsg(m interface{}) error

func (MockStreamTableRows) Trailer

func (s MockStreamTableRows) Trailer() metadata.MD

type StateClient

type StateClient interface {
	// Replaces /v0/state/abi
	GetABI(ctx context.Context, in *GetABIRequest, opts ...grpc.CallOption) (*GetABIResponse, error)
	// Replaces /v0/state/key_accounts
	GetKeyAccounts(ctx context.Context, in *GetKeyAccountsRequest, opts ...grpc.CallOption) (*GetKeyAccountsResponse, error)
	// Replaces /v0/state/permission_links
	GetPermissionLinks(ctx context.Context, in *GetPermissionLinksRequest, opts ...grpc.CallOption) (*GetPermissionLinksResponse, error)
	// Replaces /v0/state/table/row
	GetTableRow(ctx context.Context, in *GetTableRowRequest, opts ...grpc.CallOption) (*GetTableRowResponse, error)
	// Replaces /v0/state/table
	StreamTableRows(ctx context.Context, in *StreamTableRowsRequest, opts ...grpc.CallOption) (State_StreamTableRowsClient, error)
	// Replaces /v0/state/table_scopes
	StreamTableScopes(ctx context.Context, in *StreamTableScopesRequest, opts ...grpc.CallOption) (State_StreamTableScopesClient, error)
	// Replaces /v0/state/tables/scopes
	StreamMultiScopesTableRows(ctx context.Context, in *StreamMultiScopesTableRowsRequest, opts ...grpc.CallOption) (State_StreamMultiScopesTableRowsClient, error)
	// Replaces /v0/state/tables/accounts
	StreamMultiContractsTableRows(ctx context.Context, in *StreamMultiContractsTableRowsRequest, opts ...grpc.CallOption) (State_StreamMultiContractsTableRowsClient, error)
}

StateClient is the client API for State service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStateClient

func NewStateClient(cc *grpc.ClientConn) StateClient

type StateServer

type StateServer interface {
	// Replaces /v0/state/abi
	GetABI(context.Context, *GetABIRequest) (*GetABIResponse, error)
	// Replaces /v0/state/key_accounts
	GetKeyAccounts(context.Context, *GetKeyAccountsRequest) (*GetKeyAccountsResponse, error)
	// Replaces /v0/state/permission_links
	GetPermissionLinks(context.Context, *GetPermissionLinksRequest) (*GetPermissionLinksResponse, error)
	// Replaces /v0/state/table/row
	GetTableRow(context.Context, *GetTableRowRequest) (*GetTableRowResponse, error)
	// Replaces /v0/state/table
	StreamTableRows(*StreamTableRowsRequest, State_StreamTableRowsServer) error
	// Replaces /v0/state/table_scopes
	StreamTableScopes(*StreamTableScopesRequest, State_StreamTableScopesServer) error
	// Replaces /v0/state/tables/scopes
	StreamMultiScopesTableRows(*StreamMultiScopesTableRowsRequest, State_StreamMultiScopesTableRowsServer) error
	// Replaces /v0/state/tables/accounts
	StreamMultiContractsTableRows(*StreamMultiContractsTableRowsRequest, State_StreamMultiContractsTableRowsServer) error
}

StateServer is the server API for State service.

type State_StreamMultiContractsTableRowsClient

type State_StreamMultiContractsTableRowsClient interface {
	Recv() (*TableRowsContractResponse, error)
	grpc.ClientStream
}

type State_StreamMultiContractsTableRowsServer

type State_StreamMultiContractsTableRowsServer interface {
	Send(*TableRowsContractResponse) error
	grpc.ServerStream
}

type State_StreamMultiScopesTableRowsClient

type State_StreamMultiScopesTableRowsClient interface {
	Recv() (*TableRowsScopeResponse, error)
	grpc.ClientStream
}

type State_StreamMultiScopesTableRowsServer

type State_StreamMultiScopesTableRowsServer interface {
	Send(*TableRowsScopeResponse) error
	grpc.ServerStream
}

type State_StreamTableRowsClient

type State_StreamTableRowsClient interface {
	Recv() (*TableRowResponse, error)
	grpc.ClientStream
}

type State_StreamTableRowsServer

type State_StreamTableRowsServer interface {
	Send(*TableRowResponse) error
	grpc.ServerStream
}

type State_StreamTableScopesClient

type State_StreamTableScopesClient interface {
	Recv() (*TableScopeResponse, error)
	grpc.ClientStream
}

type State_StreamTableScopesServer

type State_StreamTableScopesServer interface {
	Send(*TableScopeResponse) error
	grpc.ServerStream
}

type StreamMultiContractsTableRowsRequest

type StreamMultiContractsTableRowsRequest struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Scope                string   `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Table                string   `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	KeyType              string   `protobuf:"bytes,4,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	ToJson               bool     `protobuf:"varint,5,opt,name=to_json,json=toJson,proto3" json:"to_json,omitempty"`
	WithBlockNum         bool     `protobuf:"varint,6,opt,name=with_block_num,json=withBlockNum,proto3" json:"with_block_num,omitempty"`
	IrreversibleOnly     bool     `protobuf:"varint,7,opt,name=irreversible_only,json=irreversibleOnly,proto3" json:"irreversible_only,omitempty"`
	Contracts            []string `protobuf:"bytes,8,rep,name=contracts,proto3" json:"contracts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamMultiContractsTableRowsRequest) Descriptor

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

func (*StreamMultiContractsTableRowsRequest) GetBlockNum

func (*StreamMultiContractsTableRowsRequest) GetContracts

func (m *StreamMultiContractsTableRowsRequest) GetContracts() []string

func (*StreamMultiContractsTableRowsRequest) GetIrreversibleOnly

func (m *StreamMultiContractsTableRowsRequest) GetIrreversibleOnly() bool

func (*StreamMultiContractsTableRowsRequest) GetKeyType

func (*StreamMultiContractsTableRowsRequest) GetScope

func (*StreamMultiContractsTableRowsRequest) GetTable

func (*StreamMultiContractsTableRowsRequest) GetToJson

func (*StreamMultiContractsTableRowsRequest) GetWithBlockNum

func (m *StreamMultiContractsTableRowsRequest) GetWithBlockNum() bool

func (*StreamMultiContractsTableRowsRequest) ProtoMessage

func (*StreamMultiContractsTableRowsRequest) ProtoMessage()

func (*StreamMultiContractsTableRowsRequest) Reset

func (*StreamMultiContractsTableRowsRequest) String

func (*StreamMultiContractsTableRowsRequest) XXX_DiscardUnknown

func (m *StreamMultiContractsTableRowsRequest) XXX_DiscardUnknown()

func (*StreamMultiContractsTableRowsRequest) XXX_Marshal

func (m *StreamMultiContractsTableRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamMultiContractsTableRowsRequest) XXX_Merge

func (*StreamMultiContractsTableRowsRequest) XXX_Size

func (*StreamMultiContractsTableRowsRequest) XXX_Unmarshal

func (m *StreamMultiContractsTableRowsRequest) XXX_Unmarshal(b []byte) error

type StreamMultiScopesTableRowsRequest

type StreamMultiScopesTableRowsRequest struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Contract             string   `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Table                string   `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	KeyType              string   `protobuf:"bytes,4,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	ToJson               bool     `protobuf:"varint,5,opt,name=to_json,json=toJson,proto3" json:"to_json,omitempty"`
	WithBlockNum         bool     `protobuf:"varint,6,opt,name=with_block_num,json=withBlockNum,proto3" json:"with_block_num,omitempty"`
	IrreversibleOnly     bool     `protobuf:"varint,7,opt,name=irreversible_only,json=irreversibleOnly,proto3" json:"irreversible_only,omitempty"`
	Scopes               []string `protobuf:"bytes,8,rep,name=scopes,proto3" json:"scopes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamMultiScopesTableRowsRequest) Descriptor

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

func (*StreamMultiScopesTableRowsRequest) GetBlockNum

func (m *StreamMultiScopesTableRowsRequest) GetBlockNum() uint64

func (*StreamMultiScopesTableRowsRequest) GetContract

func (m *StreamMultiScopesTableRowsRequest) GetContract() string

func (*StreamMultiScopesTableRowsRequest) GetIrreversibleOnly

func (m *StreamMultiScopesTableRowsRequest) GetIrreversibleOnly() bool

func (*StreamMultiScopesTableRowsRequest) GetKeyType

func (m *StreamMultiScopesTableRowsRequest) GetKeyType() string

func (*StreamMultiScopesTableRowsRequest) GetScopes

func (m *StreamMultiScopesTableRowsRequest) GetScopes() []string

func (*StreamMultiScopesTableRowsRequest) GetTable

func (*StreamMultiScopesTableRowsRequest) GetToJson

func (m *StreamMultiScopesTableRowsRequest) GetToJson() bool

func (*StreamMultiScopesTableRowsRequest) GetWithBlockNum

func (m *StreamMultiScopesTableRowsRequest) GetWithBlockNum() bool

func (*StreamMultiScopesTableRowsRequest) ProtoMessage

func (*StreamMultiScopesTableRowsRequest) ProtoMessage()

func (*StreamMultiScopesTableRowsRequest) Reset

func (*StreamMultiScopesTableRowsRequest) String

func (*StreamMultiScopesTableRowsRequest) XXX_DiscardUnknown

func (m *StreamMultiScopesTableRowsRequest) XXX_DiscardUnknown()

func (*StreamMultiScopesTableRowsRequest) XXX_Marshal

func (m *StreamMultiScopesTableRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamMultiScopesTableRowsRequest) XXX_Merge

func (*StreamMultiScopesTableRowsRequest) XXX_Size

func (m *StreamMultiScopesTableRowsRequest) XXX_Size() int

func (*StreamMultiScopesTableRowsRequest) XXX_Unmarshal

func (m *StreamMultiScopesTableRowsRequest) XXX_Unmarshal(b []byte) error

type StreamReference

type StreamReference struct {
	UpToBlock             bstream.BlockRef
	LastIrreversibleBlock bstream.BlockRef
}

StreamReference determines at which block and irreversible block the server was currently at when served the streaming request.

**Important** The last irreversible block will always be set but the

up to block value can be `nil`, for example if irreversible
only was set.

func ExtractStreamReference

func ExtractStreamReference(stream grpc.ClientStream) (*StreamReference, error)

func ForEachMultiScopesTableRows

func ForEachMultiScopesTableRows(ctx context.Context, client StateClient, request *StreamMultiScopesTableRowsRequest, onEach func(scope string, row *TableRowResponse) error) (*StreamReference, error)

func ForEachTableRows

func ForEachTableRows(ctx context.Context, client StateClient, request *StreamTableRowsRequest, onEach func(response *TableRowResponse) error) (*StreamReference, error)

type StreamTableRowsRequest

type StreamTableRowsRequest struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	KeyType              string   `protobuf:"bytes,2,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`
	ToJson               bool     `protobuf:"varint,3,opt,name=to_json,json=toJson,proto3" json:"to_json,omitempty"`
	WithBlockNum         bool     `protobuf:"varint,4,opt,name=with_block_num,json=withBlockNum,proto3" json:"with_block_num,omitempty"`
	IrreversibleOnly     bool     `protobuf:"varint,5,opt,name=irreversible_only,json=irreversibleOnly,proto3" json:"irreversible_only,omitempty"`
	Contract             string   `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract,omitempty"`
	Table                string   `protobuf:"bytes,7,opt,name=table,proto3" json:"table,omitempty"`
	Scope                string   `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamTableRowsRequest) Descriptor

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

func (*StreamTableRowsRequest) GetBlockNum

func (m *StreamTableRowsRequest) GetBlockNum() uint64

func (*StreamTableRowsRequest) GetContract

func (m *StreamTableRowsRequest) GetContract() string

func (*StreamTableRowsRequest) GetIrreversibleOnly

func (m *StreamTableRowsRequest) GetIrreversibleOnly() bool

func (*StreamTableRowsRequest) GetKeyType

func (m *StreamTableRowsRequest) GetKeyType() string

func (*StreamTableRowsRequest) GetScope

func (m *StreamTableRowsRequest) GetScope() string

func (*StreamTableRowsRequest) GetTable

func (m *StreamTableRowsRequest) GetTable() string

func (*StreamTableRowsRequest) GetToJson

func (m *StreamTableRowsRequest) GetToJson() bool

func (*StreamTableRowsRequest) GetWithBlockNum

func (m *StreamTableRowsRequest) GetWithBlockNum() bool

func (*StreamTableRowsRequest) ProtoMessage

func (*StreamTableRowsRequest) ProtoMessage()

func (*StreamTableRowsRequest) Reset

func (m *StreamTableRowsRequest) Reset()

func (*StreamTableRowsRequest) String

func (m *StreamTableRowsRequest) String() string

func (*StreamTableRowsRequest) XXX_DiscardUnknown

func (m *StreamTableRowsRequest) XXX_DiscardUnknown()

func (*StreamTableRowsRequest) XXX_Marshal

func (m *StreamTableRowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamTableRowsRequest) XXX_Merge

func (m *StreamTableRowsRequest) XXX_Merge(src proto.Message)

func (*StreamTableRowsRequest) XXX_Size

func (m *StreamTableRowsRequest) XXX_Size() int

func (*StreamTableRowsRequest) XXX_Unmarshal

func (m *StreamTableRowsRequest) XXX_Unmarshal(b []byte) error

type StreamTableScopesRequest

type StreamTableScopesRequest struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Contract             string   `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"`
	Table                string   `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamTableScopesRequest) Descriptor

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

func (*StreamTableScopesRequest) GetBlockNum

func (m *StreamTableScopesRequest) GetBlockNum() uint64

func (*StreamTableScopesRequest) GetContract

func (m *StreamTableScopesRequest) GetContract() string

func (*StreamTableScopesRequest) GetTable

func (m *StreamTableScopesRequest) GetTable() string

func (*StreamTableScopesRequest) ProtoMessage

func (*StreamTableScopesRequest) ProtoMessage()

func (*StreamTableScopesRequest) Reset

func (m *StreamTableScopesRequest) Reset()

func (*StreamTableScopesRequest) String

func (m *StreamTableScopesRequest) String() string

func (*StreamTableScopesRequest) XXX_DiscardUnknown

func (m *StreamTableScopesRequest) XXX_DiscardUnknown()

func (*StreamTableScopesRequest) XXX_Marshal

func (m *StreamTableScopesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamTableScopesRequest) XXX_Merge

func (m *StreamTableScopesRequest) XXX_Merge(src proto.Message)

func (*StreamTableScopesRequest) XXX_Size

func (m *StreamTableScopesRequest) XXX_Size() int

func (*StreamTableScopesRequest) XXX_Unmarshal

func (m *StreamTableScopesRequest) XXX_Unmarshal(b []byte) error

type TableRowResponse

type TableRowResponse struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Json                 string   `protobuf:"bytes,3,opt,name=json,proto3" json:"json,omitempty"`
	Payer                string   `protobuf:"bytes,4,opt,name=payer,proto3" json:"payer,omitempty"`
	BlockNumber          uint64   `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TableRowResponse) Descriptor

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

func (*TableRowResponse) GetBlockNumber

func (m *TableRowResponse) GetBlockNumber() uint64

func (*TableRowResponse) GetData

func (m *TableRowResponse) GetData() []byte

func (*TableRowResponse) GetJson

func (m *TableRowResponse) GetJson() string

func (*TableRowResponse) GetKey

func (m *TableRowResponse) GetKey() string

func (*TableRowResponse) GetPayer

func (m *TableRowResponse) GetPayer() string

func (*TableRowResponse) ProtoMessage

func (*TableRowResponse) ProtoMessage()

func (*TableRowResponse) Reset

func (m *TableRowResponse) Reset()

func (*TableRowResponse) String

func (m *TableRowResponse) String() string

func (*TableRowResponse) XXX_DiscardUnknown

func (m *TableRowResponse) XXX_DiscardUnknown()

func (*TableRowResponse) XXX_Marshal

func (m *TableRowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableRowResponse) XXX_Merge

func (m *TableRowResponse) XXX_Merge(src proto.Message)

func (*TableRowResponse) XXX_Size

func (m *TableRowResponse) XXX_Size() int

func (*TableRowResponse) XXX_Unmarshal

func (m *TableRowResponse) XXX_Unmarshal(b []byte) error

type TableRowsContractResponse

type TableRowsContractResponse struct {
	Contract             string              `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Rows                 []*TableRowResponse `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*TableRowsContractResponse) Descriptor

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

func (*TableRowsContractResponse) GetContract

func (m *TableRowsContractResponse) GetContract() string

func (*TableRowsContractResponse) GetRows

func (*TableRowsContractResponse) ProtoMessage

func (*TableRowsContractResponse) ProtoMessage()

func (*TableRowsContractResponse) Reset

func (m *TableRowsContractResponse) Reset()

func (*TableRowsContractResponse) String

func (m *TableRowsContractResponse) String() string

func (*TableRowsContractResponse) XXX_DiscardUnknown

func (m *TableRowsContractResponse) XXX_DiscardUnknown()

func (*TableRowsContractResponse) XXX_Marshal

func (m *TableRowsContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableRowsContractResponse) XXX_Merge

func (m *TableRowsContractResponse) XXX_Merge(src proto.Message)

func (*TableRowsContractResponse) XXX_Size

func (m *TableRowsContractResponse) XXX_Size() int

func (*TableRowsContractResponse) XXX_Unmarshal

func (m *TableRowsContractResponse) XXX_Unmarshal(b []byte) error

type TableRowsScopeResponse

type TableRowsScopeResponse struct {
	Scope                string              `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Rows                 []*TableRowResponse `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*TableRowsScopeResponse) Descriptor

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

func (*TableRowsScopeResponse) GetRows

func (m *TableRowsScopeResponse) GetRows() []*TableRowResponse

func (*TableRowsScopeResponse) GetScope

func (m *TableRowsScopeResponse) GetScope() string

func (*TableRowsScopeResponse) ProtoMessage

func (*TableRowsScopeResponse) ProtoMessage()

func (*TableRowsScopeResponse) Reset

func (m *TableRowsScopeResponse) Reset()

func (*TableRowsScopeResponse) String

func (m *TableRowsScopeResponse) String() string

func (*TableRowsScopeResponse) XXX_DiscardUnknown

func (m *TableRowsScopeResponse) XXX_DiscardUnknown()

func (*TableRowsScopeResponse) XXX_Marshal

func (m *TableRowsScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableRowsScopeResponse) XXX_Merge

func (m *TableRowsScopeResponse) XXX_Merge(src proto.Message)

func (*TableRowsScopeResponse) XXX_Size

func (m *TableRowsScopeResponse) XXX_Size() int

func (*TableRowsScopeResponse) XXX_Unmarshal

func (m *TableRowsScopeResponse) XXX_Unmarshal(b []byte) error

type TableScopeResponse

type TableScopeResponse struct {
	BlockNum             uint64   `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	Scope                string   `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TableScopeResponse) Descriptor

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

func (*TableScopeResponse) GetBlockNum

func (m *TableScopeResponse) GetBlockNum() uint64

func (*TableScopeResponse) GetScope

func (m *TableScopeResponse) GetScope() string

func (*TableScopeResponse) ProtoMessage

func (*TableScopeResponse) ProtoMessage()

func (*TableScopeResponse) Reset

func (m *TableScopeResponse) Reset()

func (*TableScopeResponse) String

func (m *TableScopeResponse) String() string

func (*TableScopeResponse) XXX_DiscardUnknown

func (m *TableScopeResponse) XXX_DiscardUnknown()

func (*TableScopeResponse) XXX_Marshal

func (m *TableScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TableScopeResponse) XXX_Merge

func (m *TableScopeResponse) XXX_Merge(src proto.Message)

func (*TableScopeResponse) XXX_Size

func (m *TableScopeResponse) XXX_Size() int

func (*TableScopeResponse) XXX_Unmarshal

func (m *TableScopeResponse) XXX_Unmarshal(b []byte) error

type UnimplementedStateServer

type UnimplementedStateServer struct {
}

UnimplementedStateServer can be embedded to have forward compatible implementations.

func (*UnimplementedStateServer) GetABI

func (*UnimplementedStateServer) GetKeyAccounts

func (*UnimplementedStateServer) GetTableRow

func (*UnimplementedStateServer) StreamMultiScopesTableRows

func (*UnimplementedStateServer) StreamTableRows

func (*UnimplementedStateServer) StreamTableScopes

Jump to

Keyboard shortcuts

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