types

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 50 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "migration"

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_migration"
)
View Source
const (
	// MorseExternallyOwnedAccountType is the type string of an externally owned account in the Morse state export.
	MorseExternallyOwnedAccountType = "posmint/Account"
	// MorseModuleAccountType is the type string of a module account in the Morse state export.
	MorseModuleAccountType = "posmint/ModuleAccount"
)
View Source
const (
	MorseModuleAccountNameDao                        = "dao"
	MorseModuleAccountNameFeeCollector               = "fee_collector"
	MorseModuleAccountNameApplicationStakeTokensPool = "application_stake_tokens_pool"
	MorseModuleAccountNameStakedTokensPool           = "staked_tokens_pool"
)

Morse module account names.

View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// MorseClaimableAccountKeyPrefix is the prefix to retrieve all MorseClaimableAccount
	MorseClaimableAccountKeyPrefix = "MorseClaimableAccount/value/"
)
View Source
const MorseSignatureLengthBytes = 64

Variables

View Source
var (
	ErrInvalidSigner                = sdkerrors.Register(ModuleName, 1100, "expected x/gov module account as the only signer for migration state import messages")
	ErrMorseAccountsImport          = sdkerrors.Register(ModuleName, 1101, "unable to import morse claimable accounts")
	ErrMorseAccountClaim            = sdkerrors.Register(ModuleName, 1102, "unable to claim morse account")
	ErrMorseApplicationClaim        = sdkerrors.Register(ModuleName, 1104, "unable to claim morse account as a staked application")
	ErrMorseSupplierClaim           = sdkerrors.Register(ModuleName, 1105, "unable to claim morse account as a staked supplier")
	ErrMigrationParamInvalid        = sdkerrors.Register(ModuleName, 1106, "the provided param is invalid")
	ErrMorseSrcAddress              = sdkerrors.Register(ModuleName, 1107, "invalid Morse source account address")
	ErrMorseSignature               = sdkerrors.Register(ModuleName, 1108, "invalid morse signature")
	ErrMorseRecoverableAccountClaim = sdkerrors.Register(ModuleName, 1109, "unable to recover Morse account")
)

x/migration module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthModule        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowModule          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupModule = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// MorseModuleAccountNames is the list of all module account names that are
	// expected to be present in the canonical Morse state export.
	MorseModuleAccountNames = []string{
		MorseModuleAccountNameDao,
		MorseModuleAccountNameFeeCollector,
		MorseModuleAccountNameApplicationStakeTokensPool,
		MorseModuleAccountNameStakedTokensPool,
	}

	// MorseStakePoolModuleAccountNames is the list of module account names which
	// SHOULD be EXCLUDED from the MorseAccountState because they are accounted for elsewhere.
	MorseStakePoolModuleAccountNames = []string{
		MorseModuleAccountNameApplicationStakeTokensPool,
		MorseModuleAccountNameStakedTokensPool,
	}
)

morseModuleAccountNames is the list of module account names that are present in the canonical Morse state export.

View Source
var (
	ErrInvalidLengthMorseOffchain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMorseOffchain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMorseOffchain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMorseOnchain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMorseOnchain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMorseOnchain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (

	// WaiveMorseClaimGasFees
	KeyWaiveMorseClaimGasFees     = []byte("WaiveMorseClaimGasFees")
	ParamWaiveMorseClaimGasFees   = "waive_morse_claim_gas_fees"
	DefaultWaiveMorseClaimGasFees = false

	// AllowMorseAccountImportOverwrite
	KeyAllowMorseAccountImportOverwrite     = []byte("AllowMorseAccountImportOverwrite")
	ParamAllowMorseAccountImportOverwrite   = "allow_morse_account_import_overwrite"
	DefaultAllowMorseAccountImportOverwrite = false

	// MorseAccountClaimingEnabled
	KeyMorseAccountClaimingEnabled    = []byte("MorseAccountClaimingEnabled")
	ParamMorseAccountClaimingEnabled  = "morse_account_claiming_enabled"
	DefaultMorseAccountClamingEnabled = true
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var 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",
}
View Source
var 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,
}
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var (
	ParamsKey = []byte("p_migration")
)
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func MorseClaimableAccountKey

func MorseClaimableAccountKey(
	address string,
) []byte

MorseClaimableAccountKey returns the store key to retrieve a MorseClaimableAccount from the index fields

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateParamIsBool added in v0.1.11

func ValidateParamIsBool(paramAny any) error

ValidateParamIsBool validates that the param is a boolean type.

Types

type AccountKeeper

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

AccountKeeper defines the expected interface for the Account module.

type ApplicationKeeper added in v0.0.14

type ApplicationKeeper interface {
	GetApplication(ctx context.Context, appAddr string) (app apptypes.Application, found bool)
	SetApplication(ctx context.Context, application apptypes.Application)
	GetParams(ctx context.Context) apptypes.Params
	StakeApplication(ctx context.Context, logger cosmoslog.Logger, msg *apptypes.MsgStakeApplication) (*apptypes.Application, error)
}

type BankKeeper

type BankKeeper interface {
	SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

BankKeeper defines the expected interface for the Bank module.

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"`
	// On-chain computed sha256 hash of the MorseAccountState
	// - Contains all imported MorseClaimableAccounts
	MorseAccountStateHash []byte `protobuf:"bytes,2,opt,name=morse_account_state_hash,json=morseAccountStateHash,proto3" json:"morse_account_state_hash"`
	// 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"`
}

EventImportMorseClaimableAccounts - Emitted when MorseClaimableAccounts are created on-chain - Represents import event for Morse claimable accounts

func (*EventImportMorseClaimableAccounts) Descriptor

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

func (*EventImportMorseClaimableAccounts) GetCreatedAtHeight

func (m *EventImportMorseClaimableAccounts) GetCreatedAtHeight() int64

func (*EventImportMorseClaimableAccounts) GetMorseAccountStateHash

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

func (*EventImportMorseClaimableAccounts) GetNumAccounts

func (m *EventImportMorseClaimableAccounts) GetNumAccounts() uint64

func (*EventImportMorseClaimableAccounts) Marshal

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

func (*EventImportMorseClaimableAccounts) MarshalTo

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

func (*EventImportMorseClaimableAccounts) MarshalToSizedBuffer

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

func (*EventImportMorseClaimableAccounts) ProtoMessage

func (*EventImportMorseClaimableAccounts) ProtoMessage()

func (*EventImportMorseClaimableAccounts) Reset

func (*EventImportMorseClaimableAccounts) Size

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

func (*EventImportMorseClaimableAccounts) String

func (*EventImportMorseClaimableAccounts) Unmarshal

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

func (*EventImportMorseClaimableAccounts) XXX_DiscardUnknown

func (m *EventImportMorseClaimableAccounts) XXX_DiscardUnknown()

func (*EventImportMorseClaimableAccounts) XXX_Marshal

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

func (*EventImportMorseClaimableAccounts) XXX_Merge

func (*EventImportMorseClaimableAccounts) XXX_Size

func (m *EventImportMorseClaimableAccounts) XXX_Size() int

func (*EventImportMorseClaimableAccounts) XXX_Unmarshal

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

type EventMorseAccountClaimed added in v0.0.14

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"`
	// 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"`
	// 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"`
	// Unstaked balance claimed from Morse
	ClaimedBalance string `protobuf:"bytes,5,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance"`
}

EventMorseAccountClaimed - Emitted when a MorseAccount is claimed on-chain

func (*EventMorseAccountClaimed) Descriptor added in v0.0.14

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

func (*EventMorseAccountClaimed) GetClaimedBalance added in v0.0.14

func (m *EventMorseAccountClaimed) GetClaimedBalance() string

func (*EventMorseAccountClaimed) GetMorseSrcAddress added in v0.0.14

func (m *EventMorseAccountClaimed) GetMorseSrcAddress() string

func (*EventMorseAccountClaimed) GetSessionEndHeight added in v0.0.14

func (m *EventMorseAccountClaimed) GetSessionEndHeight() int64

func (*EventMorseAccountClaimed) GetShannonDestAddress added in v0.0.14

func (m *EventMorseAccountClaimed) GetShannonDestAddress() string

func (*EventMorseAccountClaimed) Marshal added in v0.0.14

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

func (*EventMorseAccountClaimed) MarshalTo added in v0.0.14

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

func (*EventMorseAccountClaimed) MarshalToSizedBuffer added in v0.0.14

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

func (*EventMorseAccountClaimed) ProtoMessage added in v0.0.14

func (*EventMorseAccountClaimed) ProtoMessage()

func (*EventMorseAccountClaimed) Reset added in v0.0.14

func (m *EventMorseAccountClaimed) Reset()

func (*EventMorseAccountClaimed) Size added in v0.0.14

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

func (*EventMorseAccountClaimed) String added in v0.0.14

func (m *EventMorseAccountClaimed) String() string

func (*EventMorseAccountClaimed) Unmarshal added in v0.0.14

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

func (*EventMorseAccountClaimed) XXX_DiscardUnknown added in v0.0.14

func (m *EventMorseAccountClaimed) XXX_DiscardUnknown()

func (*EventMorseAccountClaimed) XXX_Marshal added in v0.0.14

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

func (*EventMorseAccountClaimed) XXX_Merge added in v0.0.14

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

func (*EventMorseAccountClaimed) XXX_Size added in v0.0.14

func (m *EventMorseAccountClaimed) XXX_Size() int

