Questions tagged [precompiled-contracts]

Questions related to ‘precompiled’ contracts, meant as a preliminary piece of architecture that may later become native extensions.

Filter by
Sorted by
Tagged with
35
votes
2answers
4k views

What's a precompiled contract and how are they different from native opcodes?

The Yellow Paper states: These are four so-called ‘precompiled’ contracts, meant as a preliminary piece of architecture that may later become native extensions. The four contracts in addresses ...
22
votes
2answers
4k views

List of pre-compiled contracts

Where can I find an authoritative/"official" listing of the pre-compiled contracts currently on the Ethereum network, along with their exact specifications? I couldn't find anything in the official ...
19
votes
1answer
696 views

Out of Gas invoking precompiled contracts on private blockchains

Why do precompiled contracts lead to Out of Gas on private blockchains? Some tidbits are provided in the Solidity docs but can it be explained more? It might be that you run into Out-of-Gas for ...
3
votes
2answers
396 views

Verifying Modular exponentiation operation in etherum

I have Alice who should do some cryptographic operations off-chain. Then a smart contact has to verify equality by performing Modular exponentiation operation. I attached an image of the off-chain ...
13
votes
4answers
674 views

What is the Identity function and what are its uses?

The contract at address 0x04 is the identity function. What is it and what are use cases for it?
3
votes
1answer
395 views

Not all addresses created equal?

I'm using this code to send transactions in test network(Morden): var transactionObject = { to: '**addresses are below**', gasPrice: 22000000000, gas: 42000, value: 1 } var callback ...