types

package
v1.2.85 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 24 Imported by: 7

Documentation

Index

Constants

View Source
const (
	ProposalTypeCreateChainConfig = "CreateChainConfig"
	ProposalTypeDeleteChainConfig = "DeleteChainConfig"
	ProposalTypeUpdateChainConfig = "UpdateChainConfig"

	ProposalTypeCreateContractConfig = "CreateContractConfig"
	ProposalTypeDeleteContractConfig = "DeleteContractConfig"
	ProposalTypeUpdateContractConfig = "UpdateContractConfig"
)
View Source
const (
	// ContractConfigKeyPrefix is the prefix to retrieve all ContractConfig
	ContractConfigKeyPrefix = "ContractConfig/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"

	RouterchainGatewayContract = "0x0000000000000000000000000000000000000001"
)
View Source
const (
	// ChainConfigKeyPrefix is the prefix to retrieve all ChainConfig
	ChainConfigKeyPrefix = "ChainConfig/value/"
)
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 ContractType_name = map[int32]string{
	0: "GATEWAY",
	1: "VOYAGER",
}
View Source
var ContractType_value = map[string]int32{
	"GATEWAY": 0,
	"VOYAGER": 1,
}
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 ContractConfigKey added in v1.2.59

func ContractConfigKey(
	chainId string,
	contract string,
) []byte

ContractConfigKey returns the store key to retrieve a ContractConfig from the index fields

func GetLastObservedEventNonceKey

