types

package
v3.46.13-integrate-alp... Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 29 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 = "channel"

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

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_channel"
)
View Source
const (
	// ChannelKeyPrefix is the prefix to retrieve all Channel
	ChannelKeyPrefix = "Channel/value/"
)
View Source
const (
	// CommitmentKeyPrefix is the prefix to retrieve all Commitment
	CommitmentKeyPrefix = "Commitment/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// FwdcommitmentKeyPrefix is the prefix to retrieve all Fwdcommitment
	FwdcommitmentKeyPrefix = "Fwdcommitment/value/"
)
View Source
const TypeMsgAcceptfund = "acceptfund"
View Source
const TypeMsgClosechannel = "closechannel"
View Source
const TypeMsgCommitment = "commitment"
View Source
const TypeMsgFund = "fund"
View Source
const TypeMsgOpenchannel = "openchannel"
View Source
const TypeMsgReceivercommit = "receivercommit"
View Source
const TypeMsgReceiverwithdraw = "receiverwithdraw"
View Source
const TypeMsgSendercommit = "sendercommit"
View Source
const TypeMsgSenderwithdrawhashlock = "senderwithdrawhashlock"
View Source
const TypeMsgSenderwithdrawtimelock = "senderwithdrawtimelock"
View Source
const TypeMsgWithdrawHashlock = "withdraw_hashlock"
View Source
const TypeMsgWithdrawTimelock = "withdraw_timelock"

Variables

