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
func FeeSharePayout ¶
func FeeSharePayout(ctx sdk.Context, bankKeeper BankKeeper, totalFees sdk.Coins, revKeeper FeeShareKeeper, msgs []sdk.Msg) error
FeeSharePayout takes the total fees and redistributes 50% (or param set) to the contract developers provided they opted-in to payments.
Types ¶
type BankKeeper ¶
type FeeShareKeeper ¶
type FeeShareKeeper interface {}
type FeeSharePayoutDecorator ¶
type FeeSharePayoutDecorator struct {
// contains filtered or unexported fields
}
FeeSharePayoutDecorator Run his after we already deduct the fee from the account with the ante.NewDeductFeeDecorator() decorator. We pull funds from the FeeCollector ModuleAccount
func NewFeeSharePayoutDecorator ¶
func NewFeeSharePayoutDecorator(bk BankKeeper, fs FeeShareKeeper) FeeSharePayoutDecorator
func (FeeSharePayoutDecorator) AnteHandle ¶
Click to show internal directories.
Click to hide internal directories.