types

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 30 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeDeposit = "deposit"

	AttributeKeyDestChainId  = "dest_chain_id"
	AttributeKeyResourceId   = "resource_id"
	AttributeKeyDepositNonce = "deposit_nonce"
	AttributeKeyAmount       = "amount"
	AttributeKeyReceiver     = "receiver"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "bridge"

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

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

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_bridge"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const TypeMsgAddBannedDenom = "add_banned_denom"
View Source
const TypeMsgAddChainId = "add_chain_id"
View Source
const TypeMsgDeposit = "deposit"
View Source
const TypeMsgRmBannedDenom = "rm_banned_denom"
View Source
const TypeMsgRmChainId = "rm_chain_id"
View Source
const TypeMsgSetRelayFee = "set_relay_fee"
View Source
const TypeMsgSetRelayFeeReceiver = "set_relay_fee_receiver"
View Source
const TypeMsgSetResourceidToDenom = "set_resourceid_to_denom"
View Source
const TypeMsgVoteProposal = "vote_proposal"

Variables

View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
var (
	ErrSample                   = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrResourceIdNotFound       = sdkerrors.Register(ModuleName, 1101, "resourceId not found")
	ErrBalanceNotEnough         = sdkerrors.Register(ModuleName, 1102, "balance not enough")
	ErrChainIdNotSupport        = sdkerrors.Register(ModuleName, 1103, "chainId not support")
	ErrUnKnownResourceIdType    = sdkerrors.Register(ModuleName, 1104, "unknown resource id type")
	ErrAlreadyVoted             = sdkerrors.Register(ModuleName, 1105, "voter already voted")
	ErrAlreadyExecuted          = sdkerrors.Register(ModuleName, 1106, "voter already executed")
	ErrThresholdNotSet          = sdkerrors.Register(ModuleName, 1107, "threshold not set")
	ErrRelayFeeReceiverNotSet   = sdkerrors.Register(ModuleName, 1108, "relay fee receiver not set")
	ErrRelayerNotExist          = sdkerrors.Register(ModuleName, 1109, "relay not exist")
	ErrReceiverFormatNotRight   = sdkerrors.Register(ModuleName, 1110, "receiver format not right")
	ErrResourceIdFormatNotRight = sdkerrors.Register(ModuleName, 1111, "resource id format not right")
	ErrDepositAmountZero        = sdkerrors.Register(ModuleName, 1112, "deposit amount zero")
	ErrVoteProposalAmountZero   = sdkerrors.Register(ModuleName, 1113, "vote proposal amount zero")
	ErrBannedDenom              = sdkerrors.Register(ModuleName, 1114, "banned denom")
	ErrDenomTypeUnmatch         = sdkerrors.Register(ModuleName, 1115, "denom type unmatch")
)

x/bridge module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ResourceIdToDenomStoreKeyPrefix = []byte{0x01}
	DepositCountStoreKeyPrefix      = []byte{0x02}
	ProposalStoreKeyPrefix          = []byte{0x03}
	ChainIdStoreKeyPrefix           = []byte{0x04}
	RelayFeeReceiverStoreKey        = []byte{0x06}
	RelayFeeStoreKeyPrefix          = []byte{0x07}
	BannedDenomStoreKeyPrefix       = []byte{0x08}
)
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 (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = 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 DenomType_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "NATIVE",
	2: "EXTERNAL",
}
View Source
var DenomType_value = map[string]int32{
	"UNSPECIFIED": 0,
	"NATIVE":      1,
	"EXTERNAL":    2,
}

Functions

func BannedDenomStoreKey

func BannedDenomStoreKey(chainId uint8, denom string) []byte

func ChainIdStoreKey

func ChainIdStoreKey(chaindId uint8) []byte

func DepositCountStoreKey

func DepositCountStoreKey(chainId uint8) []byte

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func ProposalStoreKey

func ProposalStoreKey(chainId uint8, depositNonce uint64, resourceId, hash [32]byte) []byte

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)

func RelayFeeStoreKey

func RelayFeeStoreKey(chainId uint8) []byte

func ResourceIdToDenomStoreKey

func ResourceIdToDenomStoreKey(resourceId string) []byte

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 {
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error
	HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) 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
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

type BannedDenom

type BannedDenom struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	Denom   string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*BannedDenom) Descriptor

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

func (*BannedDenom) GetChainId

func (m *BannedDenom) GetChainId() uint32

func (*BannedDenom) GetDenom

func (m *BannedDenom) GetDenom() string

func (*BannedDenom) Marshal

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

func (*BannedDenom) MarshalTo

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

func (*BannedDenom) MarshalToSizedBuffer

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

func (*BannedDenom) ProtoMessage

func (*BannedDenom) ProtoMessage()

func (*BannedDenom) Reset

func (m *BannedDenom) Reset()

func (*BannedDenom) Size

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

func (*BannedDenom) String

func (m *BannedDenom) String() string

func (*BannedDenom) Unmarshal

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

func (*BannedDenom) XXX_DiscardUnknown

func (m *BannedDenom) XXX_DiscardUnknown()

func (*BannedDenom) XXX_Marshal

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

func (*BannedDenom) XXX_Merge

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

func (*BannedDenom) XXX_Size

func (m *BannedDenom) XXX_Size() int

func (*BannedDenom) XXX_Unmarshal

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

type DenomType

type DenomType int32
const (
	Unspecified DenomType = 0
	Native      DenomType = 1
	External    DenomType = 2
)

func (DenomType) EnumDescriptor

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

func (DenomType) String

func (x DenomType) String() string

type DepositCount

type DepositCount struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	Count   uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
}

func (*DepositCount) Descriptor

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

func (*DepositCount) GetChainId

func (m *DepositCount) GetChainId() uint32

func (*DepositCount) GetCount

func (m *DepositCount) GetCount() uint64

func (*DepositCount) Marshal

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

func (*DepositCount) MarshalTo

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

func (*DepositCount) MarshalToSizedBuffer

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

func (*DepositCount) ProtoMessage

func (*DepositCount) ProtoMessage()

func (*DepositCount) Reset

func (m *DepositCount) Reset()

func (*DepositCount) Size

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

func (*DepositCount) String

func (m *DepositCount) String() string

func (*DepositCount) Unmarshal

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

func (*DepositCount) XXX_DiscardUnknown

func (m *DepositCount) XXX_DiscardUnknown()

func (*DepositCount) XXX_Marshal

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

func (*DepositCount) XXX_Merge

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

func (*DepositCount) XXX_Size

func (m *DepositCount) XXX_Size() int

func (*DepositCount) XXX_Unmarshal

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

type GenesisProposal

type GenesisProposal struct {
	ChainId      uint32    `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	DepositNonce uint64    `protobuf:"varint,2,opt,name=depositNonce,proto3" json:"depositNonce,omitempty"`
	ResourceId   string    `protobuf:"bytes,3,opt,name=resourceId,proto3" json:"resourceId,omitempty"`
	Proposal     *Proposal `protobuf:"bytes,4,opt,name=proposal,proto3" json:"proposal,omitempty"`
}

func (*GenesisProposal) Descriptor

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

func (*GenesisProposal) GetChainId

func (m *GenesisProposal) GetChainId() uint32

func (*GenesisProposal) GetDepositNonce

func (m *GenesisProposal) GetDepositNonce() uint64

func (*GenesisProposal) GetProposal

func (m *GenesisProposal) GetProposal() *Proposal

func (*GenesisProposal) GetResourceId

func (m *GenesisProposal) GetResourceId() string

func (*GenesisProposal) Marshal

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

func (*GenesisProposal) MarshalTo

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

func (*GenesisProposal) MarshalToSizedBuffer

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

func (*GenesisProposal) ProtoMessage

func (*GenesisProposal) ProtoMessage()

func (*GenesisProposal) Reset

func (m *GenesisProposal) Reset()

func (*GenesisProposal) Size

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

func (*GenesisProposal) String

func (m *GenesisProposal) String() string

func (*GenesisProposal) Unmarshal

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

func (*GenesisProposal) XXX_DiscardUnknown

func (m *GenesisProposal) XXX_DiscardUnknown()

func (*GenesisProposal) XXX_Marshal

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

func (*GenesisProposal) XXX_Merge

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

func (*GenesisProposal) XXX_Size

func (m *GenesisProposal) XXX_Size() int

func (*GenesisProposal) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                Params               `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	DepositCountList      []*DepositCount      `protobuf:"bytes,2,rep,name=depositCountList,proto3" json:"depositCountList,omitempty"`
	ProposalList          []*GenesisProposal   `protobuf:"bytes,3,rep,name=proposalList,proto3" json:"proposalList,omitempty"`
	RelayFeeList          []*RelayFee          `protobuf:"bytes,4,rep,name=relayFeeList,proto3" json:"relayFeeList,omitempty"`
	ChainIdList           []uint32             `protobuf:"varint,5,rep,packed,name=chainIdList,proto3" json:"chainIdList,omitempty"`
	RelayFeeReceiver      string               `protobuf:"bytes,6,opt,name=relayFeeReceiver,proto3" json:"relayFeeReceiver,omitempty"`
	ResourceIdToDenomList []*ResourceIdToDenom `protobuf:"bytes,7,rep,name=resourceIdToDenomList,proto3" json:"resourceIdToDenomList,omitempty"`
	BannedDenomList       []*BannedDenom       `protobuf:"bytes,8,rep,name=bannedDenomList,proto3" json:"bannedDenomList,omitempty"`
}

