Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrackStakeChangesDecorator ¶
type TrackStakeChangesDecorator struct {
// contains filtered or unexported fields
}
TrackStakeChangesDecorator is an AnteDecorator that checks if the transaction is going to change stake by more than 5% and disallows the transaction to enter the mempool or be executed if so
func NewTrackStakeChangesDecorator ¶
func NewTrackStakeChangesDecorator(rk keeper.Keeper, sk types.StakingKeeper) TrackStakeChangesDecorator
func (TrackStakeChangesDecorator) AnteHandle ¶
Click to show internal directories.
Click to hide internal directories.