types

package
v1.5.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "bcna"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_bcna"
)
View Source
const (
	BitcannaidKey      = "Bitcannaid-value-"
	BitcannaidCountKey = "Bitcannaid-count-"
)
View Source
const (
	SupplychainKey      = "Supplychain-value-"
	SupplychainCountKey = "Supplychain-count-"
)
View Source
const (
	TypeMsgCreateBitcannaid = "create_bitcannaid"
	TypeMsgUpdateBitcannaid = "update_bitcannaid"
	TypeMsgDeleteBitcannaid = "delete_bitcannaid"
)
View Source
const (
	TypeMsgCreateSupplychain = "create_supplychain"
	TypeMsgUpdateSupplychain = "update_supplychain"
	TypeMsgDeleteSupplychain = "delete_supplychain"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

Variables

View Source
var (
	ErrInvalidLengthBitcannaid        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBitcannaid          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBitcannaid = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSupplychain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSupplychain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSupplychain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/bcna module sentinel errors

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type Bitcannaid

type Bitcannaid struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Bcnaid  string `protobuf:"bytes,2,opt,name=bcnaid,proto3" json:"bcnaid,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*Bitcannaid) Descriptor

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

func (*Bitcannaid) GetAddress

func (m *Bitcannaid) GetAddress() string

func (*Bitcannaid) GetBcnaid

func (m *Bitcannaid) GetBcnaid() string

func (*Bitcannaid) GetCreator

func (m *Bitcannaid) GetCreator() string

func (*Bitcannaid) GetId

func (m *Bitcannaid) GetId() uint64

func (*Bitcannaid) Marshal

func (m *Bitcannaid) Marshal() (dAtA []byte, err error)

func (*Bitcannaid) MarshalTo

func (m *Bitcannaid) MarshalTo(dAtA []byte) (int, error)

func (*Bitcannaid) MarshalToSizedBuffer

func (m *Bitcannaid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Bitcannaid) ProtoMessage

func (*Bitcannaid) ProtoMessage()

func (*Bitcannaid) Reset

func (m *Bitcannaid) Reset()

func (*Bitcannaid) Size

func (m *Bitcannaid) Size() (n int)

func (*Bitcannaid) String

func (m *Bitcannaid) String() string

func (*Bitcannaid) Unmarshal

func (m *Bitcannaid) Unmarshal(dAtA []byte) error

func (*Bitcannaid) XXX_DiscardUnknown

func (m *Bitcannaid) XXX_DiscardUnknown()

func (*Bitcannaid) XXX_Marshal

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

func (*Bitcannaid) XXX_Merge

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

func (*Bitcannaid) XXX_Size

func (m *Bitcannaid) XXX_Size() int

func (*Bitcannaid) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params           Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	BitcannaidList   []Bitcannaid  `protobuf:"bytes,2,rep,name=bitcannaidList,proto3" json:"bitcannaidList"`
	BitcannaidCount  uint64        `protobuf:"varint,3,opt,name=bitcannaidCount,proto3" json:"bitcannaidCount,omitempty"`
	SupplychainList  []Supplychain `protobuf:"bytes,4,rep,name=supplychainList,proto3" json:"supplychainList"`
	SupplychainCount uint64        `protobuf:"varint,5,opt,name=supplychainCount,proto3" json:"supplychainCount,omitempty"`
}

GenesisState defines the bcna module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetBitcannaidCount

func (m *GenesisState) GetBitcannaidCount() uint64

func (*GenesisState) GetBitcannaidList

func (m *GenesisState) GetBitcannaidList() []Bitcannaid

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetSupplychainCount

func (m *GenesisState) GetSupplychainCount() uint64

func (*GenesisState) GetSupplychainList

func (m *GenesisState) GetSupplychainList() []Supplychain

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateBitcannaid

type MsgCreateBitcannaid struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Bcnaid  string `protobuf:"bytes,2,opt,name=bcnaid,proto3" json:"bcnaid,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgCreateBitcannaid

func NewMsgCreateBitcannaid(creator string, bcnaid string, address string) *MsgCreateBitcannaid

func (*MsgCreateBitcannaid) Descriptor

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

func (*MsgCreateBitcannaid) GetAddress

func (m *MsgCreateBitcannaid) GetAddress() string

func (*MsgCreateBitcannaid) GetBcnaid

func (m *MsgCreateBitcannaid) GetBcnaid() string

func (*MsgCreateBitcannaid) GetCreator

func (m *MsgCreateBitcannaid) GetCreator() string

func (*MsgCreateBitcannaid) GetSignBytes

func (msg *MsgCreateBitcannaid) GetSignBytes() []byte

func (*MsgCreateBitcannaid) GetSigners

func (msg *MsgCreateBitcannaid) GetSigners() []sdk.AccAddress

func (*MsgCreateBitcannaid) Marshal

func (m *MsgCreateBitcannaid) Marshal() (dAtA []byte, err error)

func (*MsgCreateBitcannaid) MarshalTo

func (m *MsgCreateBitcannaid) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBitcannaid) MarshalToSizedBuffer

func (m *MsgCreateBitcannaid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBitcannaid) ProtoMessage

func (*MsgCreateBitcannaid) ProtoMessage()

func (*MsgCreateBitcannaid) Reset

func (m *MsgCreateBitcannaid) Reset()

func (*MsgCreateBitcannaid) Route

func (msg *MsgCreateBitcannaid) Route() string

func (*MsgCreateBitcannaid) Size

func (m *MsgCreateBitcannaid) Size() (n int)

func (*MsgCreateBitcannaid) String

func (m *MsgCreateBitcannaid) String() string

func (*MsgCreateBitcannaid) Type

func (msg *MsgCreateBitcannaid) Type() string

func (*MsgCreateBitcannaid) Unmarshal

func (m *MsgCreateBitcannaid) Unmarshal(dAtA []byte) error

func (*MsgCreateBitcannaid) ValidateBasic

func (msg *MsgCreateBitcannaid) ValidateBasic() error

func (*MsgCreateBitcannaid) XXX_DiscardUnknown

func (m *MsgCreateBitcannaid) XXX_DiscardUnknown()

func (*MsgCreateBitcannaid) XXX_Marshal

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

func (*MsgCreateBitcannaid) XXX_Merge

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

func (*MsgCreateBitcannaid) XXX_Size

func (m *MsgCreateBitcannaid) XXX_Size() int

func (*MsgCreateBitcannaid) XXX_Unmarshal

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

type MsgCreateBitcannaidResponse

type MsgCreateBitcannaidResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgCreateBitcannaidResponse) Descriptor

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

