Versions in this module Expand all Collapse all v0 v0.4.1 Aug 10, 2020 Changes in this version + var ErrInsufficientFunds = errors.New("insufficient funds") + type Constructor struct + func New(config *configuration.Configuration, parser *parser.Parser, helper Helper, ...) (*Constructor, error) + func (c *Constructor) CreateTransactions(ctx context.Context, clearBroadcasts bool) error + type Handler interface + AddressCreated func(context.Context, string) error + TransactionCreated func(context.Context, string, *types.TransactionIdentifier) error + type Helper interface + AccountBalance func(context.Context, *types.AccountIdentifier, *types.Currency) (*big.Int, error) + AllAddresses func(ctx context.Context) ([]string, error) + AllBroadcasts func(ctx context.Context) ([]*storage.Broadcast, error) + Broadcast func(context.Context, string, []*types.Operation, *types.TransactionIdentifier, ...) error + ClearBroadcasts func(ctx context.Context) ([]*storage.Broadcast, error) + CoinBalance func(context.Context, *types.AccountIdentifier, *types.Currency) (*big.Int, *types.CoinIdentifier, error) + Combine func(context.Context, *types.NetworkIdentifier, string, []*types.Signature) (string, error) + Derive func(context.Context, *types.NetworkIdentifier, *types.PublicKey, ...) (string, map[string]interface{}, error) + Hash func(context.Context, *types.NetworkIdentifier, string) (*types.TransactionIdentifier, error) + LockedAddresses func(context.Context) ([]string, error) + Metadata func(context.Context, *types.NetworkIdentifier, map[string]interface{}) (map[string]interface{}, error) + Parse func(context.Context, *types.NetworkIdentifier, bool, string) ([]*types.Operation, []string, map[string]interface{}, error) + Payloads func(context.Context, *types.NetworkIdentifier, []*types.Operation, ...) (string, []*types.SigningPayload, error) + Preprocess func(context.Context, *types.NetworkIdentifier, []*types.Operation, ...) (map[string]interface{}, error) + RandomAmount func(*big.Int, *big.Int) *big.Int + Sign func(context.Context, []*types.SigningPayload) ([]*types.Signature, error) + StoreKey func(context.Context, string, *keys.KeyPair) error