Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FeePayLogic ¶
FeePayLogic takes the total fees and splits them based on the governance params and the number of contracts we are executing on. This returns the amount of fees each contract developer should get. tested in ante_test.go
Types ¶
type BankKeeper ¶
type DevGasPayoutDecorator ¶
type DevGasPayoutDecorator struct {
// contains filtered or unexported fields
}
DevGasPayoutDecorator Run his after we already deduct the fee from the account with the ante.NewDeductFeeDecorator() decorator. We pull funds from the FeeCollector ModuleAccount
func NewDevGasPayoutDecorator ¶
func NewDevGasPayoutDecorator( bk BankKeeper, fs IDevGasKeeper, ) DevGasPayoutDecorator
func (DevGasPayoutDecorator) AnteHandle ¶
type FeeSharePayoutEventOutput ¶
type FeeSharePayoutEventOutput struct {}
type IDevGasKeeper ¶
type IDevGasKeeper interface { GetParams(ctx sdk.Context) devgastypes.ModuleParams }
Click to show internal directories.
Click to hide internal directories.