func (*MsgCreateBitcannaidResponse) GetId

func (*MsgCreateBitcannaidResponse) Marshal

func (m *MsgCreateBitcannaidResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateBitcannaidResponse) MarshalTo

func (m *MsgCreateBitcannaidResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBitcannaidResponse) MarshalToSizedBuffer

func (m *MsgCreateBitcannaidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBitcannaidResponse) ProtoMessage

func (*MsgCreateBitcannaidResponse) ProtoMessage()

func (*MsgCreateBitcannaidResponse) Reset

func (m *MsgCreateBitcannaidResponse) Reset()

func (*MsgCreateBitcannaidResponse) Size

func (m *MsgCreateBitcannaidResponse) Size() (n int)

func (*MsgCreateBitcannaidResponse) String

func (m *MsgCreateBitcannaidResponse) String() string

func (*MsgCreateBitcannaidResponse) Unmarshal

func (m *MsgCreateBitcannaidResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateBitcannaidResponse) XXX_DiscardUnknown

func (m *MsgCreateBitcannaidResponse) XXX_DiscardUnknown()

func (*MsgCreateBitcannaidResponse) XXX_Marshal

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

func (*MsgCreateBitcannaidResponse) XXX_Merge

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

func (*MsgCreateBitcannaidResponse) XXX_Size

func (m *MsgCreateBitcannaidResponse) XXX_Size() int

func (*MsgCreateBitcannaidResponse) XXX_Unmarshal

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

type MsgCreateSupplychain

type MsgCreateSupplychain struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Product     string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
	Info        string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	Supplyinfo  string `protobuf:"bytes,4,opt,name=supplyinfo,proto3" json:"supplyinfo,omitempty"`
	Supplyextra string `protobuf:"bytes,5,opt,name=supplyextra,proto3" json:"supplyextra,omitempty"`
}

func NewMsgCreateSupplychain

func NewMsgCreateSupplychain(creator string, product string, info string, supplyinfo string, supplyextra string) *MsgCreateSupplychain

func (*MsgCreateSupplychain) Descriptor

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

func (*MsgCreateSupplychain) GetCreator

func (m *MsgCreateSupplychain) GetCreator() string

func (*MsgCreateSupplychain) GetInfo

func (m *MsgCreateSupplychain) GetInfo() string

func (*MsgCreateSupplychain) GetProduct

func (m *MsgCreateSupplychain) GetProduct() string

func (*MsgCreateSupplychain) GetSignBytes

func (msg *MsgCreateSupplychain) GetSignBytes() []byte

func (*MsgCreateSupplychain) GetSigners

func (msg *MsgCreateSupplychain) GetSigners() []sdk.AccAddress

func (*MsgCreateSupplychain) GetSupplyextra

func (m *MsgCreateSupplychain) GetSupplyextra() string

func (*MsgCreateSupplychain) GetSupplyinfo

func (m *MsgCreateSupplychain) GetSupplyinfo() string

func (*MsgCreateSupplychain) Marshal

func (m *MsgCreateSupplychain) Marshal() (dAtA []byte, err error)

func (*MsgCreateSupplychain) MarshalTo

func (m *MsgCreateSupplychain) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateSupplychain) MarshalToSizedBuffer

func (m *MsgCreateSupplychain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateSupplychain) ProtoMessage

func (*MsgCreateSupplychain) ProtoMessage()

func (*MsgCreateSupplychain) Reset

func (m *MsgCreateSupplychain) Reset()

func (*MsgCreateSupplychain) Route

func (msg *MsgCreateSupplychain) Route() string

func (*MsgCreateSupplychain) Size

func (m *MsgCreateSupplychain) Size() (n int)

func (*MsgCreateSupplychain) String

func (m *MsgCreateSupplychain) String() string

func (*MsgCreateSupplychain) Type

func (msg *MsgCreateSupplychain) Type() string

func (*MsgCreateSupplychain) Unmarshal

func (m *MsgCreateSupplychain) Unmarshal(dAtA []byte) error

func (*MsgCreateSupplychain) ValidateBasic

func (msg *MsgCreateSupplychain) ValidateBasic() error

func (*MsgCreateSupplychain) XXX_DiscardUnknown

func (m *MsgCreateSupplychain) XXX_DiscardUnknown()

func (*MsgCreateSupplychain) XXX_Marshal

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

func (*MsgCreateSupplychain) XXX_Merge

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

func (*MsgCreateSupplychain) XXX_Size

func (m *MsgCreateSupplychain) XXX_Size() int

func (*MsgCreateSupplychain) XXX_Unmarshal

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

type MsgCreateSupplychainResponse

type MsgCreateSupplychainResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgCreateSupplychainResponse) Descriptor

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

func (*MsgCreateSupplychainResponse) GetId

func (*MsgCreateSupplychainResponse) Marshal

func (m *MsgCreateSupplychainResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateSupplychainResponse) MarshalTo

func (m *MsgCreateSupplychainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateSupplychainResponse) MarshalToSizedBuffer

func (m *MsgCreateSupplychainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateSupplychainResponse) ProtoMessage

func (*MsgCreateSupplychainResponse) ProtoMessage()

func (*MsgCreateSupplychainResponse) Reset

func (m *MsgCreateSupplychainResponse) Reset()

func (*MsgCreateSupplychainResponse) Size

func (m *MsgCreateSupplychainResponse) Size() (n int)

func (*MsgCreateSupplychainResponse) String