func GetLastObservedEventNonceKey(
	chainId string,
	contract 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"`
	LastObservedValsetNonce uint64    `protobuf:"varint,7,opt,name=lastObservedValsetNonce,proto3" json:"lastObservedValsetNonce,omitempty"`
	ChainEnabled            bool      `protobuf:"varint,8,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) GetLastObservedValsetNonce

func (m *ChainConfig) GetLastObservedValsetNonce() uint64

func (*ChainConfig) GetNativeDecimals

func (m *ChainConfig) GetNativeDecimals() int64

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 ContractConfig added in v1.2.59

type ContractConfig struct {
	ChainId                       string                                 `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ContractAddress               string                                 `protobuf:"bytes,2,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	ContractHeight                uint64                                 `protobuf:"varint,3,opt,name=contractHeight,proto3" json:"contractHeight,omitempty"`
	LastObservedEventNonce        uint64                                 `protobuf:"varint,4,opt,name=lastObservedEventNonce,proto3" json:"lastObservedEventNonce,omitempty"`
	LastObservedEventBlockHeight  uint64                                 `protobuf:"varint,5,opt,name=lastObservedEventBlockHeight,proto3" json:"lastObservedEventBlockHeight,omitempty"`
	ContractType                  ContractType                           `` /* 134-byte string literal not displayed */
	ClaimSlashingEnabled          bool                                   `protobuf:"varint,7,opt,name=claimSlashingEnabled,proto3" json:"claimSlashingEnabled,omitempty"`
	ClaimSlashingWindow           uint64                                 `protobuf:"varint,8,opt,name=claimSlashingWindow,proto3" json:"claimSlashingWindow,omitempty"`
	SlashFractionMissingClaim     github_com_cosmos_cosmos_sdk_types.Dec `` /* 180-byte string literal not displayed */
	SlashFractionConflictingClaim github_com_cosmos_cosmos_sdk_types.Dec `` /* 193-byte string literal not displayed */
	ContractEnabled               bool                                   `protobuf:"varint,11,opt,name=contract_enabled,json=contractEnabled,proto3" json:"contract_enabled,omitempty"`
}

func (*ContractConfig) Descriptor added in v1.2.59

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

func (*ContractConfig) GetChainId added in v1.2.59

func (m *ContractConfig) GetChainId() string

func (*ContractConfig) GetClaimSlashingEnabled added in v1.2.68

func (m *ContractConfig) GetClaimSlashingEnabled() bool

func (*ContractConfig) GetClaimSlashingWindow added in v1.2.68

func (m *ContractConfig) GetClaimSlashingWindow() uint64

func (*ContractConfig) GetContractAddress added in v1.2.59

func (m *ContractConfig) GetContractAddress() string

func (*ContractConfig) GetContractEnabled added in v1.2.68

func (m *ContractConfig) GetContractEnabled() bool

func (*ContractConfig) GetContractHeight added in v1.2.59

func (m *ContractConfig) GetContractHeight() uint64

func (*ContractConfig) GetContractType added in v1.2.59

func (m *ContractConfig) GetContractType() ContractType

func (*ContractConfig) GetLastObservedEventBlockHeight added in v1.2.59

func (m *ContractConfig) GetLastObservedEventBlockHeight() uint64

func (*ContractConfig) GetLastObservedEventNonce added in v1.2.59

func (m *ContractConfig) GetLastObservedEventNonce() uint64

func (*ContractConfig) Marshal added in v1.2.59

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

func (*ContractConfig) MarshalTo added in v1.2.59

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

func (*ContractConfig) MarshalToSizedBuffer added in v1.2.59

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

func (*ContractConfig) ProtoMessage added in v1.2.59

func (*ContractConfig) ProtoMessage()

func (*ContractConfig) Reset added in v1.2.59

func (m *ContractConfig) Reset()

func (*ContractConfig) Size added in v1.2.59

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

func (*ContractConfig) String added in v1.2.59

func (m *ContractConfig) String() string

func (*ContractConfig) Unmarshal added in v1.2.59

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

func (*ContractConfig) XXX_DiscardUnknown added in v1.2.59

func (m *ContractConfig) XXX_DiscardUnknown()

func (*ContractConfig) XXX_Marshal added in v1.2.59

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

func (*ContractConfig) XXX_Merge added in v1.2.59

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

func (*ContractConfig) XXX_Size added in v1.2.59

func (m *ContractConfig) XXX_Size() int

func (*ContractConfig) XXX_Unmarshal added in v1.2.59

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

type ContractType added in v1.2.59

type ContractType int32
const (
	GATEWAY ContractType = 0
	VOYAGER ContractType = 1
)

func (ContractType) EnumDescriptor added in v1.2.59

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

func (ContractType) String added in v1.2.59

func (x ContractType) 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"`
	LastObservedValsetNonce uint64    `protobuf:"varint,7,opt,name=lastObservedValsetNonce,proto3" json:"lastObservedValsetNonce,omitempty"`
	ChainEnabled            bool      `protobuf:"varint,8,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) GetLastObservedValsetNonce

func (m *EventCreateChainConfig) GetLastObservedValsetNonce() uint64

func (*EventCreateChainConfig) GetNativeDecimals

func (m *EventCreateChainConfig) GetNativeDecimals() int64

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 EventCreateContractConfig added in v1.2.59

type EventCreateContractConfig struct {
	ChainId                       string                                 `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ContractAddress               string                                 `protobuf:"bytes,2,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	ContractHeight                uint64                                 `protobuf:"varint,3,opt,name=contractHeight,proto3" json:"contractHeight,omitempty"`
	LastObservedEventNonce        uint64                                 `protobuf:"varint,4,opt,name=lastObservedEventNonce,proto3" json:"lastObservedEventNonce,omitempty"`
	LastObservedEventBlockHeight  uint64                                 `protobuf:"varint,5,opt,name=lastObservedEventBlockHeight,proto3" json:"lastObservedEventBlockHeight,omitempty"`
	ContractType                  ContractType                           `` /* 134-byte string literal not displayed */
	ClaimSlashingEnabled          bool                                   `protobuf:"varint,7,opt,name=claimSlashingEnabled,proto3" json:"claimSlashingEnabled,omitempty"`
	ClaimSlashingWindow           uint64                                 `protobuf:"varint,8,opt,name=claimSlashingWindow,proto3" json:"claimSlashingWindow,omitempty"`
	SlashFractionMissingClaim     github_com_cosmos_cosmos_sdk_types.Dec `` /* 180-byte string literal not displayed */
	SlashFractionConflictingClaim github_com_cosmos_cosmos_sdk_types.Dec `` /* 193-byte string literal not displayed */
	ContractEnabled               bool                                   `protobuf:"varint,11,opt,name=contract_enabled,json=contractEnabled,proto3" json:"contract_enabled,omitempty"`
}

func (*EventCreateContractConfig) Descriptor added in v1.2.59

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

func (*EventCreateContractConfig) GetChainId added in v1.2.59

func (m *EventCreateContractConfig) GetChainId() string

func (*EventCreateContractConfig) GetClaimSlashingEnabled added in v1.2.68

func (m *EventCreateContractConfig) GetClaimSlashingEnabled() bool

func (*EventCreateContractConfig) GetClaimSlashingWindow added in v1.2.68

func (m *EventCreateContractConfig) GetClaimSlashingWindow() uint64

func (*EventCreateContractConfig) GetContractAddress added in v1.2.59

func (m *EventCreateContractConfig) GetContractAddress() string

func (*EventCreateContractConfig) GetContractEnabled added in v1.2.68

func (m *EventCreateContractConfig) GetContractEnabled() bool

func (*EventCreateContractConfig) GetContractHeight added in v1.2.59

func (m *EventCreateContractConfig) GetContractHeight() uint64

func (*EventCreateContractConfig) GetContractType added in v1.2.59

func (m *EventCreateContractConfig) GetContractType() ContractType

func (*EventCreateContractConfig) GetLastObservedEventBlockHeight added in v1.2.59

func (m *EventCreateContractConfig) GetLastObservedEventBlockHeight() uint64

func (*EventCreateContractConfig) GetLastObservedEventNonce added in v1.2.59

func (m *EventCreateContractConfig) GetLastObservedEventNonce() uint64

func (*EventCreateContractConfig) Marshal added in v1.2.59

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

func (*EventCreateContractConfig) MarshalTo added in v1.2.59

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

func (*EventCreateContractConfig) MarshalToSizedBuffer added in v1.2.59

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

func (*EventCreateContractConfig) ProtoMessage added in v1.2.59

func (*EventCreateContractConfig) ProtoMessage()

func (*EventCreateContractConfig) Reset added in v1.2.59

func (m *EventCreateContractConfig) Reset()

func (*EventCreateContractConfig) Size added in v1.2.59

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

func (*EventCreateContractConfig) String added in v1.2.59

func (m *EventCreateContractConfig) String() string

func (*EventCreateContractConfig) Unmarshal added in v1.2.59

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

func (*EventCreateContractConfig) XXX_DiscardUnknown added in v1.2.59

func (m *EventCreateContractConfig) XXX_DiscardUnknown()

func (*EventCreateContractConfig) XXX_Marshal added in v1.2.59

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

func (*EventCreateContractConfig) XXX_Merge added in v1.2.59

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

func (*EventCreateContractConfig) XXX_Size added in v1.2.59

func (m *EventCreateContractConfig) XXX_Size() int

func (*EventCreateContractConfig) XXX_Unmarshal added in v1.2.59

func (m *EventCreateContractConfig) 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 EventDeletedContractConfig added in v1.2.59

type EventDeletedContractConfig struct {
	ChainId         string `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
}

