module

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 1 Imported by: 7

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            = cerrors.Register(ModuleName, errAccountExists, "account exists")
	ErrAccountClosed            = cerrors.Register(ModuleName, errAccountClosed, "account closed")
	ErrAccountNotFound          = cerrors.Register(ModuleName, errAccountNotFound, "account not found")
	ErrAccountOverdrawn         = cerrors.Register(ModuleName, errAccountOverdrawn, "account overdrawn")
	ErrInvalidDenomination      = cerrors.Register(ModuleName, errInvalidDenomination, "invalid denomination")
	ErrPaymentExists            = cerrors.Register(ModuleName, errPaymentExists, "payment exists")
	ErrPaymentClosed            = cerrors.Register(ModuleName, errPaymentClosed, "payment closed")
	ErrPaymentNotFound          = cerrors.Register(ModuleName, errPaymentNotFound, "payment not found")
	ErrPaymentRateZero          = cerrors.Register(ModuleName, errPaymentRateZero, "payment rate zero")
	ErrInvalidPayment           = cerrors.Register(ModuleName, errInvalidPayment, "invalid payment")
	ErrInvalidSettlement        = cerrors.Register(ModuleName, errInvalidSettlement, "invalid settlement")
	ErrInvalidID                = cerrors.Register(ModuleName, errInvalidID, "invalid ID")
	ErrInvalidAccount           = cerrors.Register(ModuleName, errInvalidAccount, "invalid account")
	ErrInvalidAccountDepositor  = cerrors.Register(ModuleName, errInvalidAccountDepositor, "invalid account depositor")
	ErrUnauthorizedDepositScope = cerrors.Register(ModuleName, errUnauthorizedDepositScope, "unauthorized deposit scope")
	ErrInvalidDeposit           = cerrors.Register(ModuleName, errInvalidDeposit, "invalid deposit")
	ErrInvalidAuthzScope        = cerrors.Register(ModuleName, errInvalidAuthzScope, "invalid authz scope")
)

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