types

package
v1.2.49 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 23 Imported by: 7

Documentation

Index

Constants

View Source
const (
	ProposalTypeCreateChainConfig = "CreateChainConfig"
	ProposalTypeDeleteChainConfig = "DeleteChainConfig"
	ProposalTypeUpdateChainConfig = "UpdateChainConfig"
)
View Source
const (
	// ChainConfigKeyPrefix is the prefix to retrieve all ChainConfig
	ChainConfigKeyPrefix = "ChainConfig/value/"

	// LastObservedEventNonceKey indexes the latest event nonce
	// [0xa34e56ab6fab9ee91e82ba216bfeb759]
	LastObservedEventNonceKey = "LastObservedEventNonceKey"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "multichain"

	// 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_multichain"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global ChainId

Variables

View Source
var (
	ErrInvalidLengthChainConfig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChainConfig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChainConfig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGov        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGov          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ChainType_name = map[int32]string{
	0: "CHAIN_TYPE_NONE",
	1: "CHAIN_TYPE_ROUTER",
	2: "CHAIN_TYPE_EVM",
	3: "CHAIN_TYPE_COSMOS",
	4: "CHAIN_TYPE_POLKADOT",
	5: "CHAIN_TYPE_SOLANO",
	6: "CHAIN_TYPE_NEAR",
}
View Source
var ChainType_value = map[string]int32{
	"CHAIN_TYPE_NONE":     0,
	"CHAIN_TYPE_ROUTER":   1,
	"CHAIN_TYPE_EVM":      2,
	"CHAIN_TYPE_COSMOS":   3,
	"CHAIN_TYPE_POLKADOT": 4,
	"CHAIN_TYPE_SOLANO":   5,
	"CHAIN_TYPE_NEAR":     6,
}
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/multichain module sentinel errors

Functions

func ChainConfigKey

func ChainConfigKey(
	chainId string,
) []byte

ChainConfigKey returns the store key to retrieve a ChainConfig from the index fields

func GetLastObservedEventNonceKey

func GetLastObservedEventNonceKey(
	chainId string,
) []byte

GetLastObservedEventNonceKey returns the store key to retrieve a LastObservedEventNonce from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

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

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

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances.

type ChainConfig

type ChainConfig struct {
	ChainId                      string    `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ChainName                    string    `protobuf:"bytes,2,opt,name=chainName,proto3" json:"chainName,omitempty"`
	Symbol                       string    `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	NativeDecimals               int64     `protobuf:"varint,4,opt,name=native_decimals,json=nativeDecimals,proto3" json:"native_decimals,omitempty"`
	ChainType                    ChainType `protobuf:"varint,5,opt,name=chainType,proto3,enum=routerprotocol.routerchain.multichain.ChainType" json:"chainType,omitempty"`
	ConfirmationsRequired        uint64    `protobuf:"varint,6,opt,name=confirmationsRequired,proto3" json:"confirmationsRequired,omitempty"`
	GatewayContractAddress       string    `protobuf:"bytes,7,opt,name=gatewayContractAddress,proto3" json:"gatewayContractAddress,omitempty"`
	GatewayContractHeight        uint64    `protobuf:"varint,8,opt,name=gatewayContractHeight,proto3" json:"gatewayContractHeight,omitempty"`
	RouterContractAddress        string    `protobuf:"bytes,9,opt,name=routerContractAddress,proto3" json:"routerContractAddress,omitempty"`
	LastObservedEventNonce       uint64    `protobuf:"varint,10,opt,name=lastObservedEventNonce,proto3" json:"lastObservedEventNonce,omitempty"`
	LastObservedEventBlockHeight uint64    `protobuf:"varint,11,opt,name=lastObservedEventBlockHeight,proto3" json:"lastObservedEventBlockHeight,omitempty"`
	LastObservedValsetNonce      uint64    `protobuf:"varint,12,opt,name=lastObservedValsetNonce,proto3" json:"lastObservedValsetNonce,omitempty"`
	ChainEnabled                 bool      `protobuf:"varint,13,opt,name=chain_enabled,json=chainEnabled,proto3" json:"chain_enabled,omitempty"`
}

func (*ChainConfig) Descriptor

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

func (*ChainConfig) GetChainEnabled

func (m *ChainConfig) GetChainEnabled() bool

func (*ChainConfig) GetChainId

func (m *ChainConfig) GetChainId() string

func (*ChainConfig) GetChainName

func (m *ChainConfig) GetChainName() string

func (*ChainConfig) GetChainType

func (m *ChainConfig) GetChainType() ChainType

func (*ChainConfig) GetConfirmationsRequired

func (m *ChainConfig) GetConfirmationsRequired() uint64

func (*ChainConfig) GetGatewayContractAddress

func (m *ChainConfig) GetGatewayContractAddress() string

func (*ChainConfig) GetGatewayContractHeight

func (m *ChainConfig) GetGatewayContractHeight() uint64

func (*ChainConfig) GetLastObservedEventBlockHeight

func (m *ChainConfig) GetLastObservedEventBlockHeight() uint64

func (*ChainConfig) GetLastObservedEventNonce

func (m *ChainConfig) GetLastObservedEventNonce() uint64

func (*ChainConfig) GetLastObservedValsetNonce

func (m *ChainConfig) GetLastObservedValsetNonce() uint64

func (*ChainConfig) GetNativeDecimals

func (m *ChainConfig) GetNativeDecimals() int64

func (*ChainConfig) GetRouterContractAddress

func (m *ChainConfig) GetRouterContractAddress() string

func (*ChainConfig) GetSymbol

func (m *ChainConfig) GetSymbol() string

func (*ChainConfig) Marshal

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

func (*ChainConfig) MarshalTo

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

func (*ChainConfig) MarshalToSizedBuffer

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

func (*ChainConfig) ProtoMessage

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) Reset

func (m *ChainConfig) Reset()

func (*ChainConfig) Size

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

func (*ChainConfig) String

func (m *ChainConfig) String() string

func (*ChainConfig) Unmarshal

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

func (*ChainConfig) XXX_DiscardUnknown

func (m *ChainConfig) XXX_DiscardUnknown()

func (*ChainConfig) XXX_Marshal

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

func (*ChainConfig) XXX_Merge

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

func (*ChainConfig) XXX_Size

func (m *ChainConfig) XXX_Size() int

func (*ChainConfig) XXX_Unmarshal

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

type ChainType

type ChainType int32
const (
	CHAIN_TYPE_NONE     ChainType = 0
	CHAIN_TYPE_ROUTER   ChainType = 1
	CHAIN_TYPE_EVM      ChainType = 2
	CHAIN_TYPE_COSMOS   ChainType = 3
	CHAIN_TYPE_POLKADOT ChainType = 4
	CHAIN_TYPE_SOLANO   ChainType = 5
	CHAIN_TYPE_NEAR     ChainType = 6
)

func (ChainType) EnumDescriptor

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

func (ChainType) String

func (x ChainType) String() string

type EventCreateChainConfig

type EventCreateChainConfig struct {
	ChainId                      string    `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ChainName                    string    `protobuf:"bytes,2,opt,name=chainName,proto3" json:"chainName,omitempty"`
	Symbol                       string    `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	NativeDecimals               int64     `protobuf:"varint,4,opt,name=native_decimals,json=nativeDecimals,proto3" json:"native_decimals,omitempty"`
	ChainType                    ChainType `protobuf:"varint,5,opt,name=chainType,proto3,enum=routerprotocol.routerchain.multichain.ChainType" json:"chainType,omitempty"`
	ConfirmationsRequired        uint64    `protobuf:"varint,6,opt,name=confirmationsRequired,proto3" json:"confirmationsRequired,omitempty"`
	GatewayContractAddress       string    `protobuf:"bytes,7,opt,name=gatewayContractAddress,proto3" json:"gatewayContractAddress,omitempty"`
	GatewayContractHeight        uint64    `protobuf:"varint,8,opt,name=gatewayContractHeight,proto3" json:"gatewayContractHeight,omitempty"`
	RouterContractAddress        string    `protobuf:"bytes,9,opt,name=routerContractAddress,proto3" json:"routerContractAddress,omitempty"`
	LastObservedEventNonce       uint64    `protobuf:"varint,10,opt,name=lastObservedEventNonce,proto3" json:"lastObservedEventNonce,omitempty"`
	LastObservedEventBlockHeight uint64    `protobuf:"varint,11,opt,name=LastObservedEventBlockHeight,proto3" json:"LastObservedEventBlockHeight,omitempty"`
	LastObservedValsetNonce      uint64    `protobuf:"varint,12,opt,name=lastObservedValsetNonce,proto3" json:"lastObservedValsetNonce,omitempty"`
	ChainEnabled                 bool      `protobuf:"varint,13,opt,name=chain_enabled,json=chainEnabled,proto3" json:"chain_enabled,omitempty"`
}

func (*EventCreateChainConfig) Descriptor

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

func (*EventCreateChainConfig) GetChainEnabled

func (m *EventCreateChainConfig) GetChainEnabled() bool

func (*EventCreateChainConfig) GetChainId

func (m *EventCreateChainConfig) GetChainId() string

func (*EventCreateChainConfig) GetChainName

func (m *EventCreateChainConfig) GetChainName() string

func (*EventCreateChainConfig) GetChainType

func (m *EventCreateChainConfig) GetChainType() ChainType

func (*EventCreateChainConfig) GetConfirmationsRequired

func (m *EventCreateChainConfig) GetConfirmationsRequired() uint64

func (*EventCreateChainConfig) GetGatewayContractAddress

func (m *EventCreateChainConfig) GetGatewayContractAddress() string

func (*EventCreateChainConfig) GetGatewayContractHeight

func (m *EventCreateChainConfig) GetGatewayContractHeight() uint64

func (*EventCreateChainConfig) GetLastObservedEventBlockHeight

func (m *EventCreateChainConfig) GetLastObservedEventBlockHeight() uint64

func (*EventCreateChainConfig) GetLastObservedEventNonce

func (m *EventCreateChainConfig) GetLastObservedEventNonce() uint64

func (*EventCreateChainConfig) GetLastObservedValsetNonce

func (m *EventCreateChainConfig) GetLastObservedValsetNonce() uint64

func (*EventCreateChainConfig) GetNativeDecimals

func (m *EventCreateChainConfig) GetNativeDecimals() int64

func (*EventCreateChainConfig) GetRouterContractAddress

func (m *EventCreateChainConfig) GetRouterContractAddress() string

func (*EventCreateChainConfig) GetSymbol

func (m *EventCreateChainConfig) GetSymbol() string

func (*EventCreateChainConfig) Marshal

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

func (*EventCreateChainConfig) MarshalTo

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

func (*EventCreateChainConfig) MarshalToSizedBuffer

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

func (*EventCreateChainConfig) ProtoMessage

func (*EventCreateChainConfig) ProtoMessage()

func (*EventCreateChainConfig) Reset

func (m *EventCreateChainConfig) Reset()

func (*EventCreateChainConfig) Size

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

func (*EventCreateChainConfig) String

func (m *EventCreateChainConfig) String() string

func (*EventCreateChainConfig) Unmarshal

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

func (*EventCreateChainConfig) XXX_DiscardUnknown

func (m *EventCreateChainConfig) XXX_DiscardUnknown()

func (*EventCreateChainConfig) XXX_Marshal

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

func (*EventCreateChainConfig) XXX_Merge

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

func (*EventCreateChainConfig) XXX_Size

func (m *EventCreateChainConfig) XXX_Size() int

func (*EventCreateChainConfig) XXX_Unmarshal

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

type EventDeletedChainConfig

type EventDeletedChainConfig struct {
	ChainId   string    `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ChainType ChainType `protobuf:"varint,2,opt,name=chainType,proto3,enum=routerprotocol.routerchain.multichain.ChainType" json:"chainType,omitempty"`
}

func (*EventDeletedChainConfig) Descriptor

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

func (*EventDeletedChainConfig) GetChainId

func (m *EventDeletedChainConfig) GetChainId() string

func (*EventDeletedChainConfig) GetChainType

func (m *EventDeletedChainConfig) GetChainType() ChainType

func (*EventDeletedChainConfig) Marshal

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

func (*EventDeletedChainConfig) MarshalTo

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

func (*EventDeletedChainConfig) MarshalToSizedBuffer

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

func (*EventDeletedChainConfig) ProtoMessage

func (*EventDeletedChainConfig) ProtoMessage()

func (*EventDeletedChainConfig) Reset

func (m *EventDeletedChainConfig) Reset()

func (*EventDeletedChainConfig) Size

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

func (*EventDeletedChainConfig) String

func (m *EventDeletedChainConfig) String() string

func (*EventDeletedChainConfig) Unmarshal

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

func (*EventDeletedChainConfig) XXX_DiscardUnknown

func (m *EventDeletedChainConfig) XXX_DiscardUnknown()

func (*EventDeletedChainConfig) XXX_Marshal

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

func (*EventDeletedChainConfig) XXX_Merge

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

func (*EventDeletedChainConfig) XXX_Size

func (m *EventDeletedChainConfig) XXX_Size() int

func (*EventDeletedChainConfig) XXX_Unmarshal

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

type EventUpdatedChainConfig

type EventUpdatedChainConfig struct {
	ChainId                      string    `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ChainName                    string    `protobuf:"bytes,2,opt,name=chainName,proto3" json:"chainName,omitempty"`
	Symbol                       string    `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	NativeDecimals               int64     `protobuf:"varint,4,opt,name=native_decimals,json=nativeDecimals,proto3" json:"native_decimals,omitempty"`
	ChainType                    ChainType `protobuf:"varint,5,opt,name=chainType,proto3,enum=routerprotocol.routerchain.multichain.ChainType" json:"chainType,omitempty"`
	ConfirmationsRequired        uint64    `protobuf:"varint,6,opt,name=confirmationsRequired,proto3" json:"confirmationsRequired,omitempty"`
	GatewayContractAddress       string    `protobuf:"bytes,7,opt,name=gatewayContractAddress,proto3" json:"gatewayContractAddress,omitempty"`
	GatewayContractHeight        uint64    `protobuf:"varint,8,opt,name=gatewayContractHeight,proto3" json:"gatewayContractHeight,omitempty"`
	RouterContractAddress        string    `protobuf:"bytes,9,opt,name=routerContractAddress,proto3" json:"routerContractAddress,omitempty"`
	LastObservedEventNonce       uint64    `protobuf:"varint,10,opt,name=lastObservedEventNonce,proto3" json:"lastObservedEventNonce,omitempty"`
	LastObservedEventBlockHeight uint64    `protobuf:"varint,11,opt,name=LastObservedEventBlockHeight,proto3" json:"LastObservedEventBlockHeight,omitempty"`
	LastObservedValsetNonce      uint64    `protobuf:"varint,12,opt,name=lastObservedValsetNonce,proto3" json:"lastObservedValsetNonce,omitempty"`
	ChainEnabled                 bool      `protobuf:"varint,13,opt,name=chain_enabled,json=chainEnabled,proto3" json:"chain_enabled,omitempty"`
}

func (*EventUpdatedChainConfig) Descriptor

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

func (*EventUpdatedChainConfig) GetChainEnabled

func (m *EventUpdatedChainConfig) GetChainEnabled() bool

func (*EventUpdatedChainConfig) GetChainId

func (m *EventUpdatedChainConfig) GetChainId() string

func (*EventUpdatedChainConfig) GetChainName

func (m *EventUpdatedChainConfig) GetChainName() string

func (*EventUpdatedChainConfig) GetChainType

func (m *EventUpdatedChainConfig) GetChainType() ChainType

func (*EventUpdatedChainConfig) GetConfirmationsRequired

func (m *EventUpdatedChainConfig) GetConfirmationsRequired() uint64

func (*EventUpdatedChainConfig) GetGatewayContractAddress

func (m *EventUpdatedChainConfig) GetGatewayContractAddress() string

func (*EventUpdatedChainConfig) GetGatewayContractHeight

func (m *EventUpdatedChainConfig) GetGatewayContractHeight() uint64

func (*EventUpdatedChainConfig) GetLastObservedEventBlockHeight

func (m *EventUpdatedChainConfig) GetLastObservedEventBlockHeight() uint64

func (*EventUpdatedChainConfig) GetLastObservedEventNonce

func (m *EventUpdatedChainConfig) GetLastObservedEventNonce() uint64

func (*EventUpdatedChainConfig) GetLastObservedValsetNonce

func (m *EventUpdatedChainConfig) GetLastObservedValsetNonce() uint64

func (*EventUpdatedChainConfig) GetNativeDecimals

func (m *EventUpdatedChainConfig) GetNativeDecimals() int64

func (*EventUpdatedChainConfig) GetRouterContractAddress

func (m *EventUpdatedChainConfig) GetRouterContractAddress() string

func (*EventUpdatedChainConfig) GetSymbol

func (m *EventUpdatedChainConfig) GetSymbol() string

func (*EventUpdatedChainConfig) Marshal

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

func (*EventUpdatedChainConfig) MarshalTo

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

func (*EventUpdatedChainConfig) MarshalToSizedBuffer

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

func (*EventUpdatedChainConfig) ProtoMessage

func (*EventUpdatedChainConfig) ProtoMessage()

func (*EventUpdatedChainConfig) Reset

func (m *EventUpdatedChainConfig) Reset()

func (*EventUpdatedChainConfig) Size

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

func (*EventUpdatedChainConfig) String

func (m *EventUpdatedChainConfig) String() string

func (*EventUpdatedChainConfig) Unmarshal

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

func (*EventUpdatedChainConfig) XXX_DiscardUnknown

func (m *EventUpdatedChainConfig) XXX_DiscardUnknown()

func (*EventUpdatedChainConfig) XXX_Marshal

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

func (*EventUpdatedChainConfig) XXX_Merge

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

func (*EventUpdatedChainConfig) XXX_Size

func (m *EventUpdatedChainConfig) XXX_Size() int

func (*EventUpdatedChainConfig) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params          Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	ChainConfigList []ChainConfig `protobuf:"bytes,2,rep,name=chainConfigList,proto3" json:"chainConfigList"`
}

GenesisState defines the multichain 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) GetChainConfigList

func (m *GenesisState) GetChainConfigList() []ChainConfig

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
}

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 MsgServer

type MsgServer interface {
}

MsgServer is the server API for Msg service.

type MultichainCreateChainConfigProposal

type MultichainCreateChainConfigProposal struct {
	Title       string       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainConfig *ChainConfig `protobuf:"bytes,3,opt,name=chainConfig,proto3" json:"chainConfig,omitempty"`
}

func (*MultichainCreateChainConfigProposal) Descriptor

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

func (*MultichainCreateChainConfigProposal) GetChainConfig

func (m *MultichainCreateChainConfigProposal) GetChainConfig() *ChainConfig

func (*MultichainCreateChainConfigProposal) GetDescription

func (m *MultichainCreateChainConfigProposal) GetDescription() string

func (*MultichainCreateChainConfigProposal) GetTitle

func (*MultichainCreateChainConfigProposal) Marshal

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

func (*MultichainCreateChainConfigProposal) MarshalTo

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

func (*MultichainCreateChainConfigProposal) MarshalToSizedBuffer

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

func (*MultichainCreateChainConfigProposal) ProposalRoute

func (p *MultichainCreateChainConfigProposal) ProposalRoute() string

func (*MultichainCreateChainConfigProposal) ProposalType

func (p *MultichainCreateChainConfigProposal) ProposalType() string

func (*MultichainCreateChainConfigProposal) ProtoMessage

func (*MultichainCreateChainConfigProposal) ProtoMessage()

func (*MultichainCreateChainConfigProposal) Reset

func (*MultichainCreateChainConfigProposal) Size

func (*MultichainCreateChainConfigProposal) String

func (*MultichainCreateChainConfigProposal) Unmarshal

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

func (*MultichainCreateChainConfigProposal) ValidateBasic

func (p *MultichainCreateChainConfigProposal) ValidateBasic() error

func (*MultichainCreateChainConfigProposal) XXX_DiscardUnknown

func (m *MultichainCreateChainConfigProposal) XXX_DiscardUnknown()

func (*MultichainCreateChainConfigProposal) XXX_Marshal

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

func (*MultichainCreateChainConfigProposal) XXX_Merge

func (*MultichainCreateChainConfigProposal) XXX_Size

func (*MultichainCreateChainConfigProposal) XXX_Unmarshal

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

type MultichainDeleteChainConfigProposal

type MultichainDeleteChainConfigProposal struct {
	Title       string    `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainId     string    `protobuf:"bytes,3,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ChainType   ChainType `protobuf:"varint,4,opt,name=chainType,proto3,enum=routerprotocol.routerchain.multichain.ChainType" json:"chainType,omitempty"`
}

func (*MultichainDeleteChainConfigProposal) Descriptor

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

func (*MultichainDeleteChainConfigProposal) GetChainId

func (*MultichainDeleteChainConfigProposal) GetChainType

func (*MultichainDeleteChainConfigProposal) GetDescription

func (m *MultichainDeleteChainConfigProposal) GetDescription() string

func (*MultichainDeleteChainConfigProposal) GetTitle

func (*MultichainDeleteChainConfigProposal) Marshal

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

func (*MultichainDeleteChainConfigProposal) MarshalTo

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

func (*MultichainDeleteChainConfigProposal) MarshalToSizedBuffer

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

func (*MultichainDeleteChainConfigProposal) ProposalRoute

func (p *MultichainDeleteChainConfigProposal) ProposalRoute() string

func (*MultichainDeleteChainConfigProposal) ProposalType

func (p *MultichainDeleteChainConfigProposal) ProposalType() string

func (*MultichainDeleteChainConfigProposal) ProtoMessage

func (*MultichainDeleteChainConfigProposal) ProtoMessage()

func (*MultichainDeleteChainConfigProposal) Reset

func (*MultichainDeleteChainConfigProposal) Size

func (*MultichainDeleteChainConfigProposal) String

func (*MultichainDeleteChainConfigProposal) Unmarshal

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

func (*MultichainDeleteChainConfigProposal) ValidateBasic

func (p *MultichainDeleteChainConfigProposal) ValidateBasic() error

func (*MultichainDeleteChainConfigProposal) XXX_DiscardUnknown

func (m *MultichainDeleteChainConfigProposal) XXX_DiscardUnknown()

func (*MultichainDeleteChainConfigProposal) XXX_Marshal

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

func (*MultichainDeleteChainConfigProposal) XXX_Merge

func (*MultichainDeleteChainConfigProposal) XXX_Size

func (*MultichainDeleteChainConfigProposal) XXX_Unmarshal

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

type MultichainUpdateChainConfigProposal

type MultichainUpdateChainConfigProposal struct {
	Title       string       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ChainConfig *ChainConfig `protobuf:"bytes,3,opt,name=chainConfig,proto3" json:"chainConfig,omitempty"`
}

func (*MultichainUpdateChainConfigProposal) Descriptor

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

func (*MultichainUpdateChainConfigProposal) GetChainConfig

func (m *MultichainUpdateChainConfigProposal) GetChainConfig() *ChainConfig

func (*MultichainUpdateChainConfigProposal) GetDescription

func (m *MultichainUpdateChainConfigProposal) GetDescription() string

func (*MultichainUpdateChainConfigProposal) GetTitle

func (*MultichainUpdateChainConfigProposal) Marshal

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

func (*MultichainUpdateChainConfigProposal) MarshalTo

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

func (*MultichainUpdateChainConfigProposal) MarshalToSizedBuffer

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

func (*MultichainUpdateChainConfigProposal) ProposalRoute

func (p *MultichainUpdateChainConfigProposal) ProposalRoute() string

func (*MultichainUpdateChainConfigProposal) ProposalType

func (p *MultichainUpdateChainConfigProposal) ProposalType() string

func (*MultichainUpdateChainConfigProposal) ProtoMessage

func (*MultichainUpdateChainConfigProposal) ProtoMessage()

func (*MultichainUpdateChainConfigProposal) Reset

func (*MultichainUpdateChainConfigProposal) Size

func (*MultichainUpdateChainConfigProposal) String

func (*MultichainUpdateChainConfigProposal) Unmarshal

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

func (*MultichainUpdateChainConfigProposal) ValidateBasic

func (p *MultichainUpdateChainConfigProposal) ValidateBasic() error

func (*MultichainUpdateChainConfigProposal) XXX_DiscardUnknown

func (m *MultichainUpdateChainConfigProposal) XXX_DiscardUnknown()

func (*MultichainUpdateChainConfigProposal) XXX_Marshal

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

func (*MultichainUpdateChainConfigProposal) XXX_Merge

func (*MultichainUpdateChainConfigProposal) XXX_Size

func (*MultichainUpdateChainConfigProposal) XXX_Unmarshal

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

type OracleKeeper

type OracleKeeper interface {
}

type Params

type Params struct {
	RouterTokenPrice types.Coin `protobuf:"bytes,1,opt,name=routerTokenPrice,proto3" json:"routerTokenPrice"`
}

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) GetRouterTokenPrice

func (m *Params) GetRouterTokenPrice() types.Coin

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 QueryAllChainConfigRequest

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

func (*QueryAllChainConfigRequest) Descriptor

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

func (*QueryAllChainConfigRequest) GetPagination

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

func (*QueryAllChainConfigRequest) Marshal

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

func (*QueryAllChainConfigRequest) MarshalTo

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

func (*QueryAllChainConfigRequest) MarshalToSizedBuffer

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

func (*QueryAllChainConfigRequest) ProtoMessage

func (*QueryAllChainConfigRequest) ProtoMessage()

func (*QueryAllChainConfigRequest) Reset

func (m *QueryAllChainConfigRequest) Reset()

func (*QueryAllChainConfigRequest) Size

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

func (*QueryAllChainConfigRequest) String

func (m *QueryAllChainConfigRequest) String() string

func (*QueryAllChainConfigRequest) Unmarshal

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

func (*QueryAllChainConfigRequest) XXX_DiscardUnknown

func (m *QueryAllChainConfigRequest) XXX_DiscardUnknown()

func (*QueryAllChainConfigRequest) XXX_Marshal

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

func (*QueryAllChainConfigRequest) XXX_Merge

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

func (*QueryAllChainConfigRequest) XXX_Size

func (m *QueryAllChainConfigRequest) XXX_Size() int

func (*QueryAllChainConfigRequest) XXX_Unmarshal

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

type QueryAllChainConfigResponse

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

func (*QueryAllChainConfigResponse) Descriptor

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

func (*QueryAllChainConfigResponse) GetChainConfig

func (m *QueryAllChainConfigResponse) GetChainConfig() []ChainConfig

func (*QueryAllChainConfigResponse) GetPagination

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

func (*QueryAllChainConfigResponse) Marshal

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

func (*QueryAllChainConfigResponse) MarshalTo

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

func (*QueryAllChainConfigResponse) MarshalToSizedBuffer

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

func (*QueryAllChainConfigResponse) ProtoMessage

func (*QueryAllChainConfigResponse) ProtoMessage()

func (*QueryAllChainConfigResponse) Reset

func (m *QueryAllChainConfigResponse) Reset()

func (*QueryAllChainConfigResponse) Size

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

func (*QueryAllChainConfigResponse) String

func (m *QueryAllChainConfigResponse) String() string

func (*QueryAllChainConfigResponse) Unmarshal

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

func (*QueryAllChainConfigResponse) XXX_DiscardUnknown

func (m *QueryAllChainConfigResponse) XXX_DiscardUnknown()

func (*QueryAllChainConfigResponse) XXX_Marshal

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

func (*QueryAllChainConfigResponse) XXX_Merge

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

func (*QueryAllChainConfigResponse) XXX_Size

func (m *QueryAllChainConfigResponse) XXX_Size() int

func (*QueryAllChainConfigResponse) XXX_Unmarshal

func (m *QueryAllChainConfigResponse) 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 ChainConfig by chain_id.
	ChainConfig(ctx context.Context, in *QueryGetChainConfigRequest, opts ...grpc.CallOption) (*QueryGetChainConfigResponse, error)
	// Queries a list of ChainConfig items.
	ChainConfigAll(ctx context.Context, in *QueryAllChainConfigRequest, opts ...grpc.CallOption) (*QueryAllChainConfigResponse, 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 QueryGetChainConfigRequest

type QueryGetChainConfigRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*QueryGetChainConfigRequest) Descriptor

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

func (*QueryGetChainConfigRequest) GetChainId

func (m *QueryGetChainConfigRequest) GetChainId() string

func (*QueryGetChainConfigRequest) Marshal

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

func (*QueryGetChainConfigRequest) MarshalTo

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

func (*QueryGetChainConfigRequest) MarshalToSizedBuffer

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

func (*QueryGetChainConfigRequest) ProtoMessage

func (*QueryGetChainConfigRequest) ProtoMessage()

func (*QueryGetChainConfigRequest) Reset

func (m *QueryGetChainConfigRequest) Reset()

func (*QueryGetChainConfigRequest) Size

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

func (*QueryGetChainConfigRequest) String

func (m *QueryGetChainConfigRequest) String() string

func (*QueryGetChainConfigRequest) Unmarshal

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

func (*QueryGetChainConfigRequest) XXX_DiscardUnknown

func (m *QueryGetChainConfigRequest) XXX_DiscardUnknown()

func (*QueryGetChainConfigRequest) XXX_Marshal

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

func (*QueryGetChainConfigRequest) XXX_Merge

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

func (*QueryGetChainConfigRequest) XXX_Size

func (m *QueryGetChainConfigRequest) XXX_Size() int

func (*QueryGetChainConfigRequest) XXX_Unmarshal

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

type QueryGetChainConfigResponse

type QueryGetChainConfigResponse struct {
	ChainConfig ChainConfig `protobuf:"bytes,1,opt,name=chainConfig,proto3" json:"chainConfig"`
}

func (*QueryGetChainConfigResponse) Descriptor

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

func (*QueryGetChainConfigResponse) GetChainConfig

func (m *QueryGetChainConfigResponse) GetChainConfig() ChainConfig

func (*QueryGetChainConfigResponse) Marshal

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

func (*QueryGetChainConfigResponse) MarshalTo

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

func (*QueryGetChainConfigResponse) MarshalToSizedBuffer

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

func (*QueryGetChainConfigResponse) ProtoMessage

func (*QueryGetChainConfigResponse) ProtoMessage()

func (*QueryGetChainConfigResponse) Reset

func (m *QueryGetChainConfigResponse) Reset()

func (*QueryGetChainConfigResponse) Size

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

func (*QueryGetChainConfigResponse) String

func (m *QueryGetChainConfigResponse) String() string

func (*QueryGetChainConfigResponse) Unmarshal

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

func (*QueryGetChainConfigResponse) XXX_DiscardUnknown

func (m *QueryGetChainConfigResponse) XXX_DiscardUnknown()

func (*QueryGetChainConfigResponse) XXX_Marshal

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

func (*QueryGetChainConfigResponse) XXX_Merge

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

func (*QueryGetChainConfigResponse) XXX_Size

func (m *QueryGetChainConfigResponse) XXX_Size() int

func (*QueryGetChainConfigResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a ChainConfig by chain_id.
	ChainConfig(context.Context, *QueryGetChainConfigRequest) (*QueryGetChainConfigResponse, error)
	// Queries a list of ChainConfig items.
	ChainConfigAll(context.Context, *QueryAllChainConfigRequest) (*QueryAllChainConfigResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ChainConfig

func (*UnimplementedQueryServer) ChainConfigAll

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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