types

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout = "timeout"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"

	EventTypeCurrentKeysPacket = "currentKeys_packet"
	EventTypeRequestKeyshare   = "keyshare_request_packet"

	AttributeKeyRequestID = "request_id"
	AttributeKeyCreator   = "creator"
)

IBC events

View Source
const (
	// EncryptedTxKeyPrefix is the prefix to retrieve all EncryptedTx
	EncryptedTxKeyPrefix         = "EncryptedTx/value/"
	GenEncTxKeyPrefix            = "GenEncTx/value/"
	GenEncTxReqQueueKeyPrefix    = "GenEncTxReqQueue/value/"
	GenEncTxSignalQueueKeyPrefix = "GenEncTxSignalQueue/value/"
	GenEncTxExeQueueKeyPrefix    = "GenEncTxExeQueue/value/"
)
View Source
const (
	// ActivePubKeyPrefix is the prefix to retrieve the active Public Key
	ActivePubKeyPrefix = "ActivePubKey/value/"

	QueuedPubKeyPrefix = "QueuedPubKey/value/"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "pep"

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_pep"

	// PortID is the default port id that module binds to
	PortID = "pep"

	// KeyshareVersion defines the current version the IBC module supports
	KeyshareVersion = "keyshare-1"

	// KeushareChannelID is the default channel id that module will use to transmit IBC packets to keyshare module.
	KeyshareChannelID = "channel-1"
)
View Source
const (
	SubmittedEncryptedTxEventType         = "new-encrypted-tx-submitted"
	SubmittedGeneralEncryptedTxEventType  = "new-general-encrypted-tx-submitted"
	SubmittedEncryptedTxEventIdentity     = "identity"
	SubmittedEncryptedTxEventCreator      = "creator"
	SubmittedEncryptedTxEventTargetHeight = "target-height"
	SubmittedEncryptedTxEventIndex        = "index"
	SubmittedEncryptedTxEventData         = "data"
)
View Source
const (
	EncryptedTxExecutedEventType     = "executed-encrypted-tx"
	EncryptedTxExecutedEventCreator  = "creator"
	EncryptedTxExecutedEventHeight   = "target-height"
	EncryptedTxExecutedEventIndex    = "index"
	EncryptedTxExecutedEventIdentity = "identity"

	EncryptedTxExecutedEventData             = "data"
	EncryptedTxExecutedEventMemo             = "memo"
	EncryptedTxExecutedEventUnderlyingEvents = "events"
)
View Source
const (
	EncryptedTxRevertedEventType     = "reverted-encrypted-tx"
	EncryptedTxRevertedEventCreator  = "creator"
	EncryptedTxRevertedEventHeight   = "height"
	EncryptedTxRevertedEventIndex    = "index"
	EncryptedTxRevertedEventIdentity = "identity"
	EncryptedTxRevertedEventReason   = "reason"
)
View Source
const (
	EncryptedTxDiscardedEventType   = "discarded-encrypted-tx"
	EncryptedTxDiscardedEventHeight = "height"
	EncryptedTxDiscardedEventTxIDs  = "tx-ids"
)
View Source
const (
	KeyShareVerificationType    = "keyshare-verification"
	KeyShareVerificationCreator = "creator"
	KeyShareVerificationHeight  = "height"
	KeyShareVerificationReason  = "reason"
)
View Source
const (
	KeyTotalEncryptedTxSubmitted = "total_encrypted_tx_submitted"
	KeyTotalSuccessEncryptedTx   = "total_success_encrypted_tx"
	KeyTotalFailedEncryptedTx    = "total_failed_encrypted_tx"
)
View Source
const (
	RequestIdentityEventType     = "new-identity-requested"
	RequestIdentityEventIdentity = "identity"
	RequestIdentityEventPubkey   = "pubkey"
)
View Source
const (
	// AggregatedKeyShareKeyPrefix is the prefix to retrieve all AggregatedKeyShare
	AggregatedKeyShareKeyPrefix = "AggregatedKeyShare/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	//PepNonceKeyPrefix is the prefix to retrieve all PepNonce
	PepNonceKeyPrefix = "PepNonce/value/"
)
View Source
const (
	// RequestIdKeyPrefix is the prefix to retrieve all RequestId
	RequestIdKeyPrefix = "RequestId/value/"
)
View Source
const (
	TypeMsgCreateAggregatedKeyShare = "create_aggregated_key_share"
)
View Source
const TypeMsgGetGeneralKeyshare = "get_general_keyshare"
View Source
const TypeMsgRequestGeneralKeyshare = "request_general_keyshare"
View Source
const TypeMsgSubmitEncryptedTx = "submit_encrypted_tx"
View Source
const TypeMsgSubmitGeneralEncryptedTx = "submit_general_encrypted_tx"

Variables

View Source
var (
	ErrInvalidLengthAggregatedKeyShare        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAggregatedKeyShare          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAggregatedKeyShare = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEncryptedTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEncryptedTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEncryptedTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidSigner            = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
	ErrInvalidVersion           = sdkerrors.Register(ModuleName, 1501, "invalid version")
	ErrInvalidTargetBlockHeight = sdkerrors.Register(ModuleName, 1600, "Invalid target block height")
	ErrInvalidIdentity          = sdkerrors.Register(ModuleName, 1601, "Invalid identity")
	ErrInvalidMsgCreator        = sdkerrors.Register(ModuleName, 1700, "Invalid msg creator address")
	ErrActivePubKeyNotFound     = sdkerrors.Register(ModuleName, 1800, "Active public key not found")
	ErrReqIDAlreadyExists       = sdkerrors.Register(ModuleName, 1900, "Request ID already exists")
)

