types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeCompleteChurn = "complete_churn"
	AttributeValidators    = "churn"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "vault"

	// 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_vault"
)
View Source
const (
	DefaultBlockChurnInterval = 20
	DEFAULTPOWER              = 1000
	DEFAULTSTEP               = 10
	DEFAULTRATIO              = 80
)
View Source
const ChurnMinHeight = 30
View Source
const (
	CreatePoolKey = "CreatePool-value-"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	IssueTokenKey = "IssueToken-value-"
)
View Source
const (
	// OutboundTxKeyPrefix is the prefix to retrieve all OutboundTx
	OutboundTxKeyPrefix = "OutboundTx/value/"
)
View Source
const (
	TypeMsgCreateOutboundTx = "create_outbound_tx"
)
View Source
const (
	ValidatorsStoreKey = "ValidatorStore-value-"
)

Variables

View Source
var (
	ErrInvalidLengthCreatePool        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCreatePool          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCreatePool = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrFormat = sdkerrors.Register(ModuleName, 1, "format convert error")
	ErrUpdate = sdkerrors.Register(ModuleName, 2, "error in update the validtor")
)

x/vault module sentinel errors

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 (
	ErrInvalidLengthIssueToken        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIssueToken          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIssueToken = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOutboundTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOutboundTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOutboundTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyBlockChurnInterval = []byte("blockChurnInterval")
	KeyPower              = []byte("power")
	KeyStep               = []byte("step")
	KeyRatio              = []byte("candidateRatio")
)
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 (
	ErrInvalidLengthStaking        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStaking          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStaking = 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 Preserve = [1]string{"JOLT"}

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func OutboundTxKey

func OutboundTxKey(
	requestID string,
) []byte

OutboundTxKey returns the store key to retrieve a OutboundTx from the index fields

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

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 Address

type Address struct {
	Address []github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,rep,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"`
}

func (*Address) Descriptor

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

func (*Address) GetAddress

func (*Address) Marshal

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

func (*Address) MarshalTo

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

func (*Address) MarshalToSizedBuffer

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

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) Size

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

func (*Address) String

func (m *Address) String() string

func (*Address) Unmarshal

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

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

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

func (*Address) XXX_Merge

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

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SendKeeper
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error

	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper Methods imported from bank should be defined here

type CreatePool

type CreatePool struct {
	BlockHeight string                                                   `protobuf:"bytes,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	Validators  []github_com_cosmos_cosmos_sdk_x_staking_types.Validator `` /* 129-byte string literal not displayed */
	Proposal    []*PoolProposal                                          `protobuf:"bytes,3,rep,name=proposal,proto3" json:"proposal,omitempty"`
}

func (*CreatePool) Descriptor

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

func (*CreatePool) GetBlockHeight

func (m *CreatePool) GetBlockHeight() string

func (*CreatePool) GetProposal

func (m *CreatePool) GetProposal() []*PoolProposal

func (*CreatePool) Marshal

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

func (*CreatePool) MarshalTo

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

func (*CreatePool) MarshalToSizedBuffer

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

func (*CreatePool) ProtoMessage

func (*CreatePool) ProtoMessage()

func (*CreatePool) Reset

func (m *CreatePool) Reset()

func (*CreatePool) Size

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

func (*CreatePool) String

func (m *CreatePool) String() string

func (*CreatePool) Unmarshal

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

func (*CreatePool) XXX_DiscardUnknown

func (m *CreatePool) XXX_DiscardUnknown()

func (*CreatePool) XXX_Marshal

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

func (*CreatePool) XXX_Merge

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

func (*CreatePool) XXX_Size

func (m *CreatePool) XXX_Size() int

func (*CreatePool) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines all the paramaters of related to deposit.
	Params         Params       `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	OutboundTxList []OutboundTx `protobuf:"bytes,5,rep,name=outboundTxList,proto3" json:"outboundTxList"`
	// this line is used by starport scaffolding # genesis/proto/state
	IssueTokenList []*IssueToken `protobuf:"bytes,2,rep,name=issueTokenList,proto3" json:"issueTokenList,omitempty"`
	CreatePoolList []*CreatePool `protobuf:"bytes,3,rep,name=createPoolList,proto3" json:"createPoolList,omitempty"`
	// this line is used by starport scaffolding # ibc/genesis/proto
	ValidatorinfoList []*Validators `protobuf:"bytes,6,rep,name=validatorinfoList,proto3" json:"validatorinfoList,omitempty"`
	Exported          bool          `protobuf:"varint,4,opt,name=exported,proto3" json:"exported,omitempty"`
}

GenesisState defines the vault 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) GetCreatePoolList

func (m *GenesisState) GetCreatePoolList() []*CreatePool

func (*GenesisState) GetExported

func (m *GenesisState) GetExported() bool

func (*GenesisState) GetIssueTokenList

func (m *GenesisState) GetIssueTokenList() []*IssueToken

func (*GenesisState) GetOutboundTxList

func (m *GenesisState) GetOutboundTxList() []OutboundTx

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetValidatorinfoList

func (m *GenesisState) GetValidatorinfoList() []*Validators

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 IssueToken

type IssueToken struct {
	Creator  github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	Index    string                                        `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Coin     *github_com_cosmos_cosmos_sdk_types.Coin      `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin,omitempty"`
	Receiver github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=receiver,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"receiver,omitempty"`
}

func (*IssueToken) Descriptor

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

func (*IssueToken) GetCreator

func (*IssueToken) GetIndex

func (m *IssueToken) GetIndex() string

func (*IssueToken) GetReceiver

func (*IssueToken) Marshal

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

func (*IssueToken) MarshalTo

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

func (*IssueToken) MarshalToSizedBuffer

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

func (*IssueToken) ProtoMessage

func (*IssueToken) ProtoMessage()

func (*IssueToken) Reset

func (m *IssueToken) Reset()

func (*IssueToken) Size

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

func (*IssueToken) String

func (m *IssueToken) String() string

func (*IssueToken) Unmarshal

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

func (*IssueToken) XXX_DiscardUnknown

func (m *IssueToken) XXX_DiscardUnknown()

func (*IssueToken) XXX_Marshal

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

func (*IssueToken) XXX_Merge

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

func (*IssueToken) XXX_Size

func (m *IssueToken) XXX_Size() int

func (*IssueToken) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	CreateOutboundTx(ctx context.Context, in *MsgCreateOutboundTx, opts ...grpc.CallOption) (*MsgCreateOutboundTxResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateIssueToken(ctx context.Context, in *MsgCreateIssueToken, opts ...grpc.CallOption) (*MsgCreateIssueTokenResponse, error)
	CreateCreatePool(ctx context.Context, in *MsgCreateCreatePool, opts ...grpc.CallOption) (*MsgCreateCreatePoolResponse, error)
}

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 MsgCreateCreatePool

type MsgCreateCreatePool struct {
	Creator     github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	PoolPubKey  string                                        `protobuf:"bytes,2,opt,name=poolPubKey,proto3" json:"poolPubKey,omitempty"`
	BlockHeight string                                        `protobuf:"bytes,3,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
}

