Understanding predeployed contracts - what they are, why they’re used, and how they differ from precompiles
Aspect | Predeployed Contracts | Precompiles |
---|---|---|
Implementation | EVM bytecode stored on-chain | Native Go code in chain binary |
Gas Costs | Standard EVM gas pricing | Custom, typically lower gas costs |
Deployment | Must be explicitly deployed | Always available when enabled |
Upgradeability | Immutable once deployed | Can be modified via chain upgrades |
Verification | Verifiable on block explorers | Source not visible on-chain |
Address Range | Any valid address | Special range (0x1-0x9FF) |
Storage | Uses regular contract storage | Can access native Cosmos state |
0x4e59b44847b379578588920ca78fbf26c0b4956c
): Deterministic contract deployment0xcA11bde05977b3631167028862bE2a173976CA11
): Batch multiple calls in one transaction0x000000000022D473030F116dDEE9F6B43aC78BA3
): Universal token approval system0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67
): Deploy Safe multisig wallets