migration

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 18 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

This section is empty.

Variables

View Source
var (
	MorseSupplierClaimSignerType_name = map[int32]string{
		0: "MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_UNSPECIFIED",
		1: "MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_NODE_ADDR",
		2: "MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_NODE_ADDR",
		3: "MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_OWNER",
	}
	MorseSupplierClaimSignerType_value = map[string]int32{
		"MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_UNSPECIFIED":                       0,
		"MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_NODE_ADDR":     1,
		"MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_NODE_ADDR": 2,
		"MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_OWNER":     3,
	}
)

Enum value maps for MorseSupplierClaimSignerType.

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

Functions

This section is empty.

Types

type EventImportMorseClaimableAccounts

type EventImportMorseClaimableAccounts struct {

	// Shannon height at which MorseAccountState was created on-chain
	CreatedAtHeight int64 `protobuf:"varint,1,opt,name=created_at_height,json=createdAtHeight,proto3" json:"created_at_height,omitempty"`
	// On-chain computed sha256 hash of the MorseAccountState
	// - Contains all imported MorseClaimableAccounts
	MorseAccountStateHash []byte `` /* 128-byte string literal not displayed */
	// Number of claimable accounts (EOAs) imported from Morse state export
	// - 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 - Emitted when MorseClaimableAccounts are created on-chain - Represents import event for Morse claimable accounts

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 {

	// Shannon session end height in which the claim was committed
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// Unstaked balance claimed from Morse
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// bech32-encoded Shannon address to mint claimed balance
	ShannonDestAddress string `protobuf:"bytes,3,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// Hex-encoded Morse account address whose balance was 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 - 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 EventMorseAccountRecovered added in v0.1.12

type EventMorseAccountRecovered struct {

	// The session end height (on Shannon) in which the recovery was committed (i.e. claimed).
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The total balance which was recovered:
	// - Includes both unstaked and staked balances (consolidated)
	// - Auto-liquidates both unstaked and staked balances at once
	RecoveredBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"`
	// The bech32-encoded address of the Shannon account to which the recovered balance was 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 and stakes have been recovered.
	// This address MUST be in the recovery allow list and could be of types such as:
	// - Unreachable/Locked EOA, Supplier or Application address
	// - Module account
	// - Invalid address (too short, too long, or non-hexadecimal format)
	MorseSrcAddress string `protobuf:"bytes,4,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// contains filtered or unexported fields
}

EventMorseAccountRecovered - Emitted when a Morse account is recovered on-chain

func (*EventMorseAccountRecovered) Descriptor deprecated added in v0.1.12

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

Deprecated: Use EventMorseAccountRecovered.ProtoReflect.Descriptor instead.

func (*EventMorseAccountRecovered) GetMorseSrcAddress added in v0.1.12

func (x *EventMorseAccountRecovered) GetMorseSrcAddress() string

func (*EventMorseAccountRecovered) GetRecoveredBalance added in v0.1.12

func (x *EventMorseAccountRecovered) GetRecoveredBalance() *v1beta1.Coin

func (*EventMorseAccountRecovered) GetSessionEndHeight added in v0.1.12

func (x *EventMorseAccountRecovered) GetSessionEndHeight() int64

func (*EventMorseAccountRecovered) GetShannonDestAddress added in v0.1.12

func (x *EventMorseAccountRecovered) GetShannonDestAddress() string

func (*EventMorseAccountRecovered) ProtoMessage added in v0.1.12

func (*EventMorseAccountRecovered) ProtoMessage()

func (*EventMorseAccountRecovered) ProtoReflect added in v0.1.12

func (*EventMorseAccountRecovered) Reset added in v0.1.12

func (x *EventMorseAccountRecovered) Reset()

func (*EventMorseAccountRecovered) String added in v0.1.12

func (x *EventMorseAccountRecovered) String() string

type EventMorseApplicationClaimed

type EventMorseApplicationClaimed struct {

	// Shannon session end height in which the claim was committed
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// Unstaked balance claimed from Morse
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// Hex-encoded Morse account address whose balance was claimed
	MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// Application stake claimed as a result of the claim
	// - Equivalent to Morse application staked amount
	ClaimedApplicationStake *v1beta1.Coin `` /* 132-byte string literal not displayed */
	// Application staked as a result of the claim
	// - Mirrors Morse application stake
	Application *application.Application `protobuf:"bytes,5,opt,name=application,proto3" json:"application,omitempty"`
	// contains filtered or unexported fields
}

EventMorseApplicationClaimed - 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 {

	// Shannon session end height in which the claim was committed
	SessionEndHeight int64 `protobuf:"varint,1,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// Unstaked balance claimed from Morse
	ClaimedBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance,omitempty"`
	// The hex-encoded address of the Morse non-custodial (i.e. operator) account.
	// - Unstaked balance was migrated 1:1
	// - Stake was migrated 1:1 from morse_node_address to shannon_operator_address
	// - Morse non-custodial (i.e. operator) address.
	// If morse_output_address was not set, this is the custodial address.
	// - See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	MorseNodeAddress string `protobuf:"bytes,8,opt,name=morse_node_address,json=morseNodeAddress,proto3" json:"morse_node_address,omitempty"`
	// ONLY applicable to Morse node/supplier accounts.
	// Hex-encoded address of the Morse output account/wallet associated with the Morse node/supplier.
	//   - E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	//   - Morse custodial (i.e. owner) address, which owned the staked tokens of the operator.
	//     See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	MorseOutputAddress string `protobuf:"bytes,6,opt,name=morse_output_address,json=morseOutputAddress,proto3" json:"morse_output_address,omitempty"`
	// The type of supplier claim signer, indicating which actor executed the claim
	// and whether it was a custodial or non-custodial claim.
	// - MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_ADDR
	// - MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_OPERATOR
	// - MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_OWNER
	ClaimSignerType MorseSupplierClaimSignerType `` /* 160-byte string literal not displayed */
	// Supplier stake claimed as a result of the claim
	// - Equivalent to Morse supplier staked amount
	ClaimedSupplierStake *v1beta1.Coin `protobuf:"bytes,4,opt,name=claimed_supplier_stake,json=claimedSupplierStake,proto3" json:"claimed_supplier_stake,omitempty"`
	// Supplier staked as a result of the claim
	// - Mirrors Morse supplier stake
	Supplier *shared.Supplier `protobuf:"bytes,5,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// contains filtered or unexported fields
}

EventMorseSupplierClaimed - 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) GetClaimSignerType added in v0.1.12

func (*EventMorseSupplierClaimed) GetClaimedBalance

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

func (*EventMorseSupplierClaimed) GetClaimedSupplierStake

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

func (*EventMorseSupplierClaimed) GetMorseNodeAddress added in v0.1.12

func (x *EventMorseSupplierClaimed) GetMorseNodeAddress() string

func (*EventMorseSupplierClaimed) GetMorseOutputAddress added in v0.1.12

func (x *EventMorseSupplierClaimed) GetMorseOutputAddress() 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 - Onchain representation of all account state to be migrated from Morse - NEVER persisted onchain - Dependency of the MsgImportMorseClaimableAccount handler - Main purpose: exposes #GetHash() for verifying 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_MIGRATION(@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"`
	// The ISO 8601 UTC timestamp after which the Morse node/supplier unbonding period will have elapsed.
	// It reflects the "unbonding completion time" of the Morse node/supplier, but is called "unstaking time" to comply with necessary Morse data structures.
	UnstakingTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=unstaking_time,json=unstakingTime,proto3" json:"unstaking_time,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) GetUnstakingTime added in v0.1.13

func (x *MorseApplication) GetUnstakingTime() *timestamppb.Timestamp

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 is a EITHER a JSON-encoded MorseAccount or a MorseModuleAccount.
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MorseAuthAccount: * Wraps MorseAuthAccount information to conform to Morse genesis structure * Can represent EITHER an externally owned account OR a module account

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() []byte

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 {

	// bech32-encoded address of the Shannon account to mint claimed balance
	// Intended to remain empty until the account is claimed
	ShannonDestAddress string `protobuf:"bytes,1,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// Hex-encoded address of the Morse account whose balance will be claimed.
	// If this MorseClaimableAccount represents a Morse node/supplier:
	//   - Morse non-custodial (i.e. operator) address.
	//   - If morse_output_address is not set, this is the custodial address.
	//   - See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	MorseSrcAddress string `protobuf:"bytes,2,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// Unstaked upokt tokens (account balance) available for claiming
	UnstakedBalance *v1beta1.Coin `protobuf:"bytes,5,opt,name=unstaked_balance,json=unstakedBalance,proto3" json:"unstaked_balance,omitempty"`
	// Staked tokens for supplier actor corresponding to this account address
	// DEV_NOTE: Context for Morse:
	// - Supplier = Servicer or Node (not a full node) in Morse
	// - All Validators are Servicers; not all Servicers are Validators
	// - Top 100 staked Servicers are validators (automatic)
	// - Only accounts for servicer stake balance transition
	// TODO_MAINNET(@Olshansk): Develop strategy for bootstrapping validators in Shannon with cosmos ecosystem
	SupplierStake *v1beta1.Coin `protobuf:"bytes,6,opt,name=supplier_stake,json=supplierStake,proto3" json:"supplier_stake,omitempty"`
	// Staked tokens for application actor corresponding to this account address
	ApplicationStake *v1beta1.Coin `protobuf:"bytes,7,opt,name=application_stake,json=applicationStake,proto3" json:"application_stake,omitempty"`
	// Shannon height at which the account was claimed
	// Intended to remain empty until the account is claimed
	ClaimedAtHeight int64 `protobuf:"varint,8,opt,name=claimed_at_height,json=claimedAtHeight,proto3" json:"claimed_at_height,omitempty"`
	// ONLY applicable to Morse node/supplier accounts.
	// Hex-encoded address of the Morse output account/wallet associated with the Morse node/supplier.
	//   - E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	//   - Morse custodial (i.e. owner) address, which owns the staked tokens of the operator.
	//     See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	MorseOutputAddress string `protobuf:"bytes,9,opt,name=morse_output_address,json=morseOutputAddress,proto3" json:"morse_output_address,omitempty"`
	// The ISO 8601 UTC timestamp after which the Morse node/supplier unbonding period will have elapsed.
	// It reflects the "unbonding completion time" of the Morse node/supplier, but is called "unstaking time" to comply with necessary Morse data structures.
	UnstakingTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=unstaking_time,json=unstakingTime,proto3" json:"unstaking_time,omitempty"`
	// contains filtered or unexported fields
}

MorseClaimableAccount

  • Onchain (persisted) representation of a Morse account claimable as part of Morse -> Shannon migration
  • Created during MorseAccountState import (see: MsgImportMorseClaimableAccount)
  • Created ONLY ONCE and NEVER deleted (per morse_src_address per network / re-genesis), unless the allow_morse_account_import_overwrite migration param is enabled
  • Updated ONLY ONCE, when 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) GetMorseOutputAddress added in v0.1.12