func NewMsgCreateCreatePool

func NewMsgCreateCreatePool(creator sdk.AccAddress, poolPubKey string, blockHeight string) *MsgCreateCreatePool

func (*MsgCreateCreatePool) Descriptor

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

func (*MsgCreateCreatePool) GetBlockHeight

func (m *MsgCreateCreatePool) GetBlockHeight() string

func (*MsgCreateCreatePool) GetCreator

func (*MsgCreateCreatePool) GetPoolPubKey

func (m *MsgCreateCreatePool) GetPoolPubKey() string

func (*MsgCreateCreatePool) GetSignBytes

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

func (*MsgCreateCreatePool) GetSigners

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

func (*MsgCreateCreatePool) Marshal

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

func (*MsgCreateCreatePool) MarshalTo

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

func (*MsgCreateCreatePool) MarshalToSizedBuffer

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

func (*MsgCreateCreatePool) ProtoMessage

func (*MsgCreateCreatePool) ProtoMessage()

func (*MsgCreateCreatePool) Reset

func (m *MsgCreateCreatePool) Reset()

func (*MsgCreateCreatePool) Route

func (msg *MsgCreateCreatePool) Route() string

func (*MsgCreateCreatePool) Size

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

func (*MsgCreateCreatePool) String

func (m *MsgCreateCreatePool) String() string

func (*MsgCreateCreatePool) Type

func (msg *MsgCreateCreatePool) Type() string

func (*MsgCreateCreatePool) Unmarshal

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

func (*MsgCreateCreatePool) ValidateBasic

func (msg *MsgCreateCreatePool) ValidateBasic() error

func (*MsgCreateCreatePool) XXX_DiscardUnknown

func (m *MsgCreateCreatePool) XXX_DiscardUnknown()

func (*MsgCreateCreatePool) XXX_Marshal

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

func (*MsgCreateCreatePool) XXX_Merge

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

func (*MsgCreateCreatePool) XXX_Size

func (m *MsgCreateCreatePool) XXX_Size() int

func (*MsgCreateCreatePool) XXX_Unmarshal

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

type MsgCreateCreatePoolResponse

type MsgCreateCreatePoolResponse struct {
	Successful bool `protobuf:"varint,1,opt,name=successful,proto3" json:"successful,omitempty"`
}

func (*MsgCreateCreatePoolResponse) Descriptor

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

func (*MsgCreateCreatePoolResponse) GetSuccessful

func (m *MsgCreateCreatePoolResponse) GetSuccessful() bool

func (*MsgCreateCreatePoolResponse) Marshal

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

func (*MsgCreateCreatePoolResponse) MarshalTo

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

func (*MsgCreateCreatePoolResponse) MarshalToSizedBuffer

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

func (*MsgCreateCreatePoolResponse) ProtoMessage

func (*MsgCreateCreatePoolResponse) ProtoMessage()

func (*MsgCreateCreatePoolResponse) Reset

func (m *MsgCreateCreatePoolResponse) Reset()

func (*MsgCreateCreatePoolResponse) Size

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

func (*MsgCreateCreatePoolResponse) String

func (m *MsgCreateCreatePoolResponse) String() string

func (*MsgCreateCreatePoolResponse) Unmarshal

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

func (*MsgCreateCreatePoolResponse) XXX_DiscardUnknown

func (m *MsgCreateCreatePoolResponse) XXX_DiscardUnknown()

func (*MsgCreateCreatePoolResponse) XXX_Marshal

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

func (*MsgCreateCreatePoolResponse) XXX_Merge

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

func (*MsgCreateCreatePoolResponse) XXX_Size

func (m *MsgCreateCreatePoolResponse) XXX_Size() int

func (*MsgCreateCreatePoolResponse) XXX_Unmarshal

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

type MsgCreateIssueToken