func (*EventMorseAccountClaimed) XXX_Unmarshal added in v0.0.14

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

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"`
	// The total balance which was recovered:
	// - Includes both unstaked and staked balances (consolidated)
	// - Auto-liquidates both unstaked and staked balances at once
	RecoveredBalance string `protobuf:"bytes,5,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance"`
	// 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"`
	// 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"`
}

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

func (*EventMorseAccountRecovered) Descriptor added in v0.1.12

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

func (*EventMorseAccountRecovered) GetMorseSrcAddress added in v0.1.12

func (m *EventMorseAccountRecovered) GetMorseSrcAddress() string

func (*EventMorseAccountRecovered) GetRecoveredBalance added in v0.1.12

func (m *EventMorseAccountRecovered) GetRecoveredBalance() string

func (*EventMorseAccountRecovered) GetSessionEndHeight added in v0.1.12

func (m *EventMorseAccountRecovered) GetSessionEndHeight() int64

func (*EventMorseAccountRecovered) GetShannonDestAddress added in v0.1.12

func (m *EventMorseAccountRecovered) GetShannonDestAddress() string

func (*EventMorseAccountRecovered) Marshal added in v0.1.12

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

func (*EventMorseAccountRecovered) MarshalTo added in v0.1.12

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

func (*EventMorseAccountRecovered) MarshalToSizedBuffer added in v0.1.12

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

func (*EventMorseAccountRecovered) ProtoMessage added in v0.1.12

func (*EventMorseAccountRecovered) ProtoMessage()

func (*EventMorseAccountRecovered) Reset added in v0.1.12

func (m *EventMorseAccountRecovered) Reset()

func (*EventMorseAccountRecovered) Size added in v0.1.12

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

func (*EventMorseAccountRecovered) String added in v0.1.12

func (m *EventMorseAccountRecovered) String() string

func (*EventMorseAccountRecovered) Unmarshal added in v0.1.12

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

func (*EventMorseAccountRecovered) XXX_DiscardUnknown added in v0.1.12

func (m *EventMorseAccountRecovered) XXX_DiscardUnknown()

func (*EventMorseAccountRecovered) XXX_Marshal added in v0.1.12

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

func (*EventMorseAccountRecovered) XXX_Merge added in v0.1.12

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

func (*EventMorseAccountRecovered) XXX_Size added in v0.1.12

func (m *EventMorseAccountRecovered) XXX_Size() int

func (*EventMorseAccountRecovered) XXX_Unmarshal added in v0.1.12

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

type EventMorseApplicationClaimed added in v0.0.14

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"`
	// 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"`
	// Application staked as a result of the claim
	// - Mirrors Morse application stake
	Application *types.Application `protobuf:"bytes,5,opt,name=application,proto3" json:"application"`
	// Unstaked balance claimed from Morse
	ClaimedBalance string `protobuf:"bytes,6,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance"`
	// Application stake claimed as a result of the claim
	// - Equivalent to Morse application staked amount
	ClaimedApplicationStake string `protobuf:"bytes,7,opt,name=claimed_application_stake,json=claimedApplicationStake,proto3" json:"claimed_application_stake"`
}

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

func (*EventMorseApplicationClaimed) Descriptor added in v0.0.14

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

func (*EventMorseApplicationClaimed) GetApplication added in v0.0.14

func (m *EventMorseApplicationClaimed) GetApplication() *types.Application

func (*EventMorseApplicationClaimed) GetClaimedApplicationStake added in v0.0.14

func (m *EventMorseApplicationClaimed) GetClaimedApplicationStake() string

func (*EventMorseApplicationClaimed) GetClaimedBalance added in v0.0.14

func (m *EventMorseApplicationClaimed) GetClaimedBalance() string

func (*EventMorseApplicationClaimed) GetMorseSrcAddress added in v0.0.14

func (m *EventMorseApplicationClaimed) GetMorseSrcAddress() string

func (*EventMorseApplicationClaimed) GetSessionEndHeight added in v0.0.14

func (m *EventMorseApplicationClaimed) GetSessionEndHeight() int64

func (*EventMorseApplicationClaimed) Marshal added in v0.0.14

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

func (*EventMorseApplicationClaimed) MarshalTo added in v0.0.14

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

func (*EventMorseApplicationClaimed) MarshalToSizedBuffer added in v0.0.14

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

func (*EventMorseApplicationClaimed) ProtoMessage added in v0.0.14

func (*EventMorseApplicationClaimed) ProtoMessage()

func (*EventMorseApplicationClaimed) Reset added in v0.0.14

func (m *EventMorseApplicationClaimed) Reset()

func (*EventMorseApplicationClaimed) Size added in v0.0.14

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

func (*EventMorseApplicationClaimed) String added in v0.0.14

func (*EventMorseApplicationClaimed) Unmarshal added in v0.0.14

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

func (*EventMorseApplicationClaimed) XXX_DiscardUnknown added in v0.0.14

func (m *EventMorseApplicationClaimed) XXX_DiscardUnknown()

func (*EventMorseApplicationClaimed) XXX_Marshal added in v0.0.14

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

func (*EventMorseApplicationClaimed) XXX_Merge added in v0.0.14

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

func (*EventMorseApplicationClaimed) XXX_Size added in v0.0.14

func (m *EventMorseApplicationClaimed) XXX_Size() int

func (*EventMorseApplicationClaimed) XXX_Unmarshal added in v0.0.14

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

type EventMorseSupplierClaimed added in v0.0.14

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"`
	// Unstaked balance claimed from Morse
	ClaimedBalance string `protobuf:"bytes,9,opt,name=claimed_balance,json=claimedBalance,proto3" json:"claimed_balance"`
	// 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"`
	// 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"`
	// 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 `` /* 150-byte string literal not displayed */
	// Supplier stake claimed as a result of the claim
	// - Equivalent to Morse supplier staked amount
	ClaimedSupplierStake string `protobuf:"bytes,10,opt,name=claimed_supplier_stake,json=claimedSupplierStake,proto3" json:"claimed_supplier_stake"`
	// Supplier staked as a result of the claim
	// - Mirrors Morse supplier stake
	Supplier *types1.Supplier `protobuf:"bytes,5,opt,name=supplier,proto3" json:"supplier"`
}

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

func (*EventMorseSupplierClaimed) Descriptor added in v0.0.14

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

func (*EventMorseSupplierClaimed) GetClaimSignerType added in v0.1.12

func (*EventMorseSupplierClaimed) GetClaimedBalance added in v0.0.14

func (m *EventMorseSupplierClaimed) GetClaimedBalance() string

func (*EventMorseSupplierClaimed) GetClaimedSupplierStake added in v0.0.14

func (m *EventMorseSupplierClaimed) GetClaimedSupplierStake() string

func (*EventMorseSupplierClaimed) GetMorseNodeAddress added in v0.1.12

func (m *EventMorseSupplierClaimed) GetMorseNodeAddress() string

func (*EventMorseSupplierClaimed) GetMorseOutputAddress added in v0.1.12

func (m *EventMorseSupplierClaimed) GetMorseOutputAddress() string

func (*EventMorseSupplierClaimed) GetSessionEndHeight added in v0.0.14

func (m *EventMorseSupplierClaimed) GetSessionEndHeight() int64

func (*EventMorseSupplierClaimed) GetSupplier added in v0.0.14

func (m *EventMorseSupplierClaimed) GetSupplier() *types1.Supplier

func (*EventMorseSupplierClaimed) Marshal added in v0.0.14

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

func (*EventMorseSupplierClaimed) MarshalTo added in v0.0.14

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

func (*EventMorseSupplierClaimed) MarshalToSizedBuffer added in v0.0.14

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

func (*EventMorseSupplierClaimed) ProtoMessage added in v0.0.14

func (*EventMorseSupplierClaimed) ProtoMessage()

func (*EventMorseSupplierClaimed) Reset added in v0.0.14

func (m *EventMorseSupplierClaimed) Reset()

func (*EventMorseSupplierClaimed) Size added in v0.0.14

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

func (*EventMorseSupplierClaimed) String added in v0.0.14

func (m *EventMorseSupplierClaimed) String() string

func (*EventMorseSupplierClaimed) Unmarshal added in v0.0.14

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

func (*EventMorseSupplierClaimed) XXX_DiscardUnknown added in v0.0.14

func (m *EventMorseSupplierClaimed) XXX_DiscardUnknown()

func (*EventMorseSupplierClaimed) XXX_Marshal added in v0.0.14

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

func (*EventMorseSupplierClaimed) XXX_Merge added in v0.0.14

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

func (*EventMorseSupplierClaimed) XXX_Size added in v0.0.14

func (m *EventMorseSupplierClaimed) XXX_Size() int