func (*EventDeletedContractConfig) Descriptor added in v1.2.59

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

func (*EventDeletedContractConfig) GetChainId added in v1.2.59

func (m *EventDeletedContractConfig) GetChainId() string

func (*EventDeletedContractConfig) GetContractAddress added in v1.2.59

func (m *EventDeletedContractConfig) GetContractAddress() string

func (*EventDeletedContractConfig) Marshal added in v1.2.59

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

func (*EventDeletedContractConfig) MarshalTo added in v1.2.59

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

func (*EventDeletedContractConfig) MarshalToSizedBuffer added in v1.2.59

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

func (*EventDeletedContractConfig) ProtoMessage added in v1.2.59

func (*EventDeletedContractConfig) ProtoMessage()

func (*EventDeletedContractConfig) Reset added in v1.2.59

func (m *EventDeletedContractConfig) Reset()

func (*EventDeletedContractConfig) Size added in v1.2.59

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

func (*EventDeletedContractConfig) String added in v1.2.59

func (m *EventDeletedContractConfig) String() string

func (*EventDeletedContractConfig) Unmarshal added in v1.2.59

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

func (*EventDeletedContractConfig) XXX_DiscardUnknown added in v1.2.59

func (m *EventDeletedContractConfig) XXX_DiscardUnknown()

func (*EventDeletedContractConfig) XXX_Marshal added in v1.2.59

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

func (*EventDeletedContractConfig) XXX_Merge added in v1.2.59

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

func (*EventDeletedContractConfig) XXX_Size added in v1.2.59

func (m *EventDeletedContractConfig) XXX_Size() int

func (*EventDeletedContractConfig) XXX_Unmarshal added in v1.2.59

