Documentation ¶
Index ¶
- Constants
- Variables
- func ChainConfigKey(chainId string) []byte
- func GetLastObservedEventNonceKey(chainId string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)
- func (m *ChainConfig) GetChainEnabled() bool
- func (m *ChainConfig) GetChainId() string
- func (m *ChainConfig) GetChainName() string
- func (m *ChainConfig) GetChainType() ChainType
- func (m *ChainConfig) GetConfirmationsRequired() uint64
- func (m *ChainConfig) GetGatewayContractAddress() string
- func (m *ChainConfig) GetGatewayContractHeight() uint64
- func (m *ChainConfig) GetLastObservedEventBlockHeight() uint64
- func (m *ChainConfig) GetLastObservedEventNonce() uint64
- func (m *ChainConfig) GetLastObservedValsetNonce() uint64
- func (m *ChainConfig) GetNativeDecimals() int64
- func (m *ChainConfig) GetRouterContractAddress() string
- func (m *ChainConfig) GetSymbol() string
- func (m *ChainConfig) Marshal() (dAtA []byte, err error)
- func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainConfig) ProtoMessage()
- func (m *ChainConfig) Reset()
- func (m *ChainConfig) Size() (n int)
- func (m *ChainConfig) String() string
- func (m *ChainConfig) Unmarshal(dAtA []byte) error
- func (m *ChainConfig) XXX_DiscardUnknown()
- func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainConfig) XXX_Merge(src proto.Message)
- func (m *ChainConfig) XXX_Size() int
- func (m *ChainConfig) XXX_Unmarshal(b []byte) error
- type ChainType
- type EventCreateChainConfig
- func (*EventCreateChainConfig) Descriptor() ([]byte, []int)
- func (m *EventCreateChainConfig) GetChainEnabled() bool
- func (m *EventCreateChainConfig) GetChainId() string
- func (m *EventCreateChainConfig) GetChainName() string
- func (m *EventCreateChainConfig) GetChainType() ChainType
- func (m *EventCreateChainConfig) GetConfirmationsRequired() uint64
- func (m *EventCreateChainConfig) GetGatewayContractAddress() string
- func (m *EventCreateChainConfig) GetGatewayContractHeight() uint64
- func (m *EventCreateChainConfig) GetLastObservedEventBlockHeight() uint64
- func (m *EventCreateChainConfig) GetLastObservedEventNonce() uint64
- func (m *EventCreateChainConfig) GetLastObservedValsetNonce() uint64
- func (m *EventCreateChainConfig) GetNativeDecimals() int64
- func (m *EventCreateChainConfig) GetRouterContractAddress() string
- func (m *EventCreateChainConfig) GetSymbol() string
- func (m *EventCreateChainConfig) Marshal() (dAtA []byte, err error)
- func (m *EventCreateChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateChainConfig) ProtoMessage()
- func (m *EventCreateChainConfig) Reset()
- func (m *EventCreateChainConfig) Size() (n int)
- func (m *EventCreateChainConfig) String() string
- func (m *EventCreateChainConfig) Unmarshal(dAtA []byte) error
- func (m *EventCreateChainConfig) XXX_DiscardUnknown()
- func (m *EventCreateChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateChainConfig) XXX_Merge(src proto.Message)
- func (m *EventCreateChainConfig) XXX_Size() int
- func (m *EventCreateChainConfig) XXX_Unmarshal(b []byte) error
- type EventDeletedChainConfig
- func (*EventDeletedChainConfig) Descriptor() ([]byte, []int)
- func (m *EventDeletedChainConfig) GetChainId() string
- func (m *EventDeletedChainConfig) GetChainType() ChainType
- func (m *EventDeletedChainConfig) Marshal() (dAtA []byte, err error)
- func (m *EventDeletedChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeletedChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeletedChainConfig) ProtoMessage()
- func (m *EventDeletedChainConfig) Reset()
- func (m *EventDeletedChainConfig) Size() (n int)
- func (m *EventDeletedChainConfig) String() string
- func (m *EventDeletedChainConfig) Unmarshal(dAtA []byte) error
- func (m *EventDeletedChainConfig) XXX_DiscardUnknown()
- func (m *EventDeletedChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeletedChainConfig) XXX_Merge(src proto.Message)
- func (m *EventDeletedChainConfig) XXX_Size() int
- func (m *EventDeletedChainConfig) XXX_Unmarshal(b []byte) error
- type EventUpdatedChainConfig
- func (*EventUpdatedChainConfig) Descriptor() ([]byte, []int)
- func (m *EventUpdatedChainConfig) GetChainEnabled() bool
- func (m *EventUpdatedChainConfig) GetChainId() string
- func (m *EventUpdatedChainConfig) GetChainName() string
- func (m *EventUpdatedChainConfig) GetChainType() ChainType
- func (m *EventUpdatedChainConfig) GetConfirmationsRequired() uint64
- func (m *EventUpdatedChainConfig) GetGatewayContractAddress() string
- func (m *EventUpdatedChainConfig) GetGatewayContractHeight() uint64
- func (m *EventUpdatedChainConfig) GetLastObservedEventBlockHeight() uint64
- func (m *EventUpdatedChainConfig) GetLastObservedEventNonce() uint64
- func (m *EventUpdatedChainConfig) GetLastObservedValsetNonce() uint64
- func (m *EventUpdatedChainConfig) GetNativeDecimals() int64
- func (m *EventUpdatedChainConfig) GetRouterContractAddress() string
- func (m *EventUpdatedChainConfig) GetSymbol() string
- func (m *EventUpdatedChainConfig) Marshal() (dAtA []byte, err error)
- func (m *EventUpdatedChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdatedChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdatedChainConfig) ProtoMessage()
- func (m *EventUpdatedChainConfig) Reset()
- func (m *EventUpdatedChainConfig) Size() (n int)
- func (m *EventUpdatedChainConfig) String() string
- func (m *EventUpdatedChainConfig) Unmarshal(dAtA []byte) error
- func (m *EventUpdatedChainConfig) XXX_DiscardUnknown()
- func (m *EventUpdatedChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdatedChainConfig) XXX_Merge(src proto.Message)
- func (m *EventUpdatedChainConfig) XXX_Size() int
- func (m *EventUpdatedChainConfig) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChainConfigList() []ChainConfig
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MultichainCreateChainConfigProposal
- func (*MultichainCreateChainConfigProposal) Descriptor() ([]byte, []int)
- func (m *MultichainCreateChainConfigProposal) GetChainConfig() *ChainConfig
- func (m *MultichainCreateChainConfigProposal) GetDescription() string
- func (m *MultichainCreateChainConfigProposal) GetTitle() string
- func (m *MultichainCreateChainConfigProposal) Marshal() (dAtA []byte, err error)
- func (m *MultichainCreateChainConfigProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MultichainCreateChainConfigProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *MultichainCreateChainConfigProposal) ProposalRoute() string
- func (p *MultichainCreateChainConfigProposal) ProposalType() string
- func (*MultichainCreateChainConfigProposal) ProtoMessage()
- func (m *MultichainCreateChainConfigProposal) Reset()
- func (m *MultichainCreateChainConfigProposal) Size() (n int)
- func (m *MultichainCreateChainConfigProposal) String() string
- func (m *MultichainCreateChainConfigProposal) Unmarshal(dAtA []byte) error
- func (p *MultichainCreateChainConfigProposal) ValidateBasic() error
- func (m *MultichainCreateChainConfigProposal) XXX_DiscardUnknown()
- func (m *MultichainCreateChainConfigProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultichainCreateChainConfigProposal) XXX_Merge(src proto.Message)
- func (m *MultichainCreateChainConfigProposal) XXX_Size() int
- func (m *MultichainCreateChainConfigProposal) XXX_Unmarshal(b []byte) error
- type MultichainDeleteChainConfigProposal
- func (*MultichainDeleteChainConfigProposal) Descriptor() ([]byte, []int)
- func (m *MultichainDeleteChainConfigProposal) GetChainId() string
- func (m *MultichainDeleteChainConfigProposal) GetChainType() ChainType
- func (m *MultichainDeleteChainConfigProposal) GetDescription() string
- func (m *MultichainDeleteChainConfigProposal) GetTitle() string
- func (m *MultichainDeleteChainConfigProposal) Marshal() (dAtA []byte, err error)
- func (m *MultichainDeleteChainConfigProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MultichainDeleteChainConfigProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *MultichainDeleteChainConfigProposal) ProposalRoute() string
- func (p *MultichainDeleteChainConfigProposal) ProposalType() string
- func (*MultichainDeleteChainConfigProposal) ProtoMessage()
- func (m *MultichainDeleteChainConfigProposal) Reset()
- func (m *MultichainDeleteChainConfigProposal) Size() (n int)
- func (m *MultichainDeleteChainConfigProposal) String() string
- func (m *MultichainDeleteChainConfigProposal) Unmarshal(dAtA []byte) error
- func (p *MultichainDeleteChainConfigProposal) ValidateBasic() error
- func (m *MultichainDeleteChainConfigProposal) XXX_DiscardUnknown()
- func (m *MultichainDeleteChainConfigProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultichainDeleteChainConfigProposal) XXX_Merge(src proto.Message)
- func (m *MultichainDeleteChainConfigProposal) XXX_Size() int
- func (m *MultichainDeleteChainConfigProposal) XXX_Unmarshal(b []byte) error
- type MultichainUpdateChainConfigProposal
- func (*MultichainUpdateChainConfigProposal) Descriptor() ([]byte, []int)
- func (m *MultichainUpdateChainConfigProposal) GetChainConfig() *ChainConfig
- func (m *MultichainUpdateChainConfigProposal) GetDescription() string
- func (m *MultichainUpdateChainConfigProposal) GetTitle() string
- func (m *MultichainUpdateChainConfigProposal) Marshal() (dAtA []byte, err error)
- func (m *MultichainUpdateChainConfigProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MultichainUpdateChainConfigProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *MultichainUpdateChainConfigProposal) ProposalRoute() string
- func (p *MultichainUpdateChainConfigProposal) ProposalType() string
- func (*MultichainUpdateChainConfigProposal) ProtoMessage()
- func (m *MultichainUpdateChainConfigProposal) Reset()
- func (m *MultichainUpdateChainConfigProposal) Size() (n int)
- func (m *MultichainUpdateChainConfigProposal) String() string
- func (m *MultichainUpdateChainConfigProposal) Unmarshal(dAtA []byte) error
- func (p *MultichainUpdateChainConfigProposal) ValidateBasic() error
- func (m *MultichainUpdateChainConfigProposal) XXX_DiscardUnknown()
- func (m *MultichainUpdateChainConfigProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultichainUpdateChainConfigProposal) XXX_Merge(src proto.Message)
- func (m *MultichainUpdateChainConfigProposal) XXX_Size() int
- func (m *MultichainUpdateChainConfigProposal) XXX_Unmarshal(b []byte) error
- type OracleKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetRouterTokenPrice() types.Coin
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllChainConfigRequest
- func (*QueryAllChainConfigRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllChainConfigRequest) GetPagination() *query.PageRequest
- func (m *QueryAllChainConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllChainConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllChainConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllChainConfigRequest) ProtoMessage()
- func (m *QueryAllChainConfigRequest) Reset()
- func (m *QueryAllChainConfigRequest) Size() (n int)
- func (m *QueryAllChainConfigRequest) String() string
- func (m *QueryAllChainConfigRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllChainConfigRequest) XXX_DiscardUnknown()
- func (m *QueryAllChainConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllChainConfigRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllChainConfigRequest) XXX_Size() int
- func (m *QueryAllChainConfigRequest) XXX_Unmarshal(b []byte) error
- type QueryAllChainConfigResponse
- func (*QueryAllChainConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllChainConfigResponse) GetChainConfig() []ChainConfig
- func (m *QueryAllChainConfigResponse) GetPagination() *query.PageResponse
- func (m *QueryAllChainConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllChainConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllChainConfigResponse) ProtoMessage()
- func (m *QueryAllChainConfigResponse) Reset()
- func (m *QueryAllChainConfigResponse) Size() (n int)
- func (m *QueryAllChainConfigResponse) String() string
- func (m *QueryAllChainConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllChainConfigResponse) XXX_DiscardUnknown()
- func (m *QueryAllChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllChainConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllChainConfigResponse) XXX_Size() int
- func (m *QueryAllChainConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetChainConfigRequest
- func (*QueryGetChainConfigRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetChainConfigRequest) GetChainId() string
- func (m *QueryGetChainConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetChainConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetChainConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetChainConfigRequest) ProtoMessage()
- func (m *QueryGetChainConfigRequest) Reset()
- func (m *QueryGetChainConfigRequest) Size() (n int)
- func (m *QueryGetChainConfigRequest) String() string
- func (m *QueryGetChainConfigRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetChainConfigRequest) XXX_DiscardUnknown()
- func (m *QueryGetChainConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetChainConfigRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetChainConfigRequest) XXX_Size() int
- func (m *QueryGetChainConfigRequest) XXX_Unmarshal(b []byte) error
- type QueryGetChainConfigResponse
- func (*QueryGetChainConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetChainConfigResponse) GetChainConfig() ChainConfig
- func (m *QueryGetChainConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetChainConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetChainConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetChainConfigResponse) ProtoMessage()
- func (m *QueryGetChainConfigResponse) Reset()
- func (m *QueryGetChainConfigResponse) Size() (n int)
- func (m *QueryGetChainConfigResponse) String() string
- func (m *QueryGetChainConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetChainConfigResponse) XXX_DiscardUnknown()
- func (m *QueryGetChainConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetChainConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetChainConfigResponse) XXX_Size() int
- func (m *QueryGetChainConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ChainConfig(ctx context.Context, req *QueryGetChainConfigRequest) (*QueryGetChainConfigResponse, error)
- func (*UnimplementedQueryServer) ChainConfigAll(ctx context.Context, req *QueryAllChainConfigRequest) (*QueryAllChainConfigResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( ProposalTypeCreateChainConfig = "CreateChainConfig" ProposalTypeDeleteChainConfig = "DeleteChainConfig" ProposalTypeUpdateChainConfig = "UpdateChainConfig" )
const ( // ChainConfigKeyPrefix is the prefix to retrieve all ChainConfig ChainConfigKeyPrefix = "ChainConfig/value/" // LastObservedEventNonceKey indexes the latest event nonce // [0xa34e56ab6fab9ee91e82ba216bfeb759] LastObservedEventNonceKey = "LastObservedEventNonceKey" )
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" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global ChainId
Variables ¶
var ( ErrInvalidLengthChainConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChainConfig = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupChainConfig = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
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",
}
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,
}
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/multichain module sentinel errors
Functions ¶
func ChainConfigKey ¶
ChainConfigKey returns the store key to retrieve a ChainConfig from the index fields
func GetLastObservedEventNonceKey ¶
GetLastObservedEventNonceKey returns the store key to retrieve a LastObservedEventNonce from the index fields
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 RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
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) 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 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) 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 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 (m *MultichainCreateChainConfigProposal) GetTitle() string
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 (m *MultichainCreateChainConfigProposal) Reset()
func (*MultichainCreateChainConfigProposal) Size ¶
func (m *MultichainCreateChainConfigProposal) Size() (n int)
func (*MultichainCreateChainConfigProposal) String ¶
func (m *MultichainCreateChainConfigProposal) String() 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 (m *MultichainCreateChainConfigProposal) XXX_Merge(src proto.Message)
func (*MultichainCreateChainConfigProposal) XXX_Size ¶
func (m *MultichainCreateChainConfigProposal) XXX_Size() int
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 (m *MultichainDeleteChainConfigProposal) GetChainId() string
func (*MultichainDeleteChainConfigProposal) GetChainType ¶
func (m *MultichainDeleteChainConfigProposal) GetChainType() ChainType
func (*MultichainDeleteChainConfigProposal) GetDescription ¶
func (m *MultichainDeleteChainConfigProposal) GetDescription() string
func (*MultichainDeleteChainConfigProposal) GetTitle ¶
func (m *MultichainDeleteChainConfigProposal) GetTitle() string
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 (m *MultichainDeleteChainConfigProposal) Reset()
func (*MultichainDeleteChainConfigProposal) Size ¶
func (m *MultichainDeleteChainConfigProposal) Size() (n int)
func (*MultichainDeleteChainConfigProposal) String ¶
func (m *MultichainDeleteChainConfigProposal) String() 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 (m *MultichainDeleteChainConfigProposal) XXX_Merge(src proto.Message)
func (*MultichainDeleteChainConfigProposal) XXX_Size ¶
func (m *MultichainDeleteChainConfigProposal) XXX_Size() int
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 (m *MultichainUpdateChainConfigProposal) GetTitle() string
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 (m *MultichainUpdateChainConfigProposal) Reset()
func (*MultichainUpdateChainConfigProposal) Size ¶
func (m *MultichainUpdateChainConfigProposal) Size() (n int)
func (*MultichainUpdateChainConfigProposal) String ¶
func (m *MultichainUpdateChainConfigProposal) String() 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 (m *MultichainUpdateChainConfigProposal) XXX_Merge(src proto.Message)
func (*MultichainUpdateChainConfigProposal) XXX_Size ¶
func (m *MultichainUpdateChainConfigProposal) XXX_Size() int
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 (*Params) Descriptor ¶
func (*Params) GetRouterTokenPrice ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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) ChainConfig(ctx context.Context, req *QueryGetChainConfigRequest) (*QueryGetChainConfigResponse, error)
func (*UnimplementedQueryServer) ChainConfigAll ¶
func (*UnimplementedQueryServer) ChainConfigAll(ctx context.Context, req *QueryAllChainConfigRequest) (*QueryAllChainConfigResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)