FUNCTION
_no_action
function _no_action(account: account, strategy_params: gtv)An empty function that can be used if a strategy does not need to perform checks for the account creation.
This should generally not be the function to use, but it can be useful for debugging and
testing. Sometimes the _strategy.account_details function will be forced to have some
requirements, and if those are considered enough this function could be passed in
_strategy.action (by leaving action null in add_strategy, if used).
If your strategy will use no action, please double check that it does not have requirements that are so loose that they let users create infinite accounts, or your dapp may be vulnerable to DoS attacks.
Parameters
- account — not used, as this function does nothing
- strategy_params — not used, as this function does nothing
© 2024 Chromia