func (m *EventDeletedContractConfig) 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"`
	LastObservedValsetNonce uint64    `protobuf:"varint,7,opt,name=lastObservedValsetNonce,proto3" json:"lastObservedValsetNonce,omitempty"`
	ChainEnabled            bool      `protobuf:"varint,8,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) GetLastObservedValsetNonce

func (m *EventUpdatedChainConfig) GetLastObservedValsetNonce() uint64

func (*EventUpdatedChainConfig) GetNativeDecimals

func (m *EventUpdatedChainConfig) GetNativeDecimals() int64

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 EventUpdatedContractConfig added in v1.2.59

type EventUpdatedContractConfig struct {
	ChainId                       string                                 `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"`
	ContractAddress               string                                 `protobuf:"bytes,2,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	ContractHeight                uint64                                 `protobuf:"varint,3,opt,name=contractHeight,proto3" json:"contractHeight,omitempty"`
	LastObservedEventNonce        uint64                                 `protobuf:"varint,4,opt,name=lastObservedEventNonce,proto3" json:"lastObservedEventNonce,omitempty"`
	LastObservedEventBlockHeight  uint64                                 `protobuf:"varint,5,opt,name=lastObservedEventBlockHeight,proto3" json:"lastObservedEventBlockHeight,omitempty"`
	ContractType                  ContractType                           `` /* 134-byte string literal not displayed */
	ClaimSlashingEnabled          bool                                   `protobuf:"varint,7,opt,name=claimSlashingEnabled,proto3" json:"claimSlashingEnabled,omitempty"`
	ClaimSlashingWindow           uint64                                 `protobuf:"varint,8,opt,name=claimSlashingWindow,proto3" json:"claimSlashingWindow,omitempty"`
	SlashFractionMissingClaim     github_com_cosmos_cosmos_sdk_types.Dec `` /* 180-byte string literal not displayed */
	SlashFractionConflictingClaim github_com_cosmos_cosmos_sdk_types.Dec `` /* 193-byte string literal not displayed */
	ContractEnabled               bool                                   `protobuf:"varint,11,opt,name=contract_enabled,json=contractEnabled,proto3" json:"contract_enabled,omitempty"`
}

func (*EventUpdatedContractConfig) Descriptor added in v1.2.59

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

func (*EventUpdatedContractConfig) GetChainId added in v1.2.59

func (m *EventUpdatedContractConfig) GetChainId() string

func (*EventUpdatedContractConfig) GetClaimSlashingEnabled added in v1.2.68

func (m *EventUpdatedContractConfig) GetClaimSlashingEnabled() bool

func (*EventUpdatedContractConfig) GetClaimSlashingWindow added in v1.2.68

func (m *EventUpdatedContractConfig) GetClaimSlashingWindow() uint64

func (*EventUpdatedContractConfig) GetContractAddress added in v1.2.59

func (m *EventUpdatedContractConfig) GetContractAddress() string

func (*EventUpdatedContractConfig) GetContractEnabled added in v1.2.68

func (m *EventUpdatedContractConfig) GetContractEnabled() bool

func (*EventUpdatedContractConfig) GetContractHeight added in v1.2.59

func (m *EventUpdatedContractConfig) GetContractHeight() uint64

func (*EventUpdatedContractConfig) GetContractType added in v1.2.59

func (m *EventUpdatedContractConfig) GetContractType() ContractType

func (*EventUpdatedContractConfig) GetLastObservedEventBlockHeight added in v1.2.59

func (m *EventUpdatedContractConfig) GetLastObservedEventBlockHeight() uint64

func (*EventUpdatedContractConfig) GetLastObservedEventNonce added in v1.2.59

func (m *EventUpdatedContractConfig) GetLastObservedEventNonce() uint64

func (*EventUpdatedContractConfig) Marshal added in v1.2.59

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

func (*EventUpdatedContractConfig) MarshalTo added in v1.2.59

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

func (*EventUpdatedContractConfig) MarshalToSizedBuffer added in v1.2.59

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

func (*EventUpdatedContractConfig) ProtoMessage added in v1.2.59

func (*EventUpdatedContractConfig) ProtoMessage()

func (*EventUpdatedContractConfig) Reset added in v1.2.59

func (m *EventUpdatedContractConfig) Reset()

func (*EventUpdatedContractConfig) Size added in v1.2.59

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

func (*EventUpdatedContractConfig) String added in v1.2.59

func (m *EventUpdatedContractConfig) String() string

func (*EventUpdatedContractConfig) Unmarshal added in v1.2.59

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

func (*EventUpdatedContractConfig) XXX_DiscardUnknown added in v1.2.59

func (m *EventUpdatedContractConfig) XXX_DiscardUnknown()

func (*EventUpdatedContractConfig) XXX_Marshal added in v1.2.59

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

func (*EventUpdatedContractConfig) XXX_Merge added in v1.2.59

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

func (*EventUpdatedContractConfig) XXX_Size added in v1.2.59

func (m *EventUpdatedContractConfig) XXX_Size() int

func (*EventUpdatedContractConfig) XXX_Unmarshal added in v1.2.59

func (m *EventUpdatedContractConfig) 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"`
	ContractConfigList []ContractConfig `protobuf:"bytes,3,rep,name=contractConfigList,proto3" json:"contractConfigList"`
}

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) GetContractConfigList added in v1.2.68

