Documentation ¶
Index ¶
- type Handler
- type Helper
- func (_m *Helper) AccountBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency) (*big.Int, error)
- func (_m *Helper) AllAddresses(ctx context.Context) ([]string, error)
- func (_m *Helper) AllBroadcasts(ctx context.Context) ([]*storage.Broadcast, error)
- func (_m *Helper) Broadcast(_a0 context.Context, _a1 string, _a2 []*types.Operation, ...) error
- func (_m *Helper) ClearBroadcasts(ctx context.Context) ([]*storage.Broadcast, error)
- func (_m *Helper) CoinBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency) (*big.Int, *types.CoinIdentifier, error)
- func (_m *Helper) Combine(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 string, ...) (string, error)
- func (_m *Helper) Derive(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 *types.PublicKey, ...) (string, map[string]interface{}, error)
- func (_m *Helper) Hash(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 string) (*types.TransactionIdentifier, error)
- func (_m *Helper) HeadBlockExists(_a0 context.Context) bool
- func (_m *Helper) LockedAddresses(_a0 context.Context) ([]string, error)
- func (_m *Helper) Metadata(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 map[string]interface{}) (map[string]interface{}, error)
- func (_m *Helper) Parse(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 bool, _a3 string) ([]*types.Operation, []string, map[string]interface{}, error)
- func (_m *Helper) Payloads(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 []*types.Operation, ...) (string, []*types.SigningPayload, error)
- func (_m *Helper) Preprocess(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 []*types.Operation, ...) (map[string]interface{}, error)
- func (_m *Helper) RandomAmount(_a0 *big.Int, _a1 *big.Int) *big.Int
- func (_m *Helper) Sign(_a0 context.Context, _a1 []*types.SigningPayload) ([]*types.Signature, error)
- func (_m *Helper) StoreKey(_a0 context.Context, _a1 string, _a2 *keys.KeyPair) 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) AddressCreated ¶
AddressCreated provides a mock function with given fields: _a0, _a1
func (*Handler) TransactionCreated ¶
func (_m *Handler) TransactionCreated(_a0 context.Context, _a1 string, _a2 *types.TransactionIdentifier) error
TransactionCreated provides a mock function with given fields: _a0, _a1, _a2
type Helper ¶
Helper is an autogenerated mock type for the Helper type
func (*Helper) AccountBalance ¶
func (_m *Helper) AccountBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency) (*big.Int, error)
AccountBalance provides a mock function with given fields: _a0, _a1, _a2
func (*Helper) AllAddresses ¶
AllAddresses provides a mock function with given fields: ctx
func (*Helper) AllBroadcasts ¶
AllBroadcasts provides a mock function with given fields: ctx
func (*Helper) Broadcast ¶
func (_m *Helper) Broadcast(_a0 context.Context, _a1 string, _a2 []*types.Operation, _a3 *types.TransactionIdentifier, _a4 string) error
Broadcast provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*Helper) ClearBroadcasts ¶
ClearBroadcasts provides a mock function with given fields: ctx
func (*Helper) CoinBalance ¶
func (_m *Helper) CoinBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency) (*big.Int, *types.CoinIdentifier, error)
CoinBalance provides a mock function with given fields: _a0, _a1, _a2
func (*Helper) Combine ¶
func (_m *Helper) Combine(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 string, _a3 []*types.Signature) (string, error)
Combine provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Helper) Derive ¶
func (_m *Helper) Derive(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 *types.PublicKey, _a3 map[string]interface{}) (string, map[string]interface{}, error)
Derive provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Helper) Hash ¶
func (_m *Helper) Hash(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 string) (*types.TransactionIdentifier, error)
Hash provides a mock function with given fields: _a0, _a1, _a2
func (*Helper) HeadBlockExists ¶ added in v0.5.0
HeadBlockExists provides a mock function with given fields: _a0
func (*Helper) LockedAddresses ¶
LockedAddresses provides a mock function with given fields: _a0
func (*Helper) Metadata ¶
func (_m *Helper) Metadata(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 map[string]interface{}) (map[string]interface{}, error)
Metadata provides a mock function with given fields: _a0, _a1, _a2
func (*Helper) Parse ¶
func (_m *Helper) Parse(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 bool, _a3 string) ([]*types.Operation, []string, map[string]interface{}, error)
Parse provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Helper) Payloads ¶
func (_m *Helper) Payloads(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 []*types.Operation, _a3 map[string]interface{}) (string, []*types.SigningPayload, error)
Payloads provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Helper) Preprocess ¶
func (_m *Helper) Preprocess(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 []*types.Operation, _a3 map[string]interface{}) (map[string]interface{}, error)
Preprocess provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*Helper) RandomAmount ¶
RandomAmount provides a mock function with given fields: _a0, _a1