func (*MsgCreateSupplychainResponse) Unmarshal

func (m *MsgCreateSupplychainResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateSupplychainResponse) XXX_DiscardUnknown

func (m *MsgCreateSupplychainResponse) XXX_DiscardUnknown()

func (*MsgCreateSupplychainResponse) XXX_Marshal

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

func (*MsgCreateSupplychainResponse) XXX_Merge

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

func (*MsgCreateSupplychainResponse) XXX_Size

func (m *MsgCreateSupplychainResponse) XXX_Size() int

func (*MsgCreateSupplychainResponse) XXX_Unmarshal

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

type MsgDeleteBitcannaid

type MsgDeleteBitcannaid struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func NewMsgDeleteBitcannaid

func NewMsgDeleteBitcannaid(creator string, id uint64) *MsgDeleteBitcannaid

func (*MsgDeleteBitcannaid) Descriptor

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

func (*MsgDeleteBitcannaid) GetCreator

func (m *MsgDeleteBitcannaid) GetCreator() string

func (*MsgDeleteBitcannaid) GetId

func (m *MsgDeleteBitcannaid) GetId() uint64

func (*MsgDeleteBitcannaid) GetSignBytes

func (msg *MsgDeleteBitcannaid) GetSignBytes() []byte

func (*MsgDeleteBitcannaid) GetSigners

func (msg *MsgDeleteBitcannaid) GetSigners() []sdk.AccAddress

func (*MsgDeleteBitcannaid) Marshal

func (m *MsgDeleteBitcannaid) Marshal() (dAtA []byte, err error)

func (*MsgDeleteBitcannaid) MarshalTo

func (m *MsgDeleteBitcannaid) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteBitcannaid) MarshalToSizedBuffer

func (m *MsgDeleteBitcannaid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteBitcannaid) ProtoMessage

func (*MsgDeleteBitcannaid) ProtoMessage()

func (*MsgDeleteBitcannaid) Reset

func (m *MsgDeleteBitcannaid) Reset()

func (*MsgDeleteBitcannaid) Route

func (msg *MsgDeleteBitcannaid) Route() string

func (*MsgDeleteBitcannaid) Size

func (m *MsgDeleteBitcannaid) Size() (n int)

func (*MsgDeleteBitcannaid) String

func (m *MsgDeleteBitcannaid) String() string

func (*MsgDeleteBitcannaid) Type

func (msg *MsgDeleteBitcannaid) Type() string

func (*MsgDeleteBitcannaid) Unmarshal

func (m *MsgDeleteBitcannaid) Unmarshal(dAtA []byte) error

func (*MsgDeleteBitcannaid) ValidateBasic

func (msg *MsgDeleteBitcannaid) ValidateBasic() error

func (*MsgDeleteBitcannaid) XXX_DiscardUnknown

func (m *MsgDeleteBitcannaid) XXX_DiscardUnknown()

func (*MsgDeleteBitcannaid) XXX_Marshal

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

func (*MsgDeleteBitcannaid) XXX_Merge

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

func (*MsgDeleteBitcannaid) XXX_Size

func (m *MsgDeleteBitcannaid) XXX_Size() int

func (*MsgDeleteBitcannaid) XXX_Unmarshal

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

type MsgDeleteBitcannaidResponse

type MsgDeleteBitcannaidResponse struct {
}

func (*MsgDeleteBitcannaidResponse) Descriptor

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

func (*MsgDeleteBitcannaidResponse) Marshal

func (m *MsgDeleteBitcannaidResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteBitcannaidResponse) MarshalTo

func (m *MsgDeleteBitcannaidResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteBitcannaidResponse) MarshalToSizedBuffer

func (m *MsgDeleteBitcannaidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteBitcannaidResponse) ProtoMessage

func (*MsgDeleteBitcannaidResponse) ProtoMessage()

func (*MsgDeleteBitcannaidResponse) Reset

func (m *MsgDeleteBitcannaidResponse) Reset()

func (*MsgDeleteBitcannaidResponse) Size

func (m *MsgDeleteBitcannaidResponse) Size() (n int)

func (*MsgDeleteBitcannaidResponse) String

func (m *MsgDeleteBitcannaidResponse) String() string

func (*MsgDeleteBitcannaidResponse) Unmarshal

func (m *MsgDeleteBitcannaidResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteBitcannaidResponse) XXX_DiscardUnknown

func (m *MsgDeleteBitcannaidResponse) XXX_DiscardUnknown()

func (*MsgDeleteBitcannaidResponse) XXX_Marshal

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

func (*MsgDeleteBitcannaidResponse) XXX_Merge

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

func (*MsgDeleteBitcannaidResponse) XXX_Size

func (m *MsgDeleteBitcannaidResponse) XXX_Size() int

func (*MsgDeleteBitcannaidResponse) XXX_Unmarshal

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

type MsgDeleteSupplychain

type MsgDeleteSupplychain struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
}

func NewMsgDeleteSupplychain

func NewMsgDeleteSupplychain(creator string, id uint64) *MsgDeleteSupplychain

func (*MsgDeleteSupplychain) Descriptor

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

func (*MsgDeleteSupplychain) GetCreator

func (m *MsgDeleteSupplychain) GetCreator() string

func (*MsgDeleteSupplychain) GetId

func (m *MsgDeleteSupplychain) GetId() uint64

func (*MsgDeleteSupplychain) GetSignBytes

func (msg *MsgDeleteSupplychain) GetSignBytes() []byte

func (*MsgDeleteSupplychain) GetSigners

func (msg *MsgDeleteSupplychain) GetSigners() []sdk.AccAddress

func (*MsgDeleteSupplychain) Marshal

func (m *MsgDeleteSupplychain) Marshal() (dAtA []byte, err error)

func (*MsgDeleteSupplychain) MarshalTo

func (m *MsgDeleteSupplychain) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteSupplychain) MarshalToSizedBuffer

func (m *MsgDeleteSupplychain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteSupplychain) ProtoMessage

func (*MsgDeleteSupplychain) ProtoMessage()