func (m *GenesisState) GetContractConfigList() []ContractConfig

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 MultichainCreateContractConfigProposal added in v1.2.59

type MultichainCreateContractConfigProposal 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"`
	ContractConfig *ContractConfig `protobuf:"bytes,3,opt,name=contractConfig,proto3" json:"contractConfig,omitempty"`
}

func (*MultichainCreateContractConfigProposal) Descriptor added in v1.2.59

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

func (*MultichainCreateContractConfigProposal) GetContractConfig added in v1.2.59

func (*MultichainCreateContractConfigProposal) GetDescription added in v1.2.59

func (m *MultichainCreateContractConfigProposal) GetDescription() string

func (*MultichainCreateContractConfigProposal) GetTitle added in v1.2.59

func (*MultichainCreateContractConfigProposal) Marshal added in v1.2.59

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

func (*MultichainCreateContractConfigProposal) MarshalTo added in v1.2.59

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

func (*MultichainCreateContractConfigProposal) MarshalToSizedBuffer added in v1.2.59

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

func (*MultichainCreateContractConfigProposal) ProposalRoute added in v1.2.59

func (*MultichainCreateContractConfigProposal) ProposalType added in v1.2.59

func (*MultichainCreateContractConfigProposal) ProtoMessage added in v1.2.59

func (*MultichainCreateContractConfigProposal) Reset added in v1.2.59

func (*MultichainCreateContractConfigProposal) Size added in v1.2.59

func (*MultichainCreateContractConfigProposal) String added in v1.2.59

func (*MultichainCreateContractConfigProposal) Unmarshal added in v1.2.59

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

func (*MultichainCreateContractConfigProposal) ValidateBasic added in v1.2.59

func (p *MultichainCreateContractConfigProposal) ValidateBasic() error

func (*MultichainCreateContractConfigProposal) XXX_DiscardUnknown added in v1.2.59

func (m *MultichainCreateContractConfigProposal) XXX_DiscardUnknown()

func (*MultichainCreateContractConfigProposal) XXX_Marshal added in v1.2.59

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

func (*MultichainCreateContractConfigProposal) XXX_Merge added in v1.2.59

func (*MultichainCreateContractConfigProposal) XXX_Size added in v1.2.59

func (*MultichainCreateContractConfigProposal) XXX_Unmarshal added in v1.2.59

func (m *MultichainCreateContractConfigProposal) 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 MultichainDeleteContractConfigProposal added in v1.2.59

type MultichainDeleteContractConfigProposal 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"`
	ContractAddress string `protobuf:"bytes,4,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
}

func (*MultichainDeleteContractConfigProposal) Descriptor added in v1.2.59

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

func (*MultichainDeleteContractConfigProposal) GetChainId added in v1.2.59

func (*MultichainDeleteContractConfigProposal) GetContractAddress added in v1.2.59

func (m *MultichainDeleteContractConfigProposal) GetContractAddress() string

func (*MultichainDeleteContractConfigProposal) GetDescription added in v1.2.59

func (m *MultichainDeleteContractConfigProposal) GetDescription() string

func (*MultichainDeleteContractConfigProposal) GetTitle added in v1.2.59

func (*MultichainDeleteContractConfigProposal) Marshal added in v1.2.59

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

func (*MultichainDeleteContractConfigProposal) MarshalTo added in v1.2.59

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

func (*MultichainDeleteContractConfigProposal) MarshalToSizedBuffer added in v1.2.59

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

func (*MultichainDeleteContractConfigProposal) ProposalRoute added in v1.2.59

func (*MultichainDeleteContractConfigProposal) ProposalType added in v1.2.59

func (*MultichainDeleteContractConfigProposal) ProtoMessage added in v1.2.59

func (*MultichainDeleteContractConfigProposal) Reset added in v1.2.59

func (*MultichainDeleteContractConfigProposal) Size added in v1.2.59

func (*MultichainDeleteContractConfigProposal) String added in v1.2.59

func (*MultichainDeleteContractConfigProposal) Unmarshal added in v1.2.59

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

func (*MultichainDeleteContractConfigProposal) ValidateBasic added in v1.2.59

func (p *MultichainDeleteContractConfigProposal) ValidateBasic() error

func (*MultichainDeleteContractConfigProposal) XXX_DiscardUnknown added in v1.2.59

func (m *MultichainDeleteContractConfigProposal) XXX_DiscardUnknown()

func (*MultichainDeleteContractConfigProposal) XXX_Marshal added in v1.2.59

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

func (*MultichainDeleteContractConfigProposal) XXX_Merge added in v1.2.59

func (*MultichainDeleteContractConfigProposal) XXX_Size added in v1.2.59

func (*MultichainDeleteContractConfigProposal) XXX_Unmarshal added in v1.2.59

func (m *MultichainDeleteContractConfigProposal) 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 MultichainUpdateContractConfigProposal added in v1.2.59

type MultichainUpdateContractConfigProposal 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"`
	ContractConfig *ContractConfig `protobuf:"bytes,3,opt,name=contractConfig,proto3" json:"contractConfig,omitempty"`
}