func (x *MorseClaimableAccount) GetMorseOutputAddress() string

func (*MorseClaimableAccount) GetMorseSrcAddress

func (x *MorseClaimableAccount) GetMorseSrcAddress() string

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) GetUnstakingTime added in v0.1.13

func (x *MorseClaimableAccount) GetUnstakingTime() *timestamppb.Timestamp

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 MorseModuleAccount added in v0.1.11

type MorseModuleAccount struct {

	// DEV_NOTE: the JSON tag is intentionally cased contrary to convention to match the real-world Morse state export.
	BaseAccount *MorseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3" json:"base_account,omitempty"`
	Name        string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

MorseModuleAccount is the module account type for Morse, it wraps a MorseAccount and has a unique name, which is used instead of the address.

func (*MorseModuleAccount) Descriptor deprecated added in v0.1.11

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

Deprecated: Use MorseModuleAccount.ProtoReflect.Descriptor instead.

func (*MorseModuleAccount) GetBaseAccount added in v0.1.11

func (x *MorseModuleAccount) GetBaseAccount() *MorseAccount

func (*MorseModuleAccount) GetName added in v0.1.11

func (x *MorseModuleAccount) GetName() string

func (*MorseModuleAccount) ProtoMessage added in v0.1.11

func (*MorseModuleAccount) ProtoMessage()

func (*MorseModuleAccount) ProtoReflect added in v0.1.11

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

func (*MorseModuleAccount) Reset added in v0.1.11

func (x *MorseModuleAccount) Reset()

func (*MorseModuleAccount) String added in v0.1.11

func (x *MorseModuleAccount) 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 MorseSupplierClaimSignerType added in v0.1.12

type MorseSupplierClaimSignerType int32

MorseSupplierClaimSignerType - Enum for Morse supplier claim signer type

const (
	// Unspecified signer type
	MorseSupplierClaimSignerType_MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_UNSPECIFIED MorseSupplierClaimSignerType = 0
	// signer === addr === operator === owner
	// Custodial signer type
	// - The Morse node address is NOT EMPTY (i.e. operator)
	// - The Morse output address is EMPTY (i.e. owner)
	// - Implies that the operator and owner are THE SAME offchain identity
	MorseSupplierClaimSignerType_MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_NODE_ADDR MorseSupplierClaimSignerType = 1
	// signer === operator === addr && owner !== operator
	// Non-custodial signer type
	// - The Morse node address is NOT EMPTY (i.e. operator)
	// - The Morse output address is NOT EMPTY (i.e. owner)
	// - Implies that the operator and owner are MOST LIKELY DIFFERENT offchain identities
	// - The operator is the one signing the supplier claim
	MorseSupplierClaimSignerType_MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_NODE_ADDR MorseSupplierClaimSignerType = 2
	// signer === owner && owner !== addr
	// Owner non-custodial signer type
	// - The Morse node address is EMPTY (i.e. operator)
	// - The Morse output address is NOT EMPTY (i.e. owner)
	// - Implies that the operator and owner are MOST LIKELY different offchain identities
	// - The owner is the one signing the supplier claim
	MorseSupplierClaimSignerType_MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_OWNER MorseSupplierClaimSignerType = 3
)

func (MorseSupplierClaimSignerType) Descriptor added in v0.1.12

func (MorseSupplierClaimSignerType) Enum added in v0.1.12

func (MorseSupplierClaimSignerType) EnumDescriptor deprecated added in v0.1.12

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

Deprecated: Use MorseSupplierClaimSignerType.Descriptor instead.

func (MorseSupplierClaimSignerType) Number added in v0.1.12

func (MorseSupplierClaimSignerType) String added in v0.1.12

func (MorseSupplierClaimSignerType) Type added in v0.1.12

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 {

	// Morse non-custodial (i.e. operator) address. If output_address is not set, this is the custodial address.
	// Binary representation of the Morse address corresponding to a Morse node's ed25519 public key.
	// See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Binary representation of a Morse node's ed25519 public key.
	PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// TODO_MAINNET_MIGRATION(@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"`
	// The ISO 8601 UTC timestamp after which the Morse node/supplier unbonding period will have elapsed.
	// It reflects the "unbonding completion time" of the Morse node/supplier, but is called "unstaking time" to comply with necessary Morse data structures.
	UnstakingTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=unstaking_time,json=unstakingTime,proto3" json:"unstaking_time,omitempty"`
	// Morse custodial (i.e. owner) address, which owns the staked tokens of the operator.
	// Binary representation of the Morse address corresponding to a Morse account's ed25519 public key.
	// See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	OutputAddress []byte `protobuf:"bytes,9,opt,name=output_address,json=outputAddress,proto3" json:"output_address,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) GetOutputAddress added in v0.1.12

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

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) GetUnstakingTime added in v0.1.13

func (x *MorseValidator) GetUnstakingTime() *timestamppb.Timestamp

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 which is signing for this message.
	// This account is liable for any fees incurred by violating the constraints of Morse
	// account/actor claim message fee waiving.
	ShannonSigningAddress string `` /* 126-byte string literal not displayed */
	// 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 ed25519 public key of the morse account with morse_src_address.
	MorsePublicKey []byte `protobuf:"bytes,5,opt,name=morse_public_key,json=morsePublicKey,proto3" json:"morse_public_key,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) - Claim the balance of a given Morse account per on-chain MorseClaimableAccounts - Mint claimed balance to the given Shannon account

NOTE: - A transaction can contain ONE OR MORE Morse account/actor claim messages AND has EXACTLY ONE signer. - 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) GetMorsePublicKey added in v0.1.2

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

func (*MsgClaimMorseAccount) GetMorseSignature

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

func (*MsgClaimMorseAccount) GetShannonDestAddress

func (x *MsgClaimMorseAccount) GetShannonDestAddress() string

func (*MsgClaimMorseAccount) GetShannonSigningAddress added in v0.1.2

func (x *MsgClaimMorseAccount) GetShannonSigningAddress() 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.

- Indicates the morse_src_address of the claimed account - Reports the claimed balance and commit height

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 which is signing for this message.
	// This account is liable for any fees incurred by violating the constraints of Morse
	// account/actor claim message fee waiving; the tx contains ONE OR MORE Morse account/actor
	// claim messages AND has EXACTLY ONE signer.
	ShannonSigningAddress string `` /* 126-byte string literal not displayed */
	// 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"`
	// The ed25519 public key of the morse account with morse_src_address.
	MorsePublicKey []byte `protobuf:"bytes,6,opt,name=morse_public_key,json=morsePublicKey,proto3" json:"morse_public_key,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 total tokens owned by a Morse account - Mint claimed tokens to the given Shannon account - Stake that Shannon account as an application for the given service_config and same stake amount

func (*MsgClaimMorseApplication) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseApplication.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseApplication) GetMorsePublicKey added in v0.1.2

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

func (*MsgClaimMorseApplication) GetMorseSignature

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

func (*MsgClaimMorseApplication) GetServiceConfig

func (*MsgClaimMorseApplication) GetShannonDestAddress

func (x *MsgClaimMorseApplication) GetShannonDestAddress() string

func (*MsgClaimMorseApplication) GetShannonSigningAddress added in v0.1.2

func (x *MsgClaimMorseApplication) GetShannonSigningAddress() 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.

- Indicates the morse_src_address of the claimed account - Reports the unstaked balance claimed, application stake, and commit height - Returns the staked application

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 which is signing for this message.
	// This account is liable for any fees incurred by violating the constraints of Morse
	// account/actor claim message fee waiving; the tx contains ONE OR MORE Morse account/actor
	// claim messages AND has EXACTLY ONE signer.
	ShannonSigningAddress string `` /* 126-byte string literal not displayed */
	// 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 non-custodial (i.e. operator) account.
	// - Unstaked balance will be migrated 1:1
	// - Stake will be migrated 1:1 from morse_node_address to shannon_operator_address
	// - Morse non-custodial (i.e. operator) address.
	// If morse_output_address is not set, this is the custodial address.
	// - See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	MorseNodeAddress string `protobuf:"bytes,3,opt,name=morse_node_address,json=morseNodeAddress,proto3" json:"morse_node_address,omitempty"`
	// The ed25519 public key of EITHER the Morse node/supplier operator OR owner account.
	// - MUST correspond to the private key which was used to produce the morse_signature.
	// - MUST correspond to ONE OF THE FOLLOWING:
	//   - morse_node_address
	//   - morse_output_address
	MorsePublicKey []byte `protobuf:"bytes,7,opt,name=morse_public_key,json=morsePublicKey,proto3" json:"morse_public_key,omitempty"`
	// The hex-encoded signature, of this message (where this field is nil).
	// I.e.: morse_signature = private_key.sign(marshal(MsgClaimMorseSupplier{morse_signature: nil, ...}))
	// - MUST match morse_public_key.
	// - MUST be signed by ONE OF THE FOLLOWING:
	//   - Morse node account (i.e. operator); if signer_is_output_address is false
	//   - Morse output account (i.e. owner); if signer_is_output_address is true
	MorseSignature []byte `protobuf:"bytes,4,opt,name=morse_signature,json=morseSignature,proto3" json:"morse_signature,omitempty"`
	// Set to true if the private key corresponding to the morse_output_address is producing the morse_signature.
	// For non-custodial claiming:
	// - This MUST be true.
	// - The morse_public_key MUST correspond to morse_output_address.
	// - The morse_signature MUST correspond to morse_output_address.
	SignerIsOutputAddress bool `` /* 129-byte string literal not displayed */
	// 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) GetMorseNodeAddress added in v0.1.12

func (x *MsgClaimMorseSupplier) GetMorseNodeAddress() string

func (*MsgClaimMorseSupplier) GetMorsePublicKey added in v0.1.2

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

func (*MsgClaimMorseSupplier) GetMorseSignature

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

func (*MsgClaimMorseSupplier) GetServices

func (*MsgClaimMorseSupplier) GetShannonOperatorAddress

func (x *MsgClaimMorseSupplier) GetShannonOperatorAddress() string

func (*MsgClaimMorseSupplier) GetShannonOwnerAddress

func (x *MsgClaimMorseSupplier) GetShannonOwnerAddress() string

func (*MsgClaimMorseSupplier) GetShannonSigningAddress added in v0.1.2

func (x *MsgClaimMorseSupplier) GetShannonSigningAddress() string

func (*MsgClaimMorseSupplier) GetSignerIsOutputAddress added in v0.1.12

func (x *MsgClaimMorseSupplier) GetSignerIsOutputAddress() bool

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 non-custodial (i.e. operator) account.
	// - Unstaked balance will be migrated 1:1
	// - Stake will be migrated 1:1 from morse_node_address to shannon_operator_address
	// - Morse non-custodial (i.e. operator) address.
	// If morse_output_address is not set, this is the custodial address.
	// - See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	// E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	MorseNodeAddress string `protobuf:"bytes,9,opt,name=morse_node_address,json=morseNodeAddress,proto3" json:"morse_node_address,omitempty"`
	// Hex-encoded address of the Morse output account/wallet associated with the Morse node/supplier.
	//   - E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	//   - Morse custodial (i.e. owner) address, which owns the staked tokens of the operator.
	//     See 'pocket nodes --help' for more information. Note that this refers to the Morse CLI.
	MorseOutputAddress string `protobuf:"bytes,8,opt,name=morse_output_address,json=morseOutputAddress,proto3" json:"morse_output_address,omitempty"`
	// The type of supplier claim signer, indicating which actor executed the claim
	// and whether it was a custodial or non-custodial claim.
	// - MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_NON_CUSTODIAL_SIGNED_BY_ADDR
	// - MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_OPERATOR
	// - MORSE_SUPPLIER_CLAIM_SIGNER_TYPE_CUSTODIAL_SIGNED_BY_OWNER
	ClaimSignerType MorseSupplierClaimSignerType `` /* 160-byte string literal not displayed */
	// 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.

- Indicates the morse_operator_address of the claimed account - Reports the unstaked balance claimed, session end height, and staked supplier - Includes claim signer type and signer address

func (*MsgClaimMorseSupplierResponse) Descriptor deprecated

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

Deprecated: Use MsgClaimMorseSupplierResponse.ProtoReflect.Descriptor instead.

func (*MsgClaimMorseSupplierResponse) GetClaimSignerType added in v0.1.12

func (*MsgClaimMorseSupplierResponse) GetClaimedBalance

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

func (*MsgClaimMorseSupplierResponse) GetClaimedSupplierStake

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

func (*MsgClaimMorseSupplierResponse) GetMorseNodeAddress added in v0.1.12

func (x *MsgClaimMorseSupplierResponse) GetMorseNodeAddress() string

func (*MsgClaimMorseSupplierResponse) GetMorseOutputAddress added in v0.1.12

func (x *MsgClaimMorseSupplierResponse) GetMorseOutputAddress() 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 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"`
	// Account state derived from Morse state export and `pocketd tx migration collect-morse-accounts`
	MorseAccountState *MorseAccountState `protobuf:"bytes,2,opt,name=morse_account_state,json=morseAccountState,proto3" json:"morse_account_state,omitempty"`
	// Validates the morse_account_state sha256 hash:
	// - Transaction fails if hash doesn't match on-chain computation
	// - Off-chain social consensus should be reached before verification
	//
	// Verification (high-level):
	//
	//	$ pocketd tx migration collect-morse-accounts $<(pocket util export-genesis-for-reset)
	//
	// Additional docs:
	//   - pocket util export-genesis-for-migration --help
	//   - pocketd tx migration 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) - Import Morse account state derived from Morse state export

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.

- Indicates the canonical hash of the imported MorseAccountState - Reports the number of claimable accounts 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 MsgRecoverMorseAccount added in v0.1.11

type MsgRecoverMorseAccount struct {

	// The bech32-encoded address of the migration module authority account ("gov" module address by default).
	// ONLY the authority, or its delegates, MAY recover Morse recoverable accounts.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// The bech32-encoded address of the Shannon account to which the Morse account's stake(s) and/or
	// balance(s) will be minted (recovered) as liquid Shannon tokens.
	ShannonDestAddress string `protobuf:"bytes,2,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// EITHER:
	//   - The hex-encoded address of the recoverable Morse account whose stake(s) and/or balance(s) will be recovered.
	//     This address MAY be invalid but NEVER empty.
	//     E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	//   - The name of a Morse module account whose balance will be recovered.
	//     E.g. "dao" or "fee-collector"
	MorseSrcAddress string `protobuf:"bytes,3,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// contains filtered or unexported fields
}

MsgRecoverMorseAccount is used to:

- Execute a one-time minting of tokens on Shannon based on tokens owned by the given Morse account - Credit the minted tokens to the balance of the given Shannon account - Migrate unclaimable staked and liquid Morse tokens as liquid Shannon tokens

- MAY ONLY be executed by the authority - ONLY intended for use on accounts with invalid addresses and/or known lost private keys

func (*MsgRecoverMorseAccount) Descriptor deprecated added in v0.1.11

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

Deprecated: Use MsgRecoverMorseAccount.ProtoReflect.Descriptor instead.

func (*MsgRecoverMorseAccount) GetAuthority added in v0.1.11

func (x *MsgRecoverMorseAccount) GetAuthority() string

func (*MsgRecoverMorseAccount) GetMorseSrcAddress added in v0.1.11

func (x *MsgRecoverMorseAccount) GetMorseSrcAddress() string

func (*MsgRecoverMorseAccount) GetShannonDestAddress added in v0.1.11

func (x *MsgRecoverMorseAccount) GetShannonDestAddress() string

func (*MsgRecoverMorseAccount) ProtoMessage added in v0.1.11

func (*MsgRecoverMorseAccount) ProtoMessage()

func (*MsgRecoverMorseAccount) ProtoReflect added in v0.1.11

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

func (*MsgRecoverMorseAccount) Reset added in v0.1.11

func (x *MsgRecoverMorseAccount) Reset()

func (*MsgRecoverMorseAccount) String added in v0.1.11

func (x *MsgRecoverMorseAccount) String() string

type MsgRecoverMorseAccountResponse added in v0.1.11

type MsgRecoverMorseAccountResponse struct {

	// EITHER:
	//   - The hex-encoded address of the Morse account whose stake(s) and/or balances were recovered.
	//     This address MAY be invalid but NEVER empty.
	//     E.g.: 00f9900606fa3d5c9179fc0c8513078a53a2073e
	//   - The name of a Morse module account whose balance was recovered.
	//     E.g. "dao" or "fee-collector"
	MorseSrcAddress string `protobuf:"bytes,1,opt,name=morse_src_address,json=morseSrcAddress,proto3" json:"morse_src_address,omitempty"`
	// The sum of any unstaked and staked balances which were recovered.
	RecoveredBalance *v1beta1.Coin `protobuf:"bytes,2,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"`
	// The session end height (on Shannon) in which the recovery was committed (i.e. recovered).
	SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The bech32-encoded address of the Shannon account to which the Morse account's stake(s) and/or
	// balance(s) were recovered.
	ShannonDestAddress string `protobuf:"bytes,4,opt,name=shannon_dest_address,json=shannonDestAddress,proto3" json:"shannon_dest_address,omitempty"`
	// contains filtered or unexported fields
}

MsgRecoverMorseAccountResponse is returned from MsgRecoverMorseAccount.

- Indicates the morse_src_address of the recovered account - Reports the sum of any actor stakes and unstaked balance recovered - Reports the session end height in which the recovery was committed - Returns the destination Shannon address

func (*MsgRecoverMorseAccountResponse) Descriptor deprecated added in v0.1.11

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

Deprecated: Use MsgRecoverMorseAccountResponse.ProtoReflect.Descriptor instead.

func (*MsgRecoverMorseAccountResponse) GetMorseSrcAddress added in v0.1.11

func (x *MsgRecoverMorseAccountResponse) GetMorseSrcAddress() string

func (*MsgRecoverMorseAccountResponse) GetRecoveredBalance added in v0.1.11

func (x *MsgRecoverMorseAccountResponse) GetRecoveredBalance() *v1beta1.Coin

func (*MsgRecoverMorseAccountResponse) GetSessionEndHeight added in v0.1.11

func (x *MsgRecoverMorseAccountResponse) GetSessionEndHeight() int64

func (*MsgRecoverMorseAccountResponse) GetShannonDestAddress added in v0.1.11

func (x *MsgRecoverMorseAccountResponse) GetShannonDestAddress() string

func (*MsgRecoverMorseAccountResponse) ProtoMessage added in v0.1.11

func (*MsgRecoverMorseAccountResponse) ProtoMessage()

func (*MsgRecoverMorseAccountResponse) ProtoReflect added in v0.1.11

func (*MsgRecoverMorseAccountResponse) Reset added in v0.1.11

func (x *MsgRecoverMorseAccountResponse) Reset()

func (*MsgRecoverMorseAccountResponse) String added in v0.1.11

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"`
	// Module parameters to update
	// 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.

- Used for updating the migration module parameters via governance - All parameters must be supplied

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.

- Empty response on success

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 {

	// waive_morse_claim_gas_fees is a feature flag used to enable/disable the waiving of gas fees for txs that:
	// - Contain exactly one secp256k1 signer
	// - Contain at least one Morse account/actor claim messages
	// - Do not contain any other messages other than Morse account/actor claim messages
	WaiveMorseClaimGasFees bool `` /* 134-byte string literal not displayed */
	// allow_morse_account_import_overwrite is a feature flag which is used to enable/disable
	// the re-importing of Morse claimable accounts by the authority.
	// Such a re-import will:
	// - Ignore (i.e. leave) ALL claimed destination Shannon accounts/actors
	// - Delete ALL existing onchain MorseClaimableAccounts
	// - Import the new set of MorseClaimableAccounts from the provided MsgImportMorseClaimableAccounts
	// This is useful for testing purposes, but should be disabled in production.
	AllowMorseAccountImportOverwrite bool `` /* 164-byte string literal not displayed */
	// morse_account_claiming_enabled is a feature flag which is used to enable/disable the processing of Morse account/actor claim messages
	// (i.e. `MsgClaimMorseAccount`, `MorseClaimApplication`, and `MorseClaimSupplier`).
	MorseAccountClaimingEnabled bool `` /* 147-byte string literal not displayed */
	// 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) GetAllowMorseAccountImportOverwrite added in v0.1.11

func (x *Params) GetAllowMorseAccountImportOverwrite() bool

func (*Params) GetMorseAccountClaimingEnabled added in v0.1.13

func (x *Params) GetMorseAccountClaimingEnabled() bool

func (*Params) GetWaiveMorseClaimGasFees added in v0.1.2

func (x *Params) GetWaiveMorseClaimGasFees() bool

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

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