View Source
var (
	ErrInvalidLengthChannel        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChannel          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChannel = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCommitment        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommitment          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommitment = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthFwdcommitment        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFwdcommitment          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFwdcommitment = 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 (
	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/channel module sentinel errors

Functions

func ChannelKey

func ChannelKey(
	index string,
) []byte

ChannelKey returns the store key to retrieve a Channel from the index fields

func CommitmentKey

func CommitmentKey(
	index string,
) []byte

CommitmentKey returns the store key to retrieve a Commitment from the index fields

func FwdcommitmentKey

func FwdcommitmentKey(
	index string,
) []byte

FwdcommitmentKey returns the store key to retrieve a Fwdcommitment from the index fields

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
	// Methods imported from bank should be defined here
	IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error
	BlockedAddr(addr sdk.AccAddress) bool
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins

	// Methods imported from bank should be defined here
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type Channel

type Channel struct {
	Index        string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	MultisigAddr string `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
	PartA        string `protobuf:"bytes,3,opt,name=partA,proto3" json:"partA,omitempty"`
	PartB        string `protobuf:"bytes,4,opt,name=partB,proto3" json:"partB,omitempty"`
	Denom        string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"`
	Sequence     string `protobuf:"bytes,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

func (*Channel) Descriptor

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

func (*Channel) GetDenom

func (m *Channel) GetDenom() string

func (*Channel) GetIndex

func (m *Channel) GetIndex() string

func (*Channel) GetMultisigAddr

func (m *Channel) GetMultisigAddr() string

func (*Channel) GetPartA

func (m *Channel) GetPartA() string

func (*Channel) GetPartB

func (m *Channel) GetPartB() string

func (*Channel) GetSequence

func (m *Channel) GetSequence() string

func (*Channel) Marshal

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

func (*Channel) MarshalTo

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

func (*Channel) MarshalToSizedBuffer

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

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) Size

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

func (*Channel) String

func (m *Channel) String() string

func (*Channel) Unmarshal

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

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

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

func (*Channel) XXX_Merge

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

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

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

type Commitment

type Commitment struct {
	Index         string      `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	MultisigAddr  string      `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
	Creatoraddr   string      `protobuf:"bytes,3,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"`
	Partneraddr   string      `protobuf:"bytes,4,opt,name=partneraddr,proto3" json:"partneraddr,omitempty"`
	Hashcode      string      `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"`
	Numblock      uint64      `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"`
	Cointocreator *types.Coin `protobuf:"bytes,7,opt,name=cointocreator,proto3" json:"cointocreator,omitempty"`
	Cointohtlc    *types.Coin `protobuf:"bytes,8,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"`
	Channelid     string      `protobuf:"bytes,9,opt,name=channelid,proto3" json:"channelid,omitempty"`
}

func (*Commitment) Descriptor

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

func (*Commitment) GetChannelid

func (m *Commitment) GetChannelid() string

func (*Commitment) GetCointocreator

func (m *Commitment) GetCointocreator() *types.Coin

func (*Commitment) GetCointohtlc

func (m *Commitment) GetCointohtlc() *types.Coin

func (*Commitment) GetCreatoraddr

func (m *Commitment) GetCreatoraddr() string

func (*Commitment) GetHashcode

func (m *Commitment) GetHashcode() string

func (*Commitment) GetIndex

func (m *Commitment) GetIndex() string

func (*Commitment) GetMultisigAddr

func (m *Commitment) GetMultisigAddr() string

func (*Commitment) GetNumblock

func (m *Commitment) GetNumblock() uint64

func (*Commitment) GetPartneraddr

func (m *Commitment) GetPartneraddr() string

func (*Commitment) Marshal

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

func (*Commitment) MarshalTo

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

func (*Commitment) MarshalToSizedBuffer

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

func (*Commitment) ProtoMessage

func (*Commitment) ProtoMessage()

func (*Commitment) Reset

func (m *Commitment) Reset()

func (*Commitment) Size

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

func (*Commitment) String

func (m *Commitment) String() string

func (*Commitment) Unmarshal

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

func (*Commitment) XXX_DiscardUnknown

func (m *Commitment) XXX_DiscardUnknown()

func (*Commitment) XXX_Marshal

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

func (*Commitment) XXX_Merge

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

func (*Commitment) XXX_Size

func (m *Commitment) XXX_Size() int

func (*Commitment) XXX_Unmarshal

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

type Fwdcommitment

type Fwdcommitment struct {
	Index            string      `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Channelid        string      `protobuf:"bytes,2,opt,name=channelid,proto3" json:"channelid,omitempty"`
	MultisigAddr     string      `protobuf:"bytes,3,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
	SenderAddr       string      `protobuf:"bytes,4,opt,name=senderAddr,proto3" json:"senderAddr,omitempty"`
	ReceiverAddr     string      `protobuf:"bytes,5,opt,name=receiverAddr,proto3" json:"receiverAddr,omitempty"`
	Timelocksender   uint64      `protobuf:"varint,6,opt,name=timelocksender,proto3" json:"timelocksender,omitempty"`
	Timelockreceiver uint64      `protobuf:"varint,7,opt,name=timelockreceiver,proto3" json:"timelockreceiver,omitempty"`
	Hashcodehtlc     string      `protobuf:"bytes,8,opt,name=hashcodehtlc,proto3" json:"hashcodehtlc,omitempty"`
	Hashcodedest     string      `protobuf:"bytes,9,opt,name=hashcodedest,proto3" json:"hashcodedest,omitempty"`
	Cointransfer     *types.Coin `protobuf:"bytes,10,opt,name=cointransfer,proto3" json:"cointransfer,omitempty"`
	Creator          string      `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*Fwdcommitment) Descriptor

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

func (*Fwdcommitment) GetChannelid

func (m *Fwdcommitment) GetChannelid() string

func (*Fwdcommitment) GetCointransfer

func (m *Fwdcommitment) GetCointransfer() *types.Coin

func (*Fwdcommitment) GetCreator

func (m *Fwdcommitment) GetCreator() string

func (*Fwdcommitment) GetHashcodedest

func (m *Fwdcommitment) GetHashcodedest() string

func (*Fwdcommitment) GetHashcodehtlc

func (m *Fwdcommitment) GetHashcodehtlc() string

func (*Fwdcommitment) GetIndex

func (m *Fwdcommitment) GetIndex() string

func (*Fwdcommitment) GetMultisigAddr

func (m *Fwdcommitment) GetMultisigAddr() string

func (*Fwdcommitment) GetReceiverAddr

func (m *Fwdcommitment) GetReceiverAddr() string

func (*Fwdcommitment) GetSenderAddr

func (m *Fwdcommitment) GetSenderAddr() string

func (*Fwdcommitment) GetTimelockreceiver

func (m *Fwdcommitment) GetTimelockreceiver() uint64

func (*Fwdcommitment) GetTimelocksender

func (m *Fwdcommitment) GetTimelocksender() uint64

func (*Fwdcommitment) Marshal

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

func (*Fwdcommitment) MarshalTo

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

func (*Fwdcommitment) MarshalToSizedBuffer

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

func (*Fwdcommitment) ProtoMessage

func (*Fwdcommitment) ProtoMessage()

func (*Fwdcommitment) Reset

func (m *Fwdcommitment) Reset()

func (*Fwdcommitment) Size

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

func (*Fwdcommitment) String

func (m *Fwdcommitment) String() string

func (*Fwdcommitment) Unmarshal

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

func (*Fwdcommitment) XXX_DiscardUnknown

func (m *Fwdcommitment) XXX_DiscardUnknown()

func (*Fwdcommitment) XXX_Marshal

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

func (*Fwdcommitment) XXX_Merge

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

func (*Fwdcommitment) XXX_Size

func (m *Fwdcommitment) XXX_Size() int

func (*Fwdcommitment) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params            Params          `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	ChannelList       []Channel       `protobuf:"bytes,2,rep,name=channelList,proto3" json:"channelList"`
	CommitmentList    []Commitment    `protobuf:"bytes,3,rep,name=commitmentList,proto3" json:"commitmentList"`
	FwdcommitmentList []Fwdcommitment `protobuf:"bytes,4,rep,name=fwdcommitmentList,proto3" json:"fwdcommitmentList"`
}

GenesisState defines the channel module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetChannelList

func (m *GenesisState) GetChannelList() []Channel

func (*GenesisState) GetCommitmentList

func (m *GenesisState) GetCommitmentList() []Commitment

func (*GenesisState) GetFwdcommitmentList

func (m *GenesisState) GetFwdcommitmentList() []Fwdcommitment

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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 MsgAcceptfund

type MsgAcceptfund struct {
	Creator       string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Creatoraddr   string      `protobuf:"bytes,2,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"`
	Channelid     string      `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"`
	CointoCreator *types.Coin `protobuf:"bytes,4,opt,name=cointoCreator,proto3" json:"cointoCreator,omitempty"`
	Hashcode      string      `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"`
	Numblock      uint64      `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"`
	MultisigAddr  string      `protobuf:"bytes,7,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
}

func NewMsgAcceptfund

func NewMsgAcceptfund(creator string, creatoraddr string, channelid string, cointoCreator *sdk.Coin, hashcode string, numblock uint64, multisigAddr string) *MsgAcceptfund

func (*MsgAcceptfund) Descriptor

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

func (*MsgAcceptfund) GetChannelid

func (m *MsgAcceptfund) GetChannelid() string

func (*MsgAcceptfund) GetCointoCreator

func (m *MsgAcceptfund) GetCointoCreator() *types.Coin

func (*MsgAcceptfund) GetCreator

func (m *MsgAcceptfund) GetCreator() string

func (*MsgAcceptfund) GetCreatoraddr

func (m *MsgAcceptfund) GetCreatoraddr() string

func (*MsgAcceptfund) GetHashcode

func (m *MsgAcceptfund) GetHashcode() string

func (*MsgAcceptfund) GetMultisigAddr

func (m *MsgAcceptfund) GetMultisigAddr() string

func (*MsgAcceptfund) GetNumblock

func (m *MsgAcceptfund) GetNumblock() uint64

func (*MsgAcceptfund) GetSignBytes

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

func (*MsgAcceptfund) GetSigners

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

func (*MsgAcceptfund) Marshal

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

func (*MsgAcceptfund) MarshalTo

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

func (*MsgAcceptfund) MarshalToSizedBuffer

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

func (*MsgAcceptfund) ProtoMessage

func (*MsgAcceptfund) ProtoMessage()

func (*MsgAcceptfund) Reset

func (m *MsgAcceptfund) Reset()

func (*MsgAcceptfund) Route

func (msg *MsgAcceptfund) Route() string

func (*MsgAcceptfund) Size

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

func (*MsgAcceptfund) String

func (m *MsgAcceptfund) String() string

func (*MsgAcceptfund) Type

func (msg *MsgAcceptfund) Type() string

func (*MsgAcceptfund) Unmarshal

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

func (*MsgAcceptfund) ValidateBasic

func (msg *MsgAcceptfund) ValidateBasic() error

func (*MsgAcceptfund) XXX_DiscardUnknown

func (m *MsgAcceptfund) XXX_DiscardUnknown()

func (*MsgAcceptfund) XXX_Marshal

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

func (*MsgAcceptfund) XXX_Merge

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

func (*MsgAcceptfund) XXX_Size

func (m *MsgAcceptfund) XXX_Size() int

func (*MsgAcceptfund) XXX_Unmarshal

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

type MsgAcceptfundResponse

type MsgAcceptfundResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgAcceptfundResponse) Descriptor

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

func (*MsgAcceptfundResponse) GetId

func (m *MsgAcceptfundResponse) GetId() string

func (*MsgAcceptfundResponse) Marshal

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

func (*MsgAcceptfundResponse) MarshalTo

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

func (*MsgAcceptfundResponse) MarshalToSizedBuffer

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

func (*MsgAcceptfundResponse) ProtoMessage

func (*MsgAcceptfundResponse) ProtoMessage()

func (*MsgAcceptfundResponse) Reset

func (m *MsgAcceptfundResponse) Reset()

func (*MsgAcceptfundResponse) Size

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

func (*MsgAcceptfundResponse) String

func (m *MsgAcceptfundResponse) String() string

func (*MsgAcceptfundResponse) Unmarshal

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

func (*MsgAcceptfundResponse) XXX_DiscardUnknown

func (m *MsgAcceptfundResponse) XXX_DiscardUnknown()

func (*MsgAcceptfundResponse) XXX_Marshal

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

func (*MsgAcceptfundResponse) XXX_Merge

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

func (*MsgAcceptfundResponse) XXX_Size

func (m *MsgAcceptfundResponse) XXX_Size() int

func (*MsgAcceptfundResponse) XXX_Unmarshal

func (m *MsgAcceptfundResponse) 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 MsgClosechannel

type MsgClosechannel struct {
	Creator      string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	MultisigAddr string      `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
	PartA        string      `protobuf:"bytes,3,opt,name=partA,proto3" json:"partA,omitempty"`
	CoinA        *types.Coin `protobuf:"bytes,4,opt,name=coinA,proto3" json:"coinA,omitempty"`
	PartB        string      `protobuf:"bytes,5,opt,name=partB,proto3" json:"partB,omitempty"`
	CoinB        *types.Coin `protobuf:"bytes,6,opt,name=coinB,proto3" json:"coinB,omitempty"`
	Channelid    string      `protobuf:"bytes,7,opt,name=channelid,proto3" json:"channelid,omitempty"`
}

func NewMsgClosechannel

func NewMsgClosechannel(creator string, multisigAddr string, partA string, coinA *sdk.Coin, partB string, coinB *sdk.Coin, channelid string) *MsgClosechannel

func (*MsgClosechannel) Descriptor

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

func (*MsgClosechannel) GetChannelid

func (m *MsgClosechannel) GetChannelid() string

func (*MsgClosechannel) GetCoinA

func (m *MsgClosechannel) GetCoinA() *types.Coin

func (*MsgClosechannel) GetCoinB

func (m *MsgClosechannel) GetCoinB() *types.Coin

func (*MsgClosechannel) GetCreator

func (m *MsgClosechannel) GetCreator() string

func (*MsgClosechannel) GetMultisigAddr

func (m *MsgClosechannel) GetMultisigAddr() string

func (*MsgClosechannel) GetPartA

func (m *MsgClosechannel) GetPartA() string

func (*MsgClosechannel) GetPartB

func (m *MsgClosechannel) GetPartB() string

func (*MsgClosechannel) GetSignBytes

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

func (*MsgClosechannel) GetSigners

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

func (*MsgClosechannel) Marshal

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

func (*MsgClosechannel) MarshalTo

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

func (*MsgClosechannel) MarshalToSizedBuffer

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

func (*MsgClosechannel) ProtoMessage

func (*MsgClosechannel) ProtoMessage()

func (*MsgClosechannel) Reset

func (m *MsgClosechannel) Reset()

func (*MsgClosechannel) Route

func (msg *MsgClosechannel) Route() string

func (*MsgClosechannel) Size

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

func (*MsgClosechannel) String

func (m *MsgClosechannel) String() string

func (*MsgClosechannel) Type

func (msg *MsgClosechannel) Type() string

func (*MsgClosechannel) Unmarshal

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

func (*MsgClosechannel) ValidateBasic

func (msg *MsgClosechannel) ValidateBasic() error

func (*MsgClosechannel) XXX_DiscardUnknown

func (m *MsgClosechannel) XXX_DiscardUnknown()

func (*MsgClosechannel) XXX_Marshal

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

func (*MsgClosechannel) XXX_Merge

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

func (*MsgClosechannel) XXX_Size

func (m *MsgClosechannel) XXX_Size() int

func (*MsgClosechannel) XXX_Unmarshal

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

type MsgClosechannelResponse

type MsgClosechannelResponse struct {
}

func (*MsgClosechannelResponse) Descriptor

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

func (*MsgClosechannelResponse) Marshal

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

func (*MsgClosechannelResponse) MarshalTo

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

func (*MsgClosechannelResponse) MarshalToSizedBuffer

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

func (*MsgClosechannelResponse) ProtoMessage

func (*MsgClosechannelResponse) ProtoMessage()

func (*MsgClosechannelResponse) Reset

func (m *MsgClosechannelResponse) Reset()

func (*MsgClosechannelResponse) Size

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

func (*MsgClosechannelResponse) String

func (m *MsgClosechannelResponse) String() string

func (*MsgClosechannelResponse) Unmarshal

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

func (*MsgClosechannelResponse) XXX_DiscardUnknown

func (m *MsgClosechannelResponse) XXX_DiscardUnknown()

func (*MsgClosechannelResponse) XXX_Marshal

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

func (*MsgClosechannelResponse) XXX_Merge

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

func (*MsgClosechannelResponse) XXX_Size

func (m *MsgClosechannelResponse) XXX_Size() int

func (*MsgClosechannelResponse) XXX_Unmarshal

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

type MsgCommitment

type MsgCommitment struct {
	Creator       string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	MultisigAddr  string      `protobuf:"bytes,2,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
	Creatoraddr   string      `protobuf:"bytes,3,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"`
	Partneraddr   string      `protobuf:"bytes,4,opt,name=partneraddr,proto3" json:"partneraddr,omitempty"`
	Hashcode      string      `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"`
	Numblock      uint64      `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"`
	Cointocreator *types.Coin `protobuf:"bytes,7,opt,name=cointocreator,proto3" json:"cointocreator,omitempty"`
	Cointohtlc    *types.Coin `protobuf:"bytes,8,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"`
	Channelid     string      `protobuf:"bytes,9,opt,name=channelid,proto3" json:"channelid,omitempty"`
}

func NewMsgCommitment

func NewMsgCommitment(creator string, multisigAddr string, creatoraddr string, partneraddr string, hashcode string, numblock uint64, cointocreator *sdk.Coin, cointohtlc *sdk.Coin, channelid string) *MsgCommitment

func (*MsgCommitment) Descriptor

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

func (*MsgCommitment) GetChannelid

func (m *MsgCommitment) GetChannelid() string

func (*MsgCommitment) GetCointocreator

func (m *MsgCommitment) GetCointocreator() *types.Coin

func (*MsgCommitment) GetCointohtlc

func (m *MsgCommitment) GetCointohtlc() *types.Coin

func (*MsgCommitment) GetCreator

func (m *MsgCommitment) GetCreator() string

func (*MsgCommitment) GetCreatoraddr

func (m *MsgCommitment) GetCreatoraddr() string

func (*MsgCommitment) GetHashcode

func (m *MsgCommitment) GetHashcode() string

func (*MsgCommitment) GetMultisigAddr

func (m *MsgCommitment) GetMultisigAddr() string

func (*MsgCommitment) GetNumblock

func (m *MsgCommitment) GetNumblock() uint64

func (*MsgCommitment) GetPartneraddr

func (m *MsgCommitment) GetPartneraddr() string

func (*MsgCommitment) GetSignBytes

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

func (*MsgCommitment) GetSigners

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

func (*MsgCommitment) Marshal

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

func (*MsgCommitment) MarshalTo

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

func (*MsgCommitment) MarshalToSizedBuffer

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

func (*MsgCommitment) ProtoMessage

func (*MsgCommitment) ProtoMessage()

func (*MsgCommitment) Reset

func (m *MsgCommitment) Reset()

func (*MsgCommitment) Route

func (msg *MsgCommitment) Route() string

func (*MsgCommitment) Size

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

func (*MsgCommitment) String

func (m *MsgCommitment) String() string

func (*MsgCommitment) Type

func (msg *MsgCommitment) Type() string

func (*MsgCommitment) Unmarshal

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

func (*MsgCommitment) ValidateBasic

func (msg *MsgCommitment) ValidateBasic() error

func (*MsgCommitment) XXX_DiscardUnknown

func (m *MsgCommitment) XXX_DiscardUnknown()

func (*MsgCommitment) XXX_Marshal

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

func (*MsgCommitment) XXX_Merge

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

func (*MsgCommitment) XXX_Size

func (m *MsgCommitment) XXX_Size() int

func (*MsgCommitment) XXX_Unmarshal

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

type MsgCommitmentResponse

type MsgCommitmentResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgCommitmentResponse) Descriptor

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

func (*MsgCommitmentResponse) GetId

func (m *MsgCommitmentResponse) GetId() string

func (*MsgCommitmentResponse) Marshal

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

func (*MsgCommitmentResponse) MarshalTo

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

func (*MsgCommitmentResponse) MarshalToSizedBuffer

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

func (*MsgCommitmentResponse) ProtoMessage

func (*MsgCommitmentResponse) ProtoMessage()

func (*MsgCommitmentResponse) Reset

func (m *MsgCommitmentResponse) Reset()

func (*MsgCommitmentResponse) Size

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

func (*MsgCommitmentResponse) String

func (m *MsgCommitmentResponse) String() string

func (*MsgCommitmentResponse) Unmarshal

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

func (*MsgCommitmentResponse) XXX_DiscardUnknown

func (m *MsgCommitmentResponse) XXX_DiscardUnknown()

func (*MsgCommitmentResponse) XXX_Marshal

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

func (*MsgCommitmentResponse) XXX_Merge

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

func (*MsgCommitmentResponse) XXX_Size

func (m *MsgCommitmentResponse) XXX_Size() int

func (*MsgCommitmentResponse) XXX_Unmarshal

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

type MsgFund

type MsgFund struct {
	Creator       string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Creatoraddr   string      `protobuf:"bytes,2,opt,name=creatoraddr,proto3" json:"creatoraddr,omitempty"`
	Channelid     string      `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"`
	CointoPartner *types.Coin `protobuf:"bytes,4,opt,name=cointoPartner,proto3" json:"cointoPartner,omitempty"`
	Hashcode      string      `protobuf:"bytes,5,opt,name=hashcode,proto3" json:"hashcode,omitempty"`
	Numblock      uint64      `protobuf:"varint,6,opt,name=numblock,proto3" json:"numblock,omitempty"`
	MultisigAddr  string      `protobuf:"bytes,7,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
}

func NewMsgFund

func NewMsgFund(creator string, creatoraddr string, channelid string, cointoPartner *sdk.Coin, hashcode string, numblock uint64, multisigAddr string) *MsgFund

func (*MsgFund) Descriptor

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

func (*MsgFund) GetChannelid

func (m *MsgFund) GetChannelid() string

func (*MsgFund) GetCointoPartner

func (m *MsgFund) GetCointoPartner() *types.Coin

func (*MsgFund) GetCreator

func (m *MsgFund) GetCreator() string

func (*MsgFund) GetCreatoraddr

func (m *MsgFund) GetCreatoraddr() string

func (*MsgFund) GetHashcode

func (m *MsgFund) GetHashcode() string

func (*MsgFund) GetMultisigAddr

func (m *MsgFund) GetMultisigAddr() string

func (*MsgFund) GetNumblock

func (m *MsgFund) GetNumblock() uint64

func (*MsgFund) GetSignBytes

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

func (*MsgFund) GetSigners

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

func (*MsgFund) Marshal

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

func (*MsgFund) MarshalTo

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

func (*MsgFund) MarshalToSizedBuffer

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

func (*MsgFund) ProtoMessage

func (*MsgFund) ProtoMessage()

func (*MsgFund) Reset

func (m *MsgFund) Reset()

func (*MsgFund) Route

func (msg *MsgFund) Route() string

func (*MsgFund) Size

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

func (*MsgFund) String

func (m *MsgFund) String() string

func (*MsgFund) Type

func (msg *MsgFund) Type() string

func (*MsgFund) Unmarshal

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

func (*MsgFund) ValidateBasic

func (msg *MsgFund) ValidateBasic() error

func (*MsgFund) XXX_DiscardUnknown

func (m *MsgFund) XXX_DiscardUnknown()

func (*MsgFund) XXX_Marshal

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

func (*MsgFund) XXX_Merge

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

func (*MsgFund) XXX_Size

func (m *MsgFund) XXX_Size() int

func (*MsgFund) XXX_Unmarshal

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

type MsgFundResponse

type MsgFundResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgFundResponse) Descriptor

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

func (*MsgFundResponse) GetId

func (m *MsgFundResponse) GetId() string

func (*MsgFundResponse) Marshal

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

func (*MsgFundResponse) MarshalTo

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

func (*MsgFundResponse) MarshalToSizedBuffer

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

func (*MsgFundResponse) ProtoMessage

func (*MsgFundResponse) ProtoMessage()

func (*MsgFundResponse) Reset

func (m *MsgFundResponse) Reset()

func (*MsgFundResponse) Size

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

func (*MsgFundResponse) String

func (m *MsgFundResponse) String() string

func (*MsgFundResponse) Unmarshal

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

func (*MsgFundResponse) XXX_DiscardUnknown

func (m *MsgFundResponse) XXX_DiscardUnknown()

func (*MsgFundResponse) XXX_Marshal

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

func (*MsgFundResponse) XXX_Merge

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

func (*MsgFundResponse) XXX_Size

func (m *MsgFundResponse) XXX_Size() int

func (*MsgFundResponse) XXX_Unmarshal

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

type MsgOpenchannel

type MsgOpenchannel struct {
	Creator      string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PartA        string      `protobuf:"bytes,2,opt,name=partA,proto3" json:"partA,omitempty"`
	PartB        string      `protobuf:"bytes,3,opt,name=partB,proto3" json:"partB,omitempty"`
	CoinA        *types.Coin `protobuf:"bytes,4,opt,name=coinA,proto3" json:"coinA,omitempty"`
	CoinB        *types.Coin `protobuf:"bytes,5,opt,name=coinB,proto3" json:"coinB,omitempty"`
	MultisigAddr string      `protobuf:"bytes,6,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
	Sequence     string      `protobuf:"bytes,7,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

func NewMsgOpenchannel

func NewMsgOpenchannel(creator string, partA string, partB string, coinA *sdk.Coin, coinB *sdk.Coin, multisigAddr string, sequence string) *MsgOpenchannel

func (*MsgOpenchannel) Descriptor

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

func (*MsgOpenchannel) GetCoinA

func (m *MsgOpenchannel) GetCoinA() *types.Coin

func (*MsgOpenchannel) GetCoinB

func (m *MsgOpenchannel) GetCoinB() *types.Coin

func (*MsgOpenchannel) GetCreator

func (m *MsgOpenchannel) GetCreator() string

func (*MsgOpenchannel) GetMultisigAddr

func (m *MsgOpenchannel) GetMultisigAddr() string

func (*MsgOpenchannel) GetPartA

func (m *MsgOpenchannel) GetPartA() string

func (*MsgOpenchannel) GetPartB

func (m *MsgOpenchannel) GetPartB() string

func (*MsgOpenchannel) GetSequence

func (m *MsgOpenchannel) GetSequence() string

func (*MsgOpenchannel) GetSignBytes

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

func (*MsgOpenchannel) GetSigners

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

func (*MsgOpenchannel) Marshal

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

func (*MsgOpenchannel) MarshalTo

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

func (*MsgOpenchannel) MarshalToSizedBuffer

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

func (*MsgOpenchannel) ProtoMessage

func (*MsgOpenchannel) ProtoMessage()

func (*MsgOpenchannel) Reset

func (m *MsgOpenchannel) Reset()

func (*MsgOpenchannel) Route

func (msg *MsgOpenchannel) Route() string

func (*MsgOpenchannel) Size

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

func (*MsgOpenchannel) String

func (m *MsgOpenchannel) String() string

func (*MsgOpenchannel) Type

func (msg *MsgOpenchannel) Type() string

func (*MsgOpenchannel) Unmarshal

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

func (*MsgOpenchannel) ValidateBasic

func (msg *MsgOpenchannel) ValidateBasic() error

func (*MsgOpenchannel) XXX_DiscardUnknown

func (m *MsgOpenchannel) XXX_DiscardUnknown()

func (*MsgOpenchannel) XXX_Marshal

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

func (*MsgOpenchannel) XXX_Merge

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

func (*MsgOpenchannel) XXX_Size

func (m *MsgOpenchannel) XXX_Size() int

func (*MsgOpenchannel) XXX_Unmarshal

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

type MsgOpenchannelResponse

type MsgOpenchannelResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgOpenchannelResponse) Descriptor

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

func (*MsgOpenchannelResponse) GetId

func (m *MsgOpenchannelResponse) GetId() string

func (*MsgOpenchannelResponse) Marshal

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

func (*MsgOpenchannelResponse) MarshalTo

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

func (*MsgOpenchannelResponse) MarshalToSizedBuffer

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

func (*MsgOpenchannelResponse) ProtoMessage

func (*MsgOpenchannelResponse) ProtoMessage()

func (*MsgOpenchannelResponse) Reset

func (m *MsgOpenchannelResponse) Reset()

func (*MsgOpenchannelResponse) Size

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

func (*MsgOpenchannelResponse) String

func (m *MsgOpenchannelResponse) String() string

func (*MsgOpenchannelResponse) Unmarshal

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

func (*MsgOpenchannelResponse) XXX_DiscardUnknown

func (m *MsgOpenchannelResponse) XXX_DiscardUnknown()

func (*MsgOpenchannelResponse) XXX_Marshal

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

func (*MsgOpenchannelResponse) XXX_Merge

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

func (*MsgOpenchannelResponse) XXX_Size

func (m *MsgOpenchannelResponse) XXX_Size() int

func (*MsgOpenchannelResponse) XXX_Unmarshal

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

type MsgReceivercommit

type MsgReceivercommit struct {
	Creator        string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ReceiverAddr   string      `protobuf:"bytes,2,opt,name=receiverAddr,proto3" json:"receiverAddr,omitempty"`
	Channelid      string      `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"`
	Cointoreceiver *types.Coin `protobuf:"bytes,4,opt,name=cointoreceiver,proto3" json:"cointoreceiver,omitempty"`
	Cointohtlc     *types.Coin `protobuf:"bytes,5,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"`
	Cointransfer   *types.Coin `protobuf:"bytes,6,opt,name=cointransfer,proto3" json:"cointransfer,omitempty"`
	Hashcodehtlc   string      `protobuf:"bytes,7,opt,name=hashcodehtlc,proto3" json:"hashcodehtlc,omitempty"`
	Timelockhtlc   uint64      `protobuf:"varint,8,opt,name=timelockhtlc,proto3" json:"timelockhtlc,omitempty"`
	Hashcodedest   string      `protobuf:"bytes,9,opt,name=hashcodedest,proto3" json:"hashcodedest,omitempty"`
	Timelocksender uint64      `protobuf:"varint,10,opt,name=timelocksender,proto3" json:"timelocksender,omitempty"`
	MultisigAddr   string      `protobuf:"bytes,11,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
}

func NewMsgReceivercommit

func NewMsgReceivercommit(creator string, receiverAddr string, channelid string, cointoreceiver *sdk.Coin, cointohtlc *sdk.Coin, cointransfer *sdk.Coin, hashcodehtlc string, timelockhtlc uint64, hashcodedest string, timelocksender uint64, multisigAddr string) *MsgReceivercommit

func (*MsgReceivercommit) Descriptor

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

func (*MsgReceivercommit) GetChannelid

func (m *MsgReceivercommit) GetChannelid() string

func (*MsgReceivercommit) GetCointohtlc

func (m *MsgReceivercommit) GetCointohtlc() *types.Coin

func (*MsgReceivercommit) GetCointoreceiver

func (m *MsgReceivercommit) GetCointoreceiver() *types.Coin

func (*MsgReceivercommit) GetCointransfer

func (m *MsgReceivercommit) GetCointransfer() *types.Coin

func (*MsgReceivercommit) GetCreator

func (m *MsgReceivercommit) GetCreator() string

func (*MsgReceivercommit) GetHashcodedest

func (m *MsgReceivercommit) GetHashcodedest() string

func (*MsgReceivercommit) GetHashcodehtlc

func (m *MsgReceivercommit) GetHashcodehtlc() string

func (*MsgReceivercommit) GetMultisigAddr

func (m *MsgReceivercommit) GetMultisigAddr() string

func (*MsgReceivercommit) GetReceiverAddr

func (m *MsgReceivercommit) GetReceiverAddr() string

func (*MsgReceivercommit) GetSignBytes

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

func (*MsgReceivercommit) GetSigners

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

func (*MsgReceivercommit) GetTimelockhtlc

func (m *MsgReceivercommit) GetTimelockhtlc() uint64

func (*MsgReceivercommit) GetTimelocksender

func (m *MsgReceivercommit) GetTimelocksender() uint64

func (*MsgReceivercommit) Marshal

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

func (*MsgReceivercommit) MarshalTo

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

func (*MsgReceivercommit) MarshalToSizedBuffer

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

func (*MsgReceivercommit) ProtoMessage

func (*MsgReceivercommit) ProtoMessage()

func (*MsgReceivercommit) Reset

func (m *MsgReceivercommit) Reset()

func (*MsgReceivercommit) Route

func (msg *MsgReceivercommit) Route() string

func (*MsgReceivercommit) Size

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

func (*MsgReceivercommit) String

func (m *MsgReceivercommit) String() string

func (*MsgReceivercommit) Type

func (msg *MsgReceivercommit) Type() string

func (*MsgReceivercommit) Unmarshal

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

func (*MsgReceivercommit) ValidateBasic

func (msg *MsgReceivercommit) ValidateBasic() error

func (*MsgReceivercommit) XXX_DiscardUnknown

func (m *MsgReceivercommit) XXX_DiscardUnknown()

func (*MsgReceivercommit) XXX_Marshal

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

func (*MsgReceivercommit) XXX_Merge

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

func (*MsgReceivercommit) XXX_Size

func (m *MsgReceivercommit) XXX_Size() int

func (*MsgReceivercommit) XXX_Unmarshal

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

type MsgReceivercommitResponse

type MsgReceivercommitResponse struct {
	HtlcIndex     string `protobuf:"bytes,1,opt,name=htlcIndex,proto3" json:"htlcIndex,omitempty"`
	TransferIndex string `protobuf:"bytes,2,opt,name=transferIndex,proto3" json:"transferIndex,omitempty"`
}

func (*MsgReceivercommitResponse) Descriptor

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

func (*MsgReceivercommitResponse) GetHtlcIndex

func (m *MsgReceivercommitResponse) GetHtlcIndex() string

func (*MsgReceivercommitResponse) GetTransferIndex

func (m *MsgReceivercommitResponse) GetTransferIndex() string

func (*MsgReceivercommitResponse) Marshal

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

func (*MsgReceivercommitResponse) MarshalTo

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

func (*MsgReceivercommitResponse) MarshalToSizedBuffer

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

func (*MsgReceivercommitResponse) ProtoMessage

func (*MsgReceivercommitResponse) ProtoMessage()

func (*MsgReceivercommitResponse) Reset

func (m *MsgReceivercommitResponse) Reset()

func (*MsgReceivercommitResponse) Size

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

func (*MsgReceivercommitResponse) String

func (m *MsgReceivercommitResponse) String() string

func (*MsgReceivercommitResponse) Unmarshal

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

func (*MsgReceivercommitResponse) XXX_DiscardUnknown

func (m *MsgReceivercommitResponse) XXX_DiscardUnknown()

func (*MsgReceivercommitResponse) XXX_Marshal

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

func (*MsgReceivercommitResponse) XXX_Merge

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

func (*MsgReceivercommitResponse) XXX_Size

func (m *MsgReceivercommitResponse) XXX_Size() int

func (*MsgReceivercommitResponse) XXX_Unmarshal

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

type MsgReceiverwithdraw

type MsgReceiverwithdraw struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Transferindex string `protobuf:"bytes,2,opt,name=transferindex,proto3" json:"transferindex,omitempty"`
	To            string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Secret        string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
}

func NewMsgReceiverwithdraw

func NewMsgReceiverwithdraw(creator string, transferindex string, to string, secret string) *MsgReceiverwithdraw

func (*MsgReceiverwithdraw) Descriptor

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

func (*MsgReceiverwithdraw) GetCreator

func (m *MsgReceiverwithdraw) GetCreator() string

func (*MsgReceiverwithdraw) GetSecret

func (m *MsgReceiverwithdraw) GetSecret() string

func (*MsgReceiverwithdraw) GetSignBytes

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

func (*MsgReceiverwithdraw) GetSigners

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

func (*MsgReceiverwithdraw) GetTo

func (m *MsgReceiverwithdraw) GetTo() string

func (*MsgReceiverwithdraw) GetTransferindex

func (m *MsgReceiverwithdraw) GetTransferindex() string

func (*MsgReceiverwithdraw) Marshal

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

func (*MsgReceiverwithdraw) MarshalTo

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

func (*MsgReceiverwithdraw) MarshalToSizedBuffer

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

func (*MsgReceiverwithdraw) ProtoMessage

func (*MsgReceiverwithdraw) ProtoMessage()

func (*MsgReceiverwithdraw) Reset

func (m *MsgReceiverwithdraw) Reset()

func (*MsgReceiverwithdraw) Route

func (msg *MsgReceiverwithdraw) Route() string

func (*MsgReceiverwithdraw) Size

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

func (*MsgReceiverwithdraw) String

func (m *MsgReceiverwithdraw) String() string

func (*MsgReceiverwithdraw) Type

func (msg *MsgReceiverwithdraw) Type() string

func (*MsgReceiverwithdraw) Unmarshal

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

func (*MsgReceiverwithdraw) ValidateBasic

func (msg *MsgReceiverwithdraw) ValidateBasic() error

func (*MsgReceiverwithdraw) XXX_DiscardUnknown

func (m *MsgReceiverwithdraw) XXX_DiscardUnknown()

func (*MsgReceiverwithdraw) XXX_Marshal

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

func (*MsgReceiverwithdraw) XXX_Merge

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

func (*MsgReceiverwithdraw) XXX_Size

func (m *MsgReceiverwithdraw) XXX_Size() int

func (*MsgReceiverwithdraw) XXX_Unmarshal

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

type MsgReceiverwithdrawResponse

type MsgReceiverwithdrawResponse struct {
}

func (*MsgReceiverwithdrawResponse) Descriptor

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

func (*MsgReceiverwithdrawResponse) Marshal

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

func (*MsgReceiverwithdrawResponse) MarshalTo

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

func (*MsgReceiverwithdrawResponse) MarshalToSizedBuffer

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

func (*MsgReceiverwithdrawResponse) ProtoMessage

func (*MsgReceiverwithdrawResponse) ProtoMessage()

func (*MsgReceiverwithdrawResponse) Reset

func (m *MsgReceiverwithdrawResponse) Reset()

func (*MsgReceiverwithdrawResponse) Size

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

func (*MsgReceiverwithdrawResponse) String

func (m *MsgReceiverwithdrawResponse) String() string

func (*MsgReceiverwithdrawResponse) Unmarshal

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

func (*MsgReceiverwithdrawResponse) XXX_DiscardUnknown

func (m *MsgReceiverwithdrawResponse) XXX_DiscardUnknown()

func (*MsgReceiverwithdrawResponse) XXX_Marshal

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

func (*MsgReceiverwithdrawResponse) XXX_Merge

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

func (*MsgReceiverwithdrawResponse) XXX_Size

func (m *MsgReceiverwithdrawResponse) XXX_Size() int

func (*MsgReceiverwithdrawResponse) XXX_Unmarshal

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

type MsgSendercommit

type MsgSendercommit struct {
	Creator          string      `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	SenderAddr       string      `protobuf:"bytes,2,opt,name=senderAddr,proto3" json:"senderAddr,omitempty"`
	Channelid        string      `protobuf:"bytes,3,opt,name=channelid,proto3" json:"channelid,omitempty"`
	Cointosender     *types.Coin `protobuf:"bytes,4,opt,name=cointosender,proto3" json:"cointosender,omitempty"`
	Cointohtlc       *types.Coin `protobuf:"bytes,5,opt,name=cointohtlc,proto3" json:"cointohtlc,omitempty"`
	Cointransfer     *types.Coin `protobuf:"bytes,6,opt,name=cointransfer,proto3" json:"cointransfer,omitempty"`
	Hashcodehtlc     string      `protobuf:"bytes,7,opt,name=hashcodehtlc,proto3" json:"hashcodehtlc,omitempty"`
	Timelockhtlc     uint64      `protobuf:"varint,8,opt,name=timelockhtlc,proto3" json:"timelockhtlc,omitempty"`
	Hashcodedest     string      `protobuf:"bytes,9,opt,name=hashcodedest,proto3" json:"hashcodedest,omitempty"`
	Timelockreceiver uint64      `protobuf:"varint,10,opt,name=timelockreceiver,proto3" json:"timelockreceiver,omitempty"`
	Timelocksender   uint64      `protobuf:"varint,11,opt,name=timelocksender,proto3" json:"timelocksender,omitempty"`
	MultisigAddr     string      `protobuf:"bytes,12,opt,name=multisigAddr,proto3" json:"multisigAddr,omitempty"`
}

func NewMsgSendercommit

func NewMsgSendercommit(creator string, senderAddr string, channelid string, cointosender *sdk.Coin, cointohtlc *sdk.Coin, cointransfer *sdk.Coin, hashcodehtlc string, timelockhtlc uint64, hashcodedest string, timelockreceiver uint64, timelocksender uint64, multisigAddr string) *MsgSendercommit

func (*MsgSendercommit) Descriptor

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

func (*MsgSendercommit) GetChannelid

func (m *MsgSendercommit) GetChannelid() string

func (*MsgSendercommit) GetCointohtlc

func (m *MsgSendercommit) GetCointohtlc() *types.Coin

func (*MsgSendercommit) GetCointosender

func (m *MsgSendercommit) GetCointosender() *types.Coin

func (*MsgSendercommit) GetCointransfer

func (m *MsgSendercommit) GetCointransfer() *types.Coin

func (*MsgSendercommit) GetCreator

func (m *MsgSendercommit) GetCreator() string

func (*MsgSendercommit) GetHashcodedest

func (m *MsgSendercommit) GetHashcodedest() string

func (*MsgSendercommit) GetHashcodehtlc

func (m *MsgSendercommit) GetHashcodehtlc() string

func (*MsgSendercommit) GetMultisigAddr

func (m *MsgSendercommit) GetMultisigAddr() string

func (*MsgSendercommit) GetSenderAddr

func (m *MsgSendercommit) GetSenderAddr() string

func (*MsgSendercommit) GetSignBytes

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

func (*MsgSendercommit) GetSigners

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

func (*MsgSendercommit) GetTimelockhtlc

func (m *MsgSendercommit) GetTimelockhtlc() uint64

func (*MsgSendercommit) GetTimelockreceiver

func (m *MsgSendercommit) GetTimelockreceiver() uint64

func (*MsgSendercommit) GetTimelocksender

func (m *MsgSendercommit) GetTimelocksender() uint64

func (*MsgSendercommit) Marshal

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

func (*MsgSendercommit) MarshalTo

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

func (*MsgSendercommit) MarshalToSizedBuffer

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

func (*MsgSendercommit) ProtoMessage

func (*MsgSendercommit) ProtoMessage()

func (*MsgSendercommit) Reset

func (m *MsgSendercommit) Reset()

func (*MsgSendercommit) Route

func (msg *MsgSendercommit) Route() string

func (*MsgSendercommit) Size

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

func (*MsgSendercommit) String

func (m *MsgSendercommit) String() string

func (*MsgSendercommit) Type

func (msg *MsgSendercommit) Type() string

func (*MsgSendercommit) Unmarshal

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

func (*MsgSendercommit) ValidateBasic

func (msg *MsgSendercommit) ValidateBasic() error

func (*MsgSendercommit) XXX_DiscardUnknown

func (m *MsgSendercommit) XXX_DiscardUnknown()

func (*MsgSendercommit) XXX_Marshal

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

func (*MsgSendercommit) XXX_Merge

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

func (*MsgSendercommit) XXX_Size

func (m *MsgSendercommit) XXX_Size() int

func (*MsgSendercommit) XXX_Unmarshal

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

type MsgSendercommitResponse

type MsgSendercommitResponse struct {
	HtlcIndex     string `protobuf:"bytes,1,opt,name=htlcIndex,proto3" json:"htlcIndex,omitempty"`
	TransferIndex string `protobuf:"bytes,2,opt,name=transferIndex,proto3" json:"transferIndex,omitempty"`
}

func (*MsgSendercommitResponse) Descriptor

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

func (*MsgSendercommitResponse) GetHtlcIndex

func (m *MsgSendercommitResponse) GetHtlcIndex() string

func (*MsgSendercommitResponse) GetTransferIndex

func (m *MsgSendercommitResponse) GetTransferIndex() string

func (*MsgSendercommitResponse) Marshal

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

func (*MsgSendercommitResponse) MarshalTo

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

func (*MsgSendercommitResponse) MarshalToSizedBuffer

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

func (*MsgSendercommitResponse) ProtoMessage

func (*MsgSendercommitResponse) ProtoMessage()

func (*MsgSendercommitResponse) Reset

func (m *MsgSendercommitResponse) Reset()

func (*MsgSendercommitResponse) Size

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

func (*MsgSendercommitResponse) String

func (m *MsgSendercommitResponse) String() string

func (*MsgSendercommitResponse) Unmarshal

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

func (*MsgSendercommitResponse) XXX_DiscardUnknown

func (m *MsgSendercommitResponse) XXX_DiscardUnknown()

func (*MsgSendercommitResponse) XXX_Marshal

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

func (*MsgSendercommitResponse) XXX_Merge

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

func (*MsgSendercommitResponse) XXX_Size

func (m *MsgSendercommitResponse) XXX_Size() int

func (*MsgSendercommitResponse) XXX_Unmarshal

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

type MsgSenderwithdrawhashlock

type MsgSenderwithdrawhashlock struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Transferindex string `protobuf:"bytes,2,opt,name=transferindex,proto3" json:"transferindex,omitempty"`
	To            string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Secret        string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
}