x/pep module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// PortKey defines the key to store the port ID in store
	PortKey               = KeyPrefix("pep-port-")
	ChannelKey            = KeyPrefix("pep-channel-")
	LatestHeightKey       = KeyPrefix("pep-latest-height-")
	LastExecutedHeightKey = KeyPrefix("pep-last-executed-height-")
	RequestsCountKey      = KeyPrefix("Pep-request-count-")
)
View Source
var (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyKeyshareChannelID            = []byte("KeyshareChannelId")
	DefaultKeyshareChannelID string = KeyshareChannelID
)
View Source
var (
	KeyIsSourceChain          = []byte("IsSourceChain")
	DefaultIsSourceChain bool = false
)
View Source
var (
	KeyMinGasPrice     = []byte("MinGasPrice")
	DefaultMinGasPrice = sdk.NewCoin("ufairy", cosmosmath.NewInt(300000))
)
View Source
var (
	KeyTrustedAddresses     = []byte("TrustedAddresses")
	DefaultTrustedAddresses []string
)
View Source
var (
	KeyTrustedCounterParties     = []byte("TrustedCounterParty")
	DefaultTrustedCounterParties []*TrustedCounterParty
)
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 (
	ErrInvalidLengthPepNonce        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPepNonce          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPepNonce = 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 (
	ErrInvalidLengthRequestId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRequestId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRequestId = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ModuleCdc references the global x/ibc-transfer module codec. Note, the codec
	// should ONLY be used in certain instances of tests and for JSON encoding.
	//
	// The actual codec used for serialization should be provided to x/ibc transfer and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
View Source
var (
	ParamsKey = []byte("p_pep")
)

Functions

func AggregatedKeyShareKey

func AggregatedKeyShareKey(
	height uint64,
) []byte

AggregatedKeyShareKey returns the store key to retrieve a AggregatedKeyShare from the index fields

func EncryptedTxAllFromHeightKey

func EncryptedTxAllFromHeightKey(
	targetHeight uint64,
) []byte

func GenEncTxQueueKey added in v0.6.0

func GenEncTxQueueKey(
	identity string,
) []byte

func GetReqIDStr added in v0.8.3

func GetReqIDStr(creator string, requestID string) string

func KeyPrefix

func KeyPrefix(p string) []byte

func MustProtoMarshalJSON

func MustProtoMarshalJSON(msg proto.Message) []byte

MustProtoMarshalJSON provides an auxiliary function to return Proto3 JSON encoded bytes of a message. NOTE: Copied from https://github.com/cosmos/cosmos-sdk/blob/971c542453e0972ef1dfc5a80159ad5049c7211c/codec/json.go and modified in order to allow `EmitDefaults` to be set to false for ics20 packet marshalling. This allows for the introduction of the memo field to be backwards compatible.

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PepNonceKey

func PepNonceKey(
	address string,
) []byte

PepNonceKey returns the store key to retrieve a PepNonce from the index fields

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RequestIdKey added in v0.8.3

func RequestIdKey(
	creator string,
	requestID string,
) []byte

RequestIdKey returns the store key to retrieve a RequestId from the index fields

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation

}

AccountKeeper defines the expected interface for the Account module.

type AggregatedKeyShare

type AggregatedKeyShare struct {
	Height  uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Data    string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*AggregatedKeyShare) Descriptor

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

func (*AggregatedKeyShare) GetCreator

func (m *AggregatedKeyShare) GetCreator() string

func (*AggregatedKeyShare) GetData

func (m *AggregatedKeyShare) GetData() string

func (*AggregatedKeyShare) GetHeight

func (m *AggregatedKeyShare) GetHeight() uint64

func (*AggregatedKeyShare) Marshal

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

func (*AggregatedKeyShare) MarshalTo

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

func (*AggregatedKeyShare) MarshalToSizedBuffer

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

func (*AggregatedKeyShare) ProtoMessage

func (*AggregatedKeyShare) ProtoMessage()

func (*AggregatedKeyShare) Reset

func (m *AggregatedKeyShare) Reset()

func (*AggregatedKeyShare) Size

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

func (*AggregatedKeyShare) String

func (m *AggregatedKeyShare) String() string

func (*AggregatedKeyShare) Unmarshal

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

func (*AggregatedKeyShare) XXX_DiscardUnknown

func (m *AggregatedKeyShare) XXX_DiscardUnknown()

func (*AggregatedKeyShare) XXX_Marshal

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

func (*AggregatedKeyShare) XXX_Merge

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

func (*AggregatedKeyShare) XXX_Size

func (m *AggregatedKeyShare) XXX_Size() int

func (*AggregatedKeyShare) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins
	SendCoins(ctx context.Context, from, to sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	IsSendEnabledCoins(ctx context.Context, coins ...sdk.Coin) error
}

BankKeeper defines the expected interface for the Bank module.

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx context.Context, portID, channelID string) (channeltypes.Channel, bool)
	GetNextSequenceSend(ctx context.Context, portID, channelID string) (uint64, bool)
	SendPacket(
		ctx context.Context,
		channelCap *capabilitytypes.Capability,
		sourcePort string,
		sourceChannel string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
		data []byte,
	) (uint64, error)
	ChanCloseInit(ctx context.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper.

type EncryptedTx

type EncryptedTx struct {
	TargetHeight           uint64      `protobuf:"varint,1,opt,name=targetHeight,proto3" json:"targetHeight,omitempty"`
	Index                  uint64      `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Data                   string      `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Creator                string      `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	ChargedGas             *types.Coin `protobuf:"bytes,5,opt,name=chargedGas,proto3" json:"chargedGas,omitempty"`
	ProcessedAtChainHeight uint64      `protobuf:"varint,6,opt,name=processedAtChainHeight,proto3" json:"processedAtChainHeight,omitempty"`
	Expired                bool        `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"`
}

func (*EncryptedTx) Descriptor

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

func (*EncryptedTx) GetChargedGas

func (m *EncryptedTx) GetChargedGas() *types.Coin

func (*EncryptedTx) GetCreator

func (m *EncryptedTx) GetCreator() string

func (*EncryptedTx) GetData

func (m *EncryptedTx) GetData() string

func (*EncryptedTx) GetExpired added in v0.4.0

func (m *EncryptedTx) GetExpired() bool

func (*EncryptedTx) GetIndex

func (m *EncryptedTx) GetIndex() uint64

func (*EncryptedTx) GetProcessedAtChainHeight added in v0.4.0

func (m *EncryptedTx) GetProcessedAtChainHeight() uint64

func (*EncryptedTx) GetTargetHeight

func (m *EncryptedTx) GetTargetHeight() uint64

func (*EncryptedTx) Marshal

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

func (*EncryptedTx) MarshalTo

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

func (*EncryptedTx) MarshalToSizedBuffer

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

func (*EncryptedTx) ProtoMessage

func (*EncryptedTx) ProtoMessage()

func (*EncryptedTx) Reset

func (m *EncryptedTx) Reset()

func (*EncryptedTx) Size

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

func (*EncryptedTx) String

func (m *EncryptedTx) String() string

func (*EncryptedTx) Unmarshal

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

func (*EncryptedTx) XXX_DiscardUnknown

func (m *EncryptedTx) XXX_DiscardUnknown()

func (*EncryptedTx) XXX_Marshal

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

func (*EncryptedTx) XXX_Merge

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

func (*EncryptedTx) XXX_Size

func (m *EncryptedTx) XXX_Size() int

func (*EncryptedTx) XXX_Unmarshal

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

type EncryptedTxArray

type EncryptedTxArray struct {
	EncryptedTx []EncryptedTx `protobuf:"bytes,1,rep,name=encryptedTx,proto3" json:"encryptedTx"`
}

func (*EncryptedTxArray) Descriptor

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

func (*EncryptedTxArray) GetEncryptedTx

func (m *EncryptedTxArray) GetEncryptedTx() []EncryptedTx

func (*EncryptedTxArray) Marshal

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

func (*EncryptedTxArray) MarshalTo

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

func (*EncryptedTxArray) MarshalToSizedBuffer

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

func (*EncryptedTxArray) ProtoMessage

func (*EncryptedTxArray) ProtoMessage()

func (*EncryptedTxArray) Reset

func (m *EncryptedTxArray) Reset()

func (*EncryptedTxArray) Size

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

func (*EncryptedTxArray) String

func (m *EncryptedTxArray) String() string

func (*EncryptedTxArray) Unmarshal

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

func (*EncryptedTxArray) XXX_DiscardUnknown

func (m *EncryptedTxArray) XXX_DiscardUnknown()

func (*EncryptedTxArray) XXX_Marshal

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

func (*EncryptedTxArray) XXX_Merge

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

func (*EncryptedTxArray) XXX_Size

func (m *EncryptedTxArray) XXX_Size() int

func (*EncryptedTxArray) XXX_Unmarshal

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

type GenEncTxExecutionQueue added in v0.6.0

type GenEncTxExecutionQueue struct {
	Creator      string                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId    string                   `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Identity     string                   `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	Pubkey       string                   `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	TxList       *GeneralEncryptedTxArray `protobuf:"bytes,5,opt,name=tx_list,json=txList,proto3" json:"tx_list,omitempty"`
	AggrKeyshare string                   `protobuf:"bytes,6,opt,name=aggr_keyshare,json=aggrKeyshare,proto3" json:"aggr_keyshare,omitempty"`
}

func (*GenEncTxExecutionQueue) Descriptor added in v0.6.0

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

func (*GenEncTxExecutionQueue) GetAggrKeyshare added in v0.6.0

func (m *GenEncTxExecutionQueue) GetAggrKeyshare() string

func (*GenEncTxExecutionQueue) GetCreator added in v0.6.0

func (m *GenEncTxExecutionQueue) GetCreator() string

func (*GenEncTxExecutionQueue) GetIdentity added in v0.6.0

func (m *GenEncTxExecutionQueue) GetIdentity() string

func (*GenEncTxExecutionQueue) GetPubkey added in v0.6.0

func (m *GenEncTxExecutionQueue) GetPubkey() string

func (*GenEncTxExecutionQueue) GetRequestId added in v0.6.0

func (m *GenEncTxExecutionQueue) GetRequestId() string

func (*GenEncTxExecutionQueue) GetTxList added in v0.6.0

func (*GenEncTxExecutionQueue) Marshal added in v0.6.0

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

func (*GenEncTxExecutionQueue) MarshalTo added in v0.6.0

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

func (*GenEncTxExecutionQueue) MarshalToSizedBuffer added in v0.6.0

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

func (*GenEncTxExecutionQueue) ProtoMessage added in v0.6.0

func (*GenEncTxExecutionQueue) ProtoMessage()

func (*GenEncTxExecutionQueue) Reset added in v0.6.0

func (m *GenEncTxExecutionQueue) Reset()

func (*GenEncTxExecutionQueue) Size added in v0.6.0

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

func (*GenEncTxExecutionQueue) String added in v0.6.0

func (m *GenEncTxExecutionQueue) String() string

func (*GenEncTxExecutionQueue) Unmarshal added in v0.6.0

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

func (*GenEncTxExecutionQueue) XXX_DiscardUnknown added in v0.6.0

func (m *GenEncTxExecutionQueue) XXX_DiscardUnknown()

func (*GenEncTxExecutionQueue) XXX_Marshal added in v0.6.0

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

func (*GenEncTxExecutionQueue) XXX_Merge added in v0.6.0

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

func (*GenEncTxExecutionQueue) XXX_Size added in v0.6.0

func (m *GenEncTxExecutionQueue) XXX_Size() int

func (*GenEncTxExecutionQueue) XXX_Unmarshal added in v0.6.0

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

type GeneralEncryptedTx added in v0.6.0

type GeneralEncryptedTx struct {
	Identity   string      `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Index      uint64      `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Data       string      `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Creator    string      `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	ChargedGas *types.Coin `protobuf:"bytes,5,opt,name=chargedGas,proto3" json:"chargedGas,omitempty"`
}

func (*GeneralEncryptedTx) Descriptor added in v0.6.0

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

func (*GeneralEncryptedTx) GetChargedGas added in v0.6.0

func (m *GeneralEncryptedTx) GetChargedGas() *types.Coin

func (*GeneralEncryptedTx) GetCreator added in v0.6.0

func (m *GeneralEncryptedTx) GetCreator() string

func (*GeneralEncryptedTx) GetData added in v0.6.0

func (m *GeneralEncryptedTx) GetData() string

func (*GeneralEncryptedTx) GetIdentity added in v0.6.0

func (m *GeneralEncryptedTx) GetIdentity() string

func (*GeneralEncryptedTx) GetIndex added in v0.6.0

func (m *GeneralEncryptedTx) GetIndex() uint64

func (*GeneralEncryptedTx) Marshal added in v0.6.0

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

func (*GeneralEncryptedTx) MarshalTo added in v0.6.0

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

func (*GeneralEncryptedTx) MarshalToSizedBuffer added in v0.6.0

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

func (*GeneralEncryptedTx) ProtoMessage added in v0.6.0

func (*GeneralEncryptedTx) ProtoMessage()

func (*GeneralEncryptedTx) Reset added in v0.6.0

func (m *GeneralEncryptedTx) Reset()

func (*GeneralEncryptedTx) Size added in v0.6.0

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

func (*GeneralEncryptedTx) String added in v0.6.0

func (m *GeneralEncryptedTx) String() string

func (*GeneralEncryptedTx) Unmarshal added in v0.6.0

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

func (*GeneralEncryptedTx) XXX_DiscardUnknown added in v0.6.0

func (m *GeneralEncryptedTx) XXX_DiscardUnknown()

func (*GeneralEncryptedTx) XXX_Marshal added in v0.6.0

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

func (*GeneralEncryptedTx) XXX_Merge added in v0.6.0

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

func (*GeneralEncryptedTx) XXX_Size added in v0.6.0

func (m *GeneralEncryptedTx) XXX_Size() int

func (*GeneralEncryptedTx) XXX_Unmarshal added in v0.6.0

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

type GeneralEncryptedTxArray added in v0.6.0

type GeneralEncryptedTxArray struct {
	EncryptedTx []GeneralEncryptedTx `protobuf:"bytes,1,rep,name=encryptedTx,proto3" json:"encryptedTx"`
}

func (*GeneralEncryptedTxArray) Descriptor added in v0.6.0

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

func (*GeneralEncryptedTxArray) GetEncryptedTx added in v0.6.0

func (m *GeneralEncryptedTxArray) GetEncryptedTx() []GeneralEncryptedTx

func (*GeneralEncryptedTxArray) Marshal added in v0.6.0

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

func (*GeneralEncryptedTxArray) MarshalTo added in v0.6.0

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

func (*GeneralEncryptedTxArray) MarshalToSizedBuffer added in v0.6.0

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

func (*GeneralEncryptedTxArray) ProtoMessage added in v0.6.0

func (*GeneralEncryptedTxArray) ProtoMessage()

func (*GeneralEncryptedTxArray) Reset added in v0.6.0

func (m *GeneralEncryptedTxArray) Reset()

func (*GeneralEncryptedTxArray) Size added in v0.6.0

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

func (*GeneralEncryptedTxArray) String added in v0.6.0

func (m *GeneralEncryptedTxArray) String() string

func (*GeneralEncryptedTxArray) Unmarshal added in v0.6.0

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

func (*GeneralEncryptedTxArray) XXX_DiscardUnknown added in v0.6.0

func (m *GeneralEncryptedTxArray) XXX_DiscardUnknown()

func (*GeneralEncryptedTxArray) XXX_Marshal added in v0.6.0

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

func (*GeneralEncryptedTxArray) XXX_Merge added in v0.6.0

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

func (*GeneralEncryptedTxArray) XXX_Size added in v0.6.0

func (m *GeneralEncryptedTxArray) XXX_Size() int

func (*GeneralEncryptedTxArray) XXX_Unmarshal added in v0.6.0

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

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params           Params             `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	PortId           string             `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	EncryptedTxArray []EncryptedTxArray `protobuf:"bytes,3,rep,name=encryptedTxArray,proto3" json:"encryptedTxArray"`
	PepNonceList     []PepNonce         `protobuf:"bytes,4,rep,name=pepNonceList,proto3" json:"pepNonceList"`
	// this line is used by starport scaffolding # genesis/proto/state
	AggregatedKeyShareList []AggregatedKeyShare  `protobuf:"bytes,6,rep,name=aggregatedKeyShareList,proto3" json:"aggregatedKeyShareList"`
	ActivePubKey           types.ActivePublicKey `protobuf:"bytes,7,opt,name=activePubKey,proto3" json:"activePubKey"`
	QueuedPubKey           types.QueuedPublicKey `protobuf:"bytes,8,opt,name=queuedPubKey,proto3" json:"queuedPubKey"`
	RequestCount           uint64                `protobuf:"varint,9,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"`
	RequestIdList          []RequestId           `protobuf:"bytes,10,rep,name=requestIdList,proto3" json:"requestIdList"`
}

GenesisState defines the pep module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetActivePubKey

func (m *GenesisState) GetActivePubKey() types.ActivePublicKey

func (*GenesisState) GetAggregatedKeyShareList

func (m *GenesisState) GetAggregatedKeyShareList() []AggregatedKeyShare

func (*GenesisState) GetEncryptedTxArray

func (m *GenesisState) GetEncryptedTxArray() []EncryptedTxArray

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPepNonceList

func (m *GenesisState) GetPepNonceList() []PepNonce

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

func (*GenesisState) GetQueuedPubKey

func (m *GenesisState) GetQueuedPubKey() types.QueuedPublicKey

func (*GenesisState) GetRequestCount added in v0.6.0

func (m *GenesisState) GetRequestCount() uint64

func (*GenesisState) GetRequestIdList added in v0.8.3

func (m *GenesisState) GetRequestIdList() []RequestId

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 {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	SubmitEncryptedTx(ctx context.Context, in *MsgSubmitEncryptedTx, opts ...grpc.CallOption) (*MsgSubmitEncryptedTxResponse, error)
	SubmitGeneralEncryptedTx(ctx context.Context, in *MsgSubmitGeneralEncryptedTx, opts ...grpc.CallOption) (*MsgSubmitEncryptedTxResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateAggregatedKeyShare(ctx context.Context, in *MsgCreateAggregatedKeyShare, opts ...grpc.CallOption) (*MsgCreateAggregatedKeyShareResponse, error)
	RequestGeneralKeyshare(ctx context.Context, in *MsgRequestGeneralKeyshare, opts ...grpc.CallOption) (*MsgRequestGeneralKeyshareResponse, error)
	GetGeneralKeyshare(ctx context.Context, in *MsgGetGeneralKeyshare, opts ...grpc.CallOption) (*MsgGetGeneralKeyshareResponse, error)
}

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 MsgCreateAggregatedKeyShare

type MsgCreateAggregatedKeyShare struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Height  uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Data    string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgCreateAggregatedKeyShare

func NewMsgCreateAggregatedKeyShare(
	creator string,
	height uint64,
	data string,
) *MsgCreateAggregatedKeyShare

func (*MsgCreateAggregatedKeyShare) Descriptor

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

func (*MsgCreateAggregatedKeyShare) GetCreator

func (m *MsgCreateAggregatedKeyShare) GetCreator() string

func (*MsgCreateAggregatedKeyShare) GetData

func (m *MsgCreateAggregatedKeyShare) GetData() string

func (*MsgCreateAggregatedKeyShare) GetHeight

func (m *MsgCreateAggregatedKeyShare) GetHeight() uint64

func (*MsgCreateAggregatedKeyShare) Marshal

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

func (*MsgCreateAggregatedKeyShare) MarshalTo

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

func (*MsgCreateAggregatedKeyShare) MarshalToSizedBuffer

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

func (*MsgCreateAggregatedKeyShare) ProtoMessage

func (*MsgCreateAggregatedKeyShare) ProtoMessage()

func (*MsgCreateAggregatedKeyShare) Reset

func (m *MsgCreateAggregatedKeyShare) Reset()

func (*MsgCreateAggregatedKeyShare) Size

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

func (*MsgCreateAggregatedKeyShare) String

func (m *MsgCreateAggregatedKeyShare) String() string

func (*MsgCreateAggregatedKeyShare) Unmarshal

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

func (*MsgCreateAggregatedKeyShare) ValidateBasic

func (msg *MsgCreateAggregatedKeyShare) ValidateBasic() error

func (*MsgCreateAggregatedKeyShare) XXX_DiscardUnknown

func (m *MsgCreateAggregatedKeyShare) XXX_DiscardUnknown()

func (*MsgCreateAggregatedKeyShare) XXX_Marshal

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

func (*MsgCreateAggregatedKeyShare) XXX_Merge

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

func (*MsgCreateAggregatedKeyShare) XXX_Size

func (m *MsgCreateAggregatedKeyShare) XXX_Size() int

func (*MsgCreateAggregatedKeyShare) XXX_Unmarshal

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

type MsgCreateAggregatedKeyShareResponse

type MsgCreateAggregatedKeyShareResponse struct {
}

func (*MsgCreateAggregatedKeyShareResponse) Descriptor

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

func (*MsgCreateAggregatedKeyShareResponse) Marshal

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

func (*MsgCreateAggregatedKeyShareResponse) MarshalTo

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

func (*MsgCreateAggregatedKeyShareResponse) MarshalToSizedBuffer

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

func (*MsgCreateAggregatedKeyShareResponse) ProtoMessage

func (*MsgCreateAggregatedKeyShareResponse) ProtoMessage()

func (*MsgCreateAggregatedKeyShareResponse) Reset

func (*MsgCreateAggregatedKeyShareResponse) Size

func (*MsgCreateAggregatedKeyShareResponse) String

func (*MsgCreateAggregatedKeyShareResponse) Unmarshal

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

func (*MsgCreateAggregatedKeyShareResponse) XXX_DiscardUnknown

func (m *MsgCreateAggregatedKeyShareResponse) XXX_DiscardUnknown()

func (*MsgCreateAggregatedKeyShareResponse) XXX_Marshal

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

func (*MsgCreateAggregatedKeyShareResponse) XXX_Merge

func (*MsgCreateAggregatedKeyShareResponse) XXX_Size

func (*MsgCreateAggregatedKeyShareResponse) XXX_Unmarshal

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

type MsgGetGeneralKeyshare added in v0.4.0

type MsgGetGeneralKeyshare struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ReqId   string `protobuf:"bytes,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

func NewMsgGetGeneralKeyshare added in v0.4.0

func NewMsgGetGeneralKeyshare(creator string, reqID string) *MsgGetGeneralKeyshare

func (*MsgGetGeneralKeyshare) Descriptor added in v0.4.0

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

func (*MsgGetGeneralKeyshare) GetCreator added in v0.4.0

func (m *MsgGetGeneralKeyshare) GetCreator() string

func (*MsgGetGeneralKeyshare) GetReqId added in v0.6.0

func (m *MsgGetGeneralKeyshare) GetReqId() string

func (*MsgGetGeneralKeyshare) Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshare) MarshalTo added in v0.4.0

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

func (*MsgGetGeneralKeyshare) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgGetGeneralKeyshare) ProtoMessage added in v0.4.0