func (*EventMorseSupplierClaimed) XXX_Unmarshal added in v0.0.14

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

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params                    Params                  `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	MorseClaimableAccountList []MorseClaimableAccount `protobuf:"bytes,2,rep,name=morseClaimableAccountList,proto3" json:"morseClaimableAccountList"`
}

GenesisState defines the migration module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetMorseClaimableAccountList

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Module added in v0.1.27

type Module struct {
	// authority defines the custom module authority. If not set, defaults to the governance module.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
}

Module is the config object for the module.

func (*Module) Descriptor added in v0.1.27

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

func (*Module) GetAuthority added in v0.1.27

func (m *Module) GetAuthority() string

func (*Module) Marshal added in v0.1.27

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

func (*Module) MarshalTo added in v0.1.27

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

func (*Module) MarshalToSizedBuffer added in v0.1.27

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

func (*Module) ProtoMessage added in v0.1.27

func (*Module) ProtoMessage()

func (*Module) Reset added in v0.1.27

func (m *Module) Reset()

func (*Module) Size added in v0.1.27

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

func (*Module) String added in v0.1.27

func (m *Module) String() string

func (*Module) Unmarshal added in v0.1.27

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

func (*Module) XXX_DiscardUnknown added in v0.1.27

func (m *Module) XXX_DiscardUnknown()

func (*Module) XXX_Marshal added in v0.1.27

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

func (*Module) XXX_Merge added in v0.1.27

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

func (*Module) XXX_Size added in v0.1.27

func (m *Module) XXX_Size() int

func (*Module) XXX_Unmarshal added in v0.1.27

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

type MorseAccount

type MorseAccount struct {
	// A hex-encoded representation of the address corresponding to a Morse application's ed25519 public key.
	Address github_com_cometbft_cometbft_crypto.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cometbft/cometbft/crypto.Address" json:"address"`
	// The ed25519 public key of the account.
	PubKey *MorsePublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"public_key" yaml:"public_key"`
	// The account balance; this does not include any actor stakes.
	Coins []types.Coin `protobuf:"bytes,3,rep,name=coins,proto3" json:"coins"`
}

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

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

func (*MorseAccount) Marshal

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

func (*MorseAccount) MarshalTo

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

func (*MorseAccount) MarshalToSizedBuffer

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

func (*MorseAccount) ProtoMessage

func (*MorseAccount) ProtoMessage()

func (*MorseAccount) Reset

func (m *MorseAccount) Reset()

func (*MorseAccount) Size

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

func (*MorseAccount) String

func (m *MorseAccount) String() string

func (*MorseAccount) Unmarshal

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

func (*MorseAccount) XXX_DiscardUnknown

func (m *MorseAccount) XXX_DiscardUnknown()

func (*MorseAccount) XXX_Marshal

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

func (*MorseAccount) XXX_Merge

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

func (*MorseAccount) XXX_MessageName

func (*MorseAccount) XXX_MessageName() string

func (*MorseAccount) XXX_Size

func (m *MorseAccount) XXX_Size() int

func (*MorseAccount) XXX_Unmarshal

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

type MorseAccountState

type MorseAccountState struct {
	Accounts []*MorseClaimableAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts" yaml:"accounts"`
}

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

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

func (*MorseAccountState) GetAccounts

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

func (MorseAccountState) GetHash

func (m MorseAccountState) GetHash() ([]byte, error)

GetHash calculates the sha256 hash of the MorseAccountState proto structure. It is intended to be used to verify the integrity of the MorseAccountState by network actors offchain.

func (*MorseAccountState) Marshal

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

func (*MorseAccountState) MarshalTo

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

func (*MorseAccountState) MarshalToSizedBuffer

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

func (*MorseAccountState) ProtoMessage

func (*MorseAccountState) ProtoMessage()

func (*MorseAccountState) Reset

func (m *MorseAccountState) Reset()

func (*MorseAccountState) Size

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

func (*MorseAccountState) String

func (m *MorseAccountState) String() string

func (*MorseAccountState) Unmarshal

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

func (*MorseAccountState) XXX_DiscardUnknown

func (m *MorseAccountState) XXX_DiscardUnknown()

func (*MorseAccountState) XXX_Marshal

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

func (*MorseAccountState) XXX_Merge

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

func (*MorseAccountState) XXX_Size

func (m *MorseAccountState) XXX_Size() int

func (*MorseAccountState) XXX_Unmarshal

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

type MorseApplication

type MorseApplication struct {
	// Address is a binary representation of the address corresponding
	// to a Morse application's ed25519 public key.
	Address github_com_cometbft_cometbft_crypto.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cometbft/cometbft/crypto.Address" json:"address" yaml:"address"`
	// 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" yaml:"public_key"`
	// 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" yaml:"jailed"`
	Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status" yaml:"status"`
	// The string representation of the BigInt amount of upokt.
	StakedTokens string `protobuf:"bytes,6,opt,name=staked_tokens,json=stakedTokens,proto3" json:"staked_tokens"`
	// 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 time.Time `protobuf:"bytes,8,opt,name=unstaking_time,json=unstakingTime,proto3,stdtime" json:"unstaking_time" yaml:"unstaking_time"`
}

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

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

func (*MorseApplication) Equal

func (this *MorseApplication) Equal(that interface{}) bool

func (*MorseApplication) Marshal

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

func (*MorseApplication) MarshalTo

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

func (*MorseApplication) MarshalToSizedBuffer

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

func (*MorseApplication) ProtoMessage

func (*MorseApplication) ProtoMessage()

func (*MorseApplication) Reset

func (m *MorseApplication) Reset()

func (*MorseApplication) Size

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

func (*MorseApplication) String

func (m *MorseApplication) String() string

func (*MorseApplication) Unmarshal

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

func (*MorseApplication) XXX_DiscardUnknown

func (m *MorseApplication) XXX_DiscardUnknown()

func (*MorseApplication) XXX_Marshal

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

func (*MorseApplication) XXX_Merge

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

func (*MorseApplication) XXX_Size

func (m *MorseApplication) XXX_Size() int

func (*MorseApplication) XXX_Unmarshal

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

type MorseApplications

type MorseApplications struct {
	Applications []*MorseApplication `protobuf:"bytes,1,rep,name=applications,proto3" json:"applications"`
}

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

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

func (*MorseApplications) GetApplications

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

func (*MorseApplications) Marshal

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

func (*MorseApplications) MarshalTo

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

func (*MorseApplications) MarshalToSizedBuffer

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

func (*MorseApplications) ProtoMessage

func (*MorseApplications) ProtoMessage()

func (*MorseApplications) Reset

func (m *MorseApplications) Reset()

func (*MorseApplications) Size

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

func (*MorseApplications) String

func (m *MorseApplications) String() string

func (*MorseApplications) Unmarshal

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

func (*MorseApplications) XXX_DiscardUnknown

func (m *MorseApplications) XXX_DiscardUnknown()

func (*MorseApplications) XXX_Marshal

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

func (*MorseApplications) XXX_Merge

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

func (*MorseApplications) XXX_Size

func (m *MorseApplications) XXX_Size() int

func (*MorseApplications) XXX_Unmarshal

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

type MorseAuth

type MorseAuth struct {
	Accounts []*MorseAuthAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts"`
}

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

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

func (*MorseAuth) GetAccounts

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

func (*MorseAuth) Marshal

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

func (*MorseAuth) MarshalTo

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

func (*MorseAuth) MarshalToSizedBuffer

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

func (*MorseAuth) ProtoMessage

func (*MorseAuth) ProtoMessage()

func (*MorseAuth) Reset

func (m *MorseAuth) Reset()

func (*MorseAuth) Size

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

func (*MorseAuth) String

func (m *MorseAuth) String() string

func (*MorseAuth) Unmarshal

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

func (*MorseAuth) XXX_DiscardUnknown

func (m *MorseAuth) XXX_DiscardUnknown()

func (*MorseAuth) XXX_Marshal

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

func (*MorseAuth) XXX_Merge

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

func (*MorseAuth) XXX_Size

func (m *MorseAuth) XXX_Size() int

func (*MorseAuth) XXX_Unmarshal

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

type MorseAuthAccount

type MorseAuthAccount struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type"`
	// value is a EITHER a JSON-encoded MorseAccount or a MorseModuleAccount.
	Value encoding_json.RawMessage `protobuf:"bytes,3,opt,name=value,proto3,casttype=encoding/json.RawMessage" json:"value"`
}

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

func (*MorseAuthAccount) AsMorseAccount added in v0.1.11

func (morseAuthAcct *MorseAuthAccount) AsMorseAccount() (*MorseAccount, error)

AsMorseAccount converts a MorseAuthAccount to a MorseAccount. If the account is not an externally owned account, an error is returned.

func (*MorseAuthAccount) AsMorseModuleAccount added in v0.1.11

func (morseAuthAcct *MorseAuthAccount) AsMorseModuleAccount() (*MorseModuleAccount, error)

AsMorseModuleAccount converts a MorseAuthAccount to a MorseModuleAccount. If the account is not a module account, an error is returned.

func (*MorseAuthAccount) Descriptor

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

func (*MorseAuthAccount) GetType

func (m *MorseAuthAccount) GetType() string

func (*MorseAuthAccount) GetValue

func (*MorseAuthAccount) Marshal

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

func (*MorseAuthAccount) MarshalTo

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

func (*MorseAuthAccount) MarshalToSizedBuffer

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

func (*MorseAuthAccount) ProtoMessage

func (*MorseAuthAccount) ProtoMessage()

func (*MorseAuthAccount) Reset

func (m *MorseAuthAccount) Reset()

func (*MorseAuthAccount) SetAddress added in v0.1.11

func (morseAuthAcct *MorseAuthAccount) SetAddress(address crypto.Address) error

SetAddress is a convenience method for setting the address of a MorseAuthAccount. It is intended for use in tests.

func (*MorseAuthAccount) Size

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

func (*MorseAuthAccount) String

func (m *MorseAuthAccount) String() string

func (*MorseAuthAccount) Unmarshal

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

func (*MorseAuthAccount) XXX_DiscardUnknown

func (m *MorseAuthAccount) XXX_DiscardUnknown()

func (*MorseAuthAccount) XXX_Marshal

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

