Vault Filler
The service hub should provide at least a key management service and a storage service.
Parameters
used in fillWithSomeTestDeals and fillWithSomeTestLinearStates.
used in fillWithSomeTestCash, fillWithSomeTestCommodity and consume/evolve methods. If not specified, same as defaultNotary.
used by fillWithSomeTestCash if no custom Random provided.
Constructors
Functions
Consume cash, sending any change to the default identity for this node. Only suitable for use in test scenarios, where nodes have a default identity.
Records a dummy state in the Vault (useful for creating random states when testing vault queries)
Creates a random set of between (by default) 3 and 10 cash states that add up to the given amount and adds them to the vault. This is intended for unit tests. By default the cash is owned by the legal identity key from the storage service.