func (*MsgGetGeneralKeyshare) ProtoMessage()

func (*MsgGetGeneralKeyshare) Reset added in v0.4.0

func (m *MsgGetGeneralKeyshare) Reset()

func (*MsgGetGeneralKeyshare) Size added in v0.4.0

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

func (*MsgGetGeneralKeyshare) String added in v0.4.0

func (m *MsgGetGeneralKeyshare) String() string

func (*MsgGetGeneralKeyshare) Unmarshal added in v0.4.0

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

func (*MsgGetGeneralKeyshare) ValidateBasic added in v0.4.0

func (msg *MsgGetGeneralKeyshare) ValidateBasic() error

func (*MsgGetGeneralKeyshare) XXX_DiscardUnknown added in v0.4.0

func (m *MsgGetGeneralKeyshare) XXX_DiscardUnknown()

func (*MsgGetGeneralKeyshare) XXX_Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshare) XXX_Merge added in v0.4.0

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

func (*MsgGetGeneralKeyshare) XXX_Size added in v0.4.0

func (m *MsgGetGeneralKeyshare) XXX_Size() int

func (*MsgGetGeneralKeyshare) XXX_Unmarshal added in v0.4.0

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

type MsgGetGeneralKeyshareResponse added in v0.4.0

type MsgGetGeneralKeyshareResponse struct {
}

