migration

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

DO NOT DELETE this file. It is intentionally added and kept empty to ensure an empty package exists and can be referenced to prevent the ignite CLI from throwing errors during proto generation.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Params_FullMethodName                   = "/pocket.migration.Query/Params"
	Query_MorseClaimableAccount_FullMethodName    = "/pocket.migration.Query/MorseClaimableAccount"
	Query_MorseClaimableAccountAll_FullMethodName = "/pocket.migration.Query/MorseClaimableAccountAll"
)
View Source
const (
	Msg_UpdateParams_FullMethodName                 = "/pocket.migration.Msg/UpdateParams"
	Msg_ImportMorseClaimableAccounts_FullMethodName = "/pocket.migration.Msg/ImportMorseClaimableAccounts"
	Msg_ClaimMorseAccount_FullMethodName            = "/pocket.migration.Msg/ClaimMorseAccount"
	Msg_ClaimMorseApplication_FullMethodName        = "/pocket.migration.Msg/ClaimMorseApplication"
	Msg_ClaimMorseSupplier_FullMethodName           = "/pocket.migration.Msg/ClaimMorseSupplier"
)

Variables

View Source
var File_pocket_migration_event_proto protoreflect.FileDescriptor
View Source
var File_pocket_migration_genesis_proto protoreflect.FileDescriptor
View Source
var File_pocket_migration_morse_offchain_proto protoreflect.FileDescriptor
View Source
var File_pocket_migration_morse_onchain_proto protoreflect.FileDescriptor
View Source
var File_pocket_migration_params_proto protoreflect.FileDescriptor
View Source
var File_pocket_migration_query_proto protoreflect.FileDescriptor
View Source
var File_pocket_migration_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pocket.migration.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "ImportMorseClaimableAccounts",
			Handler:    _Msg_ImportMorseClaimableAccounts_Handler,
		},
		{
			MethodName: "ClaimMorseAccount",
			Handler:    _Msg_ClaimMorseAccount_Handler,
		},
		{
			MethodName: "ClaimMorseApplication",
			Handler:    _Msg_ClaimMorseApplication_Handler,
		},
		{
			MethodName: "ClaimMorseSupplier",
			Handler:    _Msg_ClaimMorseSupplier_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pocket/migration/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pocket.migration.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "MorseClaimableAccount",
			Handler:    _Query_MorseClaimableAccount_Handler,
		},
		{
			MethodName: "MorseClaimableAccountAll",
			Handler:    _Query_MorseClaimableAccountAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pocket/migration/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type EventImportMorseClaimableAccounts

type EventImportMorseClaimableAccounts struct {

	// The height (on Shannon) at which the MorseAccountState was created on-chain.
	CreatedAtHeight int64 `protobuf:"varint,1,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"`
	// The onchain computed sha256 hash of the entire MorseAccountState containing the MorseClaimableAccounts which were imported.
	MorseAccountStateHash []byte `` /* 128-byte string literal not displayed */
	// Number of claimable accounts (EOAs) collected from Morse state export
	// NOTE: Account balances include consolidated application and supplier actor stakes
	NumAccounts uint64 `protobuf:"varint,3,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"`
	// contains filtered or unexported fields
}

EventImportMorseClaimableAccounts is emitted when the MorseClaimableAccounts are created on-chain.

func (*EventImportMorseClaimableAccounts) Descriptor deprecated

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

Deprecated: Use EventImportMorseClaimableAccounts.ProtoReflect.Descriptor instead.

func (*EventImportMorseClaimableAccounts) GetCreatedAtHeight

func (x *EventImportMorseClaimableAccounts) GetCreatedAtHeight() int64

func (*EventImportMorseClaimableAccounts) GetMorseAccountStateHash

func (x *EventImportMorseClaimableAccounts) GetMorseAccountStateHash() []byte

func (*EventImportMorseClaimableAccounts) GetNumAccounts

func (x *EventImportMorseClaimableAccounts) GetNumAccounts() uint64

func (*EventImportMorseClaimableAccounts) ProtoMessage

func (*EventImportMorseClaimableAccounts) ProtoMessage()

func (*EventImportMorseClaimableAccounts) ProtoReflect

func (*EventImportMorseClaimableAccounts) Reset

func (*EventImportMorseClaimableAccounts) String

type EventMorseAccountClaimed

type EventMorseAccountClaimed struct {

	// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The unstaked balance which was claimed.
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// The bech32-encoded address of the Shannon account to which the claimed balance will be minted.
	ShannonDestAddress string `protobuf:"bytes,3,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// The hex-encoded address of the Morse account whose balance will be claimed.
	MorseSrcAddress string `protobuf:"bytes,4,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// contains filtered or unexported fields
}

EventMorseAccountClaimed is emitted when a MorseAccount is claimed on-chain.

func (*EventMorseAccountClaimed) Descriptor deprecated

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

Deprecated: Use EventMorseAccountClaimed.ProtoReflect.Descriptor instead.

func (*EventMorseAccountClaimed) GetClaimedBalance

func (x *EventMorseAccountClaimed) GetClaimedBalance() *v1beta1.Coin

func (*EventMorseAccountClaimed) GetMorseSrcAddress

func (x *EventMorseAccountClaimed) GetMorseSrcAddress() string

func (*EventMorseAccountClaimed) GetSessionEndHeight

func (x *EventMorseAccountClaimed) GetSessionEndHeight() int64

func (*EventMorseAccountClaimed) GetShannonDestAddress

func (x *EventMorseAccountClaimed) GetShannonDestAddress() string

func (*EventMorseAccountClaimed) ProtoMessage

func (*EventMorseAccountClaimed) ProtoMessage()

func (*EventMorseAccountClaimed) ProtoReflect

func (x *EventMorseAccountClaimed) ProtoReflect() protoreflect.Message

func (*EventMorseAccountClaimed) Reset

func (x *EventMorseAccountClaimed) Reset()

func (*EventMorseAccountClaimed) String

func (x *EventMorseAccountClaimed) String() string

type EventMorseApplicationClaimed

type EventMorseApplicationClaimed struct {

	// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The unstaked balance which was claimed.
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// The hex-encoded address of the Morse account whose balance will be claimed.
	MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The stake of the application which was staked as a result of the claim.
	ClaimedApplicationStake *v1beta1.Coin `` /* 132-byte string literal not displayed */
	// The application which was staked as a result of the claim.
	// This is equivalent to the amount it had staked on Morse.
	Application *application.Application `protobuf:"bytes,5,opt,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

EventMorseApplicationClaimed is emitted when a MorseAccount is claimed on-chain as a staked application.

func (*EventMorseApplicationClaimed) Descriptor deprecated

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

Deprecated: Use EventMorseApplicationClaimed.ProtoReflect.Descriptor instead.

func (*EventMorseApplicationClaimed) GetApplication

func (*EventMorseApplicationClaimed) GetClaimedApplicationStake

func (x *EventMorseApplicationClaimed) GetClaimedApplicationStake() *v1beta1.Coin

func (*EventMorseApplicationClaimed) GetClaimedBalance

func (x *EventMorseApplicationClaimed) GetClaimedBalance() *v1beta1.Coin

func (*EventMorseApplicationClaimed) GetMorseSrcAddress

func (x *EventMorseApplicationClaimed) GetMorseSrcAddress() string

func (*EventMorseApplicationClaimed) GetSessionEndHeight

func (x *EventMorseApplicationClaimed) GetSessionEndHeight() int64

func (*EventMorseApplicationClaimed) ProtoMessage

func (*EventMorseApplicationClaimed) ProtoMessage()

func (*EventMorseApplicationClaimed) ProtoReflect

func (*EventMorseApplicationClaimed) Reset

func (x *EventMorseApplicationClaimed) Reset()

func (*EventMorseApplicationClaimed) String

type EventMorseSupplierClaimed

type EventMorseSupplierClaimed struct {

	// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The unstaked balance which was claimed.
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// The hex-encoded address of the Morse account whose balance will be claimed.
	MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The stake of the Supplier which was staked as a result of the claim.
	// This will be equivalent to the amount it had staked on Morse.
	ClaimedSupplierStake *v1beta1.Coin `protobuf:"bytes,4,opt,name=claimed_supplier_stake,json=claimedSupplierStake,proto3" json:"claimed_supplier_stake,omitempty"`
	// The Supplier which was staked as a result of the claim.
	Supplier *shared.Supplier `protobuf:"bytes,5,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// contains filtered or unexported fields
}

EventMorseSupplierClaimed is emitted when a MorseAccount is claimed on-chain as a staked Supplier.

func (*EventMorseSupplierClaimed) Descriptor deprecated

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

Deprecated: Use EventMorseSupplierClaimed.ProtoReflect.Descriptor instead.

func (*EventMorseSupplierClaimed) GetClaimedBalance

func (x *EventMorseSupplierClaimed) GetClaimedBalance() *v1beta1.Coin

func (*EventMorseSupplierClaimed) GetClaimedSupplierStake

func (x *EventMorseSupplierClaimed) GetClaimedSupplierStake() *v1beta1.Coin

func (*EventMorseSupplierClaimed) GetMorseSrcAddress

func (x *EventMorseSupplierClaimed) GetMorseSrcAddress() string

func (*EventMorseSupplierClaimed) GetSessionEndHeight

func (x *EventMorseSupplierClaimed) GetSessionEndHeight() int64

func (*EventMorseSupplierClaimed) GetSupplier

func (x *EventMorseSupplierClaimed) GetSupplier() *shared.Supplier

func (*EventMorseSupplierClaimed) ProtoMessage

func (*EventMorseSupplierClaimed) ProtoMessage()

func (*EventMorseSupplierClaimed) ProtoReflect

func (*EventMorseSupplierClaimed) Reset

func (x *EventMorseSupplierClaimed) Reset()

func (*EventMorseSupplierClaimed) String

func (x *EventMorseSupplierClaimed) String() string

type GenesisState

type GenesisState struct {

	// params defines all the parameters of the module.
	Params                    *Params                  `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	MorseClaimableAccountList []*MorseClaimableAccount `protobuf:"bytes,2,rep,name=morseClaimableAccountList,proto3" json:"morseClaimableAccountList,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the migration module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetMorseClaimableAccountList

func (x *GenesisState) GetMorseClaimableAccountList() []*MorseClaimableAccount

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MorseAccount

type MorseAccount struct {

	// A hex-encoded representation of the address corresponding to a Morse application's ed25519 public key.
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The ed25519 public key of the account.
	PubKey *MorsePublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// The account balance; this does not include any actor stakes.
	Coins []*v1beta1.Coin `protobuf:"bytes,3,rep,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

MorseAccount is an analog of the Morse ProtoBaseAccount type. It encapsulates the minimum information required to import accounts.

See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/auth/auth.proto#L14.

func (*MorseAccount) Descriptor deprecated

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

Deprecated: Use MorseAccount.ProtoReflect.Descriptor instead.

func (*MorseAccount) GetAddress

func (x *MorseAccount) GetAddress() []byte

func (*MorseAccount) GetCoins

func (x *MorseAccount) GetCoins() []*v1beta1.Coin

func (*MorseAccount) GetPubKey

func (x *MorseAccount) GetPubKey() *MorsePublicKey

func (*MorseAccount) ProtoMessage

func (*MorseAccount) ProtoMessage()

func (*MorseAccount) ProtoReflect

func (x *MorseAccount) ProtoReflect() protoreflect.Message

func (*MorseAccount) Reset

func (x *MorseAccount) Reset()

func (*MorseAccount) String

func (x *MorseAccount) String() string

type MorseAccountState

type MorseAccountState struct {
	Accounts []*MorseClaimableAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

MorseAccountState is the onchain representation of all account state to be migrated from Morse. It is NEVER persisted onchain but is a dependency of the MsgImportMorseClaimableAccount handler. It's main purpose is to expose the #GetHash() method for verifying the integrity of all MorseClaimableAccounts.

func (*MorseAccountState) Descriptor deprecated

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

Deprecated: Use MorseAccountState.ProtoReflect.Descriptor instead.

func (*MorseAccountState) GetAccounts

func (x *MorseAccountState) GetAccounts() []*MorseClaimableAccount

func (*MorseAccountState) ProtoMessage

func (*MorseAccountState) ProtoMessage()

func (*MorseAccountState) ProtoReflect

func (x *MorseAccountState) ProtoReflect() protoreflect.Message

func (*MorseAccountState) Reset

func (x *MorseAccountState) Reset()

func (*MorseAccountState) String

func (x *MorseAccountState) String() string

type MorseApplication

type MorseApplication struct {

	// Address is a binary representation of the address corresponding
	// to a Morse application's ed25519 public key.
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// PublicKey is the binary representation of a Morse application's ed25519 public key.
	PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// TODO_MAINNET(@Olshansk):  Should status and/or jailed be considered during the migration, and if so, how?
	Jailed bool  `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"`
	Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	// The string representation of the BigInt amount of upokt.
	StakedTokens string `protobuf:"bytes,6,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens,omitempty"`
	// contains filtered or unexported fields
}

MorseApplication is a subset of the Morse ProtoApplication type. It encapsulates the minimum information required to import Morse applications.

See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/apps/apps.proto#L16

func (*MorseApplication) Descriptor deprecated

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

Deprecated: Use MorseApplication.ProtoReflect.Descriptor instead.

func (*MorseApplication) GetAddress

func (x *MorseApplication) GetAddress() []byte

func (*MorseApplication) GetJailed

func (x *MorseApplication) GetJailed() bool

func (*MorseApplication) GetPublicKey

func (x *MorseApplication) GetPublicKey() []byte

func (*MorseApplication) GetStakedTokens

func (x *MorseApplication) GetStakedTokens() string

func (*MorseApplication) GetStatus

func (x *MorseApplication) GetStatus() int32

func (*MorseApplication) ProtoMessage

func (*MorseApplication) ProtoMessage()

func (*MorseApplication) ProtoReflect

func (x *MorseApplication) ProtoReflect() protoreflect.Message

func (*MorseApplication) Reset

func (x *MorseApplication) Reset()

func (*MorseApplication) String

func (x *MorseApplication) String() string

type MorseApplications

type MorseApplications struct {
	Applications []*MorseApplication `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around the list of MorseApplications, necessary in order to conform to the Morse genesis structure. It encapsulates the minimum information required to import Morse applications.

See: https://github.com/pokt-network/pocket-core/blob/staging/x/apps/types/genesis.go#L4

func (*MorseApplications) Descriptor deprecated

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

Deprecated: Use MorseApplications.ProtoReflect.Descriptor instead.

func (*MorseApplications) GetApplications

func (x *MorseApplications) GetApplications() []*MorseApplication

func (*MorseApplications) ProtoMessage

func (*MorseApplications) ProtoMessage()

func (*MorseApplications) ProtoReflect

func (x *MorseApplications) ProtoReflect() protoreflect.Message

func (*MorseApplications) Reset

func (x *MorseApplications) Reset()

func (*MorseApplications) String

func (x *MorseApplications) String() string

type MorseAuth

type MorseAuth struct {
	Accounts []*MorseAuthAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around a list of MorseAuthAccount. It encapsulates the minimum information required to import Morse accounts.

See: https://github.com/pokt-network/pocket-core/blob/staging/x/auth/types/genesis.go#L9

func (*MorseAuth) Descriptor deprecated

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

Deprecated: Use MorseAuth.ProtoReflect.Descriptor instead.

func (*MorseAuth) GetAccounts

func (x *MorseAuth) GetAccounts() []*MorseAuthAccount

func (*MorseAuth) ProtoMessage

func (*MorseAuth) ProtoMessage()

func (*MorseAuth) ProtoReflect

func (x *MorseAuth) ProtoReflect() protoreflect.Message

func (*MorseAuth) Reset

func (x *MorseAuth) Reset()

func (*MorseAuth) String

func (x *MorseAuth) String() string

type MorseAuthAccount

type MorseAuthAccount struct {
	Type_ string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value *MorseAccount `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MorseAccount: * Wraps MorseAuthAccount information to conform to Morse genesis structure * Represents only externally owned accounts (not module accounts) * Avoids pb.Any serialization since only external accounts needed for migration

func (*MorseAuthAccount) Descriptor deprecated

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

Deprecated: Use MorseAuthAccount.ProtoReflect.Descriptor instead.

func (*MorseAuthAccount) GetType_

func (x *MorseAuthAccount) GetType_() string

func (*MorseAuthAccount) GetValue

func (x *MorseAuthAccount) GetValue() *MorseAccount

func (*MorseAuthAccount) ProtoMessage

func (*MorseAuthAccount) ProtoMessage()

func (*MorseAuthAccount) ProtoReflect

func (x *MorseAuthAccount) ProtoReflect() protoreflect.Message

func (*MorseAuthAccount) Reset

func (x *MorseAuthAccount) Reset()

func (*MorseAuthAccount) String

func (x *MorseAuthAccount) String() string

type MorseClaimableAccount

type MorseClaimableAccount struct {

	// The bech32-encoded address of the Shannon account to which the claimed balance will be minted.
	// This field is intended to remain empty until the account has been claimed.
	ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// The hex-encoded address of the Morse account whose balance will be claimed.
	MorseSrcAddress string `protobuf:"bytes,2,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The ed25519 public key of the account.
	PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// The unstaked upokt tokens (i.e. account balance) available for claiming.
	UnstakedBalance *v1beta1.Coin `protobuf:"bytes,5,opt,name=unstaked_balance,json=unstakedBalance,proto3" json:"unstaked_balance,omitempty"`
	// The staked tokens associated with a supplier actor which corresponds to this account address.
	// DEV_NOTE: A few contextual notes related to Morse:
	// - A Supplier is called a Servicer or Node (not a full node) in Morse
	// - All Validators are Servicers, not all servicers are Validators
	// - Automatically, the top 100 staked Servicers are validator
	// - This only accounts for servicer stake balance transition
	// TODO_MAINNET(@Olshansk): Develop a strategy for bootstrapping validators in Shannon by working with the cosmos ecosystem
	SupplierStake *v1beta1.Coin `protobuf:"bytes,6,opt,name=supplier_stake,json=supplierStake,proto3" json:"supplier_stake,omitempty"`
	// The staked tokens associated with an application actor which corresponds to this account address.
	ApplicationStake *v1beta1.Coin `protobuf:"bytes,7,opt,name=application_stake,json=applicationStake,proto3" json:"application_stake,omitempty"`
	// The Shannon height at which the account was claimed.
	// This field is intended to remain empty until the account has been claimed.
	ClaimedAtHeight int64 `protobuf:"varint,8,opt,name=claimed_at_height,json=claimedAtHeight,proto3" json:"claimed_at_height,omitempty"`
	// contains filtered or unexported fields
}

MorseClaimableAccount is the onchain (persisted) representation of a Morse account which is claimable as part of the Morse -> Shannon migration. They are intended to be created during MorseAccountState import (see: MsgImportMorseClaimableAccount). It is created ONLY ONCE and NEVER deleted (per morse_src_address per network / re-genesis). It is updated ONLY ONCE, when it is claimed (per morse_src_address per network / re-genesis).

func (*MorseClaimableAccount) Descriptor deprecated

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

Deprecated: Use MorseClaimableAccount.ProtoReflect.Descriptor instead.

func (*MorseClaimableAccount) GetApplicationStake

func (x *MorseClaimableAccount) GetApplicationStake() *v1beta1.Coin

func (*MorseClaimableAccount) GetClaimedAtHeight

func (x *MorseClaimableAccount) GetClaimedAtHeight() int64

func (*MorseClaimableAccount) GetMorseSrcAddress

func (x *MorseClaimableAccount) GetMorseSrcAddress() string

func (*MorseClaimableAccount) GetPublicKey

func (x *MorseClaimableAccount) GetPublicKey() []byte

func (*MorseClaimableAccount) GetShannonDestAddress

func (x *MorseClaimableAccount) GetShannonDestAddress() string

func (*MorseClaimableAccount) GetSupplierStake

func (x *MorseClaimableAccount) GetSupplierStake() *v1beta1.Coin

func (*MorseClaimableAccount) GetUnstakedBalance

func (x *MorseClaimableAccount) GetUnstakedBalance() *v1beta1.Coin

func (*MorseClaimableAccount) ProtoMessage

func (*MorseClaimableAccount) ProtoMessage()

func (*MorseClaimableAccount) ProtoReflect

func (x *MorseClaimableAccount) ProtoReflect() protoreflect.Message

func (*MorseClaimableAccount) Reset

func (x *MorseClaimableAccount) Reset()

func (*MorseClaimableAccount) String

func (x *MorseClaimableAccount) String() string

type MorsePos

type MorsePos struct {
	Validators []*MorseValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

A wrapper around the list of Morse suppliers (aka "validators", "nodes", of "servicers"). It is necessary to conform to the Morse genesis structure.

See: https://github.com/pokt-network/pocket-core/blob/staging/x/nodes/types/genesis.go#L8

func (*MorsePos) Descriptor deprecated

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

Deprecated: Use MorsePos.ProtoReflect.Descriptor instead.

func (*MorsePos) GetValidators

func (x *MorsePos) GetValidators() []*MorseValidator

func (*MorsePos) ProtoMessage

func (*MorsePos) ProtoMessage()

func (*MorsePos) ProtoReflect

func (x *MorsePos) ProtoReflect() protoreflect.Message

func (*MorsePos) Reset

func (x *MorsePos) Reset()

func (*MorsePos) String

func (x *MorsePos) String() string

type MorsePublicKey

type MorsePublicKey struct {
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MorsePublicKey is required to conform to the encoding of the Morse state export. NB: All Morse account public keys will be ed25519 keys by definition.

func (*MorsePublicKey) Descriptor deprecated

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

Deprecated: Use MorsePublicKey.ProtoReflect.Descriptor instead.

func (*MorsePublicKey) GetValue

func (x *MorsePublicKey) GetValue() []byte

func (*MorsePublicKey) ProtoMessage

func (*MorsePublicKey) ProtoMessage()

func (*MorsePublicKey) ProtoReflect

func (x *MorsePublicKey) ProtoReflect() protoreflect.Message

func (*MorsePublicKey) Reset

func (x *MorsePublicKey) Reset()

func (*MorsePublicKey) String

func (x *MorsePublicKey) String() string

type MorseStateExport

type MorseStateExport struct {

	// app_hash is the Morse tendermint state hash.
	AppHash string `protobuf:"bytes,1,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	// app_state is the entire Morse tendermint application state.
	AppState *MorseTendermintAppState `protobuf:"bytes,2,opt,name=app_state,json=appState,proto3" json:"app_state,omitempty"`
	// contains filtered or unexported fields
}

MorseStateExport is the data structure that is serialized and output when running:

$ pocket utils export-genesis-for-reset ...

Ref: https://editor.swagger.io/?url=https://raw.githubusercontent.com/pokt-network/pocket-core/staging/doc/specs/rpc-spec.yaml#operations-query-post_query_state

func (*MorseStateExport) Descriptor deprecated

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

Deprecated: Use MorseStateExport.ProtoReflect.Descriptor instead.

func (*MorseStateExport) GetAppHash

func (x *MorseStateExport) GetAppHash() string

func (*MorseStateExport) GetAppState

func (x *MorseStateExport) GetAppState() *MorseTendermintAppState

func (*MorseStateExport) ProtoMessage

func (*MorseStateExport) ProtoMessage()

func (*MorseStateExport) ProtoReflect

func (x *MorseStateExport) ProtoReflect() protoreflect.Message

func (*MorseStateExport) Reset

func (x *MorseStateExport) Reset()

func (*MorseStateExport) String

func (x *MorseStateExport) String() string

type MorseTendermintAppState

type MorseTendermintAppState struct {
	Application *MorseApplications `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	Auth        *MorseAuth         `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Pos         *MorsePos          `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

MorseTendermintAppState is the tendermint application state for the Morse tendermint application; not to be confused with the pokt protocol actor. It is constructed in Morse via `PocketCoreApp#ExportAppState()`.

See: https://github.com/pokt-network/pocket-core/blob/5fa61920aa9d45ca6bf9e01e863134e242c95fa7/app/pocket.go#L142

func (*MorseTendermintAppState) Descriptor deprecated

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

Deprecated: Use MorseTendermintAppState.ProtoReflect.Descriptor instead.

func (*MorseTendermintAppState) GetApplication

func (x *MorseTendermintAppState) GetApplication() *MorseApplications

func (*MorseTendermintAppState) GetAuth

func (x *MorseTendermintAppState) GetAuth() *MorseAuth

func (*MorseTendermintAppState) GetPos

func (x *MorseTendermintAppState) GetPos() *MorsePos

func (*MorseTendermintAppState) ProtoMessage

func (*MorseTendermintAppState) ProtoMessage()

func (*MorseTendermintAppState) ProtoReflect

func (x *MorseTendermintAppState) ProtoReflect() protoreflect.Message

func (*MorseTendermintAppState) Reset

func (x *MorseTendermintAppState) Reset()

func (*MorseTendermintAppState) String

func (x *MorseTendermintAppState) String() string

type MorseValidator

type MorseValidator struct {

	// A binary representation of the address corresponding to a Morse application's ed25519 public key.
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The binary representation of a Morse application's ed25519 public key.
	PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// TODO_MAINNET(@Olshansk):  Should status and/or jailed be considered during the migration, and if so, how?
	Jailed bool  `protobuf:"varint,3,opt,name=jailed,proto3" json:"jailed,omitempty"`
	Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	// The string representation of the BigInt amount of upokt.
	StakedTokens string `protobuf:"bytes,7,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens,omitempty"`
	// contains filtered or unexported fields
}

MorseValidator is a subset of the Morse ProtoValidator type. It encapsulates the minimum information required to import Morse suppliers (aka "servicers" or "validators").

See: https://github.com/pokt-network/pocket-core/blob/staging/proto/x/pos/types.proto#L16

func (*MorseValidator) Descriptor deprecated

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

Deprecated: Use MorseValidator.ProtoReflect.Descriptor instead.

func (*MorseValidator) GetAddress

func (x *MorseValidator) GetAddress() []byte

func (*MorseValidator) GetJailed

func (x *MorseValidator) GetJailed() bool

func (*MorseValidator) GetPublicKey

func (x *MorseValidator) GetPublicKey() []byte

func (*MorseValidator) GetStakedTokens

func (x *MorseValidator) GetStakedTokens() string

func (*MorseValidator) GetStatus

func (x *MorseValidator) GetStatus() int32

func (*MorseValidator) ProtoMessage

func (*MorseValidator) ProtoMessage()

func (*MorseValidator) ProtoReflect

func (x *MorseValidator) ProtoReflect() protoreflect.Message

func (*MorseValidator) Reset

func (x *MorseValidator) Reset()

func (*MorseValidator) String

func (x *MorseValidator) String() string

type MsgClaimMorseAccount

type MsgClaimMorseAccount struct {

	// The bech32-encoded address of the Shannon account to which the claimed balance will be minted.
	ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// The hex-encoded address of the Morse account whose balance will be claimed.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	MorseSrcAddress string `protobuf:"bytes,2,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The hex-encoded signature, by the Morse account, of this message (where this field is nil).
	// I.e.: morse_signature = private_key.sign(marshal(MsgClaimMorseAccount{morse_signature: nil, ...}))
	MorseSignature []byte `protobuf:"bytes,3,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimMorseAccount is used to execute a claim (one-time minting of tokens on Shannon), of the balance of the given Morse account, according to the on-chain MorseClaimableAccounts, to the balance of the given Shannon account.

NOTE: - The Shannon account specified must be the message signer - Authz grants MAY be used to delegate claiming authority to other Shannon accounts

func (*MsgClaimMorseAccount) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseAccount.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseAccount) GetMorseSignature

func (x *MsgClaimMorseAccount) GetMorseSignature() []byte

func (*MsgClaimMorseAccount) GetMorseSrcAddress

func (x *MsgClaimMorseAccount) GetMorseSrcAddress() string

func (*MsgClaimMorseAccount) GetShannonDestAddress

func (x *MsgClaimMorseAccount) GetShannonDestAddress() string

func (*MsgClaimMorseAccount) ProtoMessage

func (*MsgClaimMorseAccount) ProtoMessage()

func (*MsgClaimMorseAccount) ProtoReflect

func (x *MsgClaimMorseAccount) ProtoReflect() protoreflect.Message

func (*MsgClaimMorseAccount) Reset

func (x *MsgClaimMorseAccount) Reset()

func (*MsgClaimMorseAccount) String

func (x *MsgClaimMorseAccount) String() string

type MsgClaimMorseAccountResponse

type MsgClaimMorseAccountResponse struct {

	// The hex-encoded address of the Morse account whose balance will be claimed.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The balance which was claimed.
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimMorseAccountResponse is returned from MsgClaimMorseAccount. It indicates the morse_src_address of the account which was claimed, the total balance claimed, and the height at which the claim was committed.

func (*MsgClaimMorseAccountResponse) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseAccountResponse.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseAccountResponse) GetClaimedBalance

func (x *MsgClaimMorseAccountResponse) GetClaimedBalance() *v1beta1.Coin

func (*MsgClaimMorseAccountResponse) GetMorseSrcAddress

func (x *MsgClaimMorseAccountResponse) GetMorseSrcAddress() string

func (*MsgClaimMorseAccountResponse) GetSessionEndHeight

func (x *MsgClaimMorseAccountResponse) GetSessionEndHeight() int64

func (*MsgClaimMorseAccountResponse) ProtoMessage

func (*MsgClaimMorseAccountResponse) ProtoMessage()

func (*MsgClaimMorseAccountResponse) ProtoReflect

func (*MsgClaimMorseAccountResponse) Reset

func (x *MsgClaimMorseAccountResponse) Reset()

func (*MsgClaimMorseAccountResponse) String

type MsgClaimMorseApplication

type MsgClaimMorseApplication struct {

	// The bech32-encoded address of the Shannon account to which the claimed tokens
	// will be minted and from which the application will be staked.
	ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	MorseSrcAddress    string `protobuf:"bytes,2,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The hex-encoded signature, by the Morse account, of this message (where this field is nil).
	// I.e.: morse_signature = private_key.sign(marshal(MsgClaimMorseAccount{morse_signature: nil, ...}))
	MorseSignature []byte `protobuf:"bytes,3,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
	// The services this application is staked to request service for.
	// NOTE: This is not a repeated field, as in MsgStakeApplication,
	// because an application can only be staked for one service.
	ServiceConfig *shared.ApplicationServiceConfig `protobuf:"bytes,4,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimMorseApplication is used to execute a claim (one-time minting of tokens on Shannon), of the total tokens owned by the given Morse account, according to the on-chain MorseClaimableAccounts, to the balance of the given Shannon account, followed by staking that Shannon account as an application for the given service_config and the same stake amount as on Morse.

func (*MsgClaimMorseApplication) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseApplication.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseApplication) GetMorseSignature

func (x *MsgClaimMorseApplication) GetMorseSignature() []byte

func (*MsgClaimMorseApplication) GetMorseSrcAddress

func (x *MsgClaimMorseApplication) GetMorseSrcAddress() string

func (*MsgClaimMorseApplication) GetServiceConfig

func (*MsgClaimMorseApplication) GetShannonDestAddress

func (x *MsgClaimMorseApplication) GetShannonDestAddress() string

func (*MsgClaimMorseApplication) ProtoMessage

func (*MsgClaimMorseApplication) ProtoMessage()

func (*MsgClaimMorseApplication) ProtoReflect

func (x *MsgClaimMorseApplication) ProtoReflect() protoreflect.Message

func (*MsgClaimMorseApplication) Reset

func (x *MsgClaimMorseApplication) Reset()

func (*MsgClaimMorseApplication) String

func (x *MsgClaimMorseApplication) String() string

type MsgClaimMorseApplicationResponse

type MsgClaimMorseApplicationResponse struct {

	// The hex-encoded address of the Morse account whose balance will be claimed.
	MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The unstaked balance which was claimed.
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// The stake of the application which was staked as a result of the claim.
	// If the application was already staked, this amount does not include the initial stake (i.e. only the portion which was "claimed").
	ClaimedApplicationStake *v1beta1.Coin `protobuf:"bytes,3,opt,name=claimedApplicationStake,proto3" json:"claimedApplicationStake,omitempty"`
	// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The application which was staked as a result of the claim.
	Application *application.Application `protobuf:"bytes,5,opt,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimMorseApplicationResponse is returned from MsgClaimMorseApplication. It indicates the morse_src_address of the account which was claimed, the unstaked balance claimed, the application stake, and the height at which the claim was committed.

func (*MsgClaimMorseApplicationResponse) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseApplicationResponse.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseApplicationResponse) GetApplication

func (*MsgClaimMorseApplicationResponse) GetClaimedApplicationStake

func (x *MsgClaimMorseApplicationResponse) GetClaimedApplicationStake() *v1beta1.Coin

func (*MsgClaimMorseApplicationResponse) GetClaimedBalance

func (x *MsgClaimMorseApplicationResponse) GetClaimedBalance() *v1beta1.Coin

func (*MsgClaimMorseApplicationResponse) GetMorseSrcAddress

func (x *MsgClaimMorseApplicationResponse) GetMorseSrcAddress() string

func (*MsgClaimMorseApplicationResponse) GetSessionEndHeight

func (x *MsgClaimMorseApplicationResponse) GetSessionEndHeight() int64

func (*MsgClaimMorseApplicationResponse) ProtoMessage

func (*MsgClaimMorseApplicationResponse) ProtoMessage()

func (*MsgClaimMorseApplicationResponse) ProtoReflect

func (*MsgClaimMorseApplicationResponse) Reset

func (*MsgClaimMorseApplicationResponse) String

type MsgClaimMorseSupplier

type MsgClaimMorseSupplier struct {

	// The bech32-encoded address of the Shannon account to which the claimed tokens
	// will be minted and which become the supplier owner.
	// See: https://dev.poktroll.com/operate/configs/supplier_staking_config#staking-types.
	ShannonOwnerAddress string `protobuf:"bytes,1,opt,name=shannon_owner_address,json=shannonOwnerAddress,proto3" json:"shannon_owner_address,omitempty"`
	// The bech32-encoded address of the Shannon account to which will become the supplier operator.
	// If empty, the shannon_owner_address will be used.
	// See: https://dev.poktroll.com/operate/configs/supplier_staking_config#staking-types.
	ShannonOperatorAddress string `` /* 129-byte string literal not displayed */
	// The hex-encoded address of the Morse account whose balance will be claimed.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	//
	// TODO_MAINNET(@bryanchriswhite, #1126): Rename to `morse_src_owner_address`.
	MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The hex-encoded signature, by the Morse account, of this message (where this field is nil).
	// I.e.: morse_signature = private_key.sign(marshal(MsgClaimMorseAccount{morse_signature: nil, ...}))
	//
	// TODO_MAINNET(@bryanchriswhite, #1126): Rename to `morse_src_owner_signature`.
	MorseSignature []byte `protobuf:"bytes,4,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
	// The services this supplier is staked to provide service for.
	Services []*shared.SupplierServiceConfig `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimMorseSupplier is used to: - Execute a one-time minting of tokens on Shannon based on tokens owned by the given Morse account - Use the on-chain MorseClaimableAccounts for verification - Credit the minted tokens to the balance of the given Shannon account - Automatically stake that Shannon account as a supplier

NOTE: The supplier module's staking fee parameter (at the time of claiming) is deducted from the claimed balance.

func (*MsgClaimMorseSupplier) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseSupplier.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseSupplier) GetMorseSignature

func (x *MsgClaimMorseSupplier) GetMorseSignature() []byte

func (*MsgClaimMorseSupplier) GetMorseSrcAddress

func (x *MsgClaimMorseSupplier) GetMorseSrcAddress() string

func (*MsgClaimMorseSupplier) GetServices

func (*MsgClaimMorseSupplier) GetShannonOperatorAddress

func (x *MsgClaimMorseSupplier) GetShannonOperatorAddress() string

func (*MsgClaimMorseSupplier) GetShannonOwnerAddress

func (x *MsgClaimMorseSupplier) GetShannonOwnerAddress() string

func (*MsgClaimMorseSupplier) ProtoMessage

func (*MsgClaimMorseSupplier) ProtoMessage()

func (*MsgClaimMorseSupplier) ProtoReflect

func (x *MsgClaimMorseSupplier) ProtoReflect() protoreflect.Message

func (*MsgClaimMorseSupplier) Reset

func (x *MsgClaimMorseSupplier) Reset()

func (*MsgClaimMorseSupplier) String

func (x *MsgClaimMorseSupplier) String() string

type MsgClaimMorseSupplierResponse

type MsgClaimMorseSupplierResponse struct {

	// The hex-encoded address of the Morse account whose balance was claimed.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The unstaked balance which was claimed.
	ClaimedBalance       *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	ClaimedSupplierStake *v1beta1.Coin `protobuf:"bytes,3,opt,name=claimed_supplier_stake,json=claimedSupplierStake,proto3" json:"claimed_supplier_stake,omitempty"`
	// The session end height (on Shannon) in which the claim was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,4,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The supplier which was staked as a result of the claim.
	Supplier *shared.Supplier `protobuf:"bytes,5,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// contains filtered or unexported fields
}

MsgClaimMorseSupplierResponse is returned from MsgClaimMorseSupplier. It indicates: - The morse_src_address of the claimed account - The unstaked balance claimed - The session end height in which the claim was committed - The staked supplier

func (*MsgClaimMorseSupplierResponse) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseSupplierResponse.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseSupplierResponse) GetClaimedBalance

func (x *MsgClaimMorseSupplierResponse) GetClaimedBalance() *v1beta1.Coin

func (*MsgClaimMorseSupplierResponse) GetClaimedSupplierStake

func (x *MsgClaimMorseSupplierResponse) GetClaimedSupplierStake() *v1beta1.Coin

func (*MsgClaimMorseSupplierResponse) GetMorseSrcAddress

func (x *MsgClaimMorseSupplierResponse) GetMorseSrcAddress() string

func (*MsgClaimMorseSupplierResponse) GetSessionEndHeight

func (x *MsgClaimMorseSupplierResponse) GetSessionEndHeight() int64

func (*MsgClaimMorseSupplierResponse) GetSupplier

func (x *MsgClaimMorseSupplierResponse) GetSupplier() *shared.Supplier

func (*MsgClaimMorseSupplierResponse) ProtoMessage

func (*MsgClaimMorseSupplierResponse) ProtoMessage()

func (*MsgClaimMorseSupplierResponse) ProtoReflect

func (*MsgClaimMorseSupplierResponse) Reset

func (x *MsgClaimMorseSupplierResponse) Reset()

func (*MsgClaimMorseSupplierResponse) String

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)
	ImportMorseClaimableAccounts(ctx context.Context, in *MsgImportMorseClaimableAccounts, opts ...grpc.CallOption) (*MsgImportMorseClaimableAccountsResponse, error)
	ClaimMorseAccount(ctx context.Context, in *MsgClaimMorseAccount, opts ...grpc.CallOption) (*MsgClaimMorseAccountResponse, error)
	ClaimMorseApplication(ctx context.Context, in *MsgClaimMorseApplication, opts ...grpc.CallOption) (*MsgClaimMorseApplicationResponse, error)
	ClaimMorseSupplier(ctx context.Context, in *MsgClaimMorseSupplier, opts ...grpc.CallOption) (*MsgClaimMorseSupplierResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Msg defines the Msg service.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgImportMorseClaimableAccounts

type MsgImportMorseClaimableAccounts 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"`
	// the account state derived from the Morse state export and the `pocketd migrate collect-morse-accounts` command.
	MorseAccountState *MorseAccountState `protobuf:"bytes,2,opt,name=morse_account_state,json=morseAccountState,proto3" json:"morse_account_state,omitempty"`
	// Additional documentation:
	// - pocket util export-genesis-for-migration --help
	// - pocketd migrate collect-morse-accounts --help
	MorseAccountStateHash []byte `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

MsgImportMorseClaimableAccounts is used to create the on-chain MorseClaimableAccounts ONLY AND EXACTLY ONCE (per network / re-genesis).

func (*MsgImportMorseClaimableAccounts) Descriptor deprecated

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

Deprecated: Use MsgImportMorseClaimableAccounts.ProtoReflect.Descriptor instead.

func (*MsgImportMorseClaimableAccounts) GetAuthority

func (x *MsgImportMorseClaimableAccounts) GetAuthority() string

func (*MsgImportMorseClaimableAccounts) GetMorseAccountState

func (x *MsgImportMorseClaimableAccounts) GetMorseAccountState() *MorseAccountState

func (*MsgImportMorseClaimableAccounts) GetMorseAccountStateHash

func (x *MsgImportMorseClaimableAccounts) GetMorseAccountStateHash() []byte

func (*MsgImportMorseClaimableAccounts) ProtoMessage

func (*MsgImportMorseClaimableAccounts) ProtoMessage()

func (*MsgImportMorseClaimableAccounts) ProtoReflect

func (*MsgImportMorseClaimableAccounts) Reset

func (*MsgImportMorseClaimableAccounts) String

type MsgImportMorseClaimableAccountsResponse

type MsgImportMorseClaimableAccountsResponse struct {

	// On-chain computed sha256 hash of the morse_account_state provided in the corresponding MsgCreateMorseAccountState.
	StateHash []byte `protobuf:"bytes,1,opt,name=state_hash,json=stateHash,proto3" json:"state_hash,omitempty"`
	// Number of claimable accounts (EOAs) collected from Morse state export.
	NumAccounts uint64 `protobuf:"varint,2,opt,name=num_accounts,json=numAccounts,proto3" json:"num_accounts,omitempty"`
	// contains filtered or unexported fields
}

MsgImportMorseClaimableAccountsResponse is returned from MsgImportMorseClaimableAccounts. It indicates the canonical hash of the imported MorseAccountState, and the number of claimable accounts which were imported.

func (*MsgImportMorseClaimableAccountsResponse) Descriptor deprecated

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

Deprecated: Use MsgImportMorseClaimableAccountsResponse.ProtoReflect.Descriptor instead.

func (*MsgImportMorseClaimableAccountsResponse) GetNumAccounts

func (x *MsgImportMorseClaimableAccountsResponse) GetNumAccounts() uint64

func (*MsgImportMorseClaimableAccountsResponse) GetStateHash

func (x *MsgImportMorseClaimableAccountsResponse) GetStateHash() []byte

func (*MsgImportMorseClaimableAccountsResponse) ProtoMessage

func (*MsgImportMorseClaimableAccountsResponse) ProtoReflect

func (*MsgImportMorseClaimableAccountsResponse) Reset

func (*MsgImportMorseClaimableAccountsResponse) String

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)
	ImportMorseClaimableAccounts(context.Context, *MsgImportMorseClaimableAccounts) (*MsgImportMorseClaimableAccountsResponse, error)
	ClaimMorseAccount(context.Context, *MsgClaimMorseAccount) (*MsgClaimMorseAccountResponse, error)
	ClaimMorseApplication(context.Context, *MsgClaimMorseApplication) (*MsgClaimMorseApplicationResponse, error)
	ClaimMorseSupplier(context.Context, *MsgClaimMorseSupplier) (*MsgClaimMorseSupplierResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

Msg defines the Msg service.

type MsgUpdateParams

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,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAllMorseClaimableAccountRequest

type QueryAllMorseClaimableAccountRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllMorseClaimableAccountRequest) Descriptor deprecated

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

Deprecated: Use QueryAllMorseClaimableAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryAllMorseClaimableAccountRequest) GetPagination

func (*QueryAllMorseClaimableAccountRequest) ProtoMessage

func (*QueryAllMorseClaimableAccountRequest) ProtoMessage()

func (*QueryAllMorseClaimableAccountRequest) ProtoReflect

func (*QueryAllMorseClaimableAccountRequest) Reset

func (*QueryAllMorseClaimableAccountRequest) String

type QueryAllMorseClaimableAccountResponse

type QueryAllMorseClaimableAccountResponse struct {
	MorseClaimableAccount []*MorseClaimableAccount `protobuf:"bytes,1,rep,name=morseClaimableAccount,proto3" json:"morseClaimableAccount,omitempty"`
	Pagination            *v1beta1.PageResponse    `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllMorseClaimableAccountResponse) Descriptor deprecated

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

Deprecated: Use QueryAllMorseClaimableAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryAllMorseClaimableAccountResponse) GetMorseClaimableAccount

func (x *QueryAllMorseClaimableAccountResponse) GetMorseClaimableAccount() []*MorseClaimableAccount

func (*QueryAllMorseClaimableAccountResponse) GetPagination

func (*QueryAllMorseClaimableAccountResponse) ProtoMessage

func (*QueryAllMorseClaimableAccountResponse) ProtoMessage()

func (*QueryAllMorseClaimableAccountResponse) ProtoReflect

func (*QueryAllMorseClaimableAccountResponse) Reset

func (*QueryAllMorseClaimableAccountResponse) String

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of MorseClaimableAccount items.
	MorseClaimableAccount(ctx context.Context, in *QueryMorseClaimableAccountRequest, opts ...grpc.CallOption) (*QueryMorseClaimableAccountResponse, error)
	MorseClaimableAccountAll(ctx context.Context, in *QueryAllMorseClaimableAccountRequest, opts ...grpc.CallOption) (*QueryAllMorseClaimableAccountResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Query defines the gRPC querier service.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryMorseClaimableAccountRequest

type QueryMorseClaimableAccountRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMorseClaimableAccountRequest) Descriptor deprecated

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

Deprecated: Use QueryMorseClaimableAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryMorseClaimableAccountRequest) GetAddress

func (x *QueryMorseClaimableAccountRequest) GetAddress() string

func (*QueryMorseClaimableAccountRequest) ProtoMessage

func (*QueryMorseClaimableAccountRequest) ProtoMessage()

func (*QueryMorseClaimableAccountRequest) ProtoReflect

func (*QueryMorseClaimableAccountRequest) Reset

func (*QueryMorseClaimableAccountRequest) String

type QueryMorseClaimableAccountResponse

type QueryMorseClaimableAccountResponse struct {
	MorseClaimableAccount *MorseClaimableAccount `protobuf:"bytes,1,opt,name=morseClaimableAccount,proto3" json:"morseClaimableAccount,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMorseClaimableAccountResponse) Descriptor deprecated

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

Deprecated: Use QueryMorseClaimableAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryMorseClaimableAccountResponse) GetMorseClaimableAccount

func (x *QueryMorseClaimableAccountResponse) GetMorseClaimableAccount() *MorseClaimableAccount

func (*QueryMorseClaimableAccountResponse) ProtoMessage

func (*QueryMorseClaimableAccountResponse) ProtoMessage()

func (*QueryMorseClaimableAccountResponse) ProtoReflect

func (*QueryMorseClaimableAccountResponse) Reset

func (*QueryMorseClaimableAccountResponse) String

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

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

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

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

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of MorseClaimableAccount items.
	MorseClaimableAccount(context.Context, *QueryMorseClaimableAccountRequest) (*QueryMorseClaimableAccountResponse, error)
	MorseClaimableAccountAll(context.Context, *QueryAllMorseClaimableAccountRequest) (*QueryAllMorseClaimableAccountResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

Query defines the gRPC querier service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Directories

Path Synopsis
DO NOT DELETE this file.
DO NOT DELETE this file.

Jump to

Keyboard shortcuts

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