transaction

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAccountPendingTxsLogic

type GetAccountPendingTxsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetAccountPendingTxsLogic

func NewGetAccountPendingTxsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAccountPendingTxsLogic

func (*GetAccountPendingTxsLogic) GetAccountPendingTxs

func (l *GetAccountPendingTxsLogic) GetAccountPendingTxs(req *types.ReqGetAccountPendingTxs) (resp *types.Txs, err error)

type GetAccountTxsLogic

type GetAccountTxsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetAccountTxsLogic

func NewGetAccountTxsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAccountTxsLogic

func (*GetAccountTxsLogic) GetAccountTxs

func (l *GetAccountTxsLogic) GetAccountTxs(req *types.ReqGetAccountTxs) (resp *types.Txs, err error)

type GetBlockTxsLogic

type GetBlockTxsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetBlockTxsLogic

func NewGetBlockTxsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetBlockTxsLogic

func (*GetBlockTxsLogic) GetBlockTxs

func (l *GetBlockTxsLogic) GetBlockTxs(req *types.ReqGetBlockTxs) (resp *types.Txs, err error)

type GetNextNonceLogic

type GetNextNonceLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetNextNonceLogic

func NewGetNextNonceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNextNonceLogic

func (*GetNextNonceLogic) GetNextNonce

func (l *GetNextNonceLogic) GetNextNonce(req *types.ReqGetNextNonce) (*types.NextNonce, error)

type GetPendingTxsLogic

type GetPendingTxsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetPendingTxsLogic

func NewGetPendingTxsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPendingTxsLogic

func (*GetPendingTxsLogic) GetPendingTxs

func (l *GetPendingTxsLogic) GetPendingTxs(req *types.ReqGetRange) (*types.Txs, error)

type GetTxLogic

type GetTxLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetTxLogic

func NewGetTxLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTxLogic

func (*GetTxLogic) GetTx

func (l *GetTxLogic) GetTx(req *types.ReqGetTx) (resp *types.EnrichedTx, err error)

type GetTxsLogic

type GetTxsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetTxsLogic

func NewGetTxsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTxsLogic

func (*GetTxsLogic) GetTxs

func (l *GetTxsLogic) GetTxs(req *types.ReqGetRange) (resp *types.Txs, err error)

type SendTxLogic

type SendTxLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSendTxLogic

func NewSendTxLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendTxLogic

func (*SendTxLogic) SendTx

func (s *SendTxLogic) SendTx(req *types.ReqSendTx) (resp *types.TxHash, err error)

Jump to

Keyboard shortcuts

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