module

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 6 modules, 18 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// ModuleName is the module name constant used in many places
	ModuleName = "escrow"

	// StoreKey is the store key string for deployment
	StoreKey = ModuleName

	// RouterKey is the message route for deployment
	RouterKey = ModuleName
)

Variables

View Source
var (
	ErrAccountExists            = sdkerrors.RegisterWithGRPCCode(ModuleName, errAccountExists, codes.AlreadyExists, "account exists")
	ErrAccountClosed            = sdkerrors.RegisterWithGRPCCode(ModuleName, errAccountClosed, codes.FailedPrecondition, "account closed")
	ErrAccountNotFound          = sdkerrors.RegisterWithGRPCCode(ModuleName, errAccountNotFound, codes.NotFound, "account not found")
	ErrAccountOverdrawn         = sdkerrors.RegisterWithGRPCCode(ModuleName, errAccountOverdrawn, codes.FailedPrecondition, "account overdrawn")
	ErrInvalidDenomination      = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidDenomination, codes.InvalidArgument, "invalid denomination")
	ErrPaymentExists            = sdkerrors.RegisterWithGRPCCode(ModuleName, errPaymentExists, codes.AlreadyExists, "payment exists")
	ErrPaymentClosed            = sdkerrors.RegisterWithGRPCCode(ModuleName, errPaymentClosed, codes.FailedPrecondition, "payment closed")
	ErrPaymentNotFound          = sdkerrors.RegisterWithGRPCCode(ModuleName, errPaymentNotFound, codes.NotFound, "payment not found")
	ErrPaymentRateZero          = sdkerrors.RegisterWithGRPCCode(ModuleName, errPaymentRateZero, codes.InvalidArgument, "payment rate zero")
	ErrInvalidPayment           = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidPayment, codes.InvalidArgument, "invalid payment")
	ErrInvalidSettlement        = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidSettlement, codes.InvalidArgument, "invalid settlement")
	ErrInvalidID                = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidID, codes.InvalidArgument, "invalid ID")
	ErrInvalidAccount           = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidAccount, codes.InvalidArgument, "invalid account")
	ErrInvalidAccountDepositor  = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidAccountDepositor, codes.InvalidArgument, "invalid account depositor")
	ErrUnauthorizedDepositScope = sdkerrors.RegisterWithGRPCCode(ModuleName, errUnauthorizedDepositScope, codes.PermissionDenied, "unauthorized deposit scope")
	ErrInvalidDeposit           = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidDeposit, codes.InvalidArgument, "invalid deposit")
	ErrInvalidAuthzScope        = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidAuthzScope, codes.InvalidArgument, "invalid authz scope")
	ErrMalformedKey             = sdkerrors.RegisterWithGRPCCode(ModuleName, errMalformedKey, codes.InvalidArgument, "malformed key")
)

Functions

func AccountKeyPrefix

func AccountKeyPrefix() []byte

func PaymentKeyPrefix

func PaymentKeyPrefix() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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