GenesisState defines the bridge module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetBannedDenomList

func (m *GenesisState) GetBannedDenomList() []*BannedDenom

func (*GenesisState) GetChainIdList

func (m *GenesisState) GetChainIdList() []uint32

func (*GenesisState) GetDepositCountList

func (m *GenesisState) GetDepositCountList() []*DepositCount

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetProposalList

func (m *GenesisState) GetProposalList() []*GenesisProposal

func (*GenesisState) GetRelayFeeList

func (m *GenesisState) GetRelayFeeList() []*RelayFee

func (*GenesisState) GetRelayFeeReceiver

func (m *GenesisState) GetRelayFeeReceiver() string

func (*GenesisState) GetResourceIdToDenomList

func (m *GenesisState) GetResourceIdToDenomList() []*ResourceIdToDenom

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 MsgAddBannedDenom

type MsgAddBannedDenom struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId uint32 `protobuf:"varint,2,opt,name=chainId,proto3" json:"chainId"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgAddBannedDenom

func NewMsgAddBannedDenom(creator string, chainId uint32, denom string) *MsgAddBannedDenom

func (*MsgAddBannedDenom) Descriptor

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

func (*MsgAddBannedDenom) GetChainId

func (m *MsgAddBannedDenom) GetChainId() uint32

func (*MsgAddBannedDenom) GetCreator

func (m *MsgAddBannedDenom) GetCreator() string

func (*MsgAddBannedDenom) GetDenom

func (m *MsgAddBannedDenom) GetDenom() string

func (*MsgAddBannedDenom) GetSignBytes

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

func (*MsgAddBannedDenom) GetSigners

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

func (*MsgAddBannedDenom) Marshal

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

func (*MsgAddBannedDenom) MarshalTo

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

func (*MsgAddBannedDenom) MarshalToSizedBuffer

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

func (*MsgAddBannedDenom) ProtoMessage

func (*MsgAddBannedDenom) ProtoMessage()

func (*MsgAddBannedDenom) Reset

func (m *MsgAddBannedDenom) Reset()

func (*MsgAddBannedDenom) Route

func (msg *MsgAddBannedDenom) Route() string

func (*MsgAddBannedDenom) Size

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

func (*MsgAddBannedDenom) String

func (m *MsgAddBannedDenom) String() string

func (*MsgAddBannedDenom) Type

func (msg *MsgAddBannedDenom) Type() string

func (*MsgAddBannedDenom) Unmarshal

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

func (*MsgAddBannedDenom) ValidateBasic

func (msg *MsgAddBannedDenom) ValidateBasic() error

func (*MsgAddBannedDenom) XXX_DiscardUnknown

func (m *MsgAddBannedDenom) XXX_DiscardUnknown()

func (*MsgAddBannedDenom) XXX_Marshal

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

func (*MsgAddBannedDenom) XXX_Merge

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

func (*MsgAddBannedDenom) XXX_Size

func (m *MsgAddBannedDenom) XXX_Size() int

func (*MsgAddBannedDenom) XXX_Unmarshal

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

type MsgAddBannedDenomResponse

type MsgAddBannedDenomResponse struct {
}

func (*MsgAddBannedDenomResponse) Descriptor

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

func (*MsgAddBannedDenomResponse) Marshal

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

func (*MsgAddBannedDenomResponse) MarshalTo

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

func (*MsgAddBannedDenomResponse) MarshalToSizedBuffer

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

func (*MsgAddBannedDenomResponse) ProtoMessage

func (*MsgAddBannedDenomResponse) ProtoMessage()

func (*MsgAddBannedDenomResponse) Reset

func (m *MsgAddBannedDenomResponse) Reset()

func (*MsgAddBannedDenomResponse) Size

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

func (*MsgAddBannedDenomResponse) String

func (m *MsgAddBannedDenomResponse) String() string

func (*MsgAddBannedDenomResponse) Unmarshal

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

func (*MsgAddBannedDenomResponse) XXX_DiscardUnknown

func (m *MsgAddBannedDenomResponse) XXX_DiscardUnknown()

func (*MsgAddBannedDenomResponse) XXX_Marshal

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

func (*MsgAddBannedDenomResponse) XXX_Merge

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

func (*MsgAddBannedDenomResponse) XXX_Size

func (m *MsgAddBannedDenomResponse) XXX_Size() int

func (*MsgAddBannedDenomResponse) XXX_Unmarshal

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

type MsgAddChainId

type MsgAddChainId struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId uint32 `protobuf:"varint,2,opt,name=chainId,proto3" json:"chainId"`
}

func NewMsgAddChainId

func NewMsgAddChainId(creator string, chainId uint32) *MsgAddChainId

func (*MsgAddChainId) Descriptor

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

func (*MsgAddChainId) GetChainId

func (m *MsgAddChainId) GetChainId() uint32

func (*MsgAddChainId) GetCreator

func (m *MsgAddChainId) GetCreator() string

func (*MsgAddChainId) GetSignBytes

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

func (*MsgAddChainId) GetSigners

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

func (*MsgAddChainId) Marshal

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

func (*MsgAddChainId) MarshalTo

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

func (*MsgAddChainId) MarshalToSizedBuffer

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

func (*MsgAddChainId) ProtoMessage

func (*MsgAddChainId) ProtoMessage()

func (*MsgAddChainId) Reset

func (m *MsgAddChainId) Reset()

func (*MsgAddChainId) Route

func (msg *MsgAddChainId) Route() string

func (*MsgAddChainId) Size

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

func (*MsgAddChainId) String

func (m *MsgAddChainId) String() string

func (*MsgAddChainId) Type

func (msg *MsgAddChainId) Type() string

func (*MsgAddChainId) Unmarshal

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

func (*MsgAddChainId) ValidateBasic

func (msg *MsgAddChainId) ValidateBasic() error

func (*MsgAddChainId) XXX_DiscardUnknown

func (m *MsgAddChainId) XXX_DiscardUnknown()

func (*MsgAddChainId) XXX_Marshal

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

func (*MsgAddChainId) XXX_Merge

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

func (*MsgAddChainId) XXX_Size

func (m *MsgAddChainId) XXX_Size() int

func (*MsgAddChainId) XXX_Unmarshal

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

type MsgAddChainIdResponse

type MsgAddChainIdResponse struct {
}

func (*MsgAddChainIdResponse) Descriptor

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

func (*MsgAddChainIdResponse) Marshal

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

func (*MsgAddChainIdResponse) MarshalTo

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

func (*MsgAddChainIdResponse) MarshalToSizedBuffer

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

func (*MsgAddChainIdResponse) ProtoMessage

func (*MsgAddChainIdResponse) ProtoMessage()

func (*MsgAddChainIdResponse) Reset

func (m *MsgAddChainIdResponse) Reset()

func (*MsgAddChainIdResponse) Size

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

func (*MsgAddChainIdResponse) String

func (m *MsgAddChainIdResponse) String() string

func (*MsgAddChainIdResponse) Unmarshal

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

func (*MsgAddChainIdResponse) XXX_DiscardUnknown

func (m *MsgAddChainIdResponse) XXX_DiscardUnknown()

func (*MsgAddChainIdResponse) XXX_Marshal

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

func (*MsgAddChainIdResponse) XXX_Merge

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

func (*MsgAddChainIdResponse) XXX_Size

func (m *MsgAddChainIdResponse) XXX_Size() int

func (*MsgAddChainIdResponse) XXX_Unmarshal

func (m *MsgAddChainIdResponse) 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 MsgDeposit

type MsgDeposit struct {
	Creator     string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	DestChainId uint32                                 `protobuf:"varint,2,opt,name=destChainId,proto3" json:"destChainId"`
	Denom       string                                 `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount      github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Receiver    string                                 `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func NewMsgDeposit

func NewMsgDeposit(creator string, destChainId uint32, denom string, amount sdk.Int, receiver string) *MsgDeposit

func (*MsgDeposit) Descriptor

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

func (*MsgDeposit) GetCreator

func (m *MsgDeposit) GetCreator() string

func (*MsgDeposit) GetDenom

func (m *MsgDeposit) GetDenom() string

func (*MsgDeposit) GetDestChainId

func (m *MsgDeposit) GetDestChainId() uint32

func (*MsgDeposit) GetReceiver

func (m *MsgDeposit) GetReceiver() string

func (*MsgDeposit) GetSignBytes

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

func (*MsgDeposit) GetSigners

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

func (*MsgDeposit) Marshal

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

func (*MsgDeposit) MarshalTo

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

func (*MsgDeposit) MarshalToSizedBuffer

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

func (*MsgDeposit) ProtoMessage

func (*MsgDeposit) ProtoMessage()

func (*MsgDeposit) Reset

func (m *MsgDeposit) Reset()

func (*MsgDeposit) Route

func (msg *MsgDeposit) Route() string

func (*MsgDeposit) Size

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

func (*MsgDeposit) String

func (m *MsgDeposit) String() string

func (*MsgDeposit) Type

func (msg *MsgDeposit) Type() string

func (*MsgDeposit) Unmarshal

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

func (*MsgDeposit) ValidateBasic

func (msg *MsgDeposit) ValidateBasic() error

func (*MsgDeposit) XXX_DiscardUnknown

func (m *MsgDeposit) XXX_DiscardUnknown()

func (*MsgDeposit) XXX_Marshal

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

func (*MsgDeposit) XXX_Merge

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

func (*MsgDeposit) XXX_Size

func (m *MsgDeposit) XXX_Size() int

func (*MsgDeposit) XXX_Unmarshal

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

type MsgDepositResponse

type MsgDepositResponse struct {
}

func (*MsgDepositResponse) Descriptor

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

func (*MsgDepositResponse) Marshal

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

func (*MsgDepositResponse) MarshalTo

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

func (*MsgDepositResponse) MarshalToSizedBuffer

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

func (*MsgDepositResponse) ProtoMessage

func (*MsgDepositResponse) ProtoMessage()

func (*MsgDepositResponse) Reset

func (m *MsgDepositResponse) Reset()

func (*MsgDepositResponse) Size

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

func (*MsgDepositResponse) String

func (m *MsgDepositResponse) String() string

func (*MsgDepositResponse) Unmarshal

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

func (*MsgDepositResponse) XXX_DiscardUnknown

func (m *MsgDepositResponse) XXX_DiscardUnknown()

func (*MsgDepositResponse) XXX_Marshal

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

func (*MsgDepositResponse) XXX_Merge

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

func (*MsgDepositResponse) XXX_Size

func (m *MsgDepositResponse) XXX_Size() int

func (*MsgDepositResponse) XXX_Unmarshal

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

type MsgRmBannedDenom

type MsgRmBannedDenom struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId uint32 `protobuf:"varint,2,opt,name=chainId,proto3" json:"chainId"`
	Denom   string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
}

func NewMsgRmBannedDenom

func NewMsgRmBannedDenom(creator string, chainId uint32, denom string) *MsgRmBannedDenom

func (*MsgRmBannedDenom) Descriptor

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

func (*MsgRmBannedDenom) GetChainId

func (m *MsgRmBannedDenom) GetChainId() uint32

func (*MsgRmBannedDenom) GetCreator

func (m *MsgRmBannedDenom) GetCreator() string

func (*MsgRmBannedDenom) GetDenom

func (m *MsgRmBannedDenom) GetDenom() string

func (*MsgRmBannedDenom) GetSignBytes

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

func (*MsgRmBannedDenom) GetSigners

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

func (*MsgRmBannedDenom) Marshal

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

func (*MsgRmBannedDenom) MarshalTo

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

func (*MsgRmBannedDenom) MarshalToSizedBuffer

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

func (*MsgRmBannedDenom) ProtoMessage

func (*MsgRmBannedDenom) ProtoMessage()

func (*MsgRmBannedDenom) Reset

func (m *MsgRmBannedDenom) Reset()

func (*MsgRmBannedDenom) Route

func (msg *MsgRmBannedDenom) Route() string

func (*MsgRmBannedDenom) Size

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

func (*MsgRmBannedDenom) String

func (m *MsgRmBannedDenom) String() string

func (*MsgRmBannedDenom) Type

func (msg *MsgRmBannedDenom) Type() string

func (*MsgRmBannedDenom) Unmarshal

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

func (*MsgRmBannedDenom) ValidateBasic

func (msg *MsgRmBannedDenom) ValidateBasic() error

func (*MsgRmBannedDenom) XXX_DiscardUnknown

func (m *MsgRmBannedDenom) XXX_DiscardUnknown()

func (*MsgRmBannedDenom) XXX_Marshal

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

func (*MsgRmBannedDenom) XXX_Merge

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

func (*MsgRmBannedDenom) XXX_Size

func (m *MsgRmBannedDenom) XXX_Size() int

func (*MsgRmBannedDenom) XXX_Unmarshal

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

type MsgRmBannedDenomResponse

type MsgRmBannedDenomResponse struct {
}

func (*MsgRmBannedDenomResponse) Descriptor

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

func (*MsgRmBannedDenomResponse) Marshal

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

func (*MsgRmBannedDenomResponse) MarshalTo

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

func (*MsgRmBannedDenomResponse) MarshalToSizedBuffer

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

func (*MsgRmBannedDenomResponse) ProtoMessage

func (*MsgRmBannedDenomResponse) ProtoMessage()

func (*MsgRmBannedDenomResponse) Reset

func (m *MsgRmBannedDenomResponse) Reset()

func (*MsgRmBannedDenomResponse) Size

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

func (*MsgRmBannedDenomResponse) String

func (m *MsgRmBannedDenomResponse) String() string

func (*MsgRmBannedDenomResponse) Unmarshal

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

func (*MsgRmBannedDenomResponse) XXX_DiscardUnknown

func (m *MsgRmBannedDenomResponse) XXX_DiscardUnknown()

func (*MsgRmBannedDenomResponse) XXX_Marshal

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

func (*MsgRmBannedDenomResponse) XXX_Merge

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

func (*MsgRmBannedDenomResponse) XXX_Size

func (m *MsgRmBannedDenomResponse) XXX_Size() int

func (*MsgRmBannedDenomResponse) XXX_Unmarshal

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

type MsgRmChainId

type MsgRmChainId struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId uint32 `protobuf:"varint,2,opt,name=chainId,proto3" json:"chainId"`
}

func NewMsgRmChainId

func NewMsgRmChainId(creator string, chainId uint32) *MsgRmChainId

func (*MsgRmChainId) Descriptor

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

func (*MsgRmChainId) GetChainId

func (m *MsgRmChainId) GetChainId() uint32

func (*MsgRmChainId) GetCreator

func (m *MsgRmChainId) GetCreator() string

func (*MsgRmChainId) GetSignBytes

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

func (*MsgRmChainId) GetSigners

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

func (*MsgRmChainId) Marshal

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

func (*MsgRmChainId) MarshalTo

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

func (*MsgRmChainId) MarshalToSizedBuffer

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

func (*MsgRmChainId) ProtoMessage

func (*MsgRmChainId) ProtoMessage()

func (*MsgRmChainId) Reset

func (m *MsgRmChainId) Reset()

func (*MsgRmChainId) Route

func (msg *MsgRmChainId) Route() string

func (*MsgRmChainId) Size

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

func (*MsgRmChainId) String

func (m *MsgRmChainId) String() string

func (*MsgRmChainId) Type

func (msg *MsgRmChainId) Type() string

func (*MsgRmChainId) Unmarshal

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

func (*MsgRmChainId) ValidateBasic

func (msg *MsgRmChainId) ValidateBasic() error

func (*MsgRmChainId) XXX_DiscardUnknown

func (m *MsgRmChainId) XXX_DiscardUnknown()

func (*MsgRmChainId) XXX_Marshal

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

func (*MsgRmChainId) XXX_Merge

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

func (*MsgRmChainId) XXX_Size

func (m *MsgRmChainId) XXX_Size() int

func (*MsgRmChainId) XXX_Unmarshal

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

type MsgRmChainIdResponse

type MsgRmChainIdResponse struct {
}

func (*MsgRmChainIdResponse) Descriptor

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

func (*MsgRmChainIdResponse) Marshal

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

func (*MsgRmChainIdResponse) MarshalTo

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

func (*MsgRmChainIdResponse) MarshalToSizedBuffer

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

func (*MsgRmChainIdResponse) ProtoMessage

func (*MsgRmChainIdResponse) ProtoMessage()

func (*MsgRmChainIdResponse) Reset

func (m *MsgRmChainIdResponse) Reset()

func (*MsgRmChainIdResponse) Size

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

func (*MsgRmChainIdResponse) String

func (m *MsgRmChainIdResponse) String() string

func (*MsgRmChainIdResponse) Unmarshal

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

func (*MsgRmChainIdResponse) XXX_DiscardUnknown

func (m *MsgRmChainIdResponse) XXX_DiscardUnknown()

func (*MsgRmChainIdResponse) XXX_Marshal

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

func (*MsgRmChainIdResponse) XXX_Merge

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

func (*MsgRmChainIdResponse) XXX_Size

func (m *MsgRmChainIdResponse) XXX_Size() int

func (*MsgRmChainIdResponse) XXX_Unmarshal

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

type MsgSetRelayFee

type MsgSetRelayFee struct {
	Creator string                                  `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId uint32                                  `protobuf:"varint,2,opt,name=chainId,proto3" json:"chainId"`
	Value   github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"value"`
}

func NewMsgSetRelayFee

func NewMsgSetRelayFee(creator string, chainId uint32, value sdk.Coin) *MsgSetRelayFee

func (*MsgSetRelayFee) Descriptor

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

func (*MsgSetRelayFee) GetChainId

func (m *MsgSetRelayFee) GetChainId() uint32

func (*MsgSetRelayFee) GetCreator

func (m *MsgSetRelayFee) GetCreator() string

func (*MsgSetRelayFee) GetSignBytes

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

func (*MsgSetRelayFee) GetSigners

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

func (*MsgSetRelayFee) Marshal

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

func (*MsgSetRelayFee) MarshalTo

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

func (*MsgSetRelayFee) MarshalToSizedBuffer

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

func (*MsgSetRelayFee) ProtoMessage

func (*MsgSetRelayFee) ProtoMessage()

func (*MsgSetRelayFee) Reset

func (m *MsgSetRelayFee) Reset()

func (*MsgSetRelayFee) Route

func (msg *MsgSetRelayFee) Route() string

func (*MsgSetRelayFee) Size

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

func (*MsgSetRelayFee) String

func (m *MsgSetRelayFee) String() string

func (*MsgSetRelayFee) Type

func (msg *MsgSetRelayFee) Type() string

func (*MsgSetRelayFee) Unmarshal

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

func (*MsgSetRelayFee) ValidateBasic

func (msg *MsgSetRelayFee) ValidateBasic() error

func (*MsgSetRelayFee) XXX_DiscardUnknown

func (m *MsgSetRelayFee) XXX_DiscardUnknown()

func (*MsgSetRelayFee) XXX_Marshal

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

func (*MsgSetRelayFee) XXX_Merge

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

func (*MsgSetRelayFee) XXX_Size

func (m *MsgSetRelayFee) XXX_Size() int

func (*MsgSetRelayFee) XXX_Unmarshal

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

type MsgSetRelayFeeReceiver

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

func NewMsgSetRelayFeeReceiver

func NewMsgSetRelayFeeReceiver(creator string, address string) *MsgSetRelayFeeReceiver

func (*MsgSetRelayFeeReceiver) Descriptor

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

func (*MsgSetRelayFeeReceiver) GetAddress

func (m *MsgSetRelayFeeReceiver) GetAddress() string

func (*MsgSetRelayFeeReceiver) GetCreator

func (m *MsgSetRelayFeeReceiver) GetCreator() string

func (*MsgSetRelayFeeReceiver) GetSignBytes

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

func (*MsgSetRelayFeeReceiver) GetSigners

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

func (*MsgSetRelayFeeReceiver) Marshal

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

func (*MsgSetRelayFeeReceiver) MarshalTo

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

func (*MsgSetRelayFeeReceiver) MarshalToSizedBuffer

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

func (*MsgSetRelayFeeReceiver) ProtoMessage

func (*MsgSetRelayFeeReceiver) ProtoMessage()

func (*MsgSetRelayFeeReceiver) Reset

func (m *MsgSetRelayFeeReceiver) Reset()

func (*MsgSetRelayFeeReceiver) Route

func (msg *MsgSetRelayFeeReceiver) Route() string

func (*MsgSetRelayFeeReceiver) Size

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

func (*MsgSetRelayFeeReceiver) String

func (m *MsgSetRelayFeeReceiver) String() string

func (*MsgSetRelayFeeReceiver) Type

func (msg *MsgSetRelayFeeReceiver) Type() string

func (*MsgSetRelayFeeReceiver) Unmarshal

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

func (*MsgSetRelayFeeReceiver) ValidateBasic

func (msg *MsgSetRelayFeeReceiver) ValidateBasic() error

func (*MsgSetRelayFeeReceiver) XXX_DiscardUnknown

func (m *MsgSetRelayFeeReceiver) XXX_DiscardUnknown()

func (*MsgSetRelayFeeReceiver) XXX_Marshal

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

func (*MsgSetRelayFeeReceiver) XXX_Merge

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

func (*MsgSetRelayFeeReceiver) XXX_Size

func (m *MsgSetRelayFeeReceiver) XXX_Size() int

func (*MsgSetRelayFeeReceiver) XXX_Unmarshal

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

type MsgSetRelayFeeReceiverResponse

type MsgSetRelayFeeReceiverResponse struct {
}

func (*MsgSetRelayFeeReceiverResponse) Descriptor

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

func (*MsgSetRelayFeeReceiverResponse) Marshal

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

func (*MsgSetRelayFeeReceiverResponse) MarshalTo

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

func (*MsgSetRelayFeeReceiverResponse) MarshalToSizedBuffer

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

func (*MsgSetRelayFeeReceiverResponse) ProtoMessage

func (*MsgSetRelayFeeReceiverResponse) ProtoMessage()

func (*MsgSetRelayFeeReceiverResponse) Reset

func (m *MsgSetRelayFeeReceiverResponse) Reset()

func (*MsgSetRelayFeeReceiverResponse) Size

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

func (*MsgSetRelayFeeReceiverResponse) String

func (*MsgSetRelayFeeReceiverResponse) Unmarshal

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

func (*MsgSetRelayFeeReceiverResponse) XXX_DiscardUnknown

func (m *MsgSetRelayFeeReceiverResponse) XXX_DiscardUnknown()

func (*MsgSetRelayFeeReceiverResponse) XXX_Marshal

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

func (*MsgSetRelayFeeReceiverResponse) XXX_Merge

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

func (*MsgSetRelayFeeReceiverResponse) XXX_Size

func (m *MsgSetRelayFeeReceiverResponse) XXX_Size() int

func (*MsgSetRelayFeeReceiverResponse) XXX_Unmarshal

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

type MsgSetRelayFeeResponse

type MsgSetRelayFeeResponse struct {
}

func (*MsgSetRelayFeeResponse) Descriptor

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

func (*MsgSetRelayFeeResponse) Marshal

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

func (*MsgSetRelayFeeResponse) MarshalTo

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

func (*MsgSetRelayFeeResponse) MarshalToSizedBuffer

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

func (*MsgSetRelayFeeResponse) ProtoMessage

func (*MsgSetRelayFeeResponse) ProtoMessage()

func (*MsgSetRelayFeeResponse) Reset

func (m *MsgSetRelayFeeResponse) Reset()

func (*MsgSetRelayFeeResponse) Size

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

func (*MsgSetRelayFeeResponse) String

func (m *MsgSetRelayFeeResponse) String() string

func (*MsgSetRelayFeeResponse) Unmarshal

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

func (*MsgSetRelayFeeResponse) XXX_DiscardUnknown

func (m *MsgSetRelayFeeResponse) XXX_DiscardUnknown()

func (*MsgSetRelayFeeResponse) XXX_Marshal

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

func (*MsgSetRelayFeeResponse) XXX_Merge

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

func (*MsgSetRelayFeeResponse) XXX_Size

func (m *MsgSetRelayFeeResponse) XXX_Size() int

func (*MsgSetRelayFeeResponse) XXX_Unmarshal

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

type MsgSetResourceidToDenom

type MsgSetResourceidToDenom struct {
	Creator    string    `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ResourceId string    `protobuf:"bytes,2,opt,name=resourceId,proto3" json:"resourceId,omitempty"`
	Denom      string    `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	DenomType  DenomType `protobuf:"varint,4,opt,name=denomType,proto3,enum=stafihub.stafihub.bridge.DenomType" json:"denomType,omitempty"`
}

func NewMsgSetResourceidToDenom

func NewMsgSetResourceidToDenom(creator string, resourceId string, denom string, denomType DenomType) *MsgSetResourceidToDenom

func (*MsgSetResourceidToDenom) Descriptor

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

func (*MsgSetResourceidToDenom) GetCreator

func (m *MsgSetResourceidToDenom) GetCreator() string

func (*MsgSetResourceidToDenom) GetDenom

func (m *MsgSetResourceidToDenom) GetDenom() string

func (*MsgSetResourceidToDenom) GetDenomType

func (m *MsgSetResourceidToDenom) GetDenomType() DenomType

func (*MsgSetResourceidToDenom) GetResourceId

func (m *MsgSetResourceidToDenom) GetResourceId() string

func (*MsgSetResourceidToDenom) GetSignBytes

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

func (*MsgSetResourceidToDenom) GetSigners

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

func (*MsgSetResourceidToDenom) Marshal

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

func (*MsgSetResourceidToDenom) MarshalTo

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

func (*MsgSetResourceidToDenom) MarshalToSizedBuffer

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

func (*MsgSetResourceidToDenom) ProtoMessage

func (*MsgSetResourceidToDenom) ProtoMessage()

func (*MsgSetResourceidToDenom) Reset

func (m *MsgSetResourceidToDenom) Reset()

func (*MsgSetResourceidToDenom) Route

func (msg *MsgSetResourceidToDenom) Route() string

func (*MsgSetResourceidToDenom) Size

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

func (*MsgSetResourceidToDenom) String

func (m *MsgSetResourceidToDenom) String() string

func (*MsgSetResourceidToDenom) Type

func (msg *MsgSetResourceidToDenom) Type() string

func (*MsgSetResourceidToDenom) Unmarshal

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

func (*MsgSetResourceidToDenom) ValidateBasic

func (msg *MsgSetResourceidToDenom) ValidateBasic() error

func (*MsgSetResourceidToDenom) XXX_DiscardUnknown

func (m *MsgSetResourceidToDenom) XXX_DiscardUnknown()

func (*MsgSetResourceidToDenom) XXX_Marshal

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

func (*MsgSetResourceidToDenom) XXX_Merge

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

func (*MsgSetResourceidToDenom) XXX_Size

func (m *MsgSetResourceidToDenom) XXX_Size() int

func (*MsgSetResourceidToDenom) XXX_Unmarshal

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

type MsgSetResourceidToDenomResponse

type MsgSetResourceidToDenomResponse struct {
}

func (*MsgSetResourceidToDenomResponse) Descriptor

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

func (*MsgSetResourceidToDenomResponse) Marshal

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

func (*MsgSetResourceidToDenomResponse) MarshalTo

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

func (*MsgSetResourceidToDenomResponse) MarshalToSizedBuffer

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

func (*MsgSetResourceidToDenomResponse) ProtoMessage

func (*MsgSetResourceidToDenomResponse) ProtoMessage()

func (*MsgSetResourceidToDenomResponse) Reset

func (*MsgSetResourceidToDenomResponse) Size

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

func (*MsgSetResourceidToDenomResponse) String

func (*MsgSetResourceidToDenomResponse) Unmarshal

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

func (*MsgSetResourceidToDenomResponse) XXX_DiscardUnknown

func (m *MsgSetResourceidToDenomResponse) XXX_DiscardUnknown()

func (*MsgSetResourceidToDenomResponse) XXX_Marshal

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

func (*MsgSetResourceidToDenomResponse) XXX_Merge

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

func (*MsgSetResourceidToDenomResponse) XXX_Size

func (m *MsgSetResourceidToDenomResponse) XXX_Size() int

func (*MsgSetResourceidToDenomResponse) XXX_Unmarshal

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

type MsgVoteProposal

type MsgVoteProposal struct {
	Creator      string                                 `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainId      uint32                                 `protobuf:"varint,2,opt,name=chainId,proto3" json:"chainId"`
	DepositNonce uint64                                 `protobuf:"varint,3,opt,name=depositNonce,proto3" json:"depositNonce"`
	ResourceId   string                                 `protobuf:"bytes,4,opt,name=resourceId,proto3" json:"resourceId,omitempty"`
	Amount       github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Receiver     string                                 `protobuf:"bytes,6,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func NewMsgVoteProposal

func NewMsgVoteProposal(creator string, chainId uint32, depositNonce uint64, resourceId string, amount sdk.Int, receiver string) *MsgVoteProposal

func (*MsgVoteProposal) Descriptor

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

func (*MsgVoteProposal) GetChainId

func (m *MsgVoteProposal) GetChainId() uint32

func (*MsgVoteProposal) GetCreator

func (m *MsgVoteProposal) GetCreator() string

func (*MsgVoteProposal) GetDepositNonce

func (m *MsgVoteProposal) GetDepositNonce() uint64

func (*MsgVoteProposal) GetReceiver

func (m *MsgVoteProposal) GetReceiver() string

func (*MsgVoteProposal) GetResourceId

func (m *MsgVoteProposal) GetResourceId() string

func (*MsgVoteProposal) GetSignBytes

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

func (*MsgVoteProposal) GetSigners

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

func (*MsgVoteProposal) Marshal

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

func (*MsgVoteProposal) MarshalTo

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

func (*MsgVoteProposal) MarshalToSizedBuffer

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

func (*MsgVoteProposal) ProtoMessage

func (*MsgVoteProposal) ProtoMessage()

func (*MsgVoteProposal) Reset

func (m *MsgVoteProposal) Reset()

func (*MsgVoteProposal) Route

func (msg *MsgVoteProposal) Route() string

func (*MsgVoteProposal) Size

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

func (*MsgVoteProposal) String

func (m *MsgVoteProposal) String() string

func (*MsgVoteProposal) Type

func (msg *MsgVoteProposal) Type() string

func (*MsgVoteProposal) Unmarshal

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

func (*MsgVoteProposal) ValidateBasic

func (msg *MsgVoteProposal) ValidateBasic() error

func (*MsgVoteProposal) XXX_DiscardUnknown

func (m *MsgVoteProposal) XXX_DiscardUnknown()

func (*MsgVoteProposal) XXX_Marshal

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

func (*MsgVoteProposal) XXX_Merge

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

func (*MsgVoteProposal) XXX_Size

func (m *MsgVoteProposal) XXX_Size() int

func (*MsgVoteProposal) XXX_Unmarshal

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

type MsgVoteProposalResponse

type MsgVoteProposalResponse struct {
}

func (*MsgVoteProposalResponse) Descriptor

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

func (*MsgVoteProposalResponse) Marshal

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

func (*MsgVoteProposalResponse) MarshalTo

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

func (*MsgVoteProposalResponse) MarshalToSizedBuffer

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

func (*MsgVoteProposalResponse) ProtoMessage

func (*MsgVoteProposalResponse) ProtoMessage()

func (*MsgVoteProposalResponse) Reset

func (m *MsgVoteProposalResponse) Reset()

func (*MsgVoteProposalResponse) Size

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

func (*MsgVoteProposalResponse) String

func (m *MsgVoteProposalResponse) String() string

func (*MsgVoteProposalResponse) Unmarshal

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

func (*MsgVoteProposalResponse) XXX_DiscardUnknown

func (m *MsgVoteProposalResponse) XXX_DiscardUnknown()

func (*MsgVoteProposalResponse) XXX_Marshal

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

func (*MsgVoteProposalResponse) XXX_Merge

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

func (*MsgVoteProposalResponse) XXX_Size

func (m *MsgVoteProposalResponse) XXX_Size() int

func (*MsgVoteProposalResponse) XXX_Unmarshal

func (m *MsgVoteProposalResponse) 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 Proposal

type Proposal struct {
	Content  *ProposalContent `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Executed bool             `protobuf:"varint,2,opt,name=executed,proto3" json:"executed,omitempty"`
	Voters   []string         `protobuf:"bytes,3,rep,name=voters,proto3" json:"voters,omitempty"`
}

