ante

package
v0.0.0-...-7183b0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrFeedDoesNotExist         = "feed does not exist"
	ErrSignerIsNotFeedOwner     = "account %s (%s) is not a feed owner"
	ErrAccountAlreadyExists     = "there is already a chainlink account associated with this cosmos address"
	ErrUnregisteredDataProvider = "linked account not found in account store"
	ErrDoesNotExist             = "no chainlink account associated with this cosmos address"
	ErrSubmitterDoesNotMatch    = "submitter address does not match"
)

Variables

This section is empty.

Functions

func NewAnteHandler

func NewAnteHandler(
	ak authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper, chainLinkKeeper chainlinkkeeper.Keeper,
	sigGasConsumer authante.SignatureVerificationGasConsumer,
	signModeHandler signing.SignModeHandler, externalTxDataValidationFunc func(sdk.Msg) bool,
) sdk.AnteHandler

Types

type AccountDecorator

type AccountDecorator struct {
	// contains filtered or unexported fields
}

func NewAccountDecorator

func NewAccountDecorator(chainLinkKeeper chainlinkkeeper.Keeper) AccountDecorator

func (AccountDecorator) AnteHandle

func (fd AccountDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)

type FeedDataDecorator

type FeedDataDecorator struct {
	// contains filtered or unexported fields
}

func NewFeedDataDecorator

func NewFeedDataDecorator(chainLinkKeeper chainlinkkeeper.Keeper) FeedDataDecorator

func (FeedDataDecorator) AnteHandle

func (fd FeedDataDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)

type FeedDecorator

type FeedDecorator struct {
	// contains filtered or unexported fields
}

func NewFeedDecorator

func NewFeedDecorator(chainLinkKeeper chainlinkkeeper.Keeper) FeedDecorator

func (FeedDecorator) AnteHandle

func (fd FeedDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)

type ModuleOwnerDecorator

type ModuleOwnerDecorator struct {
	// contains filtered or unexported fields
}

func NewModuleOwnerDecorator

func NewModuleOwnerDecorator(chainLinkKeeper chainlinkkeeper.Keeper) ModuleOwnerDecorator

func (ModuleOwnerDecorator) AnteHandle

func (mod ModuleOwnerDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)

type ValidationDecorator

type ValidationDecorator struct {
	// contains filtered or unexported fields
}

func NewValidationDecorator

func NewValidationDecorator(validationFunc func(sdk.Msg) bool) ValidationDecorator

func (ValidationDecorator) AnteHandle

func (fd ValidationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL