Storage that holds the counter.
Caller-owned public client for the chain.
Wallet that owns the counter.
Chain that owns the counter.
Pure function that maps an index to its ephemeral address.
OptionalgapConsecutive unused indexes that end a recovery scan. Defaults to 20. The allocation ignores it.
OptionalscanMost candidate indexes that a recovery scan reads. Defaults to 10000. The allocation ignores it.
Inputs for the allocation and the recovery scan of ephemeral indexes.