Documentation ¶
Index ¶
- type Handler
- type Helper
- func (_m *Helper) BlockExists(ctx context.Context, block *types.BlockIdentifier) (bool, error)
- func (_m *Helper) ComputedBalance(ctx context.Context, account *types.AccountIdentifier, ...) (*types.Amount, *types.BlockIdentifier, error)
- func (_m *Helper) CurrentBlock(ctx context.Context) (*types.BlockIdentifier, error)
- func (_m *Helper) LiveBalance(ctx context.Context, account *types.AccountIdentifier, ...) (*types.Amount, *types.BlockIdentifier, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func (*Handler) ReconciliationExempt ¶ added in v0.5.0
func (_m *Handler) ReconciliationExempt(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, computedBalance string, liveBalance string, block *types.BlockIdentifier, exemption *types.BalanceExemption) error
ReconciliationExempt provides a mock function with given fields: ctx, reconciliationType, account, currency, computedBalance, liveBalance, block, exemption
func (*Handler) ReconciliationFailed ¶
func (_m *Handler) ReconciliationFailed(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, computedBalance string, liveBalance string, block *types.BlockIdentifier) error
ReconciliationFailed provides a mock function with given fields: ctx, reconciliationType, account, currency, computedBalance, liveBalance, block
func (*Handler) ReconciliationSucceeded ¶
func (_m *Handler) ReconciliationSucceeded(ctx context.Context, reconciliationType string, account *types.AccountIdentifier, currency *types.Currency, balance string, block *types.BlockIdentifier) error
ReconciliationSucceeded provides a mock function with given fields: ctx, reconciliationType, account, currency, balance, block
type Helper ¶
Helper is an autogenerated mock type for the Helper type
func (*Helper) BlockExists ¶
BlockExists provides a mock function with given fields: ctx, block
func (*Helper) ComputedBalance ¶
func (_m *Helper) ComputedBalance(ctx context.Context, account *types.AccountIdentifier, currency *types.Currency, headBlock *types.BlockIdentifier) (*types.Amount, *types.BlockIdentifier, error)
ComputedBalance provides a mock function with given fields: ctx, account, currency, headBlock
func (*Helper) CurrentBlock ¶
CurrentBlock provides a mock function with given fields: ctx
func (*Helper) LiveBalance ¶
func (_m *Helper) LiveBalance(ctx context.Context, account *types.AccountIdentifier, currency *types.Currency, block *types.BlockIdentifier) (*types.Amount, *types.BlockIdentifier, error)
LiveBalance provides a mock function with given fields: ctx, account, currency, block