func (*MultichainUpdateContractConfigProposal) Descriptor added in v1.2.59

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

func (*MultichainUpdateContractConfigProposal) GetContractConfig added in v1.2.59

func (*MultichainUpdateContractConfigProposal) GetDescription added in v1.2.59

func (m *MultichainUpdateContractConfigProposal) GetDescription() string

func (*MultichainUpdateContractConfigProposal) GetTitle added in v1.2.59

func (*MultichainUpdateContractConfigProposal) Marshal added in v1.2.59

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

func (*MultichainUpdateContractConfigProposal) MarshalTo added in v1.2.59

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

func (*MultichainUpdateContractConfigProposal) MarshalToSizedBuffer added in v1.2.59

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

func (*MultichainUpdateContractConfigProposal) ProposalRoute added in v1.2.59

func (*MultichainUpdateContractConfigProposal) ProposalType added in v1.2.59

func (*MultichainUpdateContractConfigProposal) ProtoMessage added in v1.2.59

func (*MultichainUpdateContractConfigProposal) Reset added in v1.2.59

func (*MultichainUpdateContractConfigProposal) Size added in v1.2.59

func (*MultichainUpdateContractConfigProposal) String added in v1.2.59

func (*MultichainUpdateContractConfigProposal) Unmarshal added in v1.2.59

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

func (*MultichainUpdateContractConfigProposal) ValidateBasic added in v1.2.59

func (p *MultichainUpdateContractConfigProposal) ValidateBasic() error

func (*MultichainUpdateContractConfigProposal) XXX_DiscardUnknown added in v1.2.59

func (m *MultichainUpdateContractConfigProposal) XXX_DiscardUnknown()

func (*MultichainUpdateContractConfigProposal) XXX_Marshal added in v1.2.59

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

func (*MultichainUpdateContractConfigProposal) XXX_Merge added in v1.2.59

func (*MultichainUpdateContractConfigProposal) XXX_Size added in v1.2.59

func (*MultichainUpdateContractConfigProposal) XXX_Unmarshal added in v1.2.59

func (m *MultichainUpdateContractConfigProposal) 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 QueryAllContractConfigByChainIdRequest added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) Descriptor added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) GetChainId added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) Marshal added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) MarshalTo added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) MarshalToSizedBuffer added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) ProtoMessage added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) Reset added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) Size added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) String added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) Unmarshal added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) XXX_DiscardUnknown added in v1.2.60

func (m *QueryAllContractConfigByChainIdRequest) XXX_DiscardUnknown()

func (*QueryAllContractConfigByChainIdRequest) XXX_Marshal added in v1.2.60

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

func (*QueryAllContractConfigByChainIdRequest) XXX_Merge added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) XXX_Size added in v1.2.60

func (*QueryAllContractConfigByChainIdRequest) XXX_Unmarshal added in v1.2.60

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

type QueryAllContractConfigByChainIdResponse added in v1.2.60

type QueryAllContractConfigByChainIdResponse struct {
	ContractConfig []ContractConfig `protobuf:"bytes,1,rep,name=contractConfig,proto3" json:"contractConfig"`
}

func (*QueryAllContractConfigByChainIdResponse) Descriptor added in v1.2.60

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

func (*QueryAllContractConfigByChainIdResponse) GetContractConfig added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) Marshal added in v1.2.60

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

func (*QueryAllContractConfigByChainIdResponse) MarshalTo added in v1.2.60

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

func (*QueryAllContractConfigByChainIdResponse) MarshalToSizedBuffer added in v1.2.60

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

func (*QueryAllContractConfigByChainIdResponse) ProtoMessage added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) Reset added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) Size added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) String added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) Unmarshal added in v1.2.60

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

func (*QueryAllContractConfigByChainIdResponse) XXX_DiscardUnknown added in v1.2.60