func (*Proposal) Descriptor

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

func (*Proposal) GetContent

func (m *Proposal) GetContent() *ProposalContent

func (*Proposal) GetExecuted

func (m *Proposal) GetExecuted() bool

func (*Proposal) GetVoters

func (m *Proposal) GetVoters() []string

func (*Proposal) Marshal

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

func (*Proposal) MarshalTo

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

func (*Proposal) MarshalToSizedBuffer

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

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) Reset

func (m *Proposal) Reset()

func (*Proposal) Size

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

func (*Proposal) String

func (m *Proposal) String() string

func (*Proposal) Unmarshal

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

func (*Proposal) XXX_DiscardUnknown

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal

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

func (*Proposal) XXX_Merge

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

func (*Proposal) XXX_Size

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal

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

type ProposalContent

type ProposalContent struct {
	Amount   github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Receiver string                                 `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func (*ProposalContent) Descriptor

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

func (*ProposalContent) GetReceiver

func (m *ProposalContent) GetReceiver() string

func (*ProposalContent) Marshal

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

func (*ProposalContent) MarshalTo

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

func (*ProposalContent) MarshalToSizedBuffer

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

func (*ProposalContent) ProtoMessage

func (*ProposalContent) ProtoMessage()

func (*ProposalContent) Reset

func (m *ProposalContent) Reset()

func (*ProposalContent) Size

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

func (*ProposalContent) String

func (m *ProposalContent) String() string

func (*ProposalContent) Unmarshal

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

func (*ProposalContent) XXX_DiscardUnknown

func (m *ProposalContent) XXX_DiscardUnknown()

func (*ProposalContent) XXX_Marshal

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

func (*ProposalContent) XXX_Merge

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

func (*ProposalContent) XXX_Size

func (m *ProposalContent) XXX_Size() int

func (*ProposalContent) XXX_Unmarshal

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

type QueryBannedDenomListRequest

type QueryBannedDenomListRequest struct {
}

func (*QueryBannedDenomListRequest) Descriptor

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

func (*QueryBannedDenomListRequest) Marshal

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

func (*QueryBannedDenomListRequest) MarshalTo

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

func (*QueryBannedDenomListRequest) MarshalToSizedBuffer

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

func (*QueryBannedDenomListRequest) ProtoMessage

func (*QueryBannedDenomListRequest) ProtoMessage()

func (*QueryBannedDenomListRequest) Reset

func (m *QueryBannedDenomListRequest) Reset()

func (*QueryBannedDenomListRequest) Size

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

func (*QueryBannedDenomListRequest) String

func (m *QueryBannedDenomListRequest) String() string

func (*QueryBannedDenomListRequest) Unmarshal

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

func (*QueryBannedDenomListRequest) XXX_DiscardUnknown

func (m *QueryBannedDenomListRequest) XXX_DiscardUnknown()

func (*QueryBannedDenomListRequest) XXX_Marshal

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

func (*QueryBannedDenomListRequest) XXX_Merge

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

func (*QueryBannedDenomListRequest) XXX_Size

func (m *QueryBannedDenomListRequest) XXX_Size() int

func (*QueryBannedDenomListRequest) XXX_Unmarshal

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

type QueryBannedDenomListResponse

type QueryBannedDenomListResponse struct {
	List []*BannedDenom `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
}