func NewMsgSenderwithdrawhashlock

func NewMsgSenderwithdrawhashlock(creator string, transferindex string, to string, secret string) *MsgSenderwithdrawhashlock

func (*MsgSenderwithdrawhashlock) Descriptor

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

func (*MsgSenderwithdrawhashlock) GetCreator

func (m *MsgSenderwithdrawhashlock) GetCreator() string

func (*MsgSenderwithdrawhashlock) GetSecret

func (m *MsgSenderwithdrawhashlock) GetSecret() string

func (*MsgSenderwithdrawhashlock) GetSignBytes

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

func (*MsgSenderwithdrawhashlock) GetSigners

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

func (*MsgSenderwithdrawhashlock) GetTo

func (m *MsgSenderwithdrawhashlock) GetTo() string

func (*MsgSenderwithdrawhashlock) GetTransferindex

func (m *MsgSenderwithdrawhashlock) GetTransferindex() string

func (*MsgSenderwithdrawhashlock) Marshal

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

func (*MsgSenderwithdrawhashlock) MarshalTo

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

func (*MsgSenderwithdrawhashlock) MarshalToSizedBuffer

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

func (*MsgSenderwithdrawhashlock) ProtoMessage

func (*MsgSenderwithdrawhashlock) ProtoMessage()