func (*MsgGetGeneralKeyshareResponse) Descriptor added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) MarshalTo added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) ProtoMessage added in v0.4.0

func (*MsgGetGeneralKeyshareResponse) ProtoMessage()

func (*MsgGetGeneralKeyshareResponse) Reset added in v0.4.0

func (m *MsgGetGeneralKeyshareResponse) Reset()

func (*MsgGetGeneralKeyshareResponse) Size added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) String added in v0.4.0

func (*MsgGetGeneralKeyshareResponse) Unmarshal added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) XXX_DiscardUnknown added in v0.4.0

func (m *MsgGetGeneralKeyshareResponse) XXX_DiscardUnknown()

func (*MsgGetGeneralKeyshareResponse) XXX_Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) XXX_Merge added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) XXX_Size added in v0.4.0

func (m *MsgGetGeneralKeyshareResponse) XXX_Size() int

func (*MsgGetGeneralKeyshareResponse) XXX_Unmarshal added in v0.4.0

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

type MsgRequestGeneralKeyshare added in v0.4.0

type MsgRequestGeneralKeyshare struct {
	Creator        string         `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	EstimatedDelay *time.Duration `protobuf:"bytes,2,opt,name=estimated_delay,json=estimatedDelay,proto3,stdduration" json:"estimated_delay,omitempty"`
	ReqId          string         `protobuf:"bytes,3,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

func NewMsgRequestGeneralKeyshare added in v0.4.0

func NewMsgRequestGeneralKeyshare(creator string, estimatedDelay time.Duration, reqID string) *MsgRequestGeneralKeyshare

func (*MsgRequestGeneralKeyshare) Descriptor added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) GetCreator added in v0.4.0

func (m *MsgRequestGeneralKeyshare) GetCreator() string

func (*MsgRequestGeneralKeyshare) GetEstimatedDelay added in v0.7.0

func (m *MsgRequestGeneralKeyshare) GetEstimatedDelay() *time.Duration

func (*MsgRequestGeneralKeyshare) GetReqId added in v0.8.3

func (m *MsgRequestGeneralKeyshare) GetReqId() string

func (*MsgRequestGeneralKeyshare) Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) MarshalTo added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) ProtoMessage added in v0.4.0

func (*MsgRequestGeneralKeyshare) ProtoMessage()

func (*MsgRequestGeneralKeyshare) Reset added in v0.4.0

func (m *MsgRequestGeneralKeyshare) Reset()

func (*MsgRequestGeneralKeyshare) Size added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) String added in v0.4.0

func (m *MsgRequestGeneralKeyshare) String() string

func (*MsgRequestGeneralKeyshare) Unmarshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) ValidateBasic added in v0.4.0

func (msg *MsgRequestGeneralKeyshare) ValidateBasic() error

func (*MsgRequestGeneralKeyshare) XXX_DiscardUnknown added in v0.4.0

func (m *MsgRequestGeneralKeyshare) XXX_DiscardUnknown()

func (*MsgRequestGeneralKeyshare) XXX_Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) XXX_Merge added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) XXX_Size added in v0.4.0

func (m *MsgRequestGeneralKeyshare) XXX_Size() int

func (*MsgRequestGeneralKeyshare) XXX_Unmarshal added in v0.4.0

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

type MsgRequestGeneralKeyshareResponse added in v0.4.0

type MsgRequestGeneralKeyshareResponse struct {
	ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

func (*MsgRequestGeneralKeyshareResponse) Descriptor added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) GetReqId added in v0.6.0

func (*MsgRequestGeneralKeyshareResponse) Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) MarshalTo added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) ProtoMessage added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) ProtoMessage()

func (*MsgRequestGeneralKeyshareResponse) Reset added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) Size added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) String added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) Unmarshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) XXX_DiscardUnknown added in v0.4.0

func (m *MsgRequestGeneralKeyshareResponse) XXX_DiscardUnknown()

func (*MsgRequestGeneralKeyshareResponse) XXX_Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) XXX_Merge added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) XXX_Size added in v0.4.0

func (m *MsgRequestGeneralKeyshareResponse) XXX_Size() int

func (*MsgRequestGeneralKeyshareResponse) XXX_Unmarshal added in v0.4.0

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

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	SubmitEncryptedTx(context.Context, *MsgSubmitEncryptedTx) (*MsgSubmitEncryptedTxResponse, error)
	SubmitGeneralEncryptedTx(context.Context, *MsgSubmitGeneralEncryptedTx) (*MsgSubmitEncryptedTxResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateAggregatedKeyShare(context.Context, *MsgCreateAggregatedKeyShare) (*MsgCreateAggregatedKeyShareResponse, error)
	RequestGeneralKeyshare(context.Context, *MsgRequestGeneralKeyshare) (*MsgRequestGeneralKeyshareResponse, error)
	GetGeneralKeyshare(context.Context, *MsgGetGeneralKeyshare) (*MsgGetGeneralKeyshareResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSubmitEncryptedTx

type MsgSubmitEncryptedTx struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Data              string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	TargetBlockHeight uint64 `protobuf:"varint,3,opt,name=targetBlockHeight,proto3" json:"targetBlockHeight,omitempty"`
}

func NewMsgSubmitEncryptedTx

func NewMsgSubmitEncryptedTx(creator string, data string, targetBlockHeight uint64) *MsgSubmitEncryptedTx

func (*MsgSubmitEncryptedTx) Descriptor

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

func (*MsgSubmitEncryptedTx) GetCreator

func (m *MsgSubmitEncryptedTx) GetCreator() string

func (*MsgSubmitEncryptedTx) GetData

func (m *MsgSubmitEncryptedTx) GetData() string

func (*MsgSubmitEncryptedTx) GetTargetBlockHeight

func (m *MsgSubmitEncryptedTx) GetTargetBlockHeight() uint64

func (*MsgSubmitEncryptedTx) Marshal

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

func (*MsgSubmitEncryptedTx) MarshalTo

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

func (*MsgSubmitEncryptedTx) MarshalToSizedBuffer

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

func (*MsgSubmitEncryptedTx) ProtoMessage

func (*MsgSubmitEncryptedTx) ProtoMessage()

func (*MsgSubmitEncryptedTx) Reset

func (m *MsgSubmitEncryptedTx) Reset()

func (*MsgSubmitEncryptedTx) Size

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

func (*MsgSubmitEncryptedTx) String

func (m *MsgSubmitEncryptedTx) String() string

func (*MsgSubmitEncryptedTx) Unmarshal

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

func (*MsgSubmitEncryptedTx) ValidateBasic

func (msg *MsgSubmitEncryptedTx) ValidateBasic() error

func (*MsgSubmitEncryptedTx) XXX_DiscardUnknown

func (m *MsgSubmitEncryptedTx) XXX_DiscardUnknown()

func (*MsgSubmitEncryptedTx) XXX_Marshal

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

func (*MsgSubmitEncryptedTx) XXX_Merge

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

func (*MsgSubmitEncryptedTx) XXX_Size

func (m *MsgSubmitEncryptedTx) XXX_Size() int

func (*MsgSubmitEncryptedTx) XXX_Unmarshal

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

type MsgSubmitEncryptedTxResponse

type MsgSubmitEncryptedTxResponse struct {
}

func (*MsgSubmitEncryptedTxResponse) Descriptor

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

func (*MsgSubmitEncryptedTxResponse) Marshal

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

func (*MsgSubmitEncryptedTxResponse) MarshalTo

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

func (*MsgSubmitEncryptedTxResponse) MarshalToSizedBuffer

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

func (*MsgSubmitEncryptedTxResponse) ProtoMessage

func (*MsgSubmitEncryptedTxResponse) ProtoMessage()

func (*MsgSubmitEncryptedTxResponse) Reset

func (m *MsgSubmitEncryptedTxResponse) Reset()

func (*MsgSubmitEncryptedTxResponse) Size

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

func (*MsgSubmitEncryptedTxResponse) String

func (*MsgSubmitEncryptedTxResponse) Unmarshal

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

func (*MsgSubmitEncryptedTxResponse) XXX_DiscardUnknown

func (m *MsgSubmitEncryptedTxResponse) XXX_DiscardUnknown()

func (*MsgSubmitEncryptedTxResponse) XXX_Marshal

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

func (*MsgSubmitEncryptedTxResponse) XXX_Merge

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

func (*MsgSubmitEncryptedTxResponse) XXX_Size

func (m *MsgSubmitEncryptedTxResponse) XXX_Size() int

func (*MsgSubmitEncryptedTxResponse) XXX_Unmarshal

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

type MsgSubmitGeneralEncryptedTx added in v0.6.0

type MsgSubmitGeneralEncryptedTx struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Data    string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	ReqId   string `protobuf:"bytes,3,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

func NewMsgSubmitGeneralEncryptedTx added in v0.6.0

func NewMsgSubmitGeneralEncryptedTx(creator string, data string, reqID string) *MsgSubmitGeneralEncryptedTx

func (*MsgSubmitGeneralEncryptedTx) Descriptor added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) GetCreator added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) GetCreator() string

func (*MsgSubmitGeneralEncryptedTx) GetData added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) GetData() string

func (*MsgSubmitGeneralEncryptedTx) GetReqId added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) GetReqId() string

func (*MsgSubmitGeneralEncryptedTx) Marshal added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) MarshalTo added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) MarshalToSizedBuffer added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) ProtoMessage added in v0.6.0

func (*MsgSubmitGeneralEncryptedTx) ProtoMessage()

func (*MsgSubmitGeneralEncryptedTx) Reset added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) Reset()

func (*MsgSubmitGeneralEncryptedTx) Size added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) String added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) String() string

func (*MsgSubmitGeneralEncryptedTx) Unmarshal added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) ValidateBasic added in v0.6.0

func (msg *MsgSubmitGeneralEncryptedTx) ValidateBasic() error

func (*MsgSubmitGeneralEncryptedTx) XXX_DiscardUnknown added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) XXX_DiscardUnknown()

func (*MsgSubmitGeneralEncryptedTx) XXX_Marshal added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) XXX_Merge added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) XXX_Size added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) XXX_Size() int

func (*MsgSubmitGeneralEncryptedTx) XXX_Unmarshal added in v0.6.0

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

type MsgUpdateParams added in v0.7.0

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor added in v0.7.0

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

func (*MsgUpdateParams) GetAuthority added in v0.7.0

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v0.7.0

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal added in v0.7.0

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

func (*MsgUpdateParams) MarshalTo added in v0.7.0

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

func (*MsgUpdateParams) MarshalToSizedBuffer added in v0.7.0

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

func (*MsgUpdateParams) ProtoMessage added in v0.7.0

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v0.7.0

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size added in v0.7.0

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

func (*MsgUpdateParams) String added in v0.7.0

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal added in v0.7.0

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

func (*MsgUpdateParams) ValidateBasic added in v0.7.0

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown added in v0.7.0

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v0.7.0

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

func (*MsgUpdateParams) XXX_Merge added in v0.7.0

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

func (*MsgUpdateParams) XXX_Size added in v0.7.0

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v0.7.0

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

type MsgUpdateParamsResponse added in v0.7.0

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor added in v0.7.0

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

func (*MsgUpdateParamsResponse) Marshal added in v0.7.0

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

func (*MsgUpdateParamsResponse) MarshalTo added in v0.7.0

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v0.7.0

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

func (*MsgUpdateParamsResponse) ProtoMessage added in v0.7.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v0.7.0

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v0.7.0

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

func (*MsgUpdateParamsResponse) String added in v0.7.0

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v0.7.0

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v0.7.0

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v0.7.0

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

func (*MsgUpdateParamsResponse) XXX_Merge added in v0.7.0

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

func (*MsgUpdateParamsResponse) XXX_Size added in v0.7.0

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v0.7.0

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

type NoData

type NoData struct {
}

func (*NoData) Descriptor

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

func (*NoData) Marshal

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

func (*NoData) MarshalTo

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

func (*NoData) MarshalToSizedBuffer

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

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) Reset

func (m *NoData) Reset()

func (*NoData) Size

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

func (*NoData) String

func (m *NoData) String() string

func (*NoData) Unmarshal

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

func (*NoData) XXX_DiscardUnknown

func (m *NoData) XXX_DiscardUnknown()

func (*NoData) XXX_Marshal

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

func (*NoData) XXX_Merge

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

func (*NoData) XXX_Size

func (m *NoData) XXX_Size() int

func (*NoData) XXX_Unmarshal

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

type ParamSubspace added in v0.7.0

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
	KeyshareChannelId     string                 `` /* 141-byte string literal not displayed */
	IsSourceChain         bool                   `` /* 126-byte string literal not displayed */
	TrustedCounterParties []*TrustedCounterParty `` /* 126-byte string literal not displayed */
	TrustedAddresses      []string               `` /* 134-byte string literal not displayed */
	MinGasPrice           *types.Coin            `protobuf:"bytes,5,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty" yaml:"min_gas_price"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	trAddrs []string,
	trustedParties []*TrustedCounterParty,
	keyshareChannelID string,
	minGasPrice *sdk.Coin,
	isSourceChain bool,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetIsSourceChain added in v0.4.0

func (m *Params) GetIsSourceChain() bool

func (*Params) GetKeyshareChannelId added in v0.4.0

func (m *Params) GetKeyshareChannelId() string

func (*Params) GetMinGasPrice

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

func (*Params) GetTrustedAddresses

func (m *Params) GetTrustedAddresses() []string

func (*Params) GetTrustedCounterParties

func (m *Params) GetTrustedCounterParties() []*TrustedCounterParty

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 (m *Params) String() string

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 PepNonce

type PepNonce struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Nonce   uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*PepNonce) Descriptor

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

