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") ErrInvalidDeposit = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidDeposit, codes.InvalidArgument, "invalid deposit") ErrInvalidAuthzScope = sdkerrors.RegisterWithGRPCCode(ModuleName, errInvalidAuthzScope, codes.InvalidArgument, "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.