func (*MsgDeleteSupplychain) Reset

func (m *MsgDeleteSupplychain) Reset()

func (*MsgDeleteSupplychain) Route

func (msg *MsgDeleteSupplychain) Route() string

func (*MsgDeleteSupplychain) Size

func (m *MsgDeleteSupplychain) Size() (n int)

func (*MsgDeleteSupplychain) String

func (m *MsgDeleteSupplychain) String() string

func (*MsgDeleteSupplychain) Type

func (msg *MsgDeleteSupplychain) Type() string

func (*MsgDeleteSupplychain) Unmarshal

func (m *MsgDeleteSupplychain) Unmarshal(dAtA []byte) error

func (*MsgDeleteSupplychain) ValidateBasic

func (msg *MsgDeleteSupplychain) ValidateBasic() error

func (*MsgDeleteSupplychain) XXX_DiscardUnknown

func (m *MsgDeleteSupplychain) XXX_DiscardUnknown()

func (*MsgDeleteSupplychain) XXX_Marshal

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

func (*MsgDeleteSupplychain) XXX_Merge

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

func (*MsgDeleteSupplychain) XXX_Size

func (m *MsgDeleteSupplychain) XXX_Size() int

func (*MsgDeleteSupplychain) XXX_Unmarshal

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

type MsgDeleteSupplychainResponse

type MsgDeleteSupplychainResponse struct {
}

func (*MsgDeleteSupplychainResponse) Descriptor

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

func (*MsgDeleteSupplychainResponse) Marshal

func (m *MsgDeleteSupplychainResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteSupplychainResponse) MarshalTo

func (m *MsgDeleteSupplychainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteSupplychainResponse) MarshalToSizedBuffer

func (m *MsgDeleteSupplychainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteSupplychainResponse) ProtoMessage

func (*MsgDeleteSupplychainResponse) ProtoMessage()

func (*MsgDeleteSupplychainResponse) Reset

func (m *MsgDeleteSupplychainResponse) Reset()

func (*MsgDeleteSupplychainResponse) Size

func (m *MsgDeleteSupplychainResponse) Size() (n int)

func (*MsgDeleteSupplychainResponse) String

func (*MsgDeleteSupplychainResponse) Unmarshal

func (m *MsgDeleteSupplychainResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteSupplychainResponse) XXX_DiscardUnknown

func (m *MsgDeleteSupplychainResponse) XXX_DiscardUnknown()

func (*MsgDeleteSupplychainResponse) XXX_Marshal

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

func (*MsgDeleteSupplychainResponse) XXX_Merge

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

func (*MsgDeleteSupplychainResponse) XXX_Size

func (m *MsgDeleteSupplychainResponse) XXX_Size() int

func (*MsgDeleteSupplychainResponse) XXX_Unmarshal

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

type MsgUpdateBitcannaid

type MsgUpdateBitcannaid struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id      uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Bcnaid  string `protobuf:"bytes,3,opt,name=bcnaid,proto3" json:"bcnaid,omitempty"`
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgUpdateBitcannaid

func NewMsgUpdateBitcannaid(creator string, id uint64, bcnaid string, address string) *MsgUpdateBitcannaid

func (*MsgUpdateBitcannaid) Descriptor

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

func (*MsgUpdateBitcannaid) GetAddress

func (m *MsgUpdateBitcannaid) GetAddress() string

func (*MsgUpdateBitcannaid) GetBcnaid

func (m *MsgUpdateBitcannaid) GetBcnaid() string

func (*MsgUpdateBitcannaid) GetCreator

func (m *MsgUpdateBitcannaid) GetCreator() string

func (*MsgUpdateBitcannaid) GetId

func (m *MsgUpdateBitcannaid) GetId() uint64

func (*MsgUpdateBitcannaid) GetSignBytes

func (msg *MsgUpdateBitcannaid) GetSignBytes() []byte

func (*MsgUpdateBitcannaid) GetSigners

func (msg *MsgUpdateBitcannaid) GetSigners() []sdk.AccAddress

func (*MsgUpdateBitcannaid) Marshal

func (m *MsgUpdateBitcannaid) Marshal() (dAtA []byte, err error)

func (*MsgUpdateBitcannaid) MarshalTo

func (m *MsgUpdateBitcannaid) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateBitcannaid) MarshalToSizedBuffer

func (m *MsgUpdateBitcannaid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateBitcannaid) ProtoMessage

func (*MsgUpdateBitcannaid) ProtoMessage()

func (*MsgUpdateBitcannaid) Reset

func (m *MsgUpdateBitcannaid) Reset()

func (*MsgUpdateBitcannaid) Route

func (msg *MsgUpdateBitcannaid) Route() string

func (*MsgUpdateBitcannaid) Size

func (m *MsgUpdateBitcannaid) Size() (n int)

func (*MsgUpdateBitcannaid) String

func (m *MsgUpdateBitcannaid) String() string

func (*MsgUpdateBitcannaid) Type

func (msg *MsgUpdateBitcannaid) Type() string

func (*MsgUpdateBitcannaid) Unmarshal

func (m *MsgUpdateBitcannaid) Unmarshal(dAtA []byte) error

func (*MsgUpdateBitcannaid) ValidateBasic

func (msg *MsgUpdateBitcannaid) ValidateBasic() error

func (*MsgUpdateBitcannaid) XXX_DiscardUnknown

func (m *MsgUpdateBitcannaid) XXX_DiscardUnknown()

func (*MsgUpdateBitcannaid) XXX_Marshal

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

func (*MsgUpdateBitcannaid) XXX_Merge

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

func (*MsgUpdateBitcannaid) XXX_Size

func (m *MsgUpdateBitcannaid) XXX_Size() int

func (*MsgUpdateBitcannaid) XXX_Unmarshal

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

type MsgUpdateBitcannaidResponse

type MsgUpdateBitcannaidResponse struct {
}

func (*MsgUpdateBitcannaidResponse) Descriptor

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

func (*MsgUpdateBitcannaidResponse) Marshal

func (m *MsgUpdateBitcannaidResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateBitcannaidResponse) MarshalTo

func (m *MsgUpdateBitcannaidResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateBitcannaidResponse) MarshalToSizedBuffer

func (m *MsgUpdateBitcannaidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateBitcannaidResponse) ProtoMessage

func (*MsgUpdateBitcannaidResponse) ProtoMessage()

func (*MsgUpdateBitcannaidResponse) Reset

func (m *MsgUpdateBitcannaidResponse) Reset()

func (*MsgUpdateBitcannaidResponse) Size

func (m *MsgUpdateBitcannaidResponse) Size() (n int)

func (*MsgUpdateBitcannaidResponse) String

func (m *MsgUpdateBitcannaidResponse) String() string

func (*MsgUpdateBitcannaidResponse) Unmarshal

func (m *MsgUpdateBitcannaidResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateBitcannaidResponse) XXX_DiscardUnknown

func (m *MsgUpdateBitcannaidResponse) XXX_DiscardUnknown()

func (*MsgUpdateBitcannaidResponse) XXX_Marshal

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

func (*MsgUpdateBitcannaidResponse) XXX_Merge

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

func (*MsgUpdateBitcannaidResponse) XXX_Size

func (m *MsgUpdateBitcannaidResponse) XXX_Size() int

func (*MsgUpdateBitcannaidResponse) XXX_Unmarshal

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

type MsgUpdateSupplychain

type MsgUpdateSupplychain struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Id          uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Product     string `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"`
	Info        string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	Supplyinfo  string `protobuf:"bytes,5,opt,name=supplyinfo,proto3" json:"supplyinfo,omitempty"`
	Supplyextra string `protobuf:"bytes,6,opt,name=supplyextra,proto3" json:"supplyextra,omitempty"`
}

func NewMsgUpdateSupplychain

func NewMsgUpdateSupplychain(creator string, id uint64, product string, info string, supplyinfo string, supplyextra string) *MsgUpdateSupplychain

func (*MsgUpdateSupplychain) Descriptor

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

func (*MsgUpdateSupplychain) GetCreator

func (m *MsgUpdateSupplychain) GetCreator() string

func (*MsgUpdateSupplychain) GetId

func (m *MsgUpdateSupplychain) GetId() uint64

func (*MsgUpdateSupplychain) GetInfo

func (m *MsgUpdateSupplychain) GetInfo() string

func (*MsgUpdateSupplychain) GetProduct

func (m *MsgUpdateSupplychain) GetProduct() string

func (*MsgUpdateSupplychain) GetSignBytes

func (msg *MsgUpdateSupplychain) GetSignBytes() []byte

func (*MsgUpdateSupplychain) GetSigners

func (msg *MsgUpdateSupplychain) GetSigners() []sdk.AccAddress

func (*MsgUpdateSupplychain) GetSupplyextra

func (m *MsgUpdateSupplychain) GetSupplyextra() string

func (*MsgUpdateSupplychain) GetSupplyinfo

func (m *MsgUpdateSupplychain) GetSupplyinfo() string

func (*MsgUpdateSupplychain) Marshal

func (m *MsgUpdateSupplychain) Marshal() (dAtA []byte, err error)

func (*MsgUpdateSupplychain) MarshalTo

func (m *MsgUpdateSupplychain) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateSupplychain) MarshalToSizedBuffer

func (m *MsgUpdateSupplychain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateSupplychain) ProtoMessage

func (*MsgUpdateSupplychain) ProtoMessage()

func (*MsgUpdateSupplychain) Reset

func (m *MsgUpdateSupplychain) Reset()

func (*MsgUpdateSupplychain) Route

func (msg *MsgUpdateSupplychain) Route() string

func (*MsgUpdateSupplychain) Size

func (m *MsgUpdateSupplychain) Size() (n int)

func (*MsgUpdateSupplychain) String

func (m *MsgUpdateSupplychain) String() string

func (*MsgUpdateSupplychain) Type

func (msg *MsgUpdateSupplychain) Type() string

func (*MsgUpdateSupplychain) Unmarshal

func (m *MsgUpdateSupplychain) Unmarshal(dAtA []byte) error

func (*MsgUpdateSupplychain) ValidateBasic

func (msg *MsgUpdateSupplychain) ValidateBasic() error

func (*MsgUpdateSupplychain) XXX_DiscardUnknown

func (m *MsgUpdateSupplychain) XXX_DiscardUnknown()

func (*MsgUpdateSupplychain) XXX_Marshal

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

func (*MsgUpdateSupplychain) XXX_Merge

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

func (*MsgUpdateSupplychain) XXX_Size

func (m *MsgUpdateSupplychain) XXX_Size() int

func (*MsgUpdateSupplychain) XXX_Unmarshal

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

type MsgUpdateSupplychainResponse

type MsgUpdateSupplychainResponse struct {
}

func (*MsgUpdateSupplychainResponse) Descriptor

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

func (*MsgUpdateSupplychainResponse) Marshal

func (m *MsgUpdateSupplychainResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateSupplychainResponse) MarshalTo

func (m *MsgUpdateSupplychainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateSupplychainResponse) MarshalToSizedBuffer

func (m *MsgUpdateSupplychainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateSupplychainResponse) ProtoMessage

func (*MsgUpdateSupplychainResponse) ProtoMessage()

func (*MsgUpdateSupplychainResponse) Reset

func (m *MsgUpdateSupplychainResponse) Reset()

func (*MsgUpdateSupplychainResponse) Size

func (m *MsgUpdateSupplychainResponse) Size() (n int)

func (*MsgUpdateSupplychainResponse) String

func (*MsgUpdateSupplychainResponse) Unmarshal

func (m *MsgUpdateSupplychainResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateSupplychainResponse) XXX_DiscardUnknown

func (m *MsgUpdateSupplychainResponse) XXX_DiscardUnknown()

func (*MsgUpdateSupplychainResponse) XXX_Marshal

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

func (*MsgUpdateSupplychainResponse) XXX_Merge

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