func (*QueryBannedDenomListResponse) Descriptor

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

func (*QueryBannedDenomListResponse) GetList

func (m *QueryBannedDenomListResponse) GetList() []*BannedDenom

func (*QueryBannedDenomListResponse) Marshal

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

func (*QueryBannedDenomListResponse) MarshalTo

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

func (*QueryBannedDenomListResponse) MarshalToSizedBuffer

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

func (*QueryBannedDenomListResponse) ProtoMessage

func (*QueryBannedDenomListResponse) ProtoMessage()

func (*QueryBannedDenomListResponse) Reset

func (m *QueryBannedDenomListResponse) Reset()

func (*QueryBannedDenomListResponse) Size

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

func (*QueryBannedDenomListResponse) String

func (*QueryBannedDenomListResponse) Unmarshal

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

func (*QueryBannedDenomListResponse) XXX_DiscardUnknown

func (m *QueryBannedDenomListResponse) XXX_DiscardUnknown()

func (*QueryBannedDenomListResponse) XXX_Marshal

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

func (*QueryBannedDenomListResponse) XXX_Merge

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

func (*QueryBannedDenomListResponse) XXX_Size

func (m *QueryBannedDenomListResponse) XXX_Size() int

func (*QueryBannedDenomListResponse) XXX_Unmarshal

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

