Precompiled contracts

KiiChain has precompiled smart contracts crafted to allow EVM interaction with the Cosmos SDK functionalities

List of precompiles and their addresses

KiiChain supports both EVM JSON-RPC and Cosmos RPC interfaces. In order to easily interact with certain Cosmos modules, KiiChain has a set of precompiled contracts that can be called from the EVM.

Precompile
Description
Address

Provides functionalities for checking balances and supply

0x0000000000000000000000000000000000000804

Utilities for address format conversion between EVM and Cosmos

0x0000000000000000000000000000000000000400

Deals with reward distribution and related

0x0000000000000000000000000000000000000801

Supports actions such as depositing funds into proposals, voting and interacting with proposals

0x0000000000000000000000000000000000000805

Support for verifying secp256r1 curve signatures

0x0000000000000000000000000000000000000100

Support for price information and oracle module

0x0000000000000000000000000000000000001003

Provides management and query options for penalties

0x0000000000000000000000000000000000000806

Enables staking functionalities like delegation and undelegation or obtaining information on validators.

0x0000000000000000000000000000000000000800

Vesting

Interacts with Cosmos Vesting module

0x0000000000000000000000000000000000000803

ERC20 interface for native Kii

0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE

Interacting with precompiles

You can utilize direct json-rpc connections to those addresses. We also have a TS/JS library to help interact with them.

Last updated