func (*MsgUpdateSupplychainResponse) XXX_Size

func (m *MsgUpdateSupplychainResponse) XXX_Size() int

func (*MsgUpdateSupplychainResponse) XXX_Unmarshal

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

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAllBitcannaidRequest

type QueryAllBitcannaidRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllBitcannaidRequest) Descriptor

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

func (*QueryAllBitcannaidRequest) GetPagination

func (m *QueryAllBitcannaidRequest) GetPagination() *query.PageRequest

func (*QueryAllBitcannaidRequest) Marshal

func (m *QueryAllBitcannaidRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllBitcannaidRequest) MarshalTo

func (m *QueryAllBitcannaidRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllBitcannaidRequest) MarshalToSizedBuffer

func (m *QueryAllBitcannaidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllBitcannaidRequest) ProtoMessage

func (*QueryAllBitcannaidRequest) ProtoMessage()

func (*QueryAllBitcannaidRequest) Reset

func (m *QueryAllBitcannaidRequest) Reset()

func (*QueryAllBitcannaidRequest) Size

func (m *QueryAllBitcannaidRequest) Size() (n int)

func (*QueryAllBitcannaidRequest) String

func (m *QueryAllBitcannaidRequest) String() string

func (*QueryAllBitcannaidRequest) Unmarshal

func (m *QueryAllBitcannaidRequest) Unmarshal(dAtA []byte) error

func (*QueryAllBitcannaidRequest) XXX_DiscardUnknown

func (m *QueryAllBitcannaidRequest) XXX_DiscardUnknown()

func (*QueryAllBitcannaidRequest) XXX_Marshal

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

func (*QueryAllBitcannaidRequest) XXX_Merge

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

func (*QueryAllBitcannaidRequest) XXX_Size

func (m *QueryAllBitcannaidRequest) XXX_Size() int

func (*QueryAllBitcannaidRequest) XXX_Unmarshal

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

type QueryAllBitcannaidResponse

type QueryAllBitcannaidResponse struct {
	Bitcannaid []Bitcannaid        `protobuf:"bytes,1,rep,name=Bitcannaid,proto3" json:"Bitcannaid"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllBitcannaidResponse) Descriptor

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

func (*QueryAllBitcannaidResponse) GetBitcannaid

func (m *QueryAllBitcannaidResponse) GetBitcannaid() []Bitcannaid

func (*QueryAllBitcannaidResponse) GetPagination

func (m *QueryAllBitcannaidResponse) GetPagination() *query.PageResponse

func (*QueryAllBitcannaidResponse) Marshal

func (m *QueryAllBitcannaidResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllBitcannaidResponse) MarshalTo

func (m *QueryAllBitcannaidResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllBitcannaidResponse) MarshalToSizedBuffer

func (m *QueryAllBitcannaidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllBitcannaidResponse) ProtoMessage

func (*QueryAllBitcannaidResponse) ProtoMessage()

func (*QueryAllBitcannaidResponse) Reset

func (m *QueryAllBitcannaidResponse) Reset()

func (*QueryAllBitcannaidResponse) Size

func (m *QueryAllBitcannaidResponse) Size() (n int)

func (*QueryAllBitcannaidResponse) String

func (m *QueryAllBitcannaidResponse) String() string

func (*QueryAllBitcannaidResponse) Unmarshal

func (m *QueryAllBitcannaidResponse) Unmarshal(dAtA []byte) error

func (*QueryAllBitcannaidResponse) XXX_DiscardUnknown

func (m *QueryAllBitcannaidResponse) XXX_DiscardUnknown()

func (*QueryAllBitcannaidResponse) XXX_Marshal

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

func (*QueryAllBitcannaidResponse) XXX_Merge

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

func (*QueryAllBitcannaidResponse) XXX_Size

func (m *QueryAllBitcannaidResponse) XXX_Size() int

func (*QueryAllBitcannaidResponse) XXX_Unmarshal

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

type QueryAllSupplychainRequest

type QueryAllSupplychainRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSupplychainRequest) Descriptor

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

func (*QueryAllSupplychainRequest) GetPagination

func (m *QueryAllSupplychainRequest) GetPagination() *query.PageRequest

func (*QueryAllSupplychainRequest) Marshal

func (m *QueryAllSupplychainRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllSupplychainRequest) MarshalTo

func (m *QueryAllSupplychainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllSupplychainRequest) MarshalToSizedBuffer

func (m *QueryAllSupplychainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllSupplychainRequest) ProtoMessage

func (*QueryAllSupplychainRequest) ProtoMessage()

func (*QueryAllSupplychainRequest) Reset

func (m *QueryAllSupplychainRequest) Reset()

func (*QueryAllSupplychainRequest) Size

func (m *QueryAllSupplychainRequest) Size() (n int)

func (*QueryAllSupplychainRequest) String

func (m *QueryAllSupplychainRequest) String() string

func (*QueryAllSupplychainRequest) Unmarshal

func (m *QueryAllSupplychainRequest) Unmarshal(dAtA []byte) error

func (*QueryAllSupplychainRequest) XXX_DiscardUnknown

func (m *QueryAllSupplychainRequest) XXX_DiscardUnknown()

func (*QueryAllSupplychainRequest) XXX_Marshal

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

func (*QueryAllSupplychainRequest) XXX_Merge

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

func (*QueryAllSupplychainRequest) XXX_Size

func (m *QueryAllSupplychainRequest) XXX_Size() int

func (*QueryAllSupplychainRequest) XXX_Unmarshal

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

type QueryAllSupplychainResponse

type QueryAllSupplychainResponse struct {
	Supplychain []Supplychain       `protobuf:"bytes,1,rep,name=Supplychain,proto3" json:"Supplychain"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSupplychainResponse) Descriptor

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

func (*QueryAllSupplychainResponse) GetPagination

func (m *QueryAllSupplychainResponse) GetPagination() *query.PageResponse

func (*QueryAllSupplychainResponse) GetSupplychain

func (m *QueryAllSupplychainResponse) GetSupplychain() []Supplychain