func (*PepNonce) GetAddress

func (m *PepNonce) GetAddress() string

func (*PepNonce) GetNonce

func (m *PepNonce) GetNonce() uint64

func (*PepNonce) Marshal

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

func (*PepNonce) MarshalTo

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

func (*PepNonce) MarshalToSizedBuffer

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

func (*PepNonce) ProtoMessage

func (*PepNonce) ProtoMessage()

func (*PepNonce) Reset

func (m *PepNonce) Reset()

func (*PepNonce) Size

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

func (*PepNonce) String

func (m *PepNonce) String() string

func (*PepNonce) Unmarshal

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

func (*PepNonce) XXX_DiscardUnknown

func (m *PepNonce) XXX_DiscardUnknown()

func (*PepNonce) XXX_Marshal

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

func (*PepNonce) XXX_Merge

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

func (*PepNonce) XXX_Size

func (m *PepNonce) XXX_Size() int

func (*PepNonce) XXX_Unmarshal

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

type PepPacketData

type PepPacketData struct {
	// Types that are valid to be assigned to Packet:
	//
	//	*PepPacketData_NoData
	Packet isPepPacketData_Packet `protobuf_oneof:"packet"`
}

func (*PepPacketData) Descriptor

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

func (*PepPacketData) GetNoData

func (m *PepPacketData) GetNoData() *NoData

func (*PepPacketData) GetPacket

func (m *PepPacketData) GetPacket() isPepPacketData_Packet

func (*PepPacketData) Marshal

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

func (*PepPacketData) MarshalTo

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

func (*PepPacketData) MarshalToSizedBuffer

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

func (*PepPacketData) ProtoMessage

func (*PepPacketData) ProtoMessage()

func (*PepPacketData) Reset

func (m *PepPacketData) Reset()

func (*PepPacketData) Size

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

func (*PepPacketData) String

func (m *PepPacketData) String() string

func (*PepPacketData) Unmarshal

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

func (*PepPacketData) XXX_DiscardUnknown

func (m *PepPacketData) XXX_DiscardUnknown()

func (*PepPacketData) XXX_Marshal

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

func (*PepPacketData) XXX_Merge

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

func (*PepPacketData) XXX_OneofWrappers

func (*PepPacketData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PepPacketData) XXX_Size

func (m *PepPacketData) XXX_Size() int

func (*PepPacketData) XXX_Unmarshal

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

type PepPacketData_NoData

type PepPacketData_NoData struct {
	NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}

func (*PepPacketData_NoData) MarshalTo

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

func (*PepPacketData_NoData) MarshalToSizedBuffer

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

func (*PepPacketData_NoData) Size

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

type PortKeeper

type PortKeeper interface {
	BindPort(ctx context.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper.

type QueryAllEncryptedTxFromHeightRequest

type QueryAllEncryptedTxFromHeightRequest struct {
	TargetHeight uint64 `protobuf:"varint,1,opt,name=targetHeight,proto3" json:"targetHeight,omitempty"`
}

func (*QueryAllEncryptedTxFromHeightRequest) Descriptor

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

func (*QueryAllEncryptedTxFromHeightRequest) GetTargetHeight

func (m *QueryAllEncryptedTxFromHeightRequest) GetTargetHeight() uint64

func (*QueryAllEncryptedTxFromHeightRequest) Marshal

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

func (*QueryAllEncryptedTxFromHeightRequest) MarshalTo

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

func (*QueryAllEncryptedTxFromHeightRequest) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxFromHeightRequest) ProtoMessage

func (*QueryAllEncryptedTxFromHeightRequest) ProtoMessage()

func (*QueryAllEncryptedTxFromHeightRequest) Reset

func (*QueryAllEncryptedTxFromHeightRequest) Size

func (*QueryAllEncryptedTxFromHeightRequest) String

func (*QueryAllEncryptedTxFromHeightRequest) Unmarshal

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

func (*QueryAllEncryptedTxFromHeightRequest) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxFromHeightRequest) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Marshal

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

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Merge

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Size

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Unmarshal

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

type QueryAllEncryptedTxFromHeightResponse

type QueryAllEncryptedTxFromHeightResponse struct {
	EncryptedTxArray EncryptedTxArray `protobuf:"bytes,1,opt,name=encryptedTxArray,proto3" json:"encryptedTxArray"`
}

func (*QueryAllEncryptedTxFromHeightResponse) Descriptor

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

func (*QueryAllEncryptedTxFromHeightResponse) GetEncryptedTxArray

func (*QueryAllEncryptedTxFromHeightResponse) Marshal

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

func (*QueryAllEncryptedTxFromHeightResponse) MarshalTo

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

func (*QueryAllEncryptedTxFromHeightResponse) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxFromHeightResponse) ProtoMessage

func (*QueryAllEncryptedTxFromHeightResponse) ProtoMessage()

func (*QueryAllEncryptedTxFromHeightResponse) Reset

func (*QueryAllEncryptedTxFromHeightResponse) Size

func (*QueryAllEncryptedTxFromHeightResponse) String

func (*QueryAllEncryptedTxFromHeightResponse) Unmarshal

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

func (*QueryAllEncryptedTxFromHeightResponse) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxFromHeightResponse) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Marshal

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

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Merge

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Size

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Unmarshal

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

type QueryAllEncryptedTxRequest

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

func (*QueryAllEncryptedTxRequest) Descriptor

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

func (*QueryAllEncryptedTxRequest) GetPagination

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

func (*QueryAllEncryptedTxRequest) Marshal

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

func (*QueryAllEncryptedTxRequest) MarshalTo

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

func (*QueryAllEncryptedTxRequest) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxRequest) ProtoMessage

func (*QueryAllEncryptedTxRequest) ProtoMessage()

func (*QueryAllEncryptedTxRequest) Reset

func (m *QueryAllEncryptedTxRequest) Reset()

func (*QueryAllEncryptedTxRequest) Size

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

func (*QueryAllEncryptedTxRequest) String

func (m *QueryAllEncryptedTxRequest) String() string

func (*QueryAllEncryptedTxRequest) Unmarshal

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

func (*QueryAllEncryptedTxRequest) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxRequest) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxRequest) XXX_Marshal

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

func (*QueryAllEncryptedTxRequest) XXX_Merge

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