func (*MorseAuthAccount) XXX_Merge

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

func (*MorseAuthAccount) XXX_Size

func (m *MorseAuthAccount) XXX_Size() int

func (*MorseAuthAccount) XXX_Unmarshal

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

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"`
	// 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"`
	// Unstaked upokt tokens (account balance) available for claiming
	UnstakedBalance types.Coin `protobuf:"bytes,5,opt,name=unstaked_balance,json=unstakedBalance,proto3" json:"unstaked_balance"`
	// 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 types.Coin `protobuf:"bytes,6,opt,name=supplier_stake,json=supplierStake,proto3" json:"supplier_stake"`
	// Staked tokens for application actor corresponding to this account address
	ApplicationStake types.Coin `protobuf:"bytes,7,opt,name=application_stake,json=applicationStake,proto3" json:"application_stake"`
	// 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" yaml:"claimed_at_height"`
	// 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 `` /* 145-byte string literal not displayed */
	// 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 time.Time `protobuf:"bytes,10,opt,name=unstaking_time,json=unstakingTime,proto3,stdtime" json:"unstaking_time" yaml:"unstaking_time"`
}

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

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

func (*MorseClaimableAccount) GetApplicationStake

func (m *MorseClaimableAccount) GetApplicationStake() types.Coin

func (*MorseClaimableAccount) GetClaimedAtHeight

func (m *MorseClaimableAccount) GetClaimedAtHeight() int64

func (*MorseClaimableAccount) GetEstimatedUnbondingEndHeight added in v0.1.13

func (m *MorseClaimableAccount) GetEstimatedUnbondingEndHeight(
	ctx context.Context,
	sharedParams sharedtypes.Params,
) (height int64, isUnbonded bool)

GetEstimatedUnbondingEndHeight returns the estimated block height at which the MorseClaimableAccount's unbonding period will end. The estimation process includes:

The estimation process includes: - Calculating the remaining time until unstaking is complete. - Using the estimated block duration from an off-chain configuration.

Returns: - The estimated block height when unbonding will end. - true if the unbonding period has not yet elapsed.

func (*MorseClaimableAccount) GetMorseOutputAddress added in v0.1.12

func (m *MorseClaimableAccount) GetMorseOutputAddress() string

func (*MorseClaimableAccount) GetMorseSrcAddress

func (m *MorseClaimableAccount) GetMorseSrcAddress() string

func (*MorseClaimableAccount) GetShannonDestAddress

func (m *MorseClaimableAccount) GetShannonDestAddress() string

func (*MorseClaimableAccount) GetSupplierStake

func (m *MorseClaimableAccount) GetSupplierStake() types.Coin

func (*MorseClaimableAccount) GetUnstakedBalance

func (m *MorseClaimableAccount) GetUnstakedBalance() types.Coin

func (*MorseClaimableAccount) GetUnstakingTime added in v0.1.13

func (m *MorseClaimableAccount) GetUnstakingTime() time.Time

func (*MorseClaimableAccount) HasUnbonded added in v0.1.13

func (m *MorseClaimableAccount) HasUnbonded(ctx context.Context) bool

HasUnbonded indicates that: 1. the MorseClaimableAccount began unbonding on Morse 2. The unbonding period has elapsed. For example, the supplier was claimed on Shannon > 21 days after it began unbonding on Morse.

func (*MorseClaimableAccount) IsClaimed added in v0.0.14

func (m *MorseClaimableAccount) IsClaimed() bool

IsClaimed returns true if the MorseClaimableAccount has been claimed; i.e. ShannonDestAddress is not empty OR the ClaimedAtHeight is greater than 0.

func (*MorseClaimableAccount) IsUnbonding added in v0.1.13

func (m *MorseClaimableAccount) IsUnbonding() bool

IsUnbonding indicates that the MorseClaimableAccount began unbonding on Morse but its unbonding period has NOT yet elapsed at the time that the Morse snapshot was taken.

func (*MorseClaimableAccount) Marshal

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

func (*MorseClaimableAccount) MarshalTo

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

func (*MorseClaimableAccount) MarshalToSizedBuffer

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

func (*MorseClaimableAccount) ProtoMessage

func (*MorseClaimableAccount) ProtoMessage()

func (*MorseClaimableAccount) Reset

func (m *MorseClaimableAccount) Reset()

func (*MorseClaimableAccount) SecondsUntilUnbonded added in v0.1.13

func (m *MorseClaimableAccount) SecondsUntilUnbonded(ctx context.Context) int64

SecondsUntilUnbonded returns the number of seconds until the MorseClaimableAccount's unbonding period will elapse.

func (*MorseClaimableAccount) Size

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

func (*MorseClaimableAccount) String

func (m *MorseClaimableAccount) String() string

func (MorseClaimableAccount) TotalTokens added in v0.0.14

func (m MorseClaimableAccount) TotalTokens() cosmostypes.Coin

TotalTokens returns the sum of the unstaked balance, application stake, and supplier stake.

func (*MorseClaimableAccount) Unmarshal

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

func (*MorseClaimableAccount) XXX_DiscardUnknown

func (m *MorseClaimableAccount) XXX_DiscardUnknown()

func (*MorseClaimableAccount) XXX_Marshal

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

func (*MorseClaimableAccount) XXX_Merge

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

func (*MorseClaimableAccount) XXX_Size

func (m *MorseClaimableAccount) XXX_Size() int

func (*MorseClaimableAccount) XXX_Unmarshal

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

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:"BaseAccount"`
	Name        string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name" yaml:"name"`
}

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

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

func (*MorseModuleAccount) GetBaseAccount added in v0.1.11

func (m *MorseModuleAccount) GetBaseAccount() MorseAccount

func (*MorseModuleAccount) GetName added in v0.1.11

func (m *MorseModuleAccount) GetName() string

func (*MorseModuleAccount) Marshal added in v0.1.11

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

func (*MorseModuleAccount) MarshalTo added in v0.1.11

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

func (*MorseModuleAccount) MarshalToSizedBuffer added in v0.1.11

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

func (*MorseModuleAccount) ProtoMessage added in v0.1.11

func (*MorseModuleAccount) ProtoMessage()

func (*MorseModuleAccount) Reset added in v0.1.11

func (m *MorseModuleAccount) Reset()

func (*MorseModuleAccount) Size added in v0.1.11

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

func (*MorseModuleAccount) String added in v0.1.11

func (m *MorseModuleAccount) String() string

func (*MorseModuleAccount) Unmarshal added in v0.1.11

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

func (*MorseModuleAccount) XXX_DiscardUnknown added in v0.1.11

func (m *MorseModuleAccount) XXX_DiscardUnknown()

func (*MorseModuleAccount) XXX_Marshal added in v0.1.11

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

func (*MorseModuleAccount) XXX_Merge added in v0.1.11

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

func (*MorseModuleAccount) XXX_Size added in v0.1.11

func (m *MorseModuleAccount) XXX_Size() int

func (*MorseModuleAccount) XXX_Unmarshal added in v0.1.11

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

type MorsePos

type MorsePos struct {
	Validators []*MorseValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators"`
}

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

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

func (*MorsePos) GetValidators

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

func (*MorsePos) Marshal

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

func (*MorsePos) MarshalTo

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

func (*MorsePos) MarshalToSizedBuffer

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

func (*MorsePos) ProtoMessage

func (*MorsePos) ProtoMessage()

func (*MorsePos) Reset

func (m *MorsePos) Reset()

func (*MorsePos) Size

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

func (*MorsePos) String

func (m *MorsePos) String() string

func (*MorsePos) Unmarshal

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

func (*MorsePos) XXX_DiscardUnknown

func (m *MorsePos) XXX_DiscardUnknown()

func (*MorsePos) XXX_Marshal

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

func (*MorsePos) XXX_Merge

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

func (*MorsePos) XXX_Size

func (m *MorsePos) XXX_Size() int

func (*MorsePos) XXX_Unmarshal

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

type MorsePublicKey

type MorsePublicKey struct {
	Value crypto_ed25519.PublicKey `protobuf:"bytes,2,opt,name=value,proto3,casttype=crypto/ed25519.PublicKey" json:"value,omitempty"`
}

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

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

func (*MorsePublicKey) GetValue

func (m *MorsePublicKey) GetValue() crypto_ed25519.PublicKey

func (*MorsePublicKey) Marshal

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

func (*MorsePublicKey) MarshalTo

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

func (*MorsePublicKey) MarshalToSizedBuffer

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

func (*MorsePublicKey) ProtoMessage

func (*MorsePublicKey) ProtoMessage()

func (*MorsePublicKey) Reset

func (m *MorsePublicKey) Reset()

func (*MorsePublicKey) Size

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

func (*MorsePublicKey) String

func (m *MorsePublicKey) String() string

func (*MorsePublicKey) Unmarshal

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

func (*MorsePublicKey) XXX_DiscardUnknown

func (m *MorsePublicKey) XXX_DiscardUnknown()

func (*MorsePublicKey) XXX_Marshal

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

func (*MorsePublicKey) XXX_Merge

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

func (*MorsePublicKey) XXX_Size

func (m *MorsePublicKey) XXX_Size() int

func (*MorsePublicKey) XXX_Unmarshal

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

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"`
	// app_state is the entire Morse tendermint application state.
	AppState *MorseTendermintAppState `protobuf:"bytes,2,opt,name=app_state,json=appState,proto3" json:"app_state"`
}

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

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

