Precompiles
Stateful Precompile information
A Stateful Precompile is a precompiled contract that can alter chain state.
Precompile Contract | Contract Address | Solidity Interface | Associated Module |
---|---|---|---|
Staking Precompile | 0xd9A998CaC66092748FfEc7cFBD155Aae1737C2fF | Staking.sol (opens in a new tab) | Staking Module (opens in a new tab) |
Multicall Precompile | Coming soon | multicall.sol | Ethereum Multicall (opens in a new tab) |
Bank Precompile | 0x4381dC2aB14285160c808659aEe005D51255adD7 | Bank.sol (opens in a new tab) | Bank Module (opens in a new tab) |
IBC Precompile | Coming soon | ibc.sol | IBC (opens in a new tab) |
Governance Module Precompile | 0x7b5Fe22B5446f7C62Ea27B8BD71CeF94e03f3dF2 | Governance.sol (opens in a new tab) | Governance Module (opens in a new tab) |
Auth(z) Module Precompile | 0xBDF49C3C3882102fc017FFb661108c63a836D065 | Address.sol (opens in a new tab) | Auth Module (opens in a new tab), Authz Module (opens in a new tab) |
Distribution Module Precompile | 0x0000000000000000000000000000000000000069 | Distribution.sol (opens in a new tab) | Distribution Module (opens in a new tab) |
ERC20 Module Precompile | 0x0000000000000000000000000000000000696969 | ERC20Module.sol (opens in a new tab) | ERC20 Module |
Stateful Precompile ABI Generation
In order to generate the default stateful precompile ABIs You must first clone the Polaris Ethereum repository (opens in a new tab).
You can now run the following command to generate the ABIs:
mage generate
The ABI files can be found in the precompile/contracts/solidity/out
directory. The generated files
can be found in the precompile/contracts/solidity/generated
directory.