Expand description
Contains utility functions for runtime.
Constants§
Functions§
- is_
account_ evm - Returns true if the account ID is suppose to be EVM machine.
- is_
account_ id_ 64_ len_ hex - Returns true if the account ID length is 64 characters and it’s a hex representation.
- is_
valid_ account_ id - is_
valid_ sub_ account_ id - Returns true if the signer_id can create a direct sub-account with the given account Id. It assumes the signer_id is a valid account_id
- is_
valid_ top_ level_ account_ id - system_
account - const does not allow function call, so have to resort to this