func (*MorseStateExport) GetAppHash

func (m *MorseStateExport) GetAppHash() string

func (*MorseStateExport) GetAppState

func (m *MorseStateExport) GetAppState() *MorseTendermintAppState

func (*MorseStateExport) Marshal

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

func (*MorseStateExport) MarshalTo

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

func (*MorseStateExport) MarshalToSizedBuffer

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

func (*MorseStateExport) ProtoMessage

func (*MorseStateExport) ProtoMessage()

func (*MorseStateExport) Reset

func (m *MorseStateExport) Reset()

func (*MorseStateExport) Size

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

func (*MorseStateExport) String

func (m *MorseStateExport) String() string

func (*MorseStateExport) Unmarshal

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

func (*MorseStateExport) XXX_DiscardUnknown

func (m *MorseStateExport) XXX_DiscardUnknown()

func (*MorseStateExport) XXX_Marshal

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

func (*MorseStateExport) XXX_Merge

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

func (*MorseStateExport) XXX_Size

func (m *MorseStateExport) XXX_Size() int

func (*MorseStateExport) XXX_Unmarshal

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

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

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

func (MorseSupplierClaimSignerType) String added in v0.1.12

type MorseTendermintAppState

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

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

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

func (*MorseTendermintAppState) GetApplication

func (m *MorseTendermintAppState) GetApplication() *MorseApplications

func (*MorseTendermintAppState) GetAuth

func (m *MorseTendermintAppState) GetAuth() *MorseAuth

func (*MorseTendermintAppState) GetPos

func (m *MorseTendermintAppState) GetPos() *MorsePos

func (*MorseTendermintAppState) Marshal

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

func (*MorseTendermintAppState) MarshalTo

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

func (*MorseTendermintAppState) MarshalToSizedBuffer

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

func (*MorseTendermintAppState) ProtoMessage

func (*MorseTendermintAppState) ProtoMessage()

func (*MorseTendermintAppState) Reset

func (m *MorseTendermintAppState) Reset()

func (*MorseTendermintAppState) Size

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

func (*MorseTendermintAppState) String

func (m *MorseTendermintAppState) String() string

func (*MorseTendermintAppState) Unmarshal

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

func (*MorseTendermintAppState) XXX_DiscardUnknown

func (m *MorseTendermintAppState) XXX_DiscardUnknown()

func (*MorseTendermintAppState) XXX_Marshal

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

func (*MorseTendermintAppState) XXX_Merge

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

func (*MorseTendermintAppState) XXX_Size

func (m *MorseTendermintAppState) XXX_Size() int

func (*MorseTendermintAppState) XXX_Unmarshal

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

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 github_com_cometbft_cometbft_crypto.Address `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cometbft/cometbft/crypto.Address" json:"address" yaml:"address"`
	// 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" yaml:"public_key"`
	// 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"`
	Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status"`
	// The string representation of the BigInt amount of upokt.
	StakedTokens string `protobuf:"bytes,7,opt,name=staked_tokens,json=stakedTokens,proto3" json:"tokens"`
	// 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 time.Time `protobuf:"bytes,8,opt,name=unstaking_time,json=unstakingTime,proto3,stdtime" json:"unstaking_time" yaml:"unstaking_time"`
	// 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 github_com_cometbft_cometbft_crypto.Address `` /* 175-byte string literal not displayed */
}

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

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

func (*MorseValidator) Equal

func (this *MorseValidator) Equal(that interface{}) bool

func (*MorseValidator) Marshal

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

func (*MorseValidator) MarshalTo

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

func (*MorseValidator) MarshalToSizedBuffer

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

func (*MorseValidator) ProtoMessage

func (*MorseValidator) ProtoMessage()

func (*MorseValidator) Reset

func (m *MorseValidator) Reset()

func (*MorseValidator) Size

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

func (*MorseValidator) String

func (m *MorseValidator) String() string

func (*MorseValidator) Unmarshal

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

func (*MorseValidator) XXX_DiscardUnknown

func (m *MorseValidator) XXX_DiscardUnknown()

func (*MorseValidator) XXX_Marshal

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

func (*MorseValidator) XXX_Merge

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

func (*MorseValidator) XXX_Size

func (m *MorseValidator) XXX_Size() int

func (*MorseValidator) XXX_Unmarshal

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

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 `protobuf:"bytes,4,opt,name=shannon_signing_address,json=shannonSigningAddress,proto3" json:"shannon_signing_address"`
	// 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"`
	// The ed25519 public key of the morse account with morse_src_address.
	MorsePublicKey github_com_cometbft_cometbft_crypto_ed25519.PubKey `` /* 165-byte string literal not displayed */
	// 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"`
}

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 NewMsgClaimMorseAccount

func NewMsgClaimMorseAccount(
	shannonDestAddress string,
	morsePrivateKey cometcrypto.PrivKey,
	shannonSigningAddr string,
) (*MsgClaimMorseAccount, error)

func (*MsgClaimMorseAccount) Descriptor

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

func (*MsgClaimMorseAccount) GetMorsePublicKey added in v0.1.2

func (*MsgClaimMorseAccount) GetMorseSignature

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

func (*MsgClaimMorseAccount) GetMorseSignerAddress added in v0.1.12

func (msg *MsgClaimMorseAccount) GetMorseSignerAddress() string

GetMorseSignerAddress returns the morse address which was used to sign the claim message.

func (*MsgClaimMorseAccount) GetShannonDestAddress

func (m *MsgClaimMorseAccount) GetShannonDestAddress() string

func (*MsgClaimMorseAccount) GetShannonSigningAddress added in v0.1.2

func (m *MsgClaimMorseAccount) GetShannonSigningAddress() string

func (*MsgClaimMorseAccount) Marshal

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

func (*MsgClaimMorseAccount) MarshalTo

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

func (*MsgClaimMorseAccount) MarshalToSizedBuffer

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

func (*MsgClaimMorseAccount) ProtoMessage

func (*MsgClaimMorseAccount) ProtoMessage()

func (*MsgClaimMorseAccount) Reset

func (m *MsgClaimMorseAccount) Reset()

func (*MsgClaimMorseAccount) SignMsgClaimMorseAccount added in v0.0.14

func (msg *MsgClaimMorseAccount) SignMsgClaimMorseAccount(morsePrivKey cometcrypto.PrivKey) (err error)

SignMsgClaimMorseAccount signs the given MsgClaimMorseAccount with the given Morse private key.

func (*MsgClaimMorseAccount) Size

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

func (*MsgClaimMorseAccount) String

func (m *MsgClaimMorseAccount) String() string

func (*MsgClaimMorseAccount) Unmarshal

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

func (*MsgClaimMorseAccount) ValidateBasic

func (msg *MsgClaimMorseAccount) ValidateBasic() error

ValidateBasic ensures that: - The shannonDestAddress is valid (i.e. it is a valid bech32 address). - The morsePublicKey is valid. - The morseSrcAddress matches the public key. - The morseSignature is valid.

func (*MsgClaimMorseAccount) ValidateMorseSignature added in v0.0.14

func (msg *MsgClaimMorseAccount) ValidateMorseSignature() error

ValidateMorseSignature validates the signature of the given MsgClaimMorseAccount matches the given Morse public key.

func (*MsgClaimMorseAccount) XXX_DiscardUnknown

func (m *MsgClaimMorseAccount) XXX_DiscardUnknown()

func (*MsgClaimMorseAccount) XXX_Marshal

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

func (*MsgClaimMorseAccount) XXX_Merge

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

func (*MsgClaimMorseAccount) XXX_Size

func (m *MsgClaimMorseAccount) XXX_Size() int

func (*MsgClaimMorseAccount) XXX_Unmarshal

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

type MsgClaimMorseAccountResponse

type MsgClaimMorseAccountResponse struct {
}

MsgClaimMorseAccountResponse is returned from MsgClaimMorseAccount.

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

func (*MsgClaimMorseAccountResponse) Descriptor

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

func (*MsgClaimMorseAccountResponse) Marshal

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

func (*MsgClaimMorseAccountResponse) MarshalTo

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

func (*MsgClaimMorseAccountResponse) MarshalToSizedBuffer

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

func (*MsgClaimMorseAccountResponse) ProtoMessage

func (*MsgClaimMorseAccountResponse) ProtoMessage()

func (*MsgClaimMorseAccountResponse) Reset

func (m *MsgClaimMorseAccountResponse) Reset()

func (*MsgClaimMorseAccountResponse) Size

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

func (*MsgClaimMorseAccountResponse) String

func (*MsgClaimMorseAccountResponse) Unmarshal

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

func (*MsgClaimMorseAccountResponse) XXX_DiscardUnknown

func (m *MsgClaimMorseAccountResponse) XXX_DiscardUnknown()

func (*MsgClaimMorseAccountResponse) XXX_Marshal

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

func (*MsgClaimMorseAccountResponse) XXX_Merge

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

func (*MsgClaimMorseAccountResponse) XXX_Size

func (m *MsgClaimMorseAccountResponse) XXX_Size() int

func (*MsgClaimMorseAccountResponse) XXX_Unmarshal

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

type MsgClaimMorseApplication added in v0.0.14

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 `protobuf:"bytes,5,opt,name=shannon_signing_address,json=shannonSigningAddress,proto3" json:"shannon_signing_address"`
	// 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"`
	// The ed25519 public key of the morse account with morse_src_address.
	MorsePublicKey github_com_cometbft_cometbft_crypto_ed25519.PubKey `` /* 165-byte string literal not displayed */
	// 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"`
	// 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 *types.ApplicationServiceConfig `protobuf:"bytes,4,opt,name=service_config,json=serviceConfig,proto3" json:"service_config"`
}

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 NewMsgClaimMorseApplication added in v0.0.14