func (*QueryAllSupplychainResponse) Marshal

func (m *QueryAllSupplychainResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllSupplychainResponse) MarshalTo

func (m *QueryAllSupplychainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllSupplychainResponse) MarshalToSizedBuffer

func (m *QueryAllSupplychainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllSupplychainResponse) ProtoMessage

func (*QueryAllSupplychainResponse) ProtoMessage()

func (*QueryAllSupplychainResponse) Reset

func (m *QueryAllSupplychainResponse) Reset()

func (*QueryAllSupplychainResponse) Size

func (m *QueryAllSupplychainResponse) Size() (n int)

func (*QueryAllSupplychainResponse) String

func (m *QueryAllSupplychainResponse) String() string

func (*QueryAllSupplychainResponse) Unmarshal

func (m *QueryAllSupplychainResponse) Unmarshal(dAtA []byte) error

func (*QueryAllSupplychainResponse) XXX_DiscardUnknown

func (m *QueryAllSupplychainResponse) XXX_DiscardUnknown()

func (*QueryAllSupplychainResponse) XXX_Marshal

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

func (*QueryAllSupplychainResponse) XXX_Merge

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

func (*QueryAllSupplychainResponse) XXX_Size

func (m *QueryAllSupplychainResponse) XXX_Size() int

func (*QueryAllSupplychainResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a Bitcannaid by id.
	Bitcannaid(ctx context.Context, in *QueryGetBitcannaidRequest, opts ...grpc.CallOption) (*QueryGetBitcannaidResponse, error)
	// Queries a list of Bitcannaid items.
	BitcannaidAll(ctx context.Context, in *QueryAllBitcannaidRequest, opts ...grpc.CallOption) (*QueryAllBitcannaidResponse, error)
	// Queries a Supplychain by id.
	Supplychain(ctx context.Context, in *QueryGetSupplychainRequest, opts ...grpc.CallOption) (*QueryGetSupplychainResponse, error)
	// Queries a list of Supplychain items.
	SupplychainAll(ctx context.Context, in *QueryAllSupplychainRequest, opts ...grpc.CallOption) (*QueryAllSupplychainResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetBitcannaidRequest

type QueryGetBitcannaidRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetBitcannaidRequest) Descriptor

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

func (*QueryGetBitcannaidRequest) GetId

func (m *QueryGetBitcannaidRequest) GetId() uint64

func (*QueryGetBitcannaidRequest) Marshal

func (m *QueryGetBitcannaidRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetBitcannaidRequest) MarshalTo

func (m *QueryGetBitcannaidRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetBitcannaidRequest) MarshalToSizedBuffer

func (m *QueryGetBitcannaidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetBitcannaidRequest) ProtoMessage

func (*QueryGetBitcannaidRequest) ProtoMessage()

func (*QueryGetBitcannaidRequest) Reset

func (m *QueryGetBitcannaidRequest) Reset()

func (*QueryGetBitcannaidRequest) Size

func (m *QueryGetBitcannaidRequest) Size() (n int)

func (*QueryGetBitcannaidRequest) String

func (m *QueryGetBitcannaidRequest) String() string

func (*QueryGetBitcannaidRequest) Unmarshal

func (m *QueryGetBitcannaidRequest) Unmarshal(dAtA []byte) error

func (*QueryGetBitcannaidRequest) XXX_DiscardUnknown

func (m *QueryGetBitcannaidRequest) XXX_DiscardUnknown()

func (*QueryGetBitcannaidRequest) XXX_Marshal

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

func (*QueryGetBitcannaidRequest) XXX_Merge

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

func (*QueryGetBitcannaidRequest) XXX_Size

func (m *QueryGetBitcannaidRequest) XXX_Size() int

func (*QueryGetBitcannaidRequest) XXX_Unmarshal

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

type QueryGetBitcannaidResponse

type QueryGetBitcannaidResponse struct {
	Bitcannaid Bitcannaid `protobuf:"bytes,1,opt,name=Bitcannaid,proto3" json:"Bitcannaid"`
}

func (*QueryGetBitcannaidResponse) Descriptor

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

func (*QueryGetBitcannaidResponse) GetBitcannaid

func (m *QueryGetBitcannaidResponse) GetBitcannaid() Bitcannaid

func (*QueryGetBitcannaidResponse) Marshal

func (m *QueryGetBitcannaidResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetBitcannaidResponse) MarshalTo

func (m *QueryGetBitcannaidResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetBitcannaidResponse) MarshalToSizedBuffer

func (m *QueryGetBitcannaidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetBitcannaidResponse) ProtoMessage

func (*QueryGetBitcannaidResponse) ProtoMessage()

func (*QueryGetBitcannaidResponse) Reset

func (m *QueryGetBitcannaidResponse) Reset()

func (*QueryGetBitcannaidResponse) Size

func (m *QueryGetBitcannaidResponse) Size() (n int)

func (*QueryGetBitcannaidResponse) String

func (m *QueryGetBitcannaidResponse) String() string

func (*QueryGetBitcannaidResponse) Unmarshal

func (m *QueryGetBitcannaidResponse) Unmarshal(dAtA []byte) error

func (*QueryGetBitcannaidResponse) XXX_DiscardUnknown

func (m *QueryGetBitcannaidResponse) XXX_DiscardUnknown()

func (*QueryGetBitcannaidResponse) XXX_Marshal

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

func (*QueryGetBitcannaidResponse) XXX_Merge

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

func (*QueryGetBitcannaidResponse) XXX_Size

func (m *QueryGetBitcannaidResponse) XXX_Size() int

func (*QueryGetBitcannaidResponse) XXX_Unmarshal

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

type QueryGetSupplychainRequest

type QueryGetSupplychainRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetSupplychainRequest) Descriptor

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

func (*QueryGetSupplychainRequest) GetId

func (*QueryGetSupplychainRequest) Marshal

func (m *QueryGetSupplychainRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetSupplychainRequest) MarshalTo

func (m *QueryGetSupplychainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetSupplychainRequest) MarshalToSizedBuffer

