Documentation ¶
Overview ¶
ensure that user has enough shr token to pay fee
Index ¶
Constants ¶
View Source
const ( NotIdSignerErr = "Transacation's Signer is not IdSigner" NotDocIssuerErr = "Transacation's Signer is not document issuer" NotAuthorityErr = "Transacation's Signer is not Authority" NotBackupAccountErr = "Transacation's Signer is not the backup account" )
View Source
const ( FEE_LEVEL_HIGH = "HIGH" // HIGHFEE = 0.05 FEE_LEVEL_MEDIUM = "MEDIUM" // MEDIUMFEE = 0.03 FEE_LEVEL_LOW = "LOW" // LOWFEE = 0.02 // MINFEE = 0.01 SKIP_CHECK_LEVEL = "SKIP" )
Variables ¶
This section is empty.
Functions ¶
func NewAnteHandler ¶
func NewAnteHandler(ak keeper.AccountKeeper, ek electoral.Keeper, supplyKeeper types.SupplyKeeper, gmKeeper gentlemint.Keeper, idKeeper id.Keeper, sigGasConsumer ante.SignatureVerificationGasConsumer) sdk.AnteHandler
Types ¶
type AuthAnteDecorator ¶
type AuthAnteDecorator struct {
// contains filtered or unexported fields
}
func NewAuthAnteDecorator ¶
func NewAuthAnteDecorator(ak keeper.AccountKeeper, sk types.SupplyKeeper, sgc ante.SignatureVerificationGasConsumer) AuthAnteDecorator
func (AuthAnteDecorator) AnteHandle ¶
type CheckAuthDecorator ¶
type CheckAuthDecorator struct {
// contains filtered or unexported fields
}
func NewCheckAuthDecorator ¶
func NewCheckAuthDecorator(gk gentlemint.Keeper, ik id.Keeper) CheckAuthDecorator
func (CheckAuthDecorator) AnteHandle ¶
type CheckFeeDecorator ¶
type CheckFeeDecorator struct {
// contains filtered or unexported fields
}
func NewCheckFeeDecorator ¶
func NewCheckFeeDecorator(gk gentlemint.Keeper) CheckFeeDecorator
func (CheckFeeDecorator) AnteHandle ¶
type CheckValDecorator ¶
type CheckValDecorator struct {
// contains filtered or unexported fields
}
func NewCheckValDecorator ¶
func NewCheckValDecorator(ek electoral.Keeper) CheckValDecorator
func (CheckValDecorator) AnteHandle ¶
type FeeEnsureDecorator ¶
type FeeEnsureDecorator struct {
// contains filtered or unexported fields
}
func NewFeeEnsureDecorator ¶
func NewFeeEnsureDecorator(gk gentlemint.Keeper) FeeEnsureDecorator
func (FeeEnsureDecorator) AnteHandle ¶
Click to show internal directories.
Click to hide internal directories.