func (*QueryAllEncryptedTxRequest) XXX_Size

func (m *QueryAllEncryptedTxRequest) XXX_Size() int

func (*QueryAllEncryptedTxRequest) XXX_Unmarshal

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

type QueryAllEncryptedTxResponse

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

func (*QueryAllEncryptedTxResponse) Descriptor

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

func (*QueryAllEncryptedTxResponse) GetEncryptedTxArray

func (m *QueryAllEncryptedTxResponse) GetEncryptedTxArray() []EncryptedTxArray

func (*QueryAllEncryptedTxResponse) GetPagination

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

func (*QueryAllEncryptedTxResponse) Marshal

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

func (*QueryAllEncryptedTxResponse) MarshalTo

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

func (*QueryAllEncryptedTxResponse) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxResponse) ProtoMessage

func (*QueryAllEncryptedTxResponse) ProtoMessage()

func (*QueryAllEncryptedTxResponse) Reset

func (m *QueryAllEncryptedTxResponse) Reset()

func (*QueryAllEncryptedTxResponse) Size

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

func (*QueryAllEncryptedTxResponse) String

func (m *QueryAllEncryptedTxResponse) String() string

func (*QueryAllEncryptedTxResponse) Unmarshal

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

func (*QueryAllEncryptedTxResponse) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxResponse) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxResponse) XXX_Marshal

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

func (*QueryAllEncryptedTxResponse) XXX_Merge

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

func (*QueryAllEncryptedTxResponse) XXX_Size

func (m *QueryAllEncryptedTxResponse) XXX_Size() int

func (*QueryAllEncryptedTxResponse) XXX_Unmarshal

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

type QueryAllKeyshareRequest added in v0.6.0

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

func (*QueryAllKeyshareRequest) Descriptor added in v0.6.0

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

func (*QueryAllKeyshareRequest) GetPagination added in v0.6.0

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

func (*QueryAllKeyshareRequest) Marshal added in v0.6.0

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

func (*QueryAllKeyshareRequest) MarshalTo added in v0.6.0

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

func (*QueryAllKeyshareRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryAllKeyshareRequest) ProtoMessage added in v0.6.0

func (*QueryAllKeyshareRequest) ProtoMessage()

func (*QueryAllKeyshareRequest) Reset added in v0.6.0

func (m *QueryAllKeyshareRequest) Reset()

func (*QueryAllKeyshareRequest) Size added in v0.6.0

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

func (*QueryAllKeyshareRequest) String added in v0.6.0

func (m *QueryAllKeyshareRequest) String() string

func (*QueryAllKeyshareRequest) Unmarshal added in v0.6.0

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

func (*QueryAllKeyshareRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryAllKeyshareRequest) XXX_DiscardUnknown()

func (*QueryAllKeyshareRequest) XXX_Marshal added in v0.6.0

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

func (*QueryAllKeyshareRequest) XXX_Merge added in v0.6.0

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

func (*QueryAllKeyshareRequest) XXX_Size added in v0.6.0

func (m *QueryAllKeyshareRequest) XXX_Size() int

func (*QueryAllKeyshareRequest) XXX_Unmarshal added in v0.6.0

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

type QueryAllKeyshareResponse added in v0.6.0

type QueryAllKeyshareResponse struct {
	Keyshares  []*GenEncTxExecutionQueue `protobuf:"bytes,1,rep,name=keyshares,proto3" json:"keyshares,omitempty"`
	Pagination *query.PageResponse       `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllKeyshareResponse) Descriptor added in v0.6.0

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

func (*QueryAllKeyshareResponse) GetKeyshares added in v0.6.0

func (m *QueryAllKeyshareResponse) GetKeyshares() []*GenEncTxExecutionQueue

func (*QueryAllKeyshareResponse) GetPagination added in v0.6.0

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

func (*QueryAllKeyshareResponse) Marshal added in v0.6.0

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

func (*QueryAllKeyshareResponse) MarshalTo added in v0.6.0

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

func (*QueryAllKeyshareResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryAllKeyshareResponse) ProtoMessage added in v0.6.0

func (*QueryAllKeyshareResponse) ProtoMessage()

func (*QueryAllKeyshareResponse) Reset added in v0.6.0

func (m *QueryAllKeyshareResponse) Reset()

func (*QueryAllKeyshareResponse) Size added in v0.6.0

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

func (*QueryAllKeyshareResponse) String added in v0.6.0

func (m *QueryAllKeyshareResponse) String() string

func (*QueryAllKeyshareResponse) Unmarshal added in v0.6.0

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

func (*QueryAllKeyshareResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryAllKeyshareResponse) XXX_DiscardUnknown()

func (*QueryAllKeyshareResponse) XXX_Marshal added in v0.6.0

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

func (*QueryAllKeyshareResponse) XXX_Merge added in v0.6.0

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

func (*QueryAllKeyshareResponse) XXX_Size added in v0.6.0

func (m *QueryAllKeyshareResponse) XXX_Size() int

func (*QueryAllKeyshareResponse) XXX_Unmarshal added in v0.6.0

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

type QueryAllPepNonceRequest

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

func (*QueryAllPepNonceRequest) Descriptor

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

func (*QueryAllPepNonceRequest) GetPagination

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

func (*QueryAllPepNonceRequest) Marshal

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

func (*QueryAllPepNonceRequest) MarshalTo

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

func (*QueryAllPepNonceRequest) MarshalToSizedBuffer

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

func (*QueryAllPepNonceRequest) ProtoMessage

func (*QueryAllPepNonceRequest) ProtoMessage()

func (*QueryAllPepNonceRequest) Reset

func (m *QueryAllPepNonceRequest) Reset()

func (*QueryAllPepNonceRequest) Size

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

func (*QueryAllPepNonceRequest) String

func (m *QueryAllPepNonceRequest) String() string

func (*QueryAllPepNonceRequest) Unmarshal

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

func (*QueryAllPepNonceRequest) XXX_DiscardUnknown

func (m *QueryAllPepNonceRequest) XXX_DiscardUnknown()

func (*QueryAllPepNonceRequest) XXX_Marshal

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

func (*QueryAllPepNonceRequest) XXX_Merge

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

func (*QueryAllPepNonceRequest) XXX_Size

func (m *QueryAllPepNonceRequest) XXX_Size() int

func (*QueryAllPepNonceRequest) XXX_Unmarshal

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

type QueryAllPepNonceResponse

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

func (*QueryAllPepNonceResponse) Descriptor

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

func (*QueryAllPepNonceResponse) GetPagination

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

func (*QueryAllPepNonceResponse) GetPepNonce

func (m *QueryAllPepNonceResponse) GetPepNonce() []PepNonce

func (*QueryAllPepNonceResponse) Marshal

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

func (*QueryAllPepNonceResponse) MarshalTo

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

func (*QueryAllPepNonceResponse) MarshalToSizedBuffer

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

func (*QueryAllPepNonceResponse) ProtoMessage

func (*QueryAllPepNonceResponse) ProtoMessage()

func (*QueryAllPepNonceResponse) Reset

func (m *QueryAllPepNonceResponse) Reset()

func (*QueryAllPepNonceResponse) Size

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

func (*QueryAllPepNonceResponse) String

func (m *QueryAllPepNonceResponse) String() string

func (*QueryAllPepNonceResponse) Unmarshal

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

func (*QueryAllPepNonceResponse) XXX_DiscardUnknown

func (m *QueryAllPepNonceResponse) XXX_DiscardUnknown()

func (*QueryAllPepNonceResponse) XXX_Marshal

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

func (*QueryAllPepNonceResponse) XXX_Merge

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

func (*QueryAllPepNonceResponse) XXX_Size

func (m *QueryAllPepNonceResponse) XXX_Size() int

func (*QueryAllPepNonceResponse) XXX_Unmarshal

func (m *QueryAllPepNonceResponse) 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 EncryptedTx by index.
	EncryptedTx(ctx context.Context, in *QueryGetEncryptedTxRequest, opts ...grpc.CallOption) (*QueryGetEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAll(ctx context.Context, in *QueryAllEncryptedTxRequest, opts ...grpc.CallOption) (*QueryAllEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAllFromHeight(ctx context.Context, in *QueryAllEncryptedTxFromHeightRequest, opts ...grpc.CallOption) (*QueryAllEncryptedTxFromHeightResponse, error)
	// Queries a list of LatestHeight items.
	LatestHeight(ctx context.Context, in *QueryLatestHeightRequest, opts ...grpc.CallOption) (*QueryLatestHeightResponse, error)
	// Queries a PepNonce by index.
	PepNonce(ctx context.Context, in *QueryGetPepNonceRequest, opts ...grpc.CallOption) (*QueryGetPepNonceResponse, error)
	// Queries a list of PepNonce items.
	PepNonceAll(ctx context.Context, in *QueryAllPepNonceRequest, opts ...grpc.CallOption) (*QueryAllPepNonceResponse, error)
	// Queries the public keys
	PubKey(ctx context.Context, in *QueryPubKeyRequest, opts ...grpc.CallOption) (*QueryPubKeyResponse, error)
	KeyshareReq(ctx context.Context, in *QueryKeyshareRequest, opts ...grpc.CallOption) (*QueryKeyshareResponse, error)
	KeyshareReqAll(ctx context.Context, in *QueryAllKeyshareRequest, opts ...grpc.CallOption) (*QueryAllKeyshareResponse, 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 QueryGetEncryptedTxRequest

type QueryGetEncryptedTxRequest struct {
	TargetHeight uint64 `protobuf:"varint,1,opt,name=targetHeight,proto3" json:"targetHeight,omitempty"`
	Index        uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetEncryptedTxRequest) Descriptor

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

func (*QueryGetEncryptedTxRequest) GetIndex

func (m *QueryGetEncryptedTxRequest) GetIndex() uint64

func (*QueryGetEncryptedTxRequest) GetTargetHeight

func (m *QueryGetEncryptedTxRequest) GetTargetHeight() uint64

func (*QueryGetEncryptedTxRequest) Marshal

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

func (*QueryGetEncryptedTxRequest) MarshalTo

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

func (*QueryGetEncryptedTxRequest) MarshalToSizedBuffer

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

func (*QueryGetEncryptedTxRequest) ProtoMessage

func (*QueryGetEncryptedTxRequest) ProtoMessage()

func (*QueryGetEncryptedTxRequest) Reset

func (m *QueryGetEncryptedTxRequest) Reset()

func (*QueryGetEncryptedTxRequest) Size

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

func (*QueryGetEncryptedTxRequest) String

func (m *QueryGetEncryptedTxRequest) String() string

func (*QueryGetEncryptedTxRequest) Unmarshal

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

func (*QueryGetEncryptedTxRequest) XXX_DiscardUnknown

func (m *QueryGetEncryptedTxRequest) XXX_DiscardUnknown()

func (*QueryGetEncryptedTxRequest) XXX_Marshal

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

func (*QueryGetEncryptedTxRequest) XXX_Merge

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

func (*QueryGetEncryptedTxRequest) XXX_Size

func (m *QueryGetEncryptedTxRequest) XXX_Size() int

func (*QueryGetEncryptedTxRequest) XXX_Unmarshal

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

type QueryGetEncryptedTxResponse

type QueryGetEncryptedTxResponse struct {
	EncryptedTx EncryptedTx `protobuf:"bytes,1,opt,name=encryptedTx,proto3" json:"encryptedTx"`
}

func (*QueryGetEncryptedTxResponse) Descriptor

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

func (*QueryGetEncryptedTxResponse) GetEncryptedTx

func (m *QueryGetEncryptedTxResponse) GetEncryptedTx() EncryptedTx

func (*QueryGetEncryptedTxResponse) Marshal

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

func (*QueryGetEncryptedTxResponse) MarshalTo

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

func (*QueryGetEncryptedTxResponse) MarshalToSizedBuffer

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

func (*QueryGetEncryptedTxResponse) ProtoMessage

func (*QueryGetEncryptedTxResponse) ProtoMessage()

func (*QueryGetEncryptedTxResponse) Reset

func (m *QueryGetEncryptedTxResponse) Reset()

func (*QueryGetEncryptedTxResponse) Size

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

func (*QueryGetEncryptedTxResponse) String

func (m *QueryGetEncryptedTxResponse) String() string

func (*QueryGetEncryptedTxResponse) Unmarshal

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

func (*QueryGetEncryptedTxResponse) XXX_DiscardUnknown

func (m *QueryGetEncryptedTxResponse) XXX_DiscardUnknown()

func (*QueryGetEncryptedTxResponse) XXX_Marshal

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

func (*QueryGetEncryptedTxResponse) XXX_Merge

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

func (*QueryGetEncryptedTxResponse) XXX_Size

func (m *QueryGetEncryptedTxResponse) XXX_Size() int

func (*QueryGetEncryptedTxResponse) XXX_Unmarshal

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

type QueryGetPepNonceRequest

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

func (*QueryGetPepNonceRequest) Descriptor

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

func (*QueryGetPepNonceRequest) GetAddress

func (m *QueryGetPepNonceRequest) GetAddress() string

func (*QueryGetPepNonceRequest) Marshal

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

func (*QueryGetPepNonceRequest) MarshalTo

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

func (*QueryGetPepNonceRequest) MarshalToSizedBuffer

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

func (*QueryGetPepNonceRequest) ProtoMessage

func (*QueryGetPepNonceRequest) ProtoMessage()

func (*QueryGetPepNonceRequest) Reset

func (m *QueryGetPepNonceRequest) Reset()

func (*QueryGetPepNonceRequest) Size

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

func (*QueryGetPepNonceRequest) String

func (m *QueryGetPepNonceRequest) String() string

func (*QueryGetPepNonceRequest) Unmarshal

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

func (*QueryGetPepNonceRequest) XXX_DiscardUnknown

func (m *QueryGetPepNonceRequest) XXX_DiscardUnknown()

func (*QueryGetPepNonceRequest) XXX_Marshal

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

func (*QueryGetPepNonceRequest) XXX_Merge

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

func (*QueryGetPepNonceRequest) XXX_Size

func (m *QueryGetPepNonceRequest) XXX_Size() int

func (*QueryGetPepNonceRequest) XXX_Unmarshal

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

type QueryGetPepNonceResponse

type QueryGetPepNonceResponse struct {
	PepNonce PepNonce `protobuf:"bytes,1,opt,name=pepNonce,proto3" json:"pepNonce"`
}

func (*QueryGetPepNonceResponse) Descriptor

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

func (*QueryGetPepNonceResponse) GetPepNonce

func (m *QueryGetPepNonceResponse) GetPepNonce() PepNonce

func (*QueryGetPepNonceResponse) Marshal

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

func (*QueryGetPepNonceResponse) MarshalTo

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

func (*QueryGetPepNonceResponse) MarshalToSizedBuffer

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

func (*QueryGetPepNonceResponse) ProtoMessage

func (*QueryGetPepNonceResponse) ProtoMessage()

func (*QueryGetPepNonceResponse) Reset

func (m *QueryGetPepNonceResponse) Reset()

func (*QueryGetPepNonceResponse) Size

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

func (*QueryGetPepNonceResponse) String

func (m *QueryGetPepNonceResponse) String() string

func (*QueryGetPepNonceResponse) Unmarshal

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

func (*QueryGetPepNonceResponse) XXX_DiscardUnknown

func (m *QueryGetPepNonceResponse) XXX_DiscardUnknown()

func (*QueryGetPepNonceResponse) XXX_Marshal

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

func (*QueryGetPepNonceResponse) XXX_Merge

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

func (*QueryGetPepNonceResponse) XXX_Size

func (m *QueryGetPepNonceResponse) XXX_Size() int

func (*QueryGetPepNonceResponse) XXX_Unmarshal

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

type QueryKeyshareRequest added in v0.6.0

type QueryKeyshareRequest struct {
	ReqId string `protobuf:"bytes,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

func (*QueryKeyshareRequest) Descriptor added in v0.6.0

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

func (*QueryKeyshareRequest) GetReqId added in v0.6.0

func (m *QueryKeyshareRequest) GetReqId() string

func (*QueryKeyshareRequest) Marshal added in v0.6.0

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

func (*QueryKeyshareRequest) MarshalTo added in v0.6.0

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

func (*QueryKeyshareRequest) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryKeyshareRequest) ProtoMessage added in v0.6.0