type QueryChaindIdsRequest

type QueryChaindIdsRequest struct {
}

func (*QueryChaindIdsRequest) Descriptor

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

func (*QueryChaindIdsRequest) Marshal

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

func (*QueryChaindIdsRequest) MarshalTo

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

func (*QueryChaindIdsRequest) MarshalToSizedBuffer

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

func (*QueryChaindIdsRequest) ProtoMessage

func (*QueryChaindIdsRequest) ProtoMessage()

func (*QueryChaindIdsRequest) Reset

func (m *QueryChaindIdsRequest) Reset()

func (*QueryChaindIdsRequest) Size

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

func (*QueryChaindIdsRequest) String

func (m *QueryChaindIdsRequest) String() string

func (*QueryChaindIdsRequest) Unmarshal

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

func (*QueryChaindIdsRequest) XXX_DiscardUnknown

func (m *QueryChaindIdsRequest) XXX_DiscardUnknown()

func (*QueryChaindIdsRequest) XXX_Marshal

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

func (*QueryChaindIdsRequest) XXX_Merge

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

func (*QueryChaindIdsRequest) XXX_Size

func (m *QueryChaindIdsRequest) XXX_Size() int

func (*QueryChaindIdsRequest) XXX_Unmarshal

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

type QueryChaindIdsResponse