func (m *QueryGetSupplychainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetSupplychainRequest) ProtoMessage

func (*QueryGetSupplychainRequest) ProtoMessage()

func (*QueryGetSupplychainRequest) Reset

func (m *QueryGetSupplychainRequest) Reset()

func (*QueryGetSupplychainRequest) Size

func (m *QueryGetSupplychainRequest) Size() (n int)

func (*QueryGetSupplychainRequest) String

func (m *QueryGetSupplychainRequest) String() string

func (*QueryGetSupplychainRequest) Unmarshal

func (m *QueryGetSupplychainRequest) Unmarshal(dAtA []byte) error

func (*QueryGetSupplychainRequest) XXX_DiscardUnknown

func (m *QueryGetSupplychainRequest) XXX_DiscardUnknown()

func (*QueryGetSupplychainRequest) XXX_Marshal

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

func (*QueryGetSupplychainRequest) XXX_Merge

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

func (*QueryGetSupplychainRequest) XXX_Size

func (m *QueryGetSupplychainRequest) XXX_Size() int

func (*QueryGetSupplychainRequest) XXX_Unmarshal

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

type QueryGetSupplychainResponse

type QueryGetSupplychainResponse struct {
	Supplychain Supplychain `protobuf:"bytes,1,opt,name=Supplychain,proto3" json:"Supplychain"`
}

func (*QueryGetSupplychainResponse) Descriptor

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

func (*QueryGetSupplychainResponse) GetSupplychain

func (m *QueryGetSupplychainResponse) GetSupplychain() Supplychain

func (*QueryGetSupplychainResponse) Marshal

func (m *QueryGetSupplychainResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetSupplychainResponse) MarshalTo

func (m *QueryGetSupplychainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetSupplychainResponse) MarshalToSizedBuffer

func (m *QueryGetSupplychainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetSupplychainResponse) ProtoMessage

func (*QueryGetSupplychainResponse) ProtoMessage()

func (*QueryGetSupplychainResponse) Reset

func (m *QueryGetSupplychainResponse) Reset()

func (*QueryGetSupplychainResponse) Size

func (m *QueryGetSupplychainResponse) Size() (n int)

func (*QueryGetSupplychainResponse) String

func (m *QueryGetSupplychainResponse) String() string

func (*QueryGetSupplychainResponse) Unmarshal

func (m *QueryGetSupplychainResponse) Unmarshal(dAtA []byte) error

func (*QueryGetSupplychainResponse) XXX_DiscardUnknown

func (m *QueryGetSupplychainResponse) XXX_DiscardUnknown()

func (*QueryGetSupplychainResponse) XXX_Marshal

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

func (*QueryGetSupplychainResponse) XXX_Merge

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

func (*QueryGetSupplychainResponse) XXX_Size

func (m *QueryGetSupplychainResponse) XXX_Size() int

func (*QueryGetSupplychainResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a Bitcannaid by id.
	Bitcannaid(context.Context, *QueryGetBitcannaidRequest) (*QueryGetBitcannaidResponse, error)
	// Queries a list of Bitcannaid items.
	BitcannaidAll(context.Context, *QueryAllBitcannaidRequest) (*QueryAllBitcannaidResponse, error)
	// Queries a Supplychain by id.
	Supplychain(context.Context, *QueryGetSupplychainRequest) (*QueryGetSupplychainResponse, error)
	// Queries a list of Supplychain items.
	SupplychainAll(context.Context, *QueryAllSupplychainRequest) (*QueryAllSupplychainResponse, error)
}

QueryServer is the server API for Query service.

type Supplychain

type Supplychain struct {
	Id          uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Product     string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
	Info        string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	Supplyinfo  string `protobuf:"bytes,4,opt,name=supplyinfo,proto3" json:"supplyinfo,omitempty"`
	Supplyextra string `protobuf:"bytes,5,opt,name=supplyextra,proto3" json:"supplyextra,omitempty"`
	Creator     string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*Supplychain) Descriptor

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

func (*Supplychain) GetCreator

func (m *Supplychain) GetCreator() string

func (*Supplychain) GetId

func (m *Supplychain) GetId() uint64

func (*Supplychain) GetInfo

func (m *Supplychain) GetInfo() string

func (*Supplychain) GetProduct

func (m *Supplychain) GetProduct() string

func (*Supplychain) GetSupplyextra

func (m *Supplychain) GetSupplyextra() string

func (*Supplychain) GetSupplyinfo

func (m *Supplychain) GetSupplyinfo() string

func (*Supplychain) Marshal

func (m *Supplychain) Marshal() (dAtA []byte, err error)

func (*Supplychain) MarshalTo

func (m *Supplychain) MarshalTo(dAtA []byte) (int, error)

func (*Supplychain) MarshalToSizedBuffer

func (m *Supplychain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Supplychain) ProtoMessage

func (*Supplychain) ProtoMessage()

func (*Supplychain) Reset

func (m *Supplychain) Reset()

func (*Supplychain) Size

func (m *Supplychain) Size() (n int)

func (*Supplychain) String

func (m *Supplychain) String() string

func (*Supplychain) Unmarshal

func (m *Supplychain) Unmarshal(dAtA []byte) error

func (*Supplychain) XXX_DiscardUnknown

func (m *Supplychain) XXX_DiscardUnknown()

func (*Supplychain) XXX_Marshal

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

func (*Supplychain) XXX_Merge

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

func (*Supplychain) XXX_Size

func (m *Supplychain) XXX_Size() int

func (*Supplychain) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateBitcannaid

func (*UnimplementedMsgServer) CreateSupplychain

func (*UnimplementedMsgServer) DeleteBitcannaid

func (*UnimplementedMsgServer) DeleteSupplychain

func (*UnimplementedMsgServer) UpdateBitcannaid

func (*UnimplementedMsgServer) UpdateSupplychain

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Bitcannaid

func (*UnimplementedQueryServer) BitcannaidAll

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Supplychain

func (*UnimplementedQueryServer) SupplychainAll

Jump to

Keyboard shortcuts

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