type MsgCreateIssueToken struct {
	Creator  github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	Index    string                                        `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
	Coin     github_com_cosmos_cosmos_sdk_types.Coin       `protobuf:"bytes,3,opt,name=coin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
	Receiver github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=receiver,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"receiver,omitempty"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgCreateIssueToken

func NewMsgCreateIssueToken(creator string, index string, coinStr string, receiver string) (*MsgCreateIssueToken, error)

func (*MsgCreateIssueToken) Descriptor

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

func (*MsgCreateIssueToken) GetCreator

func (*MsgCreateIssueToken) GetIndex

func (m *MsgCreateIssueToken) GetIndex() string

func (*MsgCreateIssueToken) GetReceiver

func (*MsgCreateIssueToken) GetSignBytes

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

func (*MsgCreateIssueToken) GetSigners

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

func (*MsgCreateIssueToken) Marshal

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

func (*MsgCreateIssueToken) MarshalTo

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

func (*MsgCreateIssueToken) MarshalToSizedBuffer

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

func (*MsgCreateIssueToken) ProtoMessage

func (*MsgCreateIssueToken) ProtoMessage()

func (*MsgCreateIssueToken) Reset

func (m *MsgCreateIssueToken) Reset()

func (*MsgCreateIssueToken) Route

func (msg *MsgCreateIssueToken) Route() string

func (*MsgCreateIssueToken) Size

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

func (*MsgCreateIssueToken) String

func (m *MsgCreateIssueToken) String() string

func (*MsgCreateIssueToken) Type

func (msg *MsgCreateIssueToken) Type() string

func (*MsgCreateIssueToken) Unmarshal

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

func (*MsgCreateIssueToken) ValidateBasic

func (msg *MsgCreateIssueToken) ValidateBasic() error

func (*MsgCreateIssueToken) XXX_DiscardUnknown

func (m *MsgCreateIssueToken) XXX_DiscardUnknown()

func (*MsgCreateIssueToken) XXX_Marshal

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

func (*MsgCreateIssueToken) XXX_Merge

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

func (*MsgCreateIssueToken) XXX_Size

func (m *MsgCreateIssueToken) XXX_Size() int

func (*MsgCreateIssueToken) XXX_Unmarshal

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

type MsgCreateIssueTokenResponse

type MsgCreateIssueTokenResponse struct {
	Successful bool `protobuf:"varint,1,opt,name=successful,proto3" json:"successful,omitempty"`
}

func (*MsgCreateIssueTokenResponse) Descriptor

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

func (*MsgCreateIssueTokenResponse) GetSuccessful

func (m *MsgCreateIssueTokenResponse) GetSuccessful() bool

func (*MsgCreateIssueTokenResponse) Marshal

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

func (*MsgCreateIssueTokenResponse) MarshalTo

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

func (*MsgCreateIssueTokenResponse) MarshalToSizedBuffer

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

func (*MsgCreateIssueTokenResponse) ProtoMessage

func (*MsgCreateIssueTokenResponse) ProtoMessage()

func (*MsgCreateIssueTokenResponse) Reset

func (m *MsgCreateIssueTokenResponse) Reset()

func (*MsgCreateIssueTokenResponse) Size

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

func (*MsgCreateIssueTokenResponse) String

func (m *MsgCreateIssueTokenResponse) String() string

func (*MsgCreateIssueTokenResponse) Unmarshal

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

func (*MsgCreateIssueTokenResponse) XXX_DiscardUnknown

func (m *MsgCreateIssueTokenResponse) XXX_DiscardUnknown()

func (*MsgCreateIssueTokenResponse) XXX_Marshal

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

func (*MsgCreateIssueTokenResponse) XXX_Merge

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

func (*MsgCreateIssueTokenResponse) XXX_Size

func (m *MsgCreateIssueTokenResponse) XXX_Size() int

func (*MsgCreateIssueTokenResponse) XXX_Unmarshal

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

type MsgCreateOutboundTx

type MsgCreateOutboundTx struct {
	Creator     github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	RequestID   string                                        `protobuf:"bytes,2,opt,name=requestID,proto3" json:"requestID,omitempty"`
	OutboundTx  string                                        `protobuf:"bytes,3,opt,name=outboundTx,proto3" json:"outboundTx,omitempty"`
	BlockHeight string                                        `protobuf:"bytes,4,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
}

func NewMsgCreateOutboundTx

func NewMsgCreateOutboundTx(
	creator sdk.AccAddress,
	requestID string,
	outboundTx string,
	blockHeight string,
) *MsgCreateOutboundTx

func (*MsgCreateOutboundTx) Descriptor

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

func (*MsgCreateOutboundTx) GetBlockHeight

func (m *MsgCreateOutboundTx) GetBlockHeight() string

func (*MsgCreateOutboundTx) GetCreator

func (*MsgCreateOutboundTx) GetOutboundTx

func (m *MsgCreateOutboundTx) GetOutboundTx() string

func (*MsgCreateOutboundTx) GetRequestID

func (m *MsgCreateOutboundTx) GetRequestID() string

func (*MsgCreateOutboundTx) GetSignBytes

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

func (*MsgCreateOutboundTx) GetSigners

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

func (*MsgCreateOutboundTx) Marshal

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

func (*MsgCreateOutboundTx) MarshalTo

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

func (*MsgCreateOutboundTx) MarshalToSizedBuffer

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

func (*MsgCreateOutboundTx) ProtoMessage

func (*MsgCreateOutboundTx) ProtoMessage()

func (*MsgCreateOutboundTx) Reset

func (m *MsgCreateOutboundTx) Reset()

func (*MsgCreateOutboundTx) Route

func (msg *MsgCreateOutboundTx) Route() string

func (*MsgCreateOutboundTx) Size

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

func (*MsgCreateOutboundTx) String

func (m *MsgCreateOutboundTx) String() string

func (*MsgCreateOutboundTx) Type

func (msg *MsgCreateOutboundTx) Type() string

func (*MsgCreateOutboundTx) Unmarshal

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

func (*MsgCreateOutboundTx) ValidateBasic

func (msg *MsgCreateOutboundTx) ValidateBasic() error

func (*MsgCreateOutboundTx) XXX_DiscardUnknown

func (m *MsgCreateOutboundTx) XXX_DiscardUnknown()

func (*MsgCreateOutboundTx) XXX_Marshal

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

func (*MsgCreateOutboundTx) XXX_Merge

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

func (*MsgCreateOutboundTx) XXX_Size

func (m *MsgCreateOutboundTx) XXX_Size() int

func (*MsgCreateOutboundTx) XXX_Unmarshal

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

type MsgCreateOutboundTxResponse

type MsgCreateOutboundTxResponse struct {
	Successful bool `protobuf:"varint,1,opt,name=successful,proto3" json:"successful,omitempty"`
}

func (*MsgCreateOutboundTxResponse) Descriptor

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

func (*MsgCreateOutboundTxResponse) GetSuccessful

func (m *MsgCreateOutboundTxResponse) GetSuccessful() bool

func (*MsgCreateOutboundTxResponse) Marshal

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

func (*MsgCreateOutboundTxResponse) MarshalTo

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

func (*MsgCreateOutboundTxResponse) MarshalToSizedBuffer

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

func (*MsgCreateOutboundTxResponse) ProtoMessage

func (*MsgCreateOutboundTxResponse) ProtoMessage()

func (*MsgCreateOutboundTxResponse) Reset

func (m *MsgCreateOutboundTxResponse) Reset()

func (*MsgCreateOutboundTxResponse) Size

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

func (*MsgCreateOutboundTxResponse) String

func (m *MsgCreateOutboundTxResponse) String() string

func (*MsgCreateOutboundTxResponse) Unmarshal

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

func (*MsgCreateOutboundTxResponse) XXX_DiscardUnknown

func (m *MsgCreateOutboundTxResponse) XXX_DiscardUnknown()

func (*MsgCreateOutboundTxResponse) XXX_Marshal

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

func (*MsgCreateOutboundTxResponse) XXX_Merge

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

func (*MsgCreateOutboundTxResponse) XXX_Size

func (m *MsgCreateOutboundTxResponse) XXX_Size() int

func (*MsgCreateOutboundTxResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	CreateOutboundTx(context.Context, *MsgCreateOutboundTx) (*MsgCreateOutboundTxResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateIssueToken(context.Context, *MsgCreateIssueToken) (*MsgCreateIssueTokenResponse, error)
	CreateCreatePool(context.Context, *MsgCreateCreatePool) (*MsgCreateCreatePoolResponse, error)
}

MsgServer is the server API for Msg service.

type OutboundTx

type OutboundTx struct {
	Index string             `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Items map[string]Address `` /* 141-byte string literal not displayed */
}

func (*OutboundTx) Descriptor

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

func (*OutboundTx) GetIndex

func (m *OutboundTx) GetIndex() string

func (*OutboundTx) GetItems

func (m *OutboundTx) GetItems() map[string]Address

func (*OutboundTx) Marshal

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

func (*OutboundTx) MarshalTo

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

func (*OutboundTx) MarshalToSizedBuffer

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

func (*OutboundTx) ProtoMessage

func (*OutboundTx) ProtoMessage()

func (*OutboundTx) Reset

func (m *OutboundTx) Reset()

func (*OutboundTx) Size

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

func (*OutboundTx) String

func (m *OutboundTx) String() string

func (*OutboundTx) Unmarshal

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

func (*OutboundTx) XXX_DiscardUnknown

func (m *OutboundTx) XXX_DiscardUnknown()

func (*OutboundTx) XXX_Marshal

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

func (*OutboundTx) XXX_Merge

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

func (*OutboundTx) XXX_Size

func (m *OutboundTx) XXX_Size() int

func (*OutboundTx) XXX_Unmarshal

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

type Params

type Params struct {
	BlockChurnInterval int64                                  `` /* 146-byte string literal not displayed */
	Power              int64                                  `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty" yaml:"power"`
	Step               int64                                  `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty" yaml:"step"`
	CandidateRatio     github_com_cosmos_cosmos_sdk_types.Dec `` /* 166-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams(blockChurnInterval, power, step int64, ratio sdk.Dec) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetBlockChurnInterval

func (m *Params) GetBlockChurnInterval() int64

func (*Params) GetPower

func (m *Params) GetPower() int64

func (*Params) GetStep

func (m *Params) GetStep() int64

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

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 returns a human readable string representation of the parameters.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

validate a 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 PoolInfo

type PoolInfo struct {
	BlockHeight string        `protobuf:"bytes,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"`
	CreatePool  *PoolProposal `protobuf:"bytes,2,opt,name=CreatePool,proto3" json:"CreatePool,omitempty"`
}

func (*PoolInfo) Descriptor

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

func (*PoolInfo) GetBlockHeight

func (m *PoolInfo) GetBlockHeight() string

func (*PoolInfo) GetCreatePool

func (m *PoolInfo) GetCreatePool() *PoolProposal

func (*PoolInfo) Marshal

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

func (*PoolInfo) MarshalTo

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

func (*PoolInfo) MarshalToSizedBuffer

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

func (*PoolInfo) ProtoMessage

func (*PoolInfo) ProtoMessage()

func (*PoolInfo) Reset

func (m *PoolInfo) Reset()

func (*PoolInfo) Size

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

func (*PoolInfo) String

func (m *PoolInfo) String() string

func (*PoolInfo) Unmarshal

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

func (*PoolInfo) XXX_DiscardUnknown

func (m *PoolInfo) XXX_DiscardUnknown()

func (*PoolInfo) XXX_Marshal

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

func (*PoolInfo) XXX_Merge

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

func (*PoolInfo) XXX_Size

func (m *PoolInfo) XXX_Size() int

func (*PoolInfo) XXX_Unmarshal

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

type PoolProposal

type PoolProposal struct {
	PoolPubKey string                                          `protobuf:"bytes,1,opt,name=poolPubKey,proto3" json:"poolPubKey,omitempty"`
	PoolAddr   github_com_cosmos_cosmos_sdk_types.AccAddress   `protobuf:"bytes,2,opt,name=poolAddr,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"poolAddr,omitempty"`
	Nodes      []github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,rep,name=nodes,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"nodes,omitempty"`
}

func (*PoolProposal) Descriptor

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

func (*PoolProposal) GetNodes

func (*PoolProposal) GetPoolAddr

func (*PoolProposal) GetPoolPubKey

func (m *PoolProposal) GetPoolPubKey() string

func (*PoolProposal) Marshal

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

func (*PoolProposal) MarshalTo

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

func (*PoolProposal) MarshalToSizedBuffer

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

func (*PoolProposal) ProtoMessage

func (*PoolProposal) ProtoMessage()

func (*PoolProposal) Reset

func (m *PoolProposal) Reset()

func (*PoolProposal) Size

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

func (*PoolProposal) String

func (m *PoolProposal) String() string

func (*PoolProposal) Unmarshal

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

func (*PoolProposal) XXX_DiscardUnknown

func (m *PoolProposal) XXX_DiscardUnknown()

func (*PoolProposal) XXX_Marshal

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

func (*PoolProposal) XXX_Merge

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

func (*PoolProposal) XXX_Size

func (m *PoolProposal) XXX_Size() int

func (*PoolProposal) XXX_Unmarshal

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

type QueryAllCreatePoolRequest

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

func (*QueryAllCreatePoolRequest) Descriptor

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

func (*QueryAllCreatePoolRequest) GetPagination

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

func (*QueryAllCreatePoolRequest) Marshal

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

func (*QueryAllCreatePoolRequest) MarshalTo

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

func (*QueryAllCreatePoolRequest) MarshalToSizedBuffer

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

func (*QueryAllCreatePoolRequest) ProtoMessage

func (*QueryAllCreatePoolRequest) ProtoMessage()

func (*QueryAllCreatePoolRequest) Reset

func (m *QueryAllCreatePoolRequest) Reset()

func (*QueryAllCreatePoolRequest) Size

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

func (*QueryAllCreatePoolRequest) String

func (m *QueryAllCreatePoolRequest) String() string

func (*QueryAllCreatePoolRequest) Unmarshal

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

func (*QueryAllCreatePoolRequest) XXX_DiscardUnknown

func (m *QueryAllCreatePoolRequest) XXX_DiscardUnknown()

func (*QueryAllCreatePoolRequest) XXX_Marshal

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

func (*QueryAllCreatePoolRequest) XXX_Merge

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

func (*QueryAllCreatePoolRequest) XXX_Size

func (m *QueryAllCreatePoolRequest) XXX_Size() int

func (*QueryAllCreatePoolRequest) XXX_Unmarshal

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

type QueryAllCreatePoolResponse

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

func (*QueryAllCreatePoolResponse) Descriptor

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

func (*QueryAllCreatePoolResponse) GetCreatePool

func (m *QueryAllCreatePoolResponse) GetCreatePool() []*PoolProposal

func (*QueryAllCreatePoolResponse) GetPagination

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

func (*QueryAllCreatePoolResponse) Marshal

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

func (*QueryAllCreatePoolResponse) MarshalTo

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

func (*QueryAllCreatePoolResponse) MarshalToSizedBuffer

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

func (*QueryAllCreatePoolResponse) ProtoMessage

func (*QueryAllCreatePoolResponse) ProtoMessage()

func (*QueryAllCreatePoolResponse) Reset

func (m *QueryAllCreatePoolResponse) Reset()

func (*QueryAllCreatePoolResponse) Size

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

func (*QueryAllCreatePoolResponse) String

func (m *QueryAllCreatePoolResponse) String() string

func (*QueryAllCreatePoolResponse) Unmarshal

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

func (*QueryAllCreatePoolResponse) XXX_DiscardUnknown

func (m *QueryAllCreatePoolResponse) XXX_DiscardUnknown()

func (*QueryAllCreatePoolResponse) XXX_Marshal

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

func (*QueryAllCreatePoolResponse) XXX_Merge

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

func (*QueryAllCreatePoolResponse) XXX_Size

func (m *QueryAllCreatePoolResponse) XXX_Size() int

func (*QueryAllCreatePoolResponse) XXX_Unmarshal

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

type QueryAllIssueTokenRequest

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

func (*QueryAllIssueTokenRequest) Descriptor

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

func (*QueryAllIssueTokenRequest) GetPagination

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

func (*QueryAllIssueTokenRequest) Marshal

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

func (*QueryAllIssueTokenRequest) MarshalTo

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

func (*QueryAllIssueTokenRequest) MarshalToSizedBuffer

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

func (*QueryAllIssueTokenRequest) ProtoMessage

func (*QueryAllIssueTokenRequest) ProtoMessage()

func (*QueryAllIssueTokenRequest) Reset

func (m *QueryAllIssueTokenRequest) Reset()

func (*QueryAllIssueTokenRequest) Size

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

func (*QueryAllIssueTokenRequest) String

func (m *QueryAllIssueTokenRequest) String() string

func (*QueryAllIssueTokenRequest) Unmarshal

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

func (*QueryAllIssueTokenRequest) XXX_DiscardUnknown

func (m *QueryAllIssueTokenRequest) XXX_DiscardUnknown()

func (*QueryAllIssueTokenRequest) XXX_Marshal

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

func (*QueryAllIssueTokenRequest) XXX_Merge

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

func (*QueryAllIssueTokenRequest) XXX_Size

func (m *QueryAllIssueTokenRequest) XXX_Size() int

func (*QueryAllIssueTokenRequest) XXX_Unmarshal

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

type QueryAllIssueTokenResponse

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

func (*QueryAllIssueTokenResponse) Descriptor

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

func (*QueryAllIssueTokenResponse) GetIssueToken

func (m *QueryAllIssueTokenResponse) GetIssueToken() []*IssueToken

func (*QueryAllIssueTokenResponse) GetPagination

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

func (*QueryAllIssueTokenResponse) Marshal

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

func (*QueryAllIssueTokenResponse) MarshalTo

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

func (*QueryAllIssueTokenResponse) MarshalToSizedBuffer

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

func (*QueryAllIssueTokenResponse) ProtoMessage

func (*QueryAllIssueTokenResponse) ProtoMessage()

func (*QueryAllIssueTokenResponse) Reset

func (m *QueryAllIssueTokenResponse) Reset()

func (*QueryAllIssueTokenResponse) Size

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

func (*QueryAllIssueTokenResponse) String

func (m *QueryAllIssueTokenResponse) String() string

func (*QueryAllIssueTokenResponse) Unmarshal

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

func (*QueryAllIssueTokenResponse) XXX_DiscardUnknown

func (m *QueryAllIssueTokenResponse) XXX_DiscardUnknown()

func (*QueryAllIssueTokenResponse) XXX_Marshal

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

func (*QueryAllIssueTokenResponse) XXX_Merge

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

func (*QueryAllIssueTokenResponse) XXX_Size

func (m *QueryAllIssueTokenResponse) XXX_Size() int

func (*QueryAllIssueTokenResponse) XXX_Unmarshal

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

type QueryAllOutboundTxRequest

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

func (*QueryAllOutboundTxRequest) Descriptor

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

func (*QueryAllOutboundTxRequest) GetPagination

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

func (*QueryAllOutboundTxRequest) Marshal

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

func (*QueryAllOutboundTxRequest) MarshalTo

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

func (*QueryAllOutboundTxRequest) MarshalToSizedBuffer

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

func (*QueryAllOutboundTxRequest) ProtoMessage

func (*QueryAllOutboundTxRequest) ProtoMessage()

func (*QueryAllOutboundTxRequest) Reset

func (m *QueryAllOutboundTxRequest) Reset()

func (*QueryAllOutboundTxRequest) Size

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

func (*QueryAllOutboundTxRequest) String

func (m *QueryAllOutboundTxRequest) String() string

func (*QueryAllOutboundTxRequest) Unmarshal

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

func (*QueryAllOutboundTxRequest) XXX_DiscardUnknown

func (m *QueryAllOutboundTxRequest) XXX_DiscardUnknown()

func (*QueryAllOutboundTxRequest) XXX_Marshal

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

func (*QueryAllOutboundTxRequest) XXX_Merge

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

func (*QueryAllOutboundTxRequest) XXX_Size

func (m *QueryAllOutboundTxRequest) XXX_Size() int

func (*QueryAllOutboundTxRequest) XXX_Unmarshal

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

type QueryAllOutboundTxResponse

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

func (*QueryAllOutboundTxResponse) Descriptor

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

func (*QueryAllOutboundTxResponse) GetOutboundTx

func (m *QueryAllOutboundTxResponse) GetOutboundTx() []OutboundTx

func (*QueryAllOutboundTxResponse) GetPagination

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

func (*QueryAllOutboundTxResponse) Marshal

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

func (*QueryAllOutboundTxResponse) MarshalTo

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

func (*QueryAllOutboundTxResponse) MarshalToSizedBuffer

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

func (*QueryAllOutboundTxResponse) ProtoMessage

func (*QueryAllOutboundTxResponse) ProtoMessage()

func (*QueryAllOutboundTxResponse) Reset

func (m *QueryAllOutboundTxResponse) Reset()

func (*QueryAllOutboundTxResponse) Size

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

func (*QueryAllOutboundTxResponse) String

func (m *QueryAllOutboundTxResponse) String() string

func (*QueryAllOutboundTxResponse) Unmarshal

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

func (*QueryAllOutboundTxResponse) XXX_DiscardUnknown

func (m *QueryAllOutboundTxResponse) XXX_DiscardUnknown()

func (*QueryAllOutboundTxResponse) XXX_Marshal

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

func (*QueryAllOutboundTxResponse) XXX_Merge

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

func (*QueryAllOutboundTxResponse) XXX_Size

func (m *QueryAllOutboundTxResponse) XXX_Size() int

func (*QueryAllOutboundTxResponse) XXX_Unmarshal

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

type QueryAllValidatorsRequest

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

func (*QueryAllValidatorsRequest) Descriptor

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

func (*QueryAllValidatorsRequest) GetPagination

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

func (*QueryAllValidatorsRequest) Marshal

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

func (*QueryAllValidatorsRequest) MarshalTo

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

func (*QueryAllValidatorsRequest) MarshalToSizedBuffer

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

func (*QueryAllValidatorsRequest) ProtoMessage

func (*QueryAllValidatorsRequest) ProtoMessage()

func (*QueryAllValidatorsRequest) Reset

func (m *QueryAllValidatorsRequest) Reset()

func (*QueryAllValidatorsRequest) Size

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

func (*QueryAllValidatorsRequest) String

func (m *QueryAllValidatorsRequest) String() string

func (*QueryAllValidatorsRequest) Unmarshal

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

func (*QueryAllValidatorsRequest) XXX_DiscardUnknown

func (m *QueryAllValidatorsRequest) XXX_DiscardUnknown()

func (*QueryAllValidatorsRequest) XXX_Marshal

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

func (*QueryAllValidatorsRequest) XXX_Merge

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

func (*QueryAllValidatorsRequest) XXX_Size

func (m *QueryAllValidatorsRequest) XXX_Size() int

func (*QueryAllValidatorsRequest) XXX_Unmarshal

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

type QueryAllValidatorsResponse

type QueryAllValidatorsResponse struct {
	AllValidators []*Validators       `protobuf:"bytes,1,rep,name=all_validators,json=allValidators,proto3" json:"all_validators,omitempty"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllValidatorsResponse) Descriptor

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

func (*QueryAllValidatorsResponse) GetAllValidators

func (m *QueryAllValidatorsResponse) GetAllValidators() []*Validators

func (*QueryAllValidatorsResponse) GetPagination

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

func (*QueryAllValidatorsResponse) Marshal

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

func (*QueryAllValidatorsResponse) MarshalTo

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

func (*QueryAllValidatorsResponse) MarshalToSizedBuffer

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

func (*QueryAllValidatorsResponse) ProtoMessage

func (*QueryAllValidatorsResponse) ProtoMessage()

func (*QueryAllValidatorsResponse) Reset

func (m *QueryAllValidatorsResponse) Reset()

func (*QueryAllValidatorsResponse) Size

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

func (*QueryAllValidatorsResponse) String

func (m *QueryAllValidatorsResponse) String() string

func (*QueryAllValidatorsResponse) Unmarshal

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

func (*QueryAllValidatorsResponse) XXX_DiscardUnknown

func (m *QueryAllValidatorsResponse) XXX_DiscardUnknown()

func (*QueryAllValidatorsResponse) XXX_Marshal

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

func (*QueryAllValidatorsResponse) XXX_Merge

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

func (*QueryAllValidatorsResponse) XXX_Size

func (m *QueryAllValidatorsResponse) XXX_Size() int

func (*QueryAllValidatorsResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Queries a OutboundTx by index.
	OutboundTx(ctx context.Context, in *QueryGetOutboundTxRequest, opts ...grpc.CallOption) (*QueryGetOutboundTxResponse, error)
	// Queries a list of OutboundTx items.
	OutboundTxAll(ctx context.Context, in *QueryAllOutboundTxRequest, opts ...grpc.CallOption) (*QueryAllOutboundTxResponse, error)
	// Queries a list of GetValidators items.
	GetValidators(ctx context.Context, in *QueryGetValidatorsRequest, opts ...grpc.CallOption) (*QueryGetValidatorsResponse, error)
	// Queries a list of GetValidators items.
	GetAllValidators(ctx context.Context, in *QueryAllValidatorsRequest, opts ...grpc.CallOption) (*QueryAllValidatorsResponse, error)
	// Queries a issueToken by index.
	IssueToken(ctx context.Context, in *QueryGetIssueTokenRequest, opts ...grpc.CallOption) (*QueryGetIssueTokenResponse, error)
	// Queries a list of issueToken items.
	IssueTokenAll(ctx context.Context, in *QueryAllIssueTokenRequest, opts ...grpc.CallOption) (*QueryAllIssueTokenResponse, error)
	// Queries a createPool by index.
	CreatePool(ctx context.Context, in *QueryGetCreatePoolRequest, opts ...grpc.CallOption) (*QueryGetCreatePoolResponse, error)
	// Queries a list of createPool items.
	CreatePoolAll(ctx context.Context, in *QueryAllCreatePoolRequest, opts ...grpc.CallOption) (*QueryAllCreatePoolResponse, error)
	// Queries a createPool by index.
	GetLastPool(ctx context.Context, in *QueryLatestPoolRequest, opts ...grpc.CallOption) (*QueryLastPoolResponse, 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 QueryGetCreatePoolRequest

type QueryGetCreatePoolRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetCreatePoolRequest) Descriptor

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

func (*QueryGetCreatePoolRequest) GetIndex

func (m *QueryGetCreatePoolRequest) GetIndex() string

func (*QueryGetCreatePoolRequest) Marshal

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

func (*QueryGetCreatePoolRequest) MarshalTo

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

func (*QueryGetCreatePoolRequest) MarshalToSizedBuffer

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

func (*QueryGetCreatePoolRequest) ProtoMessage

func (*QueryGetCreatePoolRequest) ProtoMessage()

func (*QueryGetCreatePoolRequest) Reset

func (m *QueryGetCreatePoolRequest) Reset()

func (*QueryGetCreatePoolRequest) Size

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

func (*QueryGetCreatePoolRequest) String

func (m *QueryGetCreatePoolRequest) String() string

func (*QueryGetCreatePoolRequest) Unmarshal

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

func (*QueryGetCreatePoolRequest) XXX_DiscardUnknown

func (m *QueryGetCreatePoolRequest) XXX_DiscardUnknown()

func (*QueryGetCreatePoolRequest) XXX_Marshal

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

func (*QueryGetCreatePoolRequest) XXX_Merge

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

func (*QueryGetCreatePoolRequest) XXX_Size

func (m *QueryGetCreatePoolRequest) XXX_Size() int

func (*QueryGetCreatePoolRequest) XXX_Unmarshal

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

type QueryGetCreatePoolResponse

type QueryGetCreatePoolResponse struct {
	CreatePool *PoolProposal `protobuf:"bytes,1,opt,name=CreatePool,proto3" json:"CreatePool,omitempty"`
}

func (*QueryGetCreatePoolResponse) Descriptor

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

func (*QueryGetCreatePoolResponse) GetCreatePool

func (m *QueryGetCreatePoolResponse) GetCreatePool() *PoolProposal

func (*QueryGetCreatePoolResponse) Marshal

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

func (*QueryGetCreatePoolResponse) MarshalTo

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

func (*QueryGetCreatePoolResponse) MarshalToSizedBuffer

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

func (*QueryGetCreatePoolResponse) ProtoMessage

func (*QueryGetCreatePoolResponse) ProtoMessage()

func (*QueryGetCreatePoolResponse) Reset

func (m *QueryGetCreatePoolResponse) Reset()

func (*QueryGetCreatePoolResponse) Size

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

func (*QueryGetCreatePoolResponse) String

func (m *QueryGetCreatePoolResponse) String() string

func (*QueryGetCreatePoolResponse) Unmarshal

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

func (*QueryGetCreatePoolResponse) XXX_DiscardUnknown

func (m *QueryGetCreatePoolResponse) XXX_DiscardUnknown()

func (*QueryGetCreatePoolResponse) XXX_Marshal

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

func (*QueryGetCreatePoolResponse) XXX_Merge

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

func (*QueryGetCreatePoolResponse) XXX_Size

func (m *QueryGetCreatePoolResponse) XXX_Size() int

func (*QueryGetCreatePoolResponse) XXX_Unmarshal

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

type QueryGetIssueTokenRequest

type QueryGetIssueTokenRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

this line is used by starport scaffolding # 3

func (*QueryGetIssueTokenRequest) Descriptor

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

func (*QueryGetIssueTokenRequest) GetIndex

func (m *QueryGetIssueTokenRequest) GetIndex() string

func (*QueryGetIssueTokenRequest) Marshal

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

func (*QueryGetIssueTokenRequest) MarshalTo

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

func (*QueryGetIssueTokenRequest) MarshalToSizedBuffer

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

func (*QueryGetIssueTokenRequest) ProtoMessage

func (*QueryGetIssueTokenRequest) ProtoMessage()

func (*QueryGetIssueTokenRequest) Reset

func (m *QueryGetIssueTokenRequest) Reset()

func (*QueryGetIssueTokenRequest) Size

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

func (*QueryGetIssueTokenRequest) String

func (m *QueryGetIssueTokenRequest) String() string

func (*QueryGetIssueTokenRequest) Unmarshal

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

func (*QueryGetIssueTokenRequest) XXX_DiscardUnknown

func (m *QueryGetIssueTokenRequest) XXX_DiscardUnknown()

func (*QueryGetIssueTokenRequest) XXX_Marshal

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

func (*QueryGetIssueTokenRequest) XXX_Merge

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

func (*QueryGetIssueTokenRequest) XXX_Size

func (m *QueryGetIssueTokenRequest) XXX_Size() int

func (*QueryGetIssueTokenRequest) XXX_Unmarshal

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

type QueryGetIssueTokenResponse

type QueryGetIssueTokenResponse struct {
	IssueToken *IssueToken `protobuf:"bytes,1,opt,name=IssueToken,proto3" json:"IssueToken,omitempty"`
}

func (*QueryGetIssueTokenResponse) Descriptor

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

func (*QueryGetIssueTokenResponse) GetIssueToken

func (m *QueryGetIssueTokenResponse) GetIssueToken() *IssueToken

func (*QueryGetIssueTokenResponse) Marshal

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

func (*QueryGetIssueTokenResponse) MarshalTo

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

func (*QueryGetIssueTokenResponse) MarshalToSizedBuffer

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

func (*QueryGetIssueTokenResponse) ProtoMessage

func (*QueryGetIssueTokenResponse) ProtoMessage()

func (*QueryGetIssueTokenResponse) Reset

func (m *QueryGetIssueTokenResponse) Reset()

func (*QueryGetIssueTokenResponse) Size

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

func (*QueryGetIssueTokenResponse) String

func (m *QueryGetIssueTokenResponse) String() string

func (*QueryGetIssueTokenResponse) Unmarshal

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

func (*QueryGetIssueTokenResponse) XXX_DiscardUnknown

func (m *QueryGetIssueTokenResponse) XXX_DiscardUnknown()

func (*QueryGetIssueTokenResponse) XXX_Marshal

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

func (*QueryGetIssueTokenResponse) XXX_Merge

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

func (*QueryGetIssueTokenResponse) XXX_Size

func (m *QueryGetIssueTokenResponse) XXX_Size() int

func (*QueryGetIssueTokenResponse) XXX_Unmarshal

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

type QueryGetOutboundTxRequest

type QueryGetOutboundTxRequest struct {
	RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
}

func (*QueryGetOutboundTxRequest) Descriptor

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

func (*QueryGetOutboundTxRequest) GetRequestID

func (m *QueryGetOutboundTxRequest) GetRequestID() string

func (*QueryGetOutboundTxRequest) Marshal

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

func (*QueryGetOutboundTxRequest) MarshalTo

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

func (*QueryGetOutboundTxRequest) MarshalToSizedBuffer

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

func (*QueryGetOutboundTxRequest) ProtoMessage

func (*QueryGetOutboundTxRequest) ProtoMessage()

func (*QueryGetOutboundTxRequest) Reset

func (m *QueryGetOutboundTxRequest) Reset()

func (*QueryGetOutboundTxRequest) Size

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

func (*QueryGetOutboundTxRequest) String

func (m *QueryGetOutboundTxRequest) String() string

func (*QueryGetOutboundTxRequest) Unmarshal

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

func (*QueryGetOutboundTxRequest) XXX_DiscardUnknown

func (m *QueryGetOutboundTxRequest) XXX_DiscardUnknown()

func (*QueryGetOutboundTxRequest) XXX_Marshal

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

func (*QueryGetOutboundTxRequest) XXX_Merge

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

func (*QueryGetOutboundTxRequest) XXX_Size

func (m *QueryGetOutboundTxRequest) XXX_Size() int

func (*QueryGetOutboundTxRequest) XXX_Unmarshal

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

type QueryGetOutboundTxResponse

type QueryGetOutboundTxResponse struct {
	OutboundTx OutboundTx `protobuf:"bytes,1,opt,name=outboundTx,proto3" json:"outboundTx"`
}

func (*QueryGetOutboundTxResponse) Descriptor

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

func (*QueryGetOutboundTxResponse) GetOutboundTx

func (m *QueryGetOutboundTxResponse) GetOutboundTx() OutboundTx

func (*QueryGetOutboundTxResponse) Marshal

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

func (*QueryGetOutboundTxResponse) MarshalTo

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

func (*QueryGetOutboundTxResponse) MarshalToSizedBuffer

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

func (*QueryGetOutboundTxResponse) ProtoMessage

func (*QueryGetOutboundTxResponse) ProtoMessage()

func (*QueryGetOutboundTxResponse) Reset

func (m *QueryGetOutboundTxResponse) Reset()

func (*QueryGetOutboundTxResponse) Size

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

func (*QueryGetOutboundTxResponse) String

func (m *QueryGetOutboundTxResponse) String() string

func (*QueryGetOutboundTxResponse) Unmarshal

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

func (*QueryGetOutboundTxResponse) XXX_DiscardUnknown

func (m *QueryGetOutboundTxResponse) XXX_DiscardUnknown()

func (*QueryGetOutboundTxResponse) XXX_Marshal

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

func (*QueryGetOutboundTxResponse) XXX_Merge

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

func (*QueryGetOutboundTxResponse) XXX_Size

func (m *QueryGetOutboundTxResponse) XXX_Size() int

func (*QueryGetOutboundTxResponse) XXX_Unmarshal

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

type QueryGetValidatorsRequest

type QueryGetValidatorsRequest struct {
	Height string `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*QueryGetValidatorsRequest) Descriptor

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

func (*QueryGetValidatorsRequest) GetHeight

func (m *QueryGetValidatorsRequest) GetHeight() string

func (*QueryGetValidatorsRequest) Marshal

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

func (*QueryGetValidatorsRequest) MarshalTo

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

func (*QueryGetValidatorsRequest) MarshalToSizedBuffer

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

func (*QueryGetValidatorsRequest) ProtoMessage

func (*QueryGetValidatorsRequest) ProtoMessage()

func (*QueryGetValidatorsRequest) Reset

func (m *QueryGetValidatorsRequest) Reset()

func (*QueryGetValidatorsRequest) Size

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

func (*QueryGetValidatorsRequest) String

func (m *QueryGetValidatorsRequest) String() string

func (*QueryGetValidatorsRequest) Unmarshal

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

func (*QueryGetValidatorsRequest) XXX_DiscardUnknown

func (m *QueryGetValidatorsRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorsRequest) XXX_Marshal

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

func (*QueryGetValidatorsRequest) XXX_Merge

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

func (*QueryGetValidatorsRequest) XXX_Size

func (m *QueryGetValidatorsRequest) XXX_Size() int

func (*QueryGetValidatorsRequest) XXX_Unmarshal

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

type QueryGetValidatorsResponse

type QueryGetValidatorsResponse struct {
	Validators *Validators `protobuf:"bytes,1,opt,name=validators,proto3" json:"validators,omitempty"`
}

func (*QueryGetValidatorsResponse) Descriptor

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

func (*QueryGetValidatorsResponse) GetValidators

func (m *QueryGetValidatorsResponse) GetValidators() *Validators

func (*QueryGetValidatorsResponse) Marshal

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

func (*QueryGetValidatorsResponse) MarshalTo

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

func (*QueryGetValidatorsResponse) MarshalToSizedBuffer

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

func (*QueryGetValidatorsResponse) ProtoMessage

func (*QueryGetValidatorsResponse) ProtoMessage()

func (*QueryGetValidatorsResponse) Reset

func (m *QueryGetValidatorsResponse) Reset()

func (*QueryGetValidatorsResponse) Size

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

func (*QueryGetValidatorsResponse) String

func (m *QueryGetValidatorsResponse) String() string

func (*QueryGetValidatorsResponse) Unmarshal

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

func (*QueryGetValidatorsResponse) XXX_DiscardUnknown

func (m *QueryGetValidatorsResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorsResponse) XXX_Marshal

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

func (*QueryGetValidatorsResponse) XXX_Merge

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

func (*QueryGetValidatorsResponse) XXX_Size

func (m *QueryGetValidatorsResponse) XXX_Size() int

func (*QueryGetValidatorsResponse) XXX_Unmarshal

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

type QueryLastPoolResponse

type QueryLastPoolResponse struct {
	Pools []*PoolInfo `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"`
}

func (*QueryLastPoolResponse) Descriptor

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

func (*QueryLastPoolResponse) GetPools

func (m *QueryLastPoolResponse) GetPools() []*PoolInfo

func (*QueryLastPoolResponse) Marshal

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

func (*QueryLastPoolResponse) MarshalTo

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

func (*QueryLastPoolResponse) MarshalToSizedBuffer

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

func (*QueryLastPoolResponse) ProtoMessage

func (*QueryLastPoolResponse) ProtoMessage()

func (*QueryLastPoolResponse) Reset

func (m *QueryLastPoolResponse) Reset()

func (*QueryLastPoolResponse) Size

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

func (*QueryLastPoolResponse) String

func (m *QueryLastPoolResponse) String() string

func (*QueryLastPoolResponse) Unmarshal

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

func (*QueryLastPoolResponse) XXX_DiscardUnknown

func (m *QueryLastPoolResponse) XXX_DiscardUnknown()

func (*QueryLastPoolResponse) XXX_Marshal

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

func (*QueryLastPoolResponse) XXX_Merge

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

func (*QueryLastPoolResponse) XXX_Size

func (m *QueryLastPoolResponse) XXX_Size() int

func (*QueryLastPoolResponse) XXX_Unmarshal

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

type QueryLatestPoolRequest

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

func (*QueryLatestPoolRequest) Descriptor

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

func (*QueryLatestPoolRequest) GetPagination

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

func (*QueryLatestPoolRequest) Marshal

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

func (*QueryLatestPoolRequest) MarshalTo

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

func (*QueryLatestPoolRequest) MarshalToSizedBuffer

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

func (*QueryLatestPoolRequest) ProtoMessage

func (*QueryLatestPoolRequest) ProtoMessage()

func (*QueryLatestPoolRequest) Reset

func (m *QueryLatestPoolRequest) Reset()

func (*QueryLatestPoolRequest) Size

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

func (*QueryLatestPoolRequest) String

func (m *QueryLatestPoolRequest) String() string

func (*QueryLatestPoolRequest) Unmarshal

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

func (*QueryLatestPoolRequest) XXX_DiscardUnknown

func (m *QueryLatestPoolRequest) XXX_DiscardUnknown()

func (*QueryLatestPoolRequest) XXX_Marshal

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

func (*QueryLatestPoolRequest) XXX_Merge

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

func (*QueryLatestPoolRequest) XXX_Size

func (m *QueryLatestPoolRequest) XXX_Size() int

func (*QueryLatestPoolRequest) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries a OutboundTx by index.
	OutboundTx(context.Context, *QueryGetOutboundTxRequest) (*QueryGetOutboundTxResponse, error)
	// Queries a list of OutboundTx items.
	OutboundTxAll(context.Context, *QueryAllOutboundTxRequest) (*QueryAllOutboundTxResponse, error)
	// Queries a list of GetValidators items.
	GetValidators(context.Context, *QueryGetValidatorsRequest) (*QueryGetValidatorsResponse, error)
	// Queries a list of GetValidators items.
	GetAllValidators(context.Context, *QueryAllValidatorsRequest) (*QueryAllValidatorsResponse, error)
	// Queries a issueToken by index.
	IssueToken(context.Context, *QueryGetIssueTokenRequest) (*QueryGetIssueTokenResponse, error)
	// Queries a list of issueToken items.
	IssueTokenAll(context.Context, *QueryAllIssueTokenRequest) (*QueryAllIssueTokenResponse, error)
	// Queries a createPool by index.
	CreatePool(context.Context, *QueryGetCreatePoolRequest) (*QueryGetCreatePoolResponse, error)
	// Queries a list of createPool items.
	CreatePoolAll(context.Context, *QueryAllCreatePoolRequest) (*QueryAllCreatePoolResponse, error)
	// Queries a createPool by index.
	GetLastPool(context.Context, *QueryLatestPoolRequest) (*QueryLastPoolResponse, error)
}

QueryServer is the server API for Query service.

type SendKeeper

type SendKeeper interface {
	ViewKeeper
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateCreatePool

func (*UnimplementedMsgServer) CreateIssueToken

func (*UnimplementedMsgServer) CreateOutboundTx

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CreatePool

func (*UnimplementedQueryServer) CreatePoolAll

func (*UnimplementedQueryServer) GetAllValidators

func (*UnimplementedQueryServer) GetLastPool

func (*UnimplementedQueryServer) GetValidators

func (*UnimplementedQueryServer) IssueToken

func (*UnimplementedQueryServer) IssueTokenAll

func (*UnimplementedQueryServer) OutboundTx

func (*UnimplementedQueryServer) OutboundTxAll

type Validator

type Validator struct {
	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	Power  int64  `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
}

func (*Validator) Descriptor

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

func (*Validator) GetPower

func (m *Validator) GetPower() int64

func (*Validator) GetPubkey

func (m *Validator) GetPubkey() []byte

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorPowerInfo

type ValidatorPowerInfo struct {
	Validator stakingtypes.Validator
	Power     int64
}

type Validators

type Validators struct {
	AllValidators []*Validator `protobuf:"bytes,1,rep,name=all_validators,json=allValidators,proto3" json:"all_validators,omitempty"`
	Height        int64        `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

func (*Validators) Descriptor

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

func (*Validators) GetAllValidators

func (m *Validators) GetAllValidators() []*Validator

func (*Validators) GetHeight

func (m *Validators) GetHeight() int64

func (*Validators) Marshal

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

func (*Validators) MarshalTo

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

func (*Validators) MarshalToSizedBuffer

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

func (*Validators) ProtoMessage

func (*Validators) ProtoMessage()

func (*Validators) Reset

func (m *Validators) Reset()

func (*Validators) Size

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

func (*Validators) String

func (m *Validators) String() string

func (*Validators) Unmarshal

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

func (*Validators) XXX_DiscardUnknown

func (m *Validators) XXX_DiscardUnknown()

func (*Validators) XXX_Marshal

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

func (*Validators) XXX_Merge

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

func (*Validators) XXX_Size

func (m *Validators) XXX_Size() int

func (*Validators) XXX_Unmarshal

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

type ValidatorsByAddr

type ValidatorsByAddr map[string][]byte

type VaultStaking

type VaultStaking interface {
	IterateLastValidators(sdk.Context, func(index int64, validator stakingtypes.ValidatorI) (stop bool))

	ValidatorsPowerStoreIterator(ctx sdk.Context) sdk.Iterator

	GetParams(ctx sdk.Context) stakingtypes.Params

	LastValidatorsIterator(ctx sdk.Context) (iterator sdk.Iterator)

	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)

	GetHistoricalInfo(ctx sdk.Context, height int64) (stakingtypes.HistoricalInfo, bool)
}

type ViewKeeper

type ViewKeeper interface {
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

Jump to

Keyboard shortcuts

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