func (*MsgSenderwithdrawhashlock) Reset

func (m *MsgSenderwithdrawhashlock) Reset()

func (*MsgSenderwithdrawhashlock) Route

func (msg *MsgSenderwithdrawhashlock) Route() string

func (*MsgSenderwithdrawhashlock) Size

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

func (*MsgSenderwithdrawhashlock) String

func (m *MsgSenderwithdrawhashlock) String() string

func (*MsgSenderwithdrawhashlock) Type

func (msg *MsgSenderwithdrawhashlock) Type() string

func (*MsgSenderwithdrawhashlock) Unmarshal

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

func (*MsgSenderwithdrawhashlock) ValidateBasic

func (msg *MsgSenderwithdrawhashlock) ValidateBasic() error

func (*MsgSenderwithdrawhashlock) XXX_DiscardUnknown

func (m *MsgSenderwithdrawhashlock) XXX_DiscardUnknown()

func (*MsgSenderwithdrawhashlock) XXX_Marshal

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

func (*MsgSenderwithdrawhashlock) XXX_Merge

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

func (*MsgSenderwithdrawhashlock) XXX_Size

func (m *MsgSenderwithdrawhashlock) XXX_Size() int

func (*MsgSenderwithdrawhashlock) XXX_Unmarshal

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

type MsgSenderwithdrawhashlockResponse

