Questions tagged [deployed-bytecode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Deploying smart contract using vanilla JS with existing bytecode

I'm not sure if it's possible to deploy a new smart contract using plain Javascript if I include the bytecode and ABI. I copied and paste my ABI and bytecode below at MEW and I could deploy them. But ...
1
vote
1answer
16 views

Querying an ethereum contract without ABI, with only input bytes

I know some transaction has some input bytes to the contract as specified by Etherscan or a mining pool (for instance, this transaction has input data that looks like 0x000000062de258...9b1d). I know ...
2
votes
2answers
122 views

How to deploy a bytecode-only contract without an ABI

I see a contract's bytecode on chain that I want to re-deploy almost verbatim, but the issue is that there's no verification -- no ABI or source code. Can I still redeploy this contract to a hardhat ...
0
votes
0answers
69 views

Why i can't deploy contract?

"This contract may be abstract, not implement an abstract parent's methods completely or not invoke an inherited contract's constructor correctly". - ???? // SPDX-License-Identifier: MIT ...
0
votes
1answer
113 views

How to check if transaction is interact with smart contract or deploying smart contract itself?

I'm currently working with go-ethereum, And unable to use etherscan for this case, No ABI for me here. How to check whether if the transaction interacts with/calls a smart contract or deploying the ...
0
votes
1answer
331 views

Error! Invalid constructor arguments provided. Please verify that they are in ABI-encoded format

Update: so these 2 lines in my code seem to be causing the problem and removing them got everything to work but I still need to include them so if someone can figure out why they are breaking that ...
1
vote
0answers
23 views

Transaction data for contract creation: What's the data before the contract bytecode? [duplicate]

When a contract is deployed, the bytecode of the contract shows in the raw transaction data for the transaction that created the contract, along with constructor arguments after the contract bytecode ...
1
vote
0answers
22 views

Is there situation when using constants instead of literal values in the code will make the contract deploy more expensive?

I was reading a smart contract code in solidity and I found some magic numbers (literal values as function arguments or in some expressions). My first impulse was refactor it to use named constants ...
0
votes
1answer
33 views

Different byteCode generated between block explorer and standard json input

I have deployed a contract and want to verify it, but when I used the same code with same configurations of compiler to verify it, it gave me negative result. Thus I tried to decompile these two ...
0
votes
0answers
55 views

How to look up IPFS url in Ethereum Bytecode meta data

I have a solidity contract that is deployed on the Ethereum mainnet. The contract's bytecode ended with (what I assume to be) an IPFS url {ipfs}64736f6c634300060c0033 How do I look up this URL on ipfs?...
3
votes
1answer
195 views

How to get the actual runtime bytecode from creation bytecode and constructor arguments without deploying

Possible outputs of the Solidity compiler include creation bytecode and deployed (runtime) bytecode. However, this compiled deployed bytecode might not be the same as the one that will actually be ...
1
vote
1answer
42 views

Several small or one big contract? (deloyment cost)

Does deploying several small contracts use more gas than deploying them as one, bigger contract with the same functions (that don't interact with each other)? How much is the difference?
1
vote
2answers
124 views

How to publish in ethereum with "imports" ? or how to do?

Hello i have this question in my mind now : How to publish in ethereum with "imports" ? or how to do ? why i say this ? answer : when i wanna "verify and publish Contract Source Code" with a ...
0
votes
2answers
51 views

Bytecode: Does it Reveal What Language it Was Programmed In?

Does EVM bytecode have some indication to what high-level language it was programmed in?
15
votes
1answer
4k views

What is the difference between bytecode, init code, deployed bytedcode, creation bytecode, and runtime bytecode?

I constantly see different types of bytecode and do not know what each of them are. What are the differences between bytecode, init code, deployed bytedcode, creation bytecode, and runtime bytecode?
13
votes
1answer
2k views

What's the difference between solc's bin bytecode versus bin runtime?

Solc says that bin-runtime is the runtime part of the contracts. What exactly is the runtime bytecode part and how does it differ from bin bytecode output?