func (m *QueryAllContractConfigByChainIdResponse) XXX_DiscardUnknown()

func (*QueryAllContractConfigByChainIdResponse) XXX_Marshal added in v1.2.60

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

func (*QueryAllContractConfigByChainIdResponse) XXX_Merge added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) XXX_Size added in v1.2.60

func (*QueryAllContractConfigByChainIdResponse) XXX_Unmarshal added in v1.2.60

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

type QueryAllContractConfigRequest added in v1.2.59

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

func (*QueryAllContractConfigRequest) Descriptor added in v1.2.59

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

func (*QueryAllContractConfigRequest) GetPagination added in v1.2.59

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

func (*QueryAllContractConfigRequest) Marshal added in v1.2.59

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

func (*QueryAllContractConfigRequest) MarshalTo added in v1.2.59

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

func (*QueryAllContractConfigRequest) MarshalToSizedBuffer added in v1.2.59

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

func (*QueryAllContractConfigRequest) ProtoMessage added in v1.2.59

func (*QueryAllContractConfigRequest) ProtoMessage()

func (*QueryAllContractConfigRequest) Reset added in v1.2.59

func (m *QueryAllContractConfigRequest) Reset()

func (*QueryAllContractConfigRequest) Size added in v1.2.59

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

func (*QueryAllContractConfigRequest) String added in v1.2.59

func (*QueryAllContractConfigRequest) Unmarshal added in v1.2.59

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

func (*QueryAllContractConfigRequest) XXX_DiscardUnknown added in v1.2.59

func (m *QueryAllContractConfigRequest) XXX_DiscardUnknown()

func (*QueryAllContractConfigRequest) XXX_Marshal added in v1.2.59

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

func (*QueryAllContractConfigRequest) XXX_Merge added in v1.2.59

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

func (*QueryAllContractConfigRequest) XXX_Size added in v1.2.59

func (m *QueryAllContractConfigRequest) XXX_Size() int

func (*QueryAllContractConfigRequest) XXX_Unmarshal added in v1.2.59

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

type QueryAllContractConfigResponse added in v1.2.59

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

func (*QueryAllContractConfigResponse) Descriptor added in v1.2.59

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

func (*QueryAllContractConfigResponse) GetContractConfig added in v1.2.59

func (m *QueryAllContractConfigResponse) GetContractConfig() []ContractConfig

func (*QueryAllContractConfigResponse) GetPagination added in v1.2.59

func (*QueryAllContractConfigResponse) Marshal added in v1.2.59

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

func (*QueryAllContractConfigResponse) MarshalTo added in v1.2.59

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

func (*QueryAllContractConfigResponse) MarshalToSizedBuffer added in v1.2.59

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

func (*QueryAllContractConfigResponse) ProtoMessage added in v1.2.59

func (*QueryAllContractConfigResponse) ProtoMessage()

func (*QueryAllContractConfigResponse) Reset added in v1.2.59

func (m *QueryAllContractConfigResponse) Reset()

func (*QueryAllContractConfigResponse) Size added in v1.2.59

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

func (*QueryAllContractConfigResponse) String added in v1.2.59

func (*QueryAllContractConfigResponse) Unmarshal added in v1.2.59

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

func (*QueryAllContractConfigResponse) XXX_DiscardUnknown added in v1.2.59

func (m *QueryAllContractConfigResponse) XXX_DiscardUnknown()

func (*QueryAllContractConfigResponse) XXX_Marshal added in v1.2.59

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

func (*QueryAllContractConfigResponse) XXX_Merge added in v1.2.59

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

func (*QueryAllContractConfigResponse) XXX_Size added in v1.2.59

func (m *QueryAllContractConfigResponse) XXX_Size() int

func (*QueryAllContractConfigResponse) XXX_Unmarshal added in v1.2.59