type MsgSenderwithdrawhashlockResponse struct {
}

func (*MsgSenderwithdrawhashlockResponse) Descriptor

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

func (*MsgSenderwithdrawhashlockResponse) Marshal

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

func (*MsgSenderwithdrawhashlockResponse) MarshalTo

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

func (*MsgSenderwithdrawhashlockResponse) MarshalToSizedBuffer

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

func (*MsgSenderwithdrawhashlockResponse) ProtoMessage

func (*MsgSenderwithdrawhashlockResponse) ProtoMessage()

func (*MsgSenderwithdrawhashlockResponse) Reset

func (*MsgSenderwithdrawhashlockResponse) Size

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

func (*MsgSenderwithdrawhashlockResponse) String

func (*MsgSenderwithdrawhashlockResponse) Unmarshal

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

func (*MsgSenderwithdrawhashlockResponse) XXX_DiscardUnknown

func (m *MsgSenderwithdrawhashlockResponse) XXX_DiscardUnknown()

func (*MsgSenderwithdrawhashlockResponse) XXX_Marshal

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

func (*MsgSenderwithdrawhashlockResponse) XXX_Merge

func (*MsgSenderwithdrawhashlockResponse) XXX_Size

func (m *MsgSenderwithdrawhashlockResponse) XXX_Size() int

func (*MsgSenderwithdrawhashlockResponse) XXX_Unmarshal

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

type MsgSenderwithdrawtimelock