func (*QueryKeyshareRequest) ProtoMessage()

func (*QueryKeyshareRequest) Reset added in v0.6.0

func (m *QueryKeyshareRequest) Reset()

func (*QueryKeyshareRequest) Size added in v0.6.0

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

func (*QueryKeyshareRequest) String added in v0.6.0

func (m *QueryKeyshareRequest) String() string

func (*QueryKeyshareRequest) Unmarshal added in v0.6.0

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

func (*QueryKeyshareRequest) XXX_DiscardUnknown added in v0.6.0

func (m *QueryKeyshareRequest) XXX_DiscardUnknown()

func (*QueryKeyshareRequest) XXX_Marshal added in v0.6.0

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

func (*QueryKeyshareRequest) XXX_Merge added in v0.6.0

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

func (*QueryKeyshareRequest) XXX_Size added in v0.6.0

func (m *QueryKeyshareRequest) XXX_Size() int

func (*QueryKeyshareRequest) XXX_Unmarshal added in v0.6.0

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

type QueryKeyshareResponse added in v0.6.0

type QueryKeyshareResponse struct {
	Keyshare *GenEncTxExecutionQueue `protobuf:"bytes,1,opt,name=keyshare,proto3" json:"keyshare,omitempty"`
}

func (*QueryKeyshareResponse) Descriptor added in v0.6.0

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

func (*QueryKeyshareResponse) GetKeyshare added in v0.6.0

func (*QueryKeyshareResponse) Marshal added in v0.6.0

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

func (*QueryKeyshareResponse) MarshalTo added in v0.6.0

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

func (*QueryKeyshareResponse) MarshalToSizedBuffer added in v0.6.0

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

func (*QueryKeyshareResponse) ProtoMessage added in v0.6.0

func (*QueryKeyshareResponse) ProtoMessage()

func (*QueryKeyshareResponse) Reset added in v0.6.0

func (m *QueryKeyshareResponse) Reset()

func (*QueryKeyshareResponse) Size added in v0.6.0

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

func (*QueryKeyshareResponse) String added in v0.6.0

func (m *QueryKeyshareResponse) String() string

func (*QueryKeyshareResponse) Unmarshal added in v0.6.0

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

func (*QueryKeyshareResponse) XXX_DiscardUnknown added in v0.6.0

func (m *QueryKeyshareResponse) XXX_DiscardUnknown()

func (*QueryKeyshareResponse) XXX_Marshal added in v0.6.0

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

func (*QueryKeyshareResponse) XXX_Merge added in v0.6.0

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

func (*QueryKeyshareResponse) XXX_Size added in v0.6.0

func (m *QueryKeyshareResponse) XXX_Size() int

func (*QueryKeyshareResponse) XXX_Unmarshal added in v0.6.0

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

type QueryLatestHeightRequest

type QueryLatestHeightRequest struct {
}

func (*QueryLatestHeightRequest) Descriptor

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

func (*QueryLatestHeightRequest) Marshal

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

func (*QueryLatestHeightRequest) MarshalTo

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

func (*QueryLatestHeightRequest) MarshalToSizedBuffer

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

func (*QueryLatestHeightRequest) ProtoMessage

func (*QueryLatestHeightRequest) ProtoMessage()

func (*QueryLatestHeightRequest) Reset

func (m *QueryLatestHeightRequest) Reset()

func (*QueryLatestHeightRequest) Size

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

func (*QueryLatestHeightRequest) String

func (m *QueryLatestHeightRequest) String() string

func (*QueryLatestHeightRequest) Unmarshal

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

func (*QueryLatestHeightRequest) XXX_DiscardUnknown

func (m *QueryLatestHeightRequest) XXX_DiscardUnknown()

func (*QueryLatestHeightRequest) XXX_Marshal

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