func NewMsgClaimMorseApplication(
	shannonDestAddress string,
	morsePrivateKey cometcrypto.PrivKey,
	serviceConfig *sharedtypes.ApplicationServiceConfig,
	shannonSigningAddr string,
) (*MsgClaimMorseApplication, error)

NewMsgClaimMorseApplication creates a new MsgClaimMorseApplication. If morsePrivateKey is provided (i.e. not nil), it is used to sign the message.

func (*MsgClaimMorseApplication) Descriptor added in v0.0.14

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

func (*MsgClaimMorseApplication) GetMorsePublicKey added in v0.1.2

func (*MsgClaimMorseApplication) GetMorseSignature added in v0.0.14

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

func (*MsgClaimMorseApplication) GetMorseSignerAddress added in v0.1.12

func (msg *MsgClaimMorseApplication) GetMorseSignerAddress() string

GetMorseSignerAddress returns the morse address which was used to sign the claim message.

func (*MsgClaimMorseApplication) GetServiceConfig added in v0.0.14

func (*MsgClaimMorseApplication) GetShannonDestAddress added in v0.0.14

func (m *MsgClaimMorseApplication) GetShannonDestAddress() string

func (*MsgClaimMorseApplication) GetShannonSigningAddress added in v0.1.2

func (m *MsgClaimMorseApplication) GetShannonSigningAddress() string

func (*MsgClaimMorseApplication) Marshal added in v0.0.14

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

func (*MsgClaimMorseApplication) MarshalTo added in v0.0.14

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

func (*MsgClaimMorseApplication) MarshalToSizedBuffer added in v0.0.14

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

func (*MsgClaimMorseApplication) ProtoMessage added in v0.0.14

func (*MsgClaimMorseApplication) ProtoMessage()

func (*MsgClaimMorseApplication) Reset added in v0.0.14

func (m *MsgClaimMorseApplication) Reset()

func (*MsgClaimMorseApplication) SignMorseSignature added in v0.0.14

func (msg *MsgClaimMorseApplication) SignMorseSignature(morsePrivKey cometcrypto.PrivKey) (err error)

SignMorseSignature signs the given MsgClaimMorseApplication with the given Morse private key.

func (*MsgClaimMorseApplication) Size added in v0.0.14

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

func (*MsgClaimMorseApplication) String added in v0.0.14

func (m *MsgClaimMorseApplication) String() string

func (*MsgClaimMorseApplication) Unmarshal added in v0.0.14

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

func (*MsgClaimMorseApplication) ValidateBasic added in v0.0.14

func (msg *MsgClaimMorseApplication) ValidateBasic() error

ValidateBasic ensures that: - The shannonDestAddress is valid (i.e. it is a valid bech32 address). - The application service config is valid. - The morsePublicKey is valid. - The morseSrcAddress matches the public key. - The morseSignature is valid.

func (*MsgClaimMorseApplication) ValidateMorseSignature added in v0.0.14

func (msg *MsgClaimMorseApplication) ValidateMorseSignature() error

ValidateMorseSignature validates the signature of the given MsgClaimMorseApplication matches the given Morse public key.

func (*MsgClaimMorseApplication) XXX_DiscardUnknown added in v0.0.14

func (m *MsgClaimMorseApplication) XXX_DiscardUnknown()

func (*MsgClaimMorseApplication) XXX_Marshal added in v0.0.14

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

func (*MsgClaimMorseApplication) XXX_Merge added in v0.0.14

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

func (*MsgClaimMorseApplication) XXX_Size added in v0.0.14

func (m *MsgClaimMorseApplication) XXX_Size() int

func (*MsgClaimMorseApplication) XXX_Unmarshal added in v0.0.14

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

type MsgClaimMorseApplicationResponse added in v0.0.14

type MsgClaimMorseApplicationResponse struct {
}

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

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

func (*MsgClaimMorseApplicationResponse) Marshal added in v0.0.14

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

func (*MsgClaimMorseApplicationResponse) MarshalTo added in v0.0.14

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

func (*MsgClaimMorseApplicationResponse) MarshalToSizedBuffer added in v0.0.14

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

func (*MsgClaimMorseApplicationResponse) ProtoMessage added in v0.0.14

func (*MsgClaimMorseApplicationResponse) ProtoMessage()

func (*MsgClaimMorseApplicationResponse) Reset added in v0.0.14

func (*MsgClaimMorseApplicationResponse) Size added in v0.0.14

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

func (*MsgClaimMorseApplicationResponse) String added in v0.0.14

func (*MsgClaimMorseApplicationResponse) Unmarshal added in v0.0.14

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

func (*MsgClaimMorseApplicationResponse) XXX_DiscardUnknown added in v0.0.14

func (m *MsgClaimMorseApplicationResponse) XXX_DiscardUnknown()

func (*MsgClaimMorseApplicationResponse) XXX_Marshal added in v0.0.14

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

func (*MsgClaimMorseApplicationResponse) XXX_Merge added in v0.0.14

func (*MsgClaimMorseApplicationResponse) XXX_Size added in v0.0.14

func (m *MsgClaimMorseApplicationResponse) XXX_Size() int

func (*MsgClaimMorseApplicationResponse) XXX_Unmarshal added in v0.0.14

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

type MsgClaimMorseSupplier added in v0.0.14

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 `protobuf:"bytes,6,opt,name=shannon_signing_address,json=shannonSigningAddress,proto3" json:"shannon_signing_address"`
	// 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"`
	// 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 `protobuf:"bytes,2,opt,name=shannon_operator_address,json=shannonOperatorAddress,proto3" json:"shannon_operator_address"`
	// 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"`
	// 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 github_com_cometbft_cometbft_crypto_ed25519.PubKey `` /* 155-byte string literal not displayed */
	// 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"`
	// 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 `protobuf:"varint,8,opt,name=signer_is_output_address,json=signerIsOutputAddress,proto3" json:"signer_is_output_address"`
	// The services this supplier is staked to provide service for.
	Services []*types.SupplierServiceConfig `protobuf:"bytes,5,rep,name=services,proto3" json:"services"`
}

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 NewMsgClaimMorseSupplier added in v0.0.14

func NewMsgClaimMorseSupplier(
	shannonOwnerAddress string,
	shannonOperatorAddress string,
	morseNodeAddress string,
	morsePrivateKey cometcrypto.PrivKey,
	services []*sharedtypes.SupplierServiceConfig,
	shannonSigningAddr string,
) (*MsgClaimMorseSupplier, error)

NewMsgClaimMorseSupplier creates a new MsgClaimMorseSupplier. If morsePrivateKey is provided (i.e. not nil), it is used to sign the message. morsePrivateKey MUST be ONE OF THE FOLLOWING:

  • The Morse node private key (i.e. operator); a.k.a custodial
  • The Morse output private key (i.e. owner); a.k.a non-custodial

func (*MsgClaimMorseSupplier) Descriptor added in v0.0.14

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

func (*MsgClaimMorseSupplier) GetMorseNodeAddress added in v0.1.12

func (m *MsgClaimMorseSupplier) GetMorseNodeAddress() string

func (*MsgClaimMorseSupplier) GetMorsePublicKey added in v0.1.2

func (*MsgClaimMorseSupplier) GetMorseSignature added in v0.0.14

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

func (*MsgClaimMorseSupplier) GetMorseSignerAddress added in v0.1.12

func (msg *MsgClaimMorseSupplier) GetMorseSignerAddress() string

GetMorseSignerAddress returns the address associated with the Morse keypair which was used to sign this claim message. This address is expected to be ONE OF THE FOLLOWING: - The Morse node address (i.e. operator) - The Morse output address (i.e. owner)

func (*MsgClaimMorseSupplier) GetServices added in v0.0.14

func (*MsgClaimMorseSupplier) GetShannonOperatorAddress added in v0.0.14

func (m *MsgClaimMorseSupplier) GetShannonOperatorAddress() string

func (*MsgClaimMorseSupplier) GetShannonOwnerAddress added in v0.0.14

func (m *MsgClaimMorseSupplier) GetShannonOwnerAddress() string

func (*MsgClaimMorseSupplier) GetShannonSigningAddress added in v0.1.2

func (m *MsgClaimMorseSupplier) GetShannonSigningAddress() string

func (*MsgClaimMorseSupplier) GetSignerIsOutputAddress added in v0.1.12

func (m *MsgClaimMorseSupplier) GetSignerIsOutputAddress() bool

func (*MsgClaimMorseSupplier) Marshal added in v0.0.14

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

func (*MsgClaimMorseSupplier) MarshalTo added in v0.0.14

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

func (*MsgClaimMorseSupplier) MarshalToSizedBuffer added in v0.0.14

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

func (*MsgClaimMorseSupplier) ProtoMessage added in v0.0.14

func (*MsgClaimMorseSupplier) ProtoMessage()

func (*MsgClaimMorseSupplier) Reset added in v0.0.14

func (m *MsgClaimMorseSupplier) Reset()

func (*MsgClaimMorseSupplier) SignMorseSignature added in v0.0.14

func (msg *MsgClaimMorseSupplier) SignMorseSignature(morsePrivKey cometcrypto.PrivKey) (err error)