type MsgSenderwithdrawtimelock struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Transferindex string `protobuf:"bytes,2,opt,name=transferindex,proto3" json:"transferindex,omitempty"`
	To            string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
}

func NewMsgSenderwithdrawtimelock

func NewMsgSenderwithdrawtimelock(creator string, transferindex string, to string) *MsgSenderwithdrawtimelock

func (*MsgSenderwithdrawtimelock) Descriptor

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

func (*MsgSenderwithdrawtimelock) GetCreator

func (m *MsgSenderwithdrawtimelock) GetCreator() string

func (*MsgSenderwithdrawtimelock) GetSignBytes

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

func (*MsgSenderwithdrawtimelock) GetSigners

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

func (*MsgSenderwithdrawtimelock) GetTo

func (m *MsgSenderwithdrawtimelock) GetTo() string

func (*MsgSenderwithdrawtimelock) GetTransferindex

func (m *MsgSenderwithdrawtimelock) GetTransferindex() string

func (*MsgSenderwithdrawtimelock) Marshal

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

func (*MsgSenderwithdrawtimelock) MarshalTo

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

func (*MsgSenderwithdrawtimelock) MarshalToSizedBuffer

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

func (*MsgSenderwithdrawtimelock) ProtoMessage

func (*MsgSenderwithdrawtimelock) ProtoMessage()

func (*MsgSenderwithdrawtimelock) Reset

func (m *MsgSenderwithdrawtimelock) Reset()

func (*MsgSenderwithdrawtimelock) Route

func (msg *MsgSenderwithdrawtimelock) Route() string

func (*MsgSenderwithdrawtimelock) Size

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

func (*MsgSenderwithdrawtimelock) String

func (m *MsgSenderwithdrawtimelock) String() string

func (*MsgSenderwithdrawtimelock) Type

func (msg *MsgSenderwithdrawtimelock) Type() string

func (*MsgSenderwithdrawtimelock) Unmarshal

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

func (*MsgSenderwithdrawtimelock) ValidateBasic

func (msg *MsgSenderwithdrawtimelock) ValidateBasic() error

func (*MsgSenderwithdrawtimelock) XXX_DiscardUnknown

func (m *MsgSenderwithdrawtimelock) XXX_DiscardUnknown()

func (*MsgSenderwithdrawtimelock) XXX_Marshal

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

func (*MsgSenderwithdrawtimelock) XXX_Merge

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

func (*MsgSenderwithdrawtimelock) XXX_Size

func (m *MsgSenderwithdrawtimelock) XXX_Size() int

func (*MsgSenderwithdrawtimelock) XXX_Unmarshal

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

type MsgSenderwithdrawtimelockResponse

type MsgSenderwithdrawtimelockResponse struct {
}

func (*MsgSenderwithdrawtimelockResponse) Descriptor

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

func (*MsgSenderwithdrawtimelockResponse) Marshal

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

func (*MsgSenderwithdrawtimelockResponse) MarshalTo

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

func (*MsgSenderwithdrawtimelockResponse) MarshalToSizedBuffer

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

func (*MsgSenderwithdrawtimelockResponse) ProtoMessage

func (*MsgSenderwithdrawtimelockResponse) ProtoMessage()

func (*MsgSenderwithdrawtimelockResponse) Reset

func (*MsgSenderwithdrawtimelockResponse) Size

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

func (*MsgSenderwithdrawtimelockResponse) String

func (*MsgSenderwithdrawtimelockResponse) Unmarshal

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

func (*MsgSenderwithdrawtimelockResponse) XXX_DiscardUnknown

func (m *MsgSenderwithdrawtimelockResponse) XXX_DiscardUnknown()

func (*MsgSenderwithdrawtimelockResponse) XXX_Marshal

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

func (*MsgSenderwithdrawtimelockResponse) XXX_Merge

func (*MsgSenderwithdrawtimelockResponse) XXX_Size

func (m *MsgSenderwithdrawtimelockResponse) XXX_Size() int

func (*MsgSenderwithdrawtimelockResponse) XXX_Unmarshal

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

type MsgWithdrawHashlock

type MsgWithdrawHashlock struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	To      string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Index   string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
	Secret  string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
}

func NewMsgWithdrawHashlock

func NewMsgWithdrawHashlock(creator string, to string, index string, secret string) *MsgWithdrawHashlock

func (*MsgWithdrawHashlock) Descriptor

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

func (*MsgWithdrawHashlock) GetCreator

func (m *MsgWithdrawHashlock) GetCreator() string

func (*MsgWithdrawHashlock) GetIndex

func (m *MsgWithdrawHashlock) GetIndex() string

func (*MsgWithdrawHashlock) GetSecret

func (m *MsgWithdrawHashlock) GetSecret() string

func (*MsgWithdrawHashlock) GetSignBytes

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

func (*MsgWithdrawHashlock) GetSigners

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

func (*MsgWithdrawHashlock) GetTo

func (m *MsgWithdrawHashlock) GetTo() string

func (*MsgWithdrawHashlock) Marshal

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

func (*MsgWithdrawHashlock) MarshalTo

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

func (*MsgWithdrawHashlock) MarshalToSizedBuffer

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

func (*MsgWithdrawHashlock) ProtoMessage

func (*MsgWithdrawHashlock) ProtoMessage()

func (*MsgWithdrawHashlock) Reset

func (m *MsgWithdrawHashlock) Reset()

func (*MsgWithdrawHashlock) Route

func (msg *MsgWithdrawHashlock) Route() string

func (*MsgWithdrawHashlock) Size

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

func (*MsgWithdrawHashlock) String

func (m *MsgWithdrawHashlock) String() string

func (*MsgWithdrawHashlock) Type

func (msg *MsgWithdrawHashlock) Type() string

func (*MsgWithdrawHashlock) Unmarshal

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

func (*MsgWithdrawHashlock) ValidateBasic

func (msg *MsgWithdrawHashlock) ValidateBasic() error

func (*MsgWithdrawHashlock) XXX_DiscardUnknown

func (m *MsgWithdrawHashlock) XXX_DiscardUnknown()

func (*MsgWithdrawHashlock) XXX_Marshal

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

func (*MsgWithdrawHashlock) XXX_Merge

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

func (*MsgWithdrawHashlock) XXX_Size

func (m *MsgWithdrawHashlock) XXX_Size() int

func (*MsgWithdrawHashlock) XXX_Unmarshal

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

type MsgWithdrawHashlockResponse

type MsgWithdrawHashlockResponse struct {
}

func (*MsgWithdrawHashlockResponse) Descriptor

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

func (*MsgWithdrawHashlockResponse) Marshal

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

func (*MsgWithdrawHashlockResponse) MarshalTo

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

func (*MsgWithdrawHashlockResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawHashlockResponse) ProtoMessage

func (*MsgWithdrawHashlockResponse) ProtoMessage()

func (*MsgWithdrawHashlockResponse) Reset

func (m *MsgWithdrawHashlockResponse) Reset()

func (*MsgWithdrawHashlockResponse) Size

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

func (*MsgWithdrawHashlockResponse) String

func (m *MsgWithdrawHashlockResponse) String() string

func (*MsgWithdrawHashlockResponse) Unmarshal

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

func (*MsgWithdrawHashlockResponse) XXX_DiscardUnknown

func (m *MsgWithdrawHashlockResponse) XXX_DiscardUnknown()

func (*MsgWithdrawHashlockResponse) XXX_Marshal

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

func (*MsgWithdrawHashlockResponse) XXX_Merge

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

func (*MsgWithdrawHashlockResponse) XXX_Size

func (m *MsgWithdrawHashlockResponse) XXX_Size() int

func (*MsgWithdrawHashlockResponse) XXX_Unmarshal

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

type MsgWithdrawTimelock

type MsgWithdrawTimelock struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	To      string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Index   string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
}

func NewMsgWithdrawTimelock

func NewMsgWithdrawTimelock(creator string, to string, index string) *MsgWithdrawTimelock

func (*MsgWithdrawTimelock) Descriptor

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

func (*MsgWithdrawTimelock) GetCreator

func (m *MsgWithdrawTimelock) GetCreator() string

func (*MsgWithdrawTimelock) GetIndex

func (m *MsgWithdrawTimelock) GetIndex() string

func (*MsgWithdrawTimelock) GetSignBytes

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

func (*MsgWithdrawTimelock) GetSigners

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

func (*MsgWithdrawTimelock) GetTo

func (m *MsgWithdrawTimelock) GetTo() string

func (*MsgWithdrawTimelock) Marshal

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

func (*MsgWithdrawTimelock) MarshalTo

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

func (*MsgWithdrawTimelock) MarshalToSizedBuffer

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

func (*MsgWithdrawTimelock) ProtoMessage

func (*MsgWithdrawTimelock) ProtoMessage()

func (*MsgWithdrawTimelock) Reset

func (m *MsgWithdrawTimelock) Reset()

func (*MsgWithdrawTimelock) Route

func (msg *MsgWithdrawTimelock) Route() string

func (*MsgWithdrawTimelock) Size

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

func (*MsgWithdrawTimelock) String

func (m *MsgWithdrawTimelock) String() string

func (*MsgWithdrawTimelock) Type

func (msg *MsgWithdrawTimelock) Type() string

func (*MsgWithdrawTimelock) Unmarshal

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

func (*MsgWithdrawTimelock) ValidateBasic

func (msg *MsgWithdrawTimelock) ValidateBasic() error

func (*MsgWithdrawTimelock) XXX_DiscardUnknown

func (m *MsgWithdrawTimelock) XXX_DiscardUnknown()

func (*MsgWithdrawTimelock) XXX_Marshal

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

func (*MsgWithdrawTimelock) XXX_Merge

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

func (*MsgWithdrawTimelock) XXX_Size

func (m *MsgWithdrawTimelock) XXX_Size() int

func (*MsgWithdrawTimelock) XXX_Unmarshal

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

type MsgWithdrawTimelockResponse

type MsgWithdrawTimelockResponse struct {
}

func (*MsgWithdrawTimelockResponse) Descriptor

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

func (*MsgWithdrawTimelockResponse) Marshal

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

func (*MsgWithdrawTimelockResponse) MarshalTo

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

func (*MsgWithdrawTimelockResponse) MarshalToSizedBuffer

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

func (*MsgWithdrawTimelockResponse) ProtoMessage

func (*MsgWithdrawTimelockResponse) ProtoMessage()