func (*QueryLatestHeightRequest) XXX_Merge

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

func (*QueryLatestHeightRequest) XXX_Size

func (m *QueryLatestHeightRequest) XXX_Size() int

func (*QueryLatestHeightRequest) XXX_Unmarshal

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

type QueryLatestHeightResponse

type QueryLatestHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*QueryLatestHeightResponse) Descriptor

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

func (*QueryLatestHeightResponse) GetHeight

func (m *QueryLatestHeightResponse) GetHeight() uint64

func (*QueryLatestHeightResponse) Marshal

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

func (*QueryLatestHeightResponse) MarshalTo

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

func (*QueryLatestHeightResponse) MarshalToSizedBuffer

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

func (*QueryLatestHeightResponse) ProtoMessage

func (*QueryLatestHeightResponse) ProtoMessage()

func (*QueryLatestHeightResponse) Reset

func (m *QueryLatestHeightResponse) Reset()

func (*QueryLatestHeightResponse) Size

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

func (*QueryLatestHeightResponse) String

func (m *QueryLatestHeightResponse) String() string

func (*QueryLatestHeightResponse) Unmarshal

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

func (*QueryLatestHeightResponse) XXX_DiscardUnknown

func (m *QueryLatestHeightResponse) XXX_DiscardUnknown()

func (*QueryLatestHeightResponse) XXX_Marshal

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

func (*QueryLatestHeightResponse) XXX_Merge

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

func (*QueryLatestHeightResponse) XXX_Size

func (m *QueryLatestHeightResponse) XXX_Size() int

func (*QueryLatestHeightResponse) XXX_Unmarshal

func (m *QueryLatestHeightResponse) 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 QueryPubKeyRequest

type QueryPubKeyRequest struct {
}

func (*QueryPubKeyRequest) Descriptor

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

func (*QueryPubKeyRequest) Marshal

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

func (*QueryPubKeyRequest) MarshalTo

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

func (*QueryPubKeyRequest) MarshalToSizedBuffer

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

func (*QueryPubKeyRequest) ProtoMessage

func (*QueryPubKeyRequest) ProtoMessage()

func (*QueryPubKeyRequest) Reset

func (m *QueryPubKeyRequest) Reset()

func (*QueryPubKeyRequest) Size

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

func (*QueryPubKeyRequest) String

func (m *QueryPubKeyRequest) String() string

func (*QueryPubKeyRequest) Unmarshal

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

func (*QueryPubKeyRequest) XXX_DiscardUnknown

func (m *QueryPubKeyRequest) XXX_DiscardUnknown()

func (*QueryPubKeyRequest) XXX_Marshal

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

func (*QueryPubKeyRequest) XXX_Merge

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

func (*QueryPubKeyRequest) XXX_Size

func (m *QueryPubKeyRequest) XXX_Size() int

func (*QueryPubKeyRequest) XXX_Unmarshal

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

type QueryPubKeyResponse

type QueryPubKeyResponse struct {
	ActivePubKey types.ActivePublicKey `protobuf:"bytes,1,opt,name=activePubKey,proto3" json:"activePubKey"`
	QueuedPubKey types.QueuedPublicKey `protobuf:"bytes,2,opt,name=queuedPubKey,proto3" json:"queuedPubKey"`
}

func (*QueryPubKeyResponse) Descriptor

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

func (*QueryPubKeyResponse) GetActivePubKey

func (m *QueryPubKeyResponse) GetActivePubKey() types.ActivePublicKey

func (*QueryPubKeyResponse) GetQueuedPubKey

func (m *QueryPubKeyResponse) GetQueuedPubKey() types.QueuedPublicKey

func (*QueryPubKeyResponse) Marshal

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

func (*QueryPubKeyResponse) MarshalTo

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

func (*QueryPubKeyResponse) MarshalToSizedBuffer

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

func (*QueryPubKeyResponse) ProtoMessage

func (*QueryPubKeyResponse) ProtoMessage()

func (*QueryPubKeyResponse) Reset

func (m *QueryPubKeyResponse) Reset()

func (*QueryPubKeyResponse) Size

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

func (*QueryPubKeyResponse) String

func (m *QueryPubKeyResponse) String() string

func (*QueryPubKeyResponse) Unmarshal

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

func (*QueryPubKeyResponse) XXX_DiscardUnknown

func (m *QueryPubKeyResponse) XXX_DiscardUnknown()

func (*QueryPubKeyResponse) XXX_Marshal

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

func (*QueryPubKeyResponse) XXX_Merge

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

func (*QueryPubKeyResponse) XXX_Size

func (m *QueryPubKeyResponse) XXX_Size() int

func (*QueryPubKeyResponse) XXX_Unmarshal

func (m *QueryPubKeyResponse) 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 EncryptedTx by index.
	EncryptedTx(context.Context, *QueryGetEncryptedTxRequest) (*QueryGetEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAll(context.Context, *QueryAllEncryptedTxRequest) (*QueryAllEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAllFromHeight(context.Context, *QueryAllEncryptedTxFromHeightRequest) (*QueryAllEncryptedTxFromHeightResponse, error)
	// Queries a list of LatestHeight items.
	LatestHeight(context.Context, *QueryLatestHeightRequest) (*QueryLatestHeightResponse, error)
	// Queries a PepNonce by index.
	PepNonce(context.Context, *QueryGetPepNonceRequest) (*QueryGetPepNonceResponse, error)
	// Queries a list of PepNonce items.
	PepNonceAll(context.Context, *QueryAllPepNonceRequest) (*QueryAllPepNonceResponse, error)
	// Queries the public keys
	PubKey(context.Context, *QueryPubKeyRequest) (*QueryPubKeyResponse, error)
	KeyshareReq(context.Context, *QueryKeyshareRequest) (*QueryKeyshareResponse, error)
	KeyshareReqAll(context.Context, *QueryAllKeyshareRequest) (*QueryAllKeyshareResponse, error)
}

QueryServer is the server API for Query service.

type RequestId added in v0.8.3

type RequestId struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ReqId   string `protobuf:"bytes,2,opt,name=reqId,proto3" json:"reqId,omitempty"`
}

func (*RequestId) Descriptor added in v0.8.3

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

func (*RequestId) GetCreator added in v0.8.3

func (m *RequestId) GetCreator() string

func (*RequestId) GetReqId added in v0.8.3

func (m *RequestId) GetReqId() string

func (*RequestId) Marshal added in v0.8.3

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

func (*RequestId) MarshalTo added in v0.8.3

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

func (*RequestId) MarshalToSizedBuffer added in v0.8.3

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

func (*RequestId) ProtoMessage added in v0.8.3

func (*RequestId) ProtoMessage()

func (*RequestId) Reset added in v0.8.3

func (m *RequestId) Reset()

func (*RequestId) Size added in v0.8.3

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

func (*RequestId) String added in v0.8.3

func (m *RequestId) String() string

func (*RequestId) Unmarshal added in v0.8.3

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

func (*RequestId) XXX_DiscardUnknown added in v0.8.3

func (m *RequestId) XXX_DiscardUnknown()

func (*RequestId) XXX_Marshal added in v0.8.3

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

func (*RequestId) XXX_Merge added in v0.8.3

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

func (*RequestId) XXX_Size added in v0.8.3

func (m *RequestId) XXX_Size() int

func (*RequestId) XXX_Unmarshal added in v0.8.3

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

type ScopedKeeper

type ScopedKeeper interface {
	GetCapability(ctx context.Context, name string) (*capabilitytypes.Capability, bool)
	AuthenticateCapability(ctx context.Context, cap *capabilitytypes.Capability, name string) bool
	ClaimCapability(ctx context.Context, cap *capabilitytypes.Capability, name string) error
}

ScopedKeeper defines the expected IBC scoped keeper.

type TrustedCounterParty

type TrustedCounterParty struct {
	ClientId     string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	ChannelId    string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

func (*TrustedCounterParty) Descriptor

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

func (*TrustedCounterParty) GetChannelId

func (m *TrustedCounterParty) GetChannelId() string

func (*TrustedCounterParty) GetClientId

func (m *TrustedCounterParty) GetClientId() string

func (*TrustedCounterParty) GetConnectionId

func (m *TrustedCounterParty) GetConnectionId() string

func (*TrustedCounterParty) Marshal

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

func (*TrustedCounterParty) MarshalTo

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

func (*TrustedCounterParty) MarshalToSizedBuffer

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

func (*TrustedCounterParty) ProtoMessage

func (*TrustedCounterParty) ProtoMessage()

func (*TrustedCounterParty) Reset

func (m *TrustedCounterParty) Reset()

func (*TrustedCounterParty) Size

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

func (*TrustedCounterParty) String

func (m *TrustedCounterParty) String() string

func (*TrustedCounterParty) Unmarshal

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

func (*TrustedCounterParty) XXX_DiscardUnknown

func (m *TrustedCounterParty) XXX_DiscardUnknown()

func (*TrustedCounterParty) XXX_Marshal

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

func (*TrustedCounterParty) XXX_Merge

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

func (*TrustedCounterParty) XXX_Size

func (m *TrustedCounterParty) XXX_Size() int

func (*TrustedCounterParty) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateAggregatedKeyShare

func (*UnimplementedMsgServer) GetGeneralKeyshare added in v0.4.0

func (*UnimplementedMsgServer) RequestGeneralKeyshare added in v0.4.0

func (*UnimplementedMsgServer) SubmitEncryptedTx

func (*UnimplementedMsgServer) SubmitGeneralEncryptedTx added in v0.6.0

func (*UnimplementedMsgServer) UpdateParams added in v0.7.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) EncryptedTx

func (*UnimplementedQueryServer) EncryptedTxAll

func (*UnimplementedQueryServer) KeyshareReq added in v0.6.0

func (*UnimplementedQueryServer) KeyshareReqAll added in v0.6.0

func (*UnimplementedQueryServer) LatestHeight

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PepNonce

func (*UnimplementedQueryServer) PepNonceAll

func (*UnimplementedQueryServer) PubKey

Jump to

Keyboard shortcuts

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