Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckProxy ¶ added in v0.8.1
type CheckProxy struct {
// contains filtered or unexported fields
}
CheckProxy checks if the proxy already sent its readiness message
func NewCheckProxy ¶ added in v0.8.1
func NewCheckProxy(snapshotter types.Snapshotter) CheckProxy
NewCheckProxy constructor for CheckProxyReadiness
func (CheckProxy) AnteHandle ¶ added in v0.8.1
func (d CheckProxy) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle fails the transaction if it finds any validator holding tss share of active keys is trying to unbond
type CheckRefundFeeDecorator ¶
type CheckRefundFeeDecorator struct {
// contains filtered or unexported fields
}
CheckRefundFeeDecorator record potential refund for tss and vote txs
func NewCheckRefundFeeDecorator ¶
func NewCheckRefundFeeDecorator(registry cdctypes.InterfaceRegistry, ak antetypes.AccountKeeper, staking types.Staking, snapshotter types.Snapshotter, reward types.Reward) CheckRefundFeeDecorator
NewCheckRefundFeeDecorator constructor for CheckRefundFeeDecorator
func (CheckRefundFeeDecorator) AnteHandle ¶
func (d CheckRefundFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle record qualified refund for the tss and vote transactions
type HandlerDecorator ¶
type HandlerDecorator struct {
// contains filtered or unexported fields
}
HandlerDecorator is an ante decorator wrapper for an ante handler
func NewAnteHandlerDecorator ¶
func NewAnteHandlerDecorator(handler sdk.AnteHandler) HandlerDecorator
NewAnteHandlerDecorator constructor for HandlerDecorator
func (HandlerDecorator) AnteHandle ¶
func (decorator HandlerDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle wraps the next AnteHandler to perform custom pre- and post-processing
type LogMsgDecorator ¶
type LogMsgDecorator struct {
// contains filtered or unexported fields
}
LogMsgDecorator logs all messages in blocks
func NewLogMsgDecorator ¶
func NewLogMsgDecorator(cdc codec.Codec) LogMsgDecorator
NewLogMsgDecorator is the constructor for LogMsgDecorator
func (LogMsgDecorator) AnteHandle ¶
func (d LogMsgDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle logs all messages in blocks
type RestrictedTx ¶ added in v0.9.0
type RestrictedTx struct {
// contains filtered or unexported fields
}
RestrictedTx checks if the signer is authorized to send restricted transactions
func NewRestrictedTx ¶ added in v0.9.0
func NewRestrictedTx(permission types.Permission) RestrictedTx
NewRestrictedTx constructor for RestrictedTx
func (RestrictedTx) AnteHandle ¶ added in v0.9.0
func (d RestrictedTx) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle fails if the signer is not authorized to send the transaction
type ValidateValidatorDeregisteredTssDecorator ¶
type ValidateValidatorDeregisteredTssDecorator struct {
// contains filtered or unexported fields
}
ValidateValidatorDeregisteredTssDecorator checks if the unbonding validator holds any tss share of active crypto keys
func NewValidateValidatorDeregisteredTssDecorator ¶
func NewValidateValidatorDeregisteredTssDecorator(tss types.Tss, nexus types.Nexus, snapshotter types.Snapshotter) ValidateValidatorDeregisteredTssDecorator
NewValidateValidatorDeregisteredTssDecorator constructor for ValidateValidatorDeregisteredTssDecorator
func (ValidateValidatorDeregisteredTssDecorator) AnteHandle ¶
func (d ValidateValidatorDeregisteredTssDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle fails the transaction if it finds any validator holding tss share of active keys is trying to unbond