func (*MsgWithdrawTimelockResponse) Reset

func (m *MsgWithdrawTimelockResponse) Reset()

func (*MsgWithdrawTimelockResponse) Size

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

func (*MsgWithdrawTimelockResponse) String

func (m *MsgWithdrawTimelockResponse) String() string

func (*MsgWithdrawTimelockResponse) Unmarshal

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

func (*MsgWithdrawTimelockResponse) XXX_DiscardUnknown

func (m *MsgWithdrawTimelockResponse) XXX_DiscardUnknown()

func (*MsgWithdrawTimelockResponse) XXX_Marshal

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

func (*MsgWithdrawTimelockResponse) XXX_Merge

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

func (*MsgWithdrawTimelockResponse) XXX_Size

func (m *MsgWithdrawTimelockResponse) XXX_Size() int

func (*MsgWithdrawTimelockResponse) XXX_Unmarshal

func (m *MsgWithdrawTimelockResponse) 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 QueryAllChannelRequest

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

func (*QueryAllChannelRequest) Descriptor

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

func (*QueryAllChannelRequest) GetPagination

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

func (*QueryAllChannelRequest) Marshal

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

func (*QueryAllChannelRequest) MarshalTo

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

func (*QueryAllChannelRequest) MarshalToSizedBuffer

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

func (*QueryAllChannelRequest) ProtoMessage

func (*QueryAllChannelRequest) ProtoMessage()

func (*QueryAllChannelRequest) Reset

func (m *QueryAllChannelRequest) Reset()

func (*QueryAllChannelRequest) Size

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

func (*QueryAllChannelRequest) String

func (m *QueryAllChannelRequest) String() string

func (*QueryAllChannelRequest) Unmarshal

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

func (*QueryAllChannelRequest) XXX_DiscardUnknown

func (m *QueryAllChannelRequest) XXX_DiscardUnknown()

func (*QueryAllChannelRequest) XXX_Marshal

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

func (*QueryAllChannelRequest) XXX_Merge

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

func (*QueryAllChannelRequest) XXX_Size

func (m *QueryAllChannelRequest) XXX_Size() int

func (*QueryAllChannelRequest) XXX_Unmarshal

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

type QueryAllChannelResponse

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

func (*QueryAllChannelResponse) Descriptor

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

func (*QueryAllChannelResponse) GetChannel

func (m *QueryAllChannelResponse) GetChannel() []Channel

func (*QueryAllChannelResponse) GetPagination

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

func (*QueryAllChannelResponse) Marshal

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

func (*QueryAllChannelResponse) MarshalTo

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

func (*QueryAllChannelResponse) MarshalToSizedBuffer

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

func (*QueryAllChannelResponse) ProtoMessage

func (*QueryAllChannelResponse) ProtoMessage()

func (*QueryAllChannelResponse) Reset

func (m *QueryAllChannelResponse) Reset()

func (*QueryAllChannelResponse) Size

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

func (*QueryAllChannelResponse) String

func (m *QueryAllChannelResponse) String() string

func (*QueryAllChannelResponse) Unmarshal

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

func (*QueryAllChannelResponse) XXX_DiscardUnknown

func (m *QueryAllChannelResponse) XXX_DiscardUnknown()

func (*QueryAllChannelResponse) XXX_Marshal

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

func (*QueryAllChannelResponse) XXX_Merge

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

func (*QueryAllChannelResponse) XXX_Size

func (m *QueryAllChannelResponse) XXX_Size() int

func (*QueryAllChannelResponse) XXX_Unmarshal

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

type QueryAllCommitmentRequest

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

func (*QueryAllCommitmentRequest) Descriptor

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

func (*QueryAllCommitmentRequest) GetPagination

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

func (*QueryAllCommitmentRequest) Marshal

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

func (*QueryAllCommitmentRequest) MarshalTo

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

func (*QueryAllCommitmentRequest) MarshalToSizedBuffer

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

func (*QueryAllCommitmentRequest) ProtoMessage

func (*QueryAllCommitmentRequest) ProtoMessage()

func (*QueryAllCommitmentRequest) Reset

func (m *QueryAllCommitmentRequest) Reset()

func (*QueryAllCommitmentRequest) Size

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

func (*QueryAllCommitmentRequest) String

func (m *QueryAllCommitmentRequest) String() string

func (*QueryAllCommitmentRequest) Unmarshal

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

func (*QueryAllCommitmentRequest) XXX_DiscardUnknown

func (m *QueryAllCommitmentRequest) XXX_DiscardUnknown()

func (*QueryAllCommitmentRequest) XXX_Marshal

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

func (*QueryAllCommitmentRequest) XXX_Merge

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

func (*QueryAllCommitmentRequest) XXX_Size

func (m *QueryAllCommitmentRequest) XXX_Size() int

func (*QueryAllCommitmentRequest) XXX_Unmarshal

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

type QueryAllCommitmentResponse

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

func (*QueryAllCommitmentResponse) Descriptor

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

func (*QueryAllCommitmentResponse) GetCommitment

func (m *QueryAllCommitmentResponse) GetCommitment() []Commitment

func (*QueryAllCommitmentResponse) GetPagination

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

func (*QueryAllCommitmentResponse) Marshal

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

func (*QueryAllCommitmentResponse) MarshalTo

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

func (*QueryAllCommitmentResponse) MarshalToSizedBuffer

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

func (*QueryAllCommitmentResponse) ProtoMessage

func (*QueryAllCommitmentResponse) ProtoMessage()

func (*QueryAllCommitmentResponse) Reset

func (m *QueryAllCommitmentResponse) Reset()

func (*QueryAllCommitmentResponse) Size

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

func (*QueryAllCommitmentResponse) String

func (m *QueryAllCommitmentResponse) String() string

func (*QueryAllCommitmentResponse) Unmarshal

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

func (*QueryAllCommitmentResponse) XXX_DiscardUnknown

func (m *QueryAllCommitmentResponse) XXX_DiscardUnknown()

func (*QueryAllCommitmentResponse) XXX_Marshal

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

func (*QueryAllCommitmentResponse) XXX_Merge

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

func (*QueryAllCommitmentResponse) XXX_Size

func (m *QueryAllCommitmentResponse) XXX_Size() int

func (*QueryAllCommitmentResponse) XXX_Unmarshal

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

type QueryAllFwdcommitmentRequest

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

func (*QueryAllFwdcommitmentRequest) Descriptor

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

func (*QueryAllFwdcommitmentRequest) GetPagination

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

func (*QueryAllFwdcommitmentRequest) Marshal

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

func (*QueryAllFwdcommitmentRequest) MarshalTo

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

func (*QueryAllFwdcommitmentRequest) MarshalToSizedBuffer

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

func (*QueryAllFwdcommitmentRequest) ProtoMessage

func (*QueryAllFwdcommitmentRequest) ProtoMessage()

func (*QueryAllFwdcommitmentRequest) Reset

func (m *QueryAllFwdcommitmentRequest) Reset()

func (*QueryAllFwdcommitmentRequest) Size

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

func (*QueryAllFwdcommitmentRequest) String

func (*QueryAllFwdcommitmentRequest) Unmarshal

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

func (*QueryAllFwdcommitmentRequest) XXX_DiscardUnknown

func (m *QueryAllFwdcommitmentRequest) XXX_DiscardUnknown()

func (*QueryAllFwdcommitmentRequest) XXX_Marshal

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

func (*QueryAllFwdcommitmentRequest) XXX_Merge

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

func (*QueryAllFwdcommitmentRequest) XXX_Size

func (m *QueryAllFwdcommitmentRequest) XXX_Size() int

func (*QueryAllFwdcommitmentRequest) XXX_Unmarshal

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

type QueryAllFwdcommitmentResponse

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

func (*QueryAllFwdcommitmentResponse) Descriptor

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

func (*QueryAllFwdcommitmentResponse) GetFwdcommitment

func (m *QueryAllFwdcommitmentResponse) GetFwdcommitment() []Fwdcommitment

func (*QueryAllFwdcommitmentResponse) GetPagination

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

func (*QueryAllFwdcommitmentResponse) Marshal

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

func (*QueryAllFwdcommitmentResponse) MarshalTo

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

func (*QueryAllFwdcommitmentResponse) MarshalToSizedBuffer

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

func (*QueryAllFwdcommitmentResponse) ProtoMessage

func (*QueryAllFwdcommitmentResponse) ProtoMessage()

func (*QueryAllFwdcommitmentResponse) Reset

func (m *QueryAllFwdcommitmentResponse) Reset()

func (*QueryAllFwdcommitmentResponse) Size

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

func (*QueryAllFwdcommitmentResponse) String

func (*QueryAllFwdcommitmentResponse) Unmarshal

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

func (*QueryAllFwdcommitmentResponse) XXX_DiscardUnknown

func (m *QueryAllFwdcommitmentResponse) XXX_DiscardUnknown()

func (*QueryAllFwdcommitmentResponse) XXX_Marshal

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

func (*QueryAllFwdcommitmentResponse) XXX_Merge

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

func (*QueryAllFwdcommitmentResponse) XXX_Size

func (m *QueryAllFwdcommitmentResponse) XXX_Size() int

func (*QueryAllFwdcommitmentResponse) XXX_Unmarshal