func (m *QueryAllContractConfigResponse) 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)
	// Queries a ContractConfig by chain_id and address.
	ContractConfig(ctx context.Context, in *QueryGetContractConfigRequest, opts ...grpc.CallOption) (*QueryGetContractConfigResponse, error)
	// Queries a ContractConfig by chain_id.
	ContractConfigByChainId(ctx context.Context, in *QueryAllContractConfigByChainIdRequest, opts ...grpc.CallOption) (*QueryAllContractConfigByChainIdResponse, error)
	// Queries a list of ContractConfig items.
	ContractConfigAll(ctx context.Context, in *QueryAllContractConfigRequest, opts ...grpc.CallOption) (*QueryAllContractConfigResponse, 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 QueryGetContractConfigRequest added in v1.2.59

type QueryGetContractConfigRequest struct {
	ChainId         string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}

func (*QueryGetContractConfigRequest) Descriptor added in v1.2.59

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

func (*QueryGetContractConfigRequest) GetChainId added in v1.2.59

func (m *QueryGetContractConfigRequest) GetChainId() string

func (*QueryGetContractConfigRequest) GetContractAddress added in v1.2.59

func (m *QueryGetContractConfigRequest) GetContractAddress() string

func (*QueryGetContractConfigRequest) Marshal added in v1.2.59

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

func (*QueryGetContractConfigRequest) MarshalTo added in v1.2.59

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

func (*QueryGetContractConfigRequest) MarshalToSizedBuffer added in v1.2.59

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

func (*QueryGetContractConfigRequest) ProtoMessage added in v1.2.59

func (*QueryGetContractConfigRequest) ProtoMessage()

func (*QueryGetContractConfigRequest) Reset added in v1.2.59

func (m *QueryGetContractConfigRequest) Reset()

func (*QueryGetContractConfigRequest) Size added in v1.2.59

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

func (*QueryGetContractConfigRequest) String added in v1.2.59

func (*QueryGetContractConfigRequest) Unmarshal added in v1.2.59

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

func (*QueryGetContractConfigRequest) XXX_DiscardUnknown added in v1.2.59

func (m *QueryGetContractConfigRequest) XXX_DiscardUnknown()

func (*QueryGetContractConfigRequest) XXX_Marshal added in v1.2.59

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

func (*QueryGetContractConfigRequest) XXX_Merge added in v1.2.59

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

func (*QueryGetContractConfigRequest) XXX_Size added in v1.2.59

func (m *QueryGetContractConfigRequest) XXX_Size() int

func (*QueryGetContractConfigRequest) XXX_Unmarshal added in v1.2.59

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

type QueryGetContractConfigResponse added in v1.2.59

type QueryGetContractConfigResponse struct {
	ContractConfig ContractConfig `protobuf:"bytes,1,opt,name=contractConfig,proto3" json:"contractConfig"`
}

func (*QueryGetContractConfigResponse) Descriptor added in v1.2.59

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

func (*QueryGetContractConfigResponse) GetContractConfig added in v1.2.59

func (m *QueryGetContractConfigResponse) GetContractConfig() ContractConfig

func (*QueryGetContractConfigResponse) Marshal added in v1.2.59

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

func (*QueryGetContractConfigResponse) MarshalTo added in v1.2.59

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

func (*QueryGetContractConfigResponse) MarshalToSizedBuffer added in v1.2.59

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

func (*QueryGetContractConfigResponse) ProtoMessage added in v1.2.59

func (*QueryGetContractConfigResponse) ProtoMessage()

func (*QueryGetContractConfigResponse) Reset added in v1.2.59

func (m *QueryGetContractConfigResponse) Reset()

func (*QueryGetContractConfigResponse) Size added in v1.2.59

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

func (*QueryGetContractConfigResponse) String added in v1.2.59

func (*QueryGetContractConfigResponse) Unmarshal added in v1.2.59

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

func (*QueryGetContractConfigResponse) XXX_DiscardUnknown added in v1.2.59

func (m *QueryGetContractConfigResponse) XXX_DiscardUnknown()

func (*QueryGetContractConfigResponse) XXX_Marshal added in v1.2.59

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

func (*QueryGetContractConfigResponse) XXX_Merge added in v1.2.59

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

func (*QueryGetContractConfigResponse) XXX_Size added in v1.2.59

func (m *QueryGetContractConfigResponse) XXX_Size() int

func (*QueryGetContractConfigResponse) XXX_Unmarshal added in v1.2.59

func (m *QueryGetContractConfigResponse) 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)
	// Queries a ContractConfig by chain_id and address.
	ContractConfig(context.Context, *QueryGetContractConfigRequest) (*QueryGetContractConfigResponse, error)
	// Queries a ContractConfig by chain_id.
	ContractConfigByChainId(context.Context, *QueryAllContractConfigByChainIdRequest) (*QueryAllContractConfigByChainIdResponse, error)
	// Queries a list of ContractConfig items.
	ContractConfigAll(context.Context, *QueryAllContractConfigRequest) (*QueryAllContractConfigResponse, 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) ContractConfig added in v1.2.59

func (*UnimplementedQueryServer) ContractConfigAll added in v1.2.59

func (*UnimplementedQueryServer) ContractConfigByChainId added in v1.2.60

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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