Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnteHandler ¶
func NewAnteHandler( ak keeper.AccountKeeper, supplyKeeper types.SupplyKeeper, priceKeeper pricefeed.Keeper, sigGasConsumer cosmosante.SignatureVerificationGasConsumer, stableCreditsDemon string, ) sdk.AnteHandler
NewAnteHandler returns an AnteHandler that checks and increments sequence numbers, checks signatures & account numbers, and deducts fees from the first signer.
Types ¶
type MinFeeDecorator ¶ added in v1.3.2
type MinFeeDecorator struct {
// contains filtered or unexported fields
}
MinFeeDecorator checks that each transaction containing a MsgShareDocument contains also a minimum fee amount corresponding to 0.01 euro per MsgShareDocument included into the transaction itself. The amount can be specified either using stableCreditsDenom tokens or by using any other token which price is contained inside the pricefeedKeeper.
func NewMinFeeDecorator ¶ added in v1.3.2
func NewMinFeeDecorator(priceKeeper pricefeed.Keeper, stableCreditsDenom string) MinFeeDecorator
func (MinFeeDecorator) AnteHandle ¶ added in v1.3.2
Click to show internal directories.
Click to hide internal directories.