func (m *QueryAllFwdcommitmentResponse) 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 list of Channel items.
	Channel(ctx context.Context, in *QueryGetChannelRequest, opts ...grpc.CallOption) (*QueryGetChannelResponse, error)
	ChannelAll(ctx context.Context, in *QueryAllChannelRequest, opts ...grpc.CallOption) (*QueryAllChannelResponse, error)
	// Queries a list of Commitment items.
	Commitment(ctx context.Context, in *QueryGetCommitmentRequest, opts ...grpc.CallOption) (*QueryGetCommitmentResponse, error)
	CommitmentAll(ctx context.Context, in *QueryAllCommitmentRequest, opts ...grpc.CallOption) (*QueryAllCommitmentResponse, error)
	// Queries a list of Fwdcommitment items.
	Fwdcommitment(ctx context.Context, in *QueryGetFwdcommitmentRequest, opts ...grpc.CallOption) (*QueryGetFwdcommitmentResponse, error)
	FwdcommitmentAll(ctx context.Context, in *QueryAllFwdcommitmentRequest, opts ...grpc.CallOption) (*QueryAllFwdcommitmentResponse, 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 QueryGetChannelRequest

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

func (*QueryGetChannelRequest) Descriptor

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

func (*QueryGetChannelRequest) GetIndex

func (m *QueryGetChannelRequest) GetIndex() string

func (*QueryGetChannelRequest) Marshal

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

func (*QueryGetChannelRequest) MarshalTo

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

func (*QueryGetChannelRequest) MarshalToSizedBuffer

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

func (*QueryGetChannelRequest) ProtoMessage

func (*QueryGetChannelRequest) ProtoMessage()

func (*QueryGetChannelRequest) Reset

func (m *QueryGetChannelRequest) Reset()

func (*QueryGetChannelRequest) Size

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

func (*QueryGetChannelRequest) String

func (m *QueryGetChannelRequest) String() string

func (*QueryGetChannelRequest) Unmarshal

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

func (*QueryGetChannelRequest) XXX_DiscardUnknown

func (m *QueryGetChannelRequest) XXX_DiscardUnknown()

func (*QueryGetChannelRequest) XXX_Marshal

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

func (*QueryGetChannelRequest) XXX_Merge

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

func (*QueryGetChannelRequest) XXX_Size

func (m *QueryGetChannelRequest) XXX_Size() int

func (*QueryGetChannelRequest) XXX_Unmarshal

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

type QueryGetChannelResponse

type QueryGetChannelResponse struct {
	Channel Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel"`
}

func (*QueryGetChannelResponse) Descriptor

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

func (*QueryGetChannelResponse) GetChannel

func (m *QueryGetChannelResponse) GetChannel() Channel

func (*QueryGetChannelResponse) Marshal

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

func (*QueryGetChannelResponse) MarshalTo

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

func (*QueryGetChannelResponse) MarshalToSizedBuffer

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

func (*QueryGetChannelResponse) ProtoMessage

func (*QueryGetChannelResponse) ProtoMessage()

func (*QueryGetChannelResponse) Reset

func (m *QueryGetChannelResponse) Reset()

func (*QueryGetChannelResponse) Size

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

func (*QueryGetChannelResponse) String

func (m *QueryGetChannelResponse) String() string

func (*QueryGetChannelResponse) Unmarshal

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

func (*QueryGetChannelResponse) XXX_DiscardUnknown

func (m *QueryGetChannelResponse) XXX_DiscardUnknown()

func (*QueryGetChannelResponse) XXX_Marshal

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

func (*QueryGetChannelResponse) XXX_Merge

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

func (*QueryGetChannelResponse) XXX_Size

func (m *QueryGetChannelResponse) XXX_Size() int

func (*QueryGetChannelResponse) XXX_Unmarshal

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

type QueryGetCommitmentRequest

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

func (*QueryGetCommitmentRequest) Descriptor

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

func (*QueryGetCommitmentRequest) GetIndex

func (m *QueryGetCommitmentRequest) GetIndex() string

func (*QueryGetCommitmentRequest) Marshal

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

func (*QueryGetCommitmentRequest) MarshalTo

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

func (*QueryGetCommitmentRequest) MarshalToSizedBuffer

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

func (*QueryGetCommitmentRequest) ProtoMessage

func (*QueryGetCommitmentRequest) ProtoMessage()

func (*QueryGetCommitmentRequest) Reset

func (m *QueryGetCommitmentRequest) Reset()

func (*QueryGetCommitmentRequest) Size

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

func (*QueryGetCommitmentRequest) String

func (m *QueryGetCommitmentRequest) String() string

func (*QueryGetCommitmentRequest) Unmarshal

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

func (*QueryGetCommitmentRequest) XXX_DiscardUnknown

func (m *QueryGetCommitmentRequest) XXX_DiscardUnknown()

func (*QueryGetCommitmentRequest) XXX_Marshal

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

func (*QueryGetCommitmentRequest) XXX_Merge

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

func (*QueryGetCommitmentRequest) XXX_Size

func (m *QueryGetCommitmentRequest) XXX_Size() int

func (*QueryGetCommitmentRequest) XXX_Unmarshal

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

type QueryGetCommitmentResponse

type QueryGetCommitmentResponse struct {
	Commitment Commitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment"`
}

func (*QueryGetCommitmentResponse) Descriptor

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

func (*QueryGetCommitmentResponse) GetCommitment

func (m *QueryGetCommitmentResponse) GetCommitment() Commitment

func (*QueryGetCommitmentResponse) Marshal

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

func (*QueryGetCommitmentResponse) MarshalTo

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

func (*QueryGetCommitmentResponse) MarshalToSizedBuffer

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

func (*QueryGetCommitmentResponse) ProtoMessage

func (*QueryGetCommitmentResponse) ProtoMessage()

func (*QueryGetCommitmentResponse) Reset

func (m *QueryGetCommitmentResponse) Reset()

func (*QueryGetCommitmentResponse) Size

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

func (*QueryGetCommitmentResponse) String

func (m *QueryGetCommitmentResponse) String() string

func (*QueryGetCommitmentResponse) Unmarshal

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

func (*QueryGetCommitmentResponse) XXX_DiscardUnknown

func (m *QueryGetCommitmentResponse) XXX_DiscardUnknown()

func (*QueryGetCommitmentResponse) XXX_Marshal

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

func (*QueryGetCommitmentResponse) XXX_Merge

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

func (*QueryGetCommitmentResponse) XXX_Size

func (m *QueryGetCommitmentResponse) XXX_Size() int

func (*QueryGetCommitmentResponse) XXX_Unmarshal

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

type QueryGetFwdcommitmentRequest

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

func (*QueryGetFwdcommitmentRequest) Descriptor

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

func (*QueryGetFwdcommitmentRequest) GetIndex

func (m *QueryGetFwdcommitmentRequest) GetIndex() string

func (*QueryGetFwdcommitmentRequest) Marshal

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

func (*QueryGetFwdcommitmentRequest) MarshalTo

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

func (*QueryGetFwdcommitmentRequest) MarshalToSizedBuffer

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

func (*QueryGetFwdcommitmentRequest) ProtoMessage

func (*QueryGetFwdcommitmentRequest) ProtoMessage()

func (*QueryGetFwdcommitmentRequest) Reset

func (m *QueryGetFwdcommitmentRequest) Reset()

func (*QueryGetFwdcommitmentRequest) Size

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

func (*QueryGetFwdcommitmentRequest) String

func (*QueryGetFwdcommitmentRequest) Unmarshal

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

func (*QueryGetFwdcommitmentRequest) XXX_DiscardUnknown

func (m *QueryGetFwdcommitmentRequest) XXX_DiscardUnknown()

func (*QueryGetFwdcommitmentRequest) XXX_Marshal

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

func (*QueryGetFwdcommitmentRequest) XXX_Merge

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

func (*QueryGetFwdcommitmentRequest) XXX_Size

func (m *QueryGetFwdcommitmentRequest) XXX_Size() int

func (*QueryGetFwdcommitmentRequest) XXX_Unmarshal

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

type QueryGetFwdcommitmentResponse

type QueryGetFwdcommitmentResponse struct {
	Fwdcommitment Fwdcommitment `protobuf:"bytes,1,opt,name=fwdcommitment,proto3" json:"fwdcommitment"`
}

func (*QueryGetFwdcommitmentResponse) Descriptor

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

func (*QueryGetFwdcommitmentResponse) GetFwdcommitment

func (m *QueryGetFwdcommitmentResponse) GetFwdcommitment() Fwdcommitment

func (*QueryGetFwdcommitmentResponse) Marshal

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

func (*QueryGetFwdcommitmentResponse) MarshalTo

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

func (*QueryGetFwdcommitmentResponse) MarshalToSizedBuffer

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

func (*QueryGetFwdcommitmentResponse) ProtoMessage

func (*QueryGetFwdcommitmentResponse) ProtoMessage()

func (*QueryGetFwdcommitmentResponse) Reset

func (m *QueryGetFwdcommitmentResponse) Reset()

func (*QueryGetFwdcommitmentResponse) Size

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

func (*QueryGetFwdcommitmentResponse) String

func (*QueryGetFwdcommitmentResponse) Unmarshal

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

func (*QueryGetFwdcommitmentResponse) XXX_DiscardUnknown

func (m *QueryGetFwdcommitmentResponse) XXX_DiscardUnknown()

func (*QueryGetFwdcommitmentResponse) XXX_Marshal

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

func (*QueryGetFwdcommitmentResponse) XXX_Merge

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

func (*QueryGetFwdcommitmentResponse) XXX_Size

func (m *QueryGetFwdcommitmentResponse) XXX_Size() int

func (*QueryGetFwdcommitmentResponse) XXX_Unmarshal

func (m *QueryGetFwdcommitmentResponse) 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 list of Channel items.
	Channel(context.Context, *QueryGetChannelRequest) (*QueryGetChannelResponse, error)
	ChannelAll(context.Context, *QueryAllChannelRequest) (*QueryAllChannelResponse, error)
	// Queries a list of Commitment items.
	Commitment(context.Context, *QueryGetCommitmentRequest) (*QueryGetCommitmentResponse, error)
	CommitmentAll(context.Context, *QueryAllCommitmentRequest) (*QueryAllCommitmentResponse, error)
	// Queries a list of Fwdcommitment items.
	Fwdcommitment(context.Context, *QueryGetFwdcommitmentRequest) (*QueryGetFwdcommitmentResponse, error)
	FwdcommitmentAll(context.Context, *QueryAllFwdcommitmentRequest) (*QueryAllFwdcommitmentResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Acceptfund

func (*UnimplementedMsgServer) Closechannel

func (*UnimplementedMsgServer) Commitment

func (*UnimplementedMsgServer) Fund

func (*UnimplementedMsgServer) Openchannel

func (*UnimplementedMsgServer) Receivercommit

func (*UnimplementedMsgServer) Receiverwithdraw

func (*UnimplementedMsgServer) Sendercommit

func (*UnimplementedMsgServer) Senderwithdrawhashlock

func (*UnimplementedMsgServer) Senderwithdrawtimelock

func (*UnimplementedMsgServer) WithdrawHashlock

func (*UnimplementedMsgServer) WithdrawTimelock

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Channel

func (*UnimplementedQueryServer) ChannelAll

func (*UnimplementedQueryServer) Commitment

func (*UnimplementedQueryServer) CommitmentAll

func (*UnimplementedQueryServer) Fwdcommitment

func (*UnimplementedQueryServer) FwdcommitmentAll

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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