SignMorseSignature signs the given MsgClaimMorseApplication with the given Morse private key.

func (*MsgClaimMorseSupplier) Size added in v0.0.14

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

func (*MsgClaimMorseSupplier) String added in v0.0.14

func (m *MsgClaimMorseSupplier) String() string

func (*MsgClaimMorseSupplier) Unmarshal added in v0.0.14

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

func (*MsgClaimMorseSupplier) ValidateBasic added in v0.0.14

func (msg *MsgClaimMorseSupplier) ValidateBasic() error

ValidateBasic ensures that: - The shannon owner address is valid (i.e. it is a valid bech32 address). - The shannon operator address is valid (i.e. it is a valid bech32 address). - The supplier service configs are valid. - The morsePublicKey is valid. - The morseSrcAddress matches the public key. - The morseSignature is valid.

func (*MsgClaimMorseSupplier) ValidateMorseSignature added in v0.0.14

func (msg *MsgClaimMorseSupplier) ValidateMorseSignature() error

ValidateMorseSignature validates the signature of the given MsgClaimMorseSupplier matches the given Morse public key.

func (*MsgClaimMorseSupplier) XXX_DiscardUnknown added in v0.0.14

func (m *MsgClaimMorseSupplier) XXX_DiscardUnknown()

func (*MsgClaimMorseSupplier) XXX_Marshal added in v0.0.14

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

func (*MsgClaimMorseSupplier) XXX_Merge added in v0.0.14

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

func (*MsgClaimMorseSupplier) XXX_Size added in v0.0.14

func (m *MsgClaimMorseSupplier) XXX_Size() int

func (*MsgClaimMorseSupplier) XXX_Unmarshal added in v0.0.14

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

type MsgClaimMorseSupplierResponse added in v0.0.14

type MsgClaimMorseSupplierResponse struct {
}

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

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

func (*MsgClaimMorseSupplierResponse) Marshal added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) MarshalTo added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) MarshalToSizedBuffer added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) ProtoMessage added in v0.0.14

func (*MsgClaimMorseSupplierResponse) ProtoMessage()

func (*MsgClaimMorseSupplierResponse) Reset added in v0.0.14

func (m *MsgClaimMorseSupplierResponse) Reset()

func (*MsgClaimMorseSupplierResponse) Size added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) String added in v0.0.14

func (*MsgClaimMorseSupplierResponse) Unmarshal added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) XXX_DiscardUnknown added in v0.0.14

func (m *MsgClaimMorseSupplierResponse) XXX_DiscardUnknown()

func (*MsgClaimMorseSupplierResponse) XXX_Marshal added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) XXX_Merge added in v0.0.14

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

func (*MsgClaimMorseSupplierResponse) XXX_Size added in v0.0.14

func (m *MsgClaimMorseSupplierResponse) XXX_Size() int

func (*MsgClaimMorseSupplierResponse) XXX_Unmarshal added in v0.0.14

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

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	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)
	RecoverMorseAccount(ctx context.Context, in *MsgRecoverMorseAccount, opts ...grpc.CallOption) (*MsgRecoverMorseAccountResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type 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"`
	// 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 `protobuf:"bytes,3,opt,name=morse_account_state_hash,json=morseAccountStateHash,proto3" json:"morse_account_state_hash"`
}

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 NewMsgImportMorseClaimableAccounts

func NewMsgImportMorseClaimableAccounts(
	authority string,
	morseAccountState MorseAccountState,
) (*MsgImportMorseClaimableAccounts, error)

NewMsgImportMorseClaimableAccounts constructs a MsgImportMorseClaimableAccounts from the given authority and morseAccountState.

func (*MsgImportMorseClaimableAccounts) Descriptor

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

func (*MsgImportMorseClaimableAccounts) GetAuthority

func (m *MsgImportMorseClaimableAccounts) GetAuthority() string

func (*MsgImportMorseClaimableAccounts) GetMorseAccountState

func (m *MsgImportMorseClaimableAccounts) GetMorseAccountState() MorseAccountState

func (*MsgImportMorseClaimableAccounts) GetMorseAccountStateHash

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

func (*MsgImportMorseClaimableAccounts) Marshal

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

func (*MsgImportMorseClaimableAccounts) MarshalTo

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

func (*MsgImportMorseClaimableAccounts) MarshalToSizedBuffer

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

func (*MsgImportMorseClaimableAccounts) ProtoMessage

func (*MsgImportMorseClaimableAccounts) ProtoMessage()

func (*MsgImportMorseClaimableAccounts) Reset

func (*MsgImportMorseClaimableAccounts) Size

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

func (*MsgImportMorseClaimableAccounts) String

func (*MsgImportMorseClaimableAccounts) Unmarshal

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

func (*MsgImportMorseClaimableAccounts) ValidateBasic

func (msg *MsgImportMorseClaimableAccounts) ValidateBasic() error

ValidateBasic ensures that: - The authority address is valid (i.e. well-formed). - The MorseAccountStateHash field hash matches computed hash of the MorseAccountState field.

func (*MsgImportMorseClaimableAccounts) XXX_DiscardUnknown

func (m *MsgImportMorseClaimableAccounts) XXX_DiscardUnknown()

func (*MsgImportMorseClaimableAccounts) XXX_Marshal

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

func (*MsgImportMorseClaimableAccounts) XXX_Merge

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

func (*MsgImportMorseClaimableAccounts) XXX_Size

func (m *MsgImportMorseClaimableAccounts) XXX_Size() int

func (*MsgImportMorseClaimableAccounts) XXX_Unmarshal

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

type MsgImportMorseClaimableAccountsResponse

type MsgImportMorseClaimableAccountsResponse struct {
}

MsgImportMorseClaimableAccountsResponse is returned from MsgImportMorseClaimableAccounts.

- Indicates the canonical hash of the imported MorseAccountState - Reports the number of claimable accounts imported

func (*MsgImportMorseClaimableAccountsResponse) Descriptor

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

func (*MsgImportMorseClaimableAccountsResponse) Marshal

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

func (*MsgImportMorseClaimableAccountsResponse) MarshalTo

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

func (*MsgImportMorseClaimableAccountsResponse) MarshalToSizedBuffer

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

func (*MsgImportMorseClaimableAccountsResponse) ProtoMessage

func (*MsgImportMorseClaimableAccountsResponse) Reset

func (*MsgImportMorseClaimableAccountsResponse) Size

func (*MsgImportMorseClaimableAccountsResponse) String

func (*MsgImportMorseClaimableAccountsResponse) Unmarshal

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

func (*MsgImportMorseClaimableAccountsResponse) XXX_DiscardUnknown

func (m *MsgImportMorseClaimableAccountsResponse) XXX_DiscardUnknown()

func (*MsgImportMorseClaimableAccountsResponse) XXX_Marshal

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

func (*MsgImportMorseClaimableAccountsResponse) XXX_Merge

func (*MsgImportMorseClaimableAccountsResponse) XXX_Size

func (*MsgImportMorseClaimableAccountsResponse) XXX_Unmarshal

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

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"`
	// 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"`
	// 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"`
}

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

func NewMsgRecoverMorseAccount(authority string, shannonDestAddress string, morseSrcAddress string) *MsgRecoverMorseAccount

func (*MsgRecoverMorseAccount) Descriptor added in v0.1.11

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

func (*MsgRecoverMorseAccount) GetAuthority added in v0.1.11

func (m *MsgRecoverMorseAccount) GetAuthority() string

func (*MsgRecoverMorseAccount) GetMorseSrcAddress added in v0.1.11

func (m *MsgRecoverMorseAccount) GetMorseSrcAddress() string

func (*MsgRecoverMorseAccount) GetShannonDestAddress added in v0.1.11

func (m *MsgRecoverMorseAccount) GetShannonDestAddress() string

func (*MsgRecoverMorseAccount) Marshal added in v0.1.11

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

func (*MsgRecoverMorseAccount) MarshalTo added in v0.1.11

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

func (*MsgRecoverMorseAccount) MarshalToSizedBuffer added in v0.1.11

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

func (*MsgRecoverMorseAccount) ProtoMessage added in v0.1.11

func (*MsgRecoverMorseAccount) ProtoMessage()

func (*MsgRecoverMorseAccount) Reset added in v0.1.11

func (m *MsgRecoverMorseAccount) Reset()

func (*MsgRecoverMorseAccount) Size added in v0.1.11

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

func (*MsgRecoverMorseAccount) String added in v0.1.11

func (m *MsgRecoverMorseAccount) String() string

func (*MsgRecoverMorseAccount) Unmarshal added in v0.1.11

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

func (*MsgRecoverMorseAccount) ValidateBasic added in v0.1.11

func (msg *MsgRecoverMorseAccount) ValidateBasic() error

func (*MsgRecoverMorseAccount) XXX_DiscardUnknown added in v0.1.11

func (m *MsgRecoverMorseAccount) XXX_DiscardUnknown()

func (*MsgRecoverMorseAccount) XXX_Marshal added in v0.1.11

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

func (*MsgRecoverMorseAccount) XXX_Merge added in v0.1.11

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

func (*MsgRecoverMorseAccount) XXX_Size added in v0.1.11

func (m *MsgRecoverMorseAccount) XXX_Size() int

func (*MsgRecoverMorseAccount) XXX_Unmarshal added in v0.1.11

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

type MsgRecoverMorseAccountResponse added in v0.1.11

type MsgRecoverMorseAccountResponse struct {
}

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

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

