New answers tagged

1 vote

Does importing other contracts affects my contract's size?

No, it does not. Take a look at the following and simple contracts: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract A { B b; constructor(B _b) { b = _b; } function ...
  • 3,122
0 votes
Accepted

Optimizing Backend with a lot of Ethers.js Event listeners

I would probably use a single listener for all NFTs. Then by checking log.address you can filter out the bad ones. For example, first part: onApplicationBootstrap() { this.provider.on(this....
  • 1,057
2 votes
Accepted

Is there a way to get solidity code from bytecode

This tool decompiles Ethereum contract bytecode into more readable Solidity-like code: https://ethervm.io/decompile
0 votes
Accepted

Gas adjustment of the smart contract function

You can definitely submit the transaction with 29.9M gas at any point and rest assured that it can be included in a block, regardless of current congestion. You do need to be aware that buying out a ...
  • 11.1k

Top 50 recent answers are included