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") 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.
Click to show internal directories.
Click to hide internal directories.