func (*MsgRecoverMorseAccountResponse) Marshal added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) MarshalTo added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) MarshalToSizedBuffer added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) ProtoMessage added in v0.1.11

func (*MsgRecoverMorseAccountResponse) ProtoMessage()

func (*MsgRecoverMorseAccountResponse) Reset added in v0.1.11

func (m *MsgRecoverMorseAccountResponse) Reset()

func (*MsgRecoverMorseAccountResponse) Size added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) String added in v0.1.11

func (*MsgRecoverMorseAccountResponse) Unmarshal added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) XXX_DiscardUnknown added in v0.1.11

func (m *MsgRecoverMorseAccountResponse) XXX_DiscardUnknown()

func (*MsgRecoverMorseAccountResponse) XXX_Marshal added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) XXX_Merge added in v0.1.11

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

func (*MsgRecoverMorseAccountResponse) XXX_Size added in v0.1.11

func (m *MsgRecoverMorseAccountResponse) XXX_Size() int

func (*MsgRecoverMorseAccountResponse) XXX_Unmarshal added in v0.1.11

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

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	ImportMorseClaimableAccounts(context.Context, *MsgImportMorseClaimableAccounts) (*MsgImportMorseClaimableAccountsResponse, error)
	ClaimMorseAccount(context.Context, *MsgClaimMorseAccount) (*MsgClaimMorseAccountResponse, error)
	ClaimMorseApplication(context.Context, *MsgClaimMorseApplication) (*MsgClaimMorseApplicationResponse, error)
	ClaimMorseSupplier(context.Context, *MsgClaimMorseSupplier) (*MsgClaimMorseSupplierResponse, error)
	RecoverMorseAccount(context.Context, *MsgRecoverMorseAccount) (*MsgRecoverMorseAccountResponse, error)
}

MsgServer is the server API for 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"`
	// Module parameters to update
	// NOTE: All parameters must be supplied
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

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

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

- Empty response on success

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type ParamSubspace

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

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
	// 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 `` /* 158-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 `` /* 198-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 `` /* 175-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	waiveMorseClaimGasFees,
	allowMorseAccountImportOverwrite,
	morseAccountClaimingEnabled bool,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetAllowMorseAccountImportOverwrite added in v0.1.11

func (m *Params) GetAllowMorseAccountImportOverwrite() bool

func (*Params) GetMorseAccountClaimingEnabled added in v0.1.13

func (m *Params) GetMorseAccountClaimingEnabled() bool

func (*Params) GetWaiveMorseClaimGasFees added in v0.1.2

func (m *Params) GetWaiveMorseClaimGasFees() bool

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAllMorseClaimableAccountRequest

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

func (*QueryAllMorseClaimableAccountRequest) Descriptor

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

func (*QueryAllMorseClaimableAccountRequest) GetPagination

func (*QueryAllMorseClaimableAccountRequest) Marshal

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

func (*QueryAllMorseClaimableAccountRequest) MarshalTo

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

func (*QueryAllMorseClaimableAccountRequest) MarshalToSizedBuffer

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

func (*QueryAllMorseClaimableAccountRequest) ProtoMessage

func (*QueryAllMorseClaimableAccountRequest) ProtoMessage()

func (*QueryAllMorseClaimableAccountRequest) Reset

func (*QueryAllMorseClaimableAccountRequest) Size

func (*QueryAllMorseClaimableAccountRequest) String

func (*QueryAllMorseClaimableAccountRequest) Unmarshal

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

func (*QueryAllMorseClaimableAccountRequest) XXX_DiscardUnknown

func (m *QueryAllMorseClaimableAccountRequest) XXX_DiscardUnknown()

func (*QueryAllMorseClaimableAccountRequest) XXX_Marshal

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

func (*QueryAllMorseClaimableAccountRequest) XXX_Merge

func (*QueryAllMorseClaimableAccountRequest) XXX_Size

func (*QueryAllMorseClaimableAccountRequest) XXX_Unmarshal

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

type QueryAllMorseClaimableAccountResponse

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

func (*QueryAllMorseClaimableAccountResponse) Descriptor

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

func (*QueryAllMorseClaimableAccountResponse) GetMorseClaimableAccount

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

func (*QueryAllMorseClaimableAccountResponse) GetPagination

func (*QueryAllMorseClaimableAccountResponse) Marshal

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

func (*QueryAllMorseClaimableAccountResponse) MarshalTo

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

func (*QueryAllMorseClaimableAccountResponse) MarshalToSizedBuffer

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

func (*QueryAllMorseClaimableAccountResponse) ProtoMessage

func (*QueryAllMorseClaimableAccountResponse) ProtoMessage()

func (*QueryAllMorseClaimableAccountResponse) Reset

func (*QueryAllMorseClaimableAccountResponse) Size

func (*QueryAllMorseClaimableAccountResponse) String

func (*QueryAllMorseClaimableAccountResponse) Unmarshal

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

func (*QueryAllMorseClaimableAccountResponse) XXX_DiscardUnknown

func (m *QueryAllMorseClaimableAccountResponse) XXX_DiscardUnknown()

func (*QueryAllMorseClaimableAccountResponse) XXX_Marshal

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

func (*QueryAllMorseClaimableAccountResponse) XXX_Merge

func (*QueryAllMorseClaimableAccountResponse) XXX_Size

func (*QueryAllMorseClaimableAccountResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryMorseClaimableAccountRequest added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) Descriptor added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) GetAddress added in v0.0.14

func (m *QueryMorseClaimableAccountRequest) GetAddress() string

func (*QueryMorseClaimableAccountRequest) Marshal added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) MarshalTo added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) MarshalToSizedBuffer added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) ProtoMessage added in v0.0.14

func (*QueryMorseClaimableAccountRequest) ProtoMessage()

func (*QueryMorseClaimableAccountRequest) Reset added in v0.0.14

func (*QueryMorseClaimableAccountRequest) Size added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) String added in v0.0.14

func (*QueryMorseClaimableAccountRequest) Unmarshal added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) XXX_DiscardUnknown added in v0.0.14

func (m *QueryMorseClaimableAccountRequest) XXX_DiscardUnknown()

func (*QueryMorseClaimableAccountRequest) XXX_Marshal added in v0.0.14

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

func (*QueryMorseClaimableAccountRequest) XXX_Merge added in v0.0.14

func (*QueryMorseClaimableAccountRequest) XXX_Size added in v0.0.14

func (m *QueryMorseClaimableAccountRequest) XXX_Size() int

func (*QueryMorseClaimableAccountRequest) XXX_Unmarshal added in v0.0.14

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

type QueryMorseClaimableAccountResponse added in v0.0.14

type QueryMorseClaimableAccountResponse struct {
	MorseClaimableAccount MorseClaimableAccount `protobuf:"bytes,1,opt,name=morseClaimableAccount,proto3" json:"morseClaimableAccount"`
}

func (*QueryMorseClaimableAccountResponse) Descriptor added in v0.0.14

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

func (*QueryMorseClaimableAccountResponse) GetMorseClaimableAccount added in v0.0.14

func (m *QueryMorseClaimableAccountResponse) GetMorseClaimableAccount() MorseClaimableAccount

func (*QueryMorseClaimableAccountResponse) Marshal added in v0.0.14

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

func (*QueryMorseClaimableAccountResponse) MarshalTo added in v0.0.14

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

func (*QueryMorseClaimableAccountResponse) MarshalToSizedBuffer added in v0.0.14

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

func (*QueryMorseClaimableAccountResponse) ProtoMessage added in v0.0.14

func (*QueryMorseClaimableAccountResponse) ProtoMessage()

func (*QueryMorseClaimableAccountResponse) Reset added in v0.0.14

func (*QueryMorseClaimableAccountResponse) Size added in v0.0.14

func (*QueryMorseClaimableAccountResponse) String added in v0.0.14

func (*QueryMorseClaimableAccountResponse) Unmarshal added in v0.0.14

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

func (*QueryMorseClaimableAccountResponse) XXX_DiscardUnknown added in v0.0.14

func (m *QueryMorseClaimableAccountResponse) XXX_DiscardUnknown()

func (*QueryMorseClaimableAccountResponse) XXX_Marshal added in v0.0.14

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

func (*QueryMorseClaimableAccountResponse) XXX_Merge added in v0.0.14

func (*QueryMorseClaimableAccountResponse) XXX_Size added in v0.0.14

func (*QueryMorseClaimableAccountResponse) XXX_Unmarshal added in v0.0.14

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

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

QueryServer is the server API for Query service.

type SharedKeeper added in v0.0.14

type SharedKeeper interface {
	GetParams(ctx context.Context) sharedtypes.Params
}

type SupplierKeeper added in v0.0.14

type SupplierKeeper interface {
	GetParams(ctx context.Context) suppliertypes.Params
	GetSupplier(ctx context.Context, supplierOperatorAddr string) (supplier sharedtypes.Supplier, found bool)
	SetAndIndexDehydratedSupplier(ctx context.Context, supplier sharedtypes.Supplier)
	StakeSupplier(ctx context.Context, logger cosmoslog.Logger, msg *suppliertypes.MsgStakeSupplier) (*sharedtypes.Supplier, error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimMorseAccount

func (*UnimplementedMsgServer) ClaimMorseApplication added in v0.0.14

func (*UnimplementedMsgServer) ClaimMorseSupplier added in v0.0.14

func (*UnimplementedMsgServer) RecoverMorseAccount added in v0.1.11

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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