strategy

@extendable function strategy(): map<text, _strategy>(source)

Returns a map of all possible strategies used to register accounts on this chain. Can be extended to add custom strategies and make them work seamlessly with the existing register_account framework.

The map pairs up a strategy operation mount name and the _strategy struct representing it. The name must be the mount name of _strategy.op

To avoid misconfiguring strategies, it is strongly recommended to add extensions to this function using add_strategy.

Throws if any extension of this function throws.

See also

add_strategy

for example usage.