Precompiles
Documentation on the special precompiles that are available at the Humanode Network.
Currency Swap precompile
Use this precompile to transfer the funds from your EVM account to any Native account.
Property | Description |
---|---|
Address |
|
Input | See contract interface. |
Output | See contract interface. |
Contract interface
Bioauth status check precompile
Use this precompile to check if the specified address has an active bioauth. Takes the validator public key (type AccountId
in the Humanode runtime code, also known as native - or Substrate - account).
Property | Description |
---|---|
Address |
|
Input |
|
Output |
|
Helper Library
You can use the helper library below together with your smart contract code to simplify invoking the precompile.
EVM to native account mapping precompile
Use this precompile to find a corresponding mapped native AccountId
for provided EVM address. This is useful to be used in combination with Bioauth
precompile as you don't need to worry about a proper AccountId
to do bioauth check.
Description
Property | Description |
---|---|
Address |
|
Input |
|
Output |
|
Helper Library
You can use the helper library below together with your smart contract code to simplify invoking the precompile.
Last updated