type QueryChaindIdsResponse struct {
	ChainId []uint32 `protobuf:"varint,1,rep,packed,name=chainId,proto3" json:"chainId,omitempty"`
}

func (*QueryChaindIdsResponse) Descriptor

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

func (*QueryChaindIdsResponse) GetChainId

func (m *QueryChaindIdsResponse) GetChainId() []uint32

func (*QueryChaindIdsResponse) Marshal

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

func (*QueryChaindIdsResponse) MarshalTo

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

func (*QueryChaindIdsResponse) MarshalToSizedBuffer

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

func (*QueryChaindIdsResponse) ProtoMessage

func (*QueryChaindIdsResponse) ProtoMessage()

func (*QueryChaindIdsResponse) Reset

func (m *QueryChaindIdsResponse) Reset()

func (*QueryChaindIdsResponse) Size

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

func (*QueryChaindIdsResponse) String

func (m *QueryChaindIdsResponse) String() string

func (*QueryChaindIdsResponse) Unmarshal

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

func (*QueryChaindIdsResponse) XXX_DiscardUnknown

func (m *QueryChaindIdsResponse) XXX_DiscardUnknown()

func (*QueryChaindIdsResponse) XXX_Marshal

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

func (*QueryChaindIdsResponse) XXX_Merge

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

func (*QueryChaindIdsResponse) XXX_Size

func (m *QueryChaindIdsResponse) XXX_Size() int

func (*QueryChaindIdsResponse) XXX_Unmarshal

func (m *QueryChaindIdsResponse) 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 ChaindIds items.
	ChaindIds(ctx context.Context, in *QueryChaindIdsRequest, opts ...grpc.CallOption) (*QueryChaindIdsResponse, error)
	// Queries a list of ProposalDetail items.
	ProposalDetail(ctx context.Context, in *QueryProposalDetailRequest, opts ...grpc.CallOption) (*QueryProposalDetailResponse, error)
	// Queries a list of ResourceidToDenoms items.
	ResourceidToDenoms(ctx context.Context, in *QueryResourceidToDenomsRequest, opts ...grpc.CallOption) (*QueryResourceidToDenomsResponse, error)
	// Queries a list of RelayFeeReceiver items.
	RelayFeeReceiver(ctx context.Context, in *QueryRelayFeeReceiverRequest, opts ...grpc.CallOption) (*QueryRelayFeeReceiverResponse, error)
	// Queries a list of RelayFee items.
	RelayFee(ctx context.Context, in *QueryRelayFeeRequest, opts ...grpc.CallOption) (*QueryRelayFeeResponse, error)
	// Queries a list of BannedDenomList items.
	BannedDenomList(ctx context.Context, in *QueryBannedDenomListRequest, opts ...grpc.CallOption) (*QueryBannedDenomListResponse, error)
	// Queries a list of GetDepositCount items.
	GetDepositCount(ctx context.Context, in *QueryGetDepositCountRequest, opts ...grpc.CallOption) (*QueryGetDepositCountResponse, 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 QueryGetDepositCountRequest added in v0.2.3

type QueryGetDepositCountRequest struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
}

func (*QueryGetDepositCountRequest) Descriptor added in v0.2.3

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

func (*QueryGetDepositCountRequest) GetChainId added in v0.2.3

func (m *QueryGetDepositCountRequest) GetChainId() uint32

func (*QueryGetDepositCountRequest) Marshal added in v0.2.3

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

func (*QueryGetDepositCountRequest) MarshalTo added in v0.2.3

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

func (*QueryGetDepositCountRequest) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryGetDepositCountRequest) ProtoMessage added in v0.2.3

func (*QueryGetDepositCountRequest) ProtoMessage()

func (*QueryGetDepositCountRequest) Reset added in v0.2.3

func (m *QueryGetDepositCountRequest) Reset()

func (*QueryGetDepositCountRequest) Size added in v0.2.3

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

func (*QueryGetDepositCountRequest) String added in v0.2.3

func (m *QueryGetDepositCountRequest) String() string

func (*QueryGetDepositCountRequest) Unmarshal added in v0.2.3

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

func (*QueryGetDepositCountRequest) XXX_DiscardUnknown added in v0.2.3

func (m *QueryGetDepositCountRequest) XXX_DiscardUnknown()

func (*QueryGetDepositCountRequest) XXX_Marshal added in v0.2.3

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

func (*QueryGetDepositCountRequest) XXX_Merge added in v0.2.3

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

func (*QueryGetDepositCountRequest) XXX_Size added in v0.2.3

func (m *QueryGetDepositCountRequest) XXX_Size() int

func (*QueryGetDepositCountRequest) XXX_Unmarshal added in v0.2.3

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

type QueryGetDepositCountResponse added in v0.2.3

type QueryGetDepositCountResponse struct {
	Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}

func (*QueryGetDepositCountResponse) Descriptor added in v0.2.3

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

func (*QueryGetDepositCountResponse) GetCount added in v0.2.3

func (m *QueryGetDepositCountResponse) GetCount() uint32

func (*QueryGetDepositCountResponse) Marshal added in v0.2.3

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

func (*QueryGetDepositCountResponse) MarshalTo added in v0.2.3

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

func (*QueryGetDepositCountResponse) MarshalToSizedBuffer added in v0.2.3

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

func (*QueryGetDepositCountResponse) ProtoMessage added in v0.2.3

func (*QueryGetDepositCountResponse) ProtoMessage()

func (*QueryGetDepositCountResponse) Reset added in v0.2.3

func (m *QueryGetDepositCountResponse) Reset()

func (*QueryGetDepositCountResponse) Size added in v0.2.3

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

func (*QueryGetDepositCountResponse) String added in v0.2.3

func (*QueryGetDepositCountResponse) Unmarshal added in v0.2.3

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

func (*QueryGetDepositCountResponse) XXX_DiscardUnknown added in v0.2.3

func (m *QueryGetDepositCountResponse) XXX_DiscardUnknown()

func (*QueryGetDepositCountResponse) XXX_Marshal added in v0.2.3

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

func (*QueryGetDepositCountResponse) XXX_Merge added in v0.2.3

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

func (*QueryGetDepositCountResponse) XXX_Size added in v0.2.3

func (m *QueryGetDepositCountResponse) XXX_Size() int

func (*QueryGetDepositCountResponse) XXX_Unmarshal added in v0.2.3

func (m *QueryGetDepositCountResponse) 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 QueryProposalDetailRequest

type QueryProposalDetailRequest struct {
	ChainId      uint32 `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	DepositNonce uint64 `protobuf:"varint,2,opt,name=depositNonce,proto3" json:"depositNonce,omitempty"`
	ResourceId   string `protobuf:"bytes,3,opt,name=resourceId,proto3" json:"resourceId,omitempty"`
	Amount       string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Receiver     string `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func (*QueryProposalDetailRequest) Descriptor

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

func (*QueryProposalDetailRequest) GetAmount

func (m *QueryProposalDetailRequest) GetAmount() string

func (*QueryProposalDetailRequest) GetChainId

func (m *QueryProposalDetailRequest) GetChainId() uint32

func (*QueryProposalDetailRequest) GetDepositNonce

func (m *QueryProposalDetailRequest) GetDepositNonce() uint64

func (*QueryProposalDetailRequest) GetReceiver

func (m *QueryProposalDetailRequest) GetReceiver() string

func (*QueryProposalDetailRequest) GetResourceId

func (m *QueryProposalDetailRequest) GetResourceId() string

func (*QueryProposalDetailRequest) Marshal

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

func (*QueryProposalDetailRequest) MarshalTo

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

func (*QueryProposalDetailRequest) MarshalToSizedBuffer

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

func (*QueryProposalDetailRequest) ProtoMessage

func (*QueryProposalDetailRequest) ProtoMessage()

func (*QueryProposalDetailRequest) Reset

func (m *QueryProposalDetailRequest) Reset()

func (*QueryProposalDetailRequest) Size

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

func (*QueryProposalDetailRequest) String

func (m *QueryProposalDetailRequest) String() string

func (*QueryProposalDetailRequest) Unmarshal

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

func (*QueryProposalDetailRequest) XXX_DiscardUnknown

func (m *QueryProposalDetailRequest) XXX_DiscardUnknown()

func (*QueryProposalDetailRequest) XXX_Marshal

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

func (*QueryProposalDetailRequest) XXX_Merge

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

func (*QueryProposalDetailRequest) XXX_Size

func (m *QueryProposalDetailRequest) XXX_Size() int

func (*QueryProposalDetailRequest) XXX_Unmarshal

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

type QueryProposalDetailResponse

type QueryProposalDetailResponse struct {
	Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
}

func (*QueryProposalDetailResponse) Descriptor

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

func (*QueryProposalDetailResponse) GetProposal

func (m *QueryProposalDetailResponse) GetProposal() *Proposal

func (*QueryProposalDetailResponse) Marshal

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

func (*QueryProposalDetailResponse) MarshalTo

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

func (*QueryProposalDetailResponse) MarshalToSizedBuffer

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

func (*QueryProposalDetailResponse) ProtoMessage

func (*QueryProposalDetailResponse) ProtoMessage()

func (*QueryProposalDetailResponse) Reset

func (m *QueryProposalDetailResponse) Reset()

func (*QueryProposalDetailResponse) Size

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

func (*QueryProposalDetailResponse) String

func (m *QueryProposalDetailResponse) String() string

func (*QueryProposalDetailResponse) Unmarshal

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

func (*QueryProposalDetailResponse) XXX_DiscardUnknown

func (m *QueryProposalDetailResponse) XXX_DiscardUnknown()

func (*QueryProposalDetailResponse) XXX_Marshal

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

func (*QueryProposalDetailResponse) XXX_Merge

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

func (*QueryProposalDetailResponse) XXX_Size

func (m *QueryProposalDetailResponse) XXX_Size() int

func (*QueryProposalDetailResponse) XXX_Unmarshal

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

type QueryRelayFeeReceiverRequest

type QueryRelayFeeReceiverRequest struct {
}

func (*QueryRelayFeeReceiverRequest) Descriptor

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

func (*QueryRelayFeeReceiverRequest) Marshal

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

func (*QueryRelayFeeReceiverRequest) MarshalTo

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

func (*QueryRelayFeeReceiverRequest) MarshalToSizedBuffer

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

func (*QueryRelayFeeReceiverRequest) ProtoMessage

func (*QueryRelayFeeReceiverRequest) ProtoMessage()

func (*QueryRelayFeeReceiverRequest) Reset

func (m *QueryRelayFeeReceiverRequest) Reset()

func (*QueryRelayFeeReceiverRequest) Size

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

func (*QueryRelayFeeReceiverRequest) String

func (*QueryRelayFeeReceiverRequest) Unmarshal

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

func (*QueryRelayFeeReceiverRequest) XXX_DiscardUnknown

func (m *QueryRelayFeeReceiverRequest) XXX_DiscardUnknown()

func (*QueryRelayFeeReceiverRequest) XXX_Marshal

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

func (*QueryRelayFeeReceiverRequest) XXX_Merge

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

func (*QueryRelayFeeReceiverRequest) XXX_Size

func (m *QueryRelayFeeReceiverRequest) XXX_Size() int

func (*QueryRelayFeeReceiverRequest) XXX_Unmarshal

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

type QueryRelayFeeReceiverResponse

type QueryRelayFeeReceiverResponse struct {
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func (*QueryRelayFeeReceiverResponse) Descriptor

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

func (*QueryRelayFeeReceiverResponse) GetReceiver

func (m *QueryRelayFeeReceiverResponse) GetReceiver() string

func (*QueryRelayFeeReceiverResponse) Marshal

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

func (*QueryRelayFeeReceiverResponse) MarshalTo

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

func (*QueryRelayFeeReceiverResponse) MarshalToSizedBuffer

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

func (*QueryRelayFeeReceiverResponse) ProtoMessage

func (*QueryRelayFeeReceiverResponse) ProtoMessage()

func (*QueryRelayFeeReceiverResponse) Reset

func (m *QueryRelayFeeReceiverResponse) Reset()

func (*QueryRelayFeeReceiverResponse) Size

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

func (*QueryRelayFeeReceiverResponse) String

func (*QueryRelayFeeReceiverResponse) Unmarshal

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

func (*QueryRelayFeeReceiverResponse) XXX_DiscardUnknown

func (m *QueryRelayFeeReceiverResponse) XXX_DiscardUnknown()

func (*QueryRelayFeeReceiverResponse) XXX_Marshal

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

func (*QueryRelayFeeReceiverResponse) XXX_Merge

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

func (*QueryRelayFeeReceiverResponse) XXX_Size

func (m *QueryRelayFeeReceiverResponse) XXX_Size() int

func (*QueryRelayFeeReceiverResponse) XXX_Unmarshal

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

type QueryRelayFeeRequest

type QueryRelayFeeRequest struct {
	ChainId uint32 `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
}

func (*QueryRelayFeeRequest) Descriptor

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

func (*QueryRelayFeeRequest) GetChainId

func (m *QueryRelayFeeRequest) GetChainId() uint32

func (*QueryRelayFeeRequest) Marshal

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

func (*QueryRelayFeeRequest) MarshalTo

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

func (*QueryRelayFeeRequest) MarshalToSizedBuffer

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

func (*QueryRelayFeeRequest) ProtoMessage

func (*QueryRelayFeeRequest) ProtoMessage()

func (*QueryRelayFeeRequest) Reset

func (m *QueryRelayFeeRequest) Reset()

func (*QueryRelayFeeRequest) Size

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

func (*QueryRelayFeeRequest) String

func (m *QueryRelayFeeRequest) String() string

func (*QueryRelayFeeRequest) Unmarshal

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

func (*QueryRelayFeeRequest) XXX_DiscardUnknown

func (m *QueryRelayFeeRequest) XXX_DiscardUnknown()

func (*QueryRelayFeeRequest) XXX_Marshal

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

func (*QueryRelayFeeRequest) XXX_Merge

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

func (*QueryRelayFeeRequest) XXX_Size

func (m *QueryRelayFeeRequest) XXX_Size() int

func (*QueryRelayFeeRequest) XXX_Unmarshal

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

type QueryRelayFeeResponse

type QueryRelayFeeResponse struct {
	Value github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"value"`
}

func (*QueryRelayFeeResponse) Descriptor

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

func (*QueryRelayFeeResponse) Marshal

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

func (*QueryRelayFeeResponse) MarshalTo

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

func (*QueryRelayFeeResponse) MarshalToSizedBuffer

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

func (*QueryRelayFeeResponse) ProtoMessage

func (*QueryRelayFeeResponse) ProtoMessage()

func (*QueryRelayFeeResponse) Reset

func (m *QueryRelayFeeResponse) Reset()

func (*QueryRelayFeeResponse) Size

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

func (*QueryRelayFeeResponse) String

func (m *QueryRelayFeeResponse) String() string

func (*QueryRelayFeeResponse) Unmarshal

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

func (*QueryRelayFeeResponse) XXX_DiscardUnknown

func (m *QueryRelayFeeResponse) XXX_DiscardUnknown()

func (*QueryRelayFeeResponse) XXX_Marshal

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

func (*QueryRelayFeeResponse) XXX_Merge

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

func (*QueryRelayFeeResponse) XXX_Size

func (m *QueryRelayFeeResponse) XXX_Size() int

func (*QueryRelayFeeResponse) XXX_Unmarshal

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

type QueryResourceidToDenomsRequest

type QueryResourceidToDenomsRequest struct {
}

func (*QueryResourceidToDenomsRequest) Descriptor

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

func (*QueryResourceidToDenomsRequest) Marshal

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

func (*QueryResourceidToDenomsRequest) MarshalTo

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

func (*QueryResourceidToDenomsRequest) MarshalToSizedBuffer

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

func (*QueryResourceidToDenomsRequest) ProtoMessage

func (*QueryResourceidToDenomsRequest) ProtoMessage()

func (*QueryResourceidToDenomsRequest) Reset

func (m *QueryResourceidToDenomsRequest) Reset()

func (*QueryResourceidToDenomsRequest) Size

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

func (*QueryResourceidToDenomsRequest) String

func (*QueryResourceidToDenomsRequest) Unmarshal

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

func (*QueryResourceidToDenomsRequest) XXX_DiscardUnknown

func (m *QueryResourceidToDenomsRequest) XXX_DiscardUnknown()

func (*QueryResourceidToDenomsRequest) XXX_Marshal

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

func (*QueryResourceidToDenomsRequest) XXX_Merge

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

func (*QueryResourceidToDenomsRequest) XXX_Size

func (m *QueryResourceidToDenomsRequest) XXX_Size() int

func (*QueryResourceidToDenomsRequest) XXX_Unmarshal

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

type QueryResourceidToDenomsResponse

type QueryResourceidToDenomsResponse struct {
	ResourceidToDenoms []*ResourceIdToDenom `protobuf:"bytes,1,rep,name=resourceidToDenoms,proto3" json:"resourceidToDenoms,omitempty"`
}

func (*QueryResourceidToDenomsResponse) Descriptor

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

func (*QueryResourceidToDenomsResponse) GetResourceidToDenoms

func (m *QueryResourceidToDenomsResponse) GetResourceidToDenoms() []*ResourceIdToDenom

func (*QueryResourceidToDenomsResponse) Marshal

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

func (*QueryResourceidToDenomsResponse) MarshalTo

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

func (*QueryResourceidToDenomsResponse) MarshalToSizedBuffer

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

func (*QueryResourceidToDenomsResponse) ProtoMessage

func (*QueryResourceidToDenomsResponse) ProtoMessage()

func (*QueryResourceidToDenomsResponse) Reset

func (*QueryResourceidToDenomsResponse) Size

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

func (*QueryResourceidToDenomsResponse) String

func (*QueryResourceidToDenomsResponse) Unmarshal

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

func (*QueryResourceidToDenomsResponse) XXX_DiscardUnknown

func (m *QueryResourceidToDenomsResponse) XXX_DiscardUnknown()

func (*QueryResourceidToDenomsResponse) XXX_Marshal

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

func (*QueryResourceidToDenomsResponse) XXX_Merge

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

func (*QueryResourceidToDenomsResponse) XXX_Size

func (m *QueryResourceidToDenomsResponse) XXX_Size() int

func (*QueryResourceidToDenomsResponse) XXX_Unmarshal

func (m *QueryResourceidToDenomsResponse) 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 ChaindIds items.
	ChaindIds(context.Context, *QueryChaindIdsRequest) (*QueryChaindIdsResponse, error)
	// Queries a list of ProposalDetail items.
	ProposalDetail(context.Context, *QueryProposalDetailRequest) (*QueryProposalDetailResponse, error)
	// Queries a list of ResourceidToDenoms items.
	ResourceidToDenoms(context.Context, *QueryResourceidToDenomsRequest) (*QueryResourceidToDenomsResponse, error)
	// Queries a list of RelayFeeReceiver items.
	RelayFeeReceiver(context.Context, *QueryRelayFeeReceiverRequest) (*QueryRelayFeeReceiverResponse, error)
	// Queries a list of RelayFee items.
	RelayFee(context.Context, *QueryRelayFeeRequest) (*QueryRelayFeeResponse, error)
	// Queries a list of BannedDenomList items.
	BannedDenomList(context.Context, *QueryBannedDenomListRequest) (*QueryBannedDenomListResponse, error)
	// Queries a list of GetDepositCount items.
	GetDepositCount(context.Context, *QueryGetDepositCountRequest) (*QueryGetDepositCountResponse, error)
}

QueryServer is the server API for Query service.

type RelayFee

type RelayFee struct {
	ChainId uint32                                  `protobuf:"varint,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	Value   github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"value"`
}

func (*RelayFee) Descriptor

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

func (*RelayFee) GetChainId

func (m *RelayFee) GetChainId() uint32

func (*RelayFee) Marshal

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

func (*RelayFee) MarshalTo

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

func (*RelayFee) MarshalToSizedBuffer

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

func (*RelayFee) ProtoMessage

func (*RelayFee) ProtoMessage()

func (*RelayFee) Reset

func (m *RelayFee) Reset()

func (*RelayFee) Size

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

func (*RelayFee) String

func (m *RelayFee) String() string

func (*RelayFee) Unmarshal

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

func (*RelayFee) XXX_DiscardUnknown

func (m *RelayFee) XXX_DiscardUnknown()

func (*RelayFee) XXX_Marshal

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

func (*RelayFee) XXX_Merge

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

func (*RelayFee) XXX_Size

func (m *RelayFee) XXX_Size() int

func (*RelayFee) XXX_Unmarshal

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

type RelayersKeeper

type RelayersKeeper interface {
	HasRelayer(ctx sdk.Context, arena, denom, addr string) bool
	GetThreshold(ctx sdk.Context, arena, denom string) (relayerTypes.Threshold, bool)
}

type ResourceIdToDenom

type ResourceIdToDenom struct {
	ResourceId string    `protobuf:"bytes,1,opt,name=resourceId,proto3" json:"resourceId,omitempty"`
	Denom      string    `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	DenomType  DenomType `protobuf:"varint,3,opt,name=denomType,proto3,enum=stafihub.stafihub.bridge.DenomType" json:"denomType,omitempty"`
}

func (*ResourceIdToDenom) Descriptor

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

func (*ResourceIdToDenom) GetDenom

func (m *ResourceIdToDenom) GetDenom() string

func (*ResourceIdToDenom) GetDenomType

func (m *ResourceIdToDenom) GetDenomType() DenomType

func (*ResourceIdToDenom) GetResourceId

func (m *ResourceIdToDenom) GetResourceId() string

func (*ResourceIdToDenom) Marshal

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

func (*ResourceIdToDenom) MarshalTo

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

func (*ResourceIdToDenom) MarshalToSizedBuffer

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

func (*ResourceIdToDenom) ProtoMessage

func (*ResourceIdToDenom) ProtoMessage()

func (*ResourceIdToDenom) Reset

func (m *ResourceIdToDenom) Reset()

func (*ResourceIdToDenom) Size

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

func (*ResourceIdToDenom) String

func (m *ResourceIdToDenom) String() string

func (*ResourceIdToDenom) Unmarshal

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

func (*ResourceIdToDenom) XXX_DiscardUnknown

func (m *ResourceIdToDenom) XXX_DiscardUnknown()

func (*ResourceIdToDenom) XXX_Marshal

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

func (*ResourceIdToDenom) XXX_Merge

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

func (*ResourceIdToDenom) XXX_Size

func (m *ResourceIdToDenom) XXX_Size() int

func (*ResourceIdToDenom) XXX_Unmarshal

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

type SudoKeeper

type SudoKeeper interface {
	IsAdmin(ctx sdk.Context, address string) bool
	GetAdmin(ctx sdk.Context) sdk.AccAddress
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddBannedDenom

func (*UnimplementedMsgServer) AddChainId

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) RmBannedDenom

func (*UnimplementedMsgServer) RmChainId

func (*UnimplementedMsgServer) SetRelayFee

func (*UnimplementedMsgServer) SetRelayFeeReceiver

func (*UnimplementedMsgServer) SetResourceidToDenom

func (*UnimplementedMsgServer) VoteProposal

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BannedDenomList

func (*UnimplementedQueryServer) ChaindIds

func (*UnimplementedQueryServer) GetDepositCount added in v0.2.3

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ProposalDetail

func (*UnimplementedQueryServer) RelayFee

func (*UnimplementedQueryServer) RelayFeeReceiver

func (*UnimplementedQueryServer) ResourceidToDenoms

Jump to

Keyboard shortcuts

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