Questions tagged [contract-verification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
67 views

Verify simple smart contract on etherscan

I'm having trouble with verification of smart contracts and some ERC20 tokens. The only tokens I was able to verify were the ones derived from ERC20Detailed. Here's a simple contract that I found on ...
0
votes
1answer
30 views

cannot verify the contract address because of compiler version 0.4.9 not available in etherscan verify contract

My compiler version is solidity 0.4.9, but i am not able to verify my contract address on etherscan verify contract, the reason is 0.4.9 is not in the list compilers...please tell me the solution to ...
1
vote
0answers
11 views

Does a verified deployer contract implies that it's child token contract is also verified upon creation? [duplicate]

Token address: https://etherscan.io/token/0x12b19d3e2ccc14da04fae33e63652ce469b3f2fd Contract address: https://etherscan.io/address/0x12b19d3e2ccc14da04fae33e63652ce469b3f2fd Deployer contract: ...
0
votes
1answer
44 views

Is a contract verified and safe if it's created by a verified contract?

The contract source code is not verified as you can see in the picture, but the contract was created by another contract code which is verified. Does that mean that the contract code from the picture ...
2
votes
0answers
30 views

How to verify a contract in etherscan older than 0.4.11?

It seems that the verification feature of Etherscan supports contracts written since Solidity 0.4.11. I want to verify a contract written with Solidity 0.4.8. Is this possible? I'm wondering if this ...
1
vote
0answers
94 views

Etherscan verification bytecodes don't match

Hi I'm trying to verify a token deployed at 0x87ab739464881af0011052d4ca0b0d657e8c3b48 in tx 0xbaa8f3fe86a35d2e0b7ed16b24782743e7dfb1eb21cfbb12253d0a50ef2ff365. (Mainnet) I compiled and deployed it ...
0
votes
1answer
56 views

Problem in contract verification through EtherScan API

Contract source verification through these APIs is putting it 'pending in queue' and not getting confirmed. This interface is also behaving same. I tried it with rinkeby and kovan. Here it works ...
0
votes
0answers
13 views

How to verify access of child contracts?

I am using a factory A to produce child contracts. Now I want to guarantee that only these child contracts have access to a different contract B. Using the factory as a proxy is somehow a detour as I ...
0
votes
1answer
21 views

Can't see the source code with the new Etherscan user interface?

everyone! A few days ago, Etherscan has updated their user interface - and now I have no idea, how to get the verified contract's source. Before it was located no the #readContract tab, but now there'...
1
vote
0answers
90 views

Etherscan Verifying Contract Code: Error! Constructor arguments provided but might be unncessary because source code contains a public constructor

I'm trying to verify my solidity code through etherscan but it gave me this Error! Constructor arguments provided but might be unncessary because source code contains a public constructor. Tip: ...
2
votes
1answer
88 views

Why do compiler version and version in the source code not fit together for some verified contracts on Etherscan?

I found this verified contract on Etherscan: https://etherscan.io/address/0xd7a27d8d58f0c9e378fb3cb2816bde94c5e34059#code Etherscan says, it was compiled with solc version v0.4.14+commit.c2215d46, ...
0
votes
1answer
53 views

How can I get the ABI Encoded constructor argument to verify my TOKEN on etherscan.io? [duplicate]

I'm exhausted of researching about the Constructor Arguments ABI-Encoded, it seems very confused. Can somebody help me? ...So, this is the code: pragma solidity ^0.4.16; contract owned { address ...
2
votes
2answers
96 views

How to authenticate a smart contract

my Question is, how the identity of a smart contract can be verified, or basically how to authenticate a contract. As far as I know a contract does not have a private key and also cannot keep one, ...
0
votes
2answers
114 views

How to test the following contract

I read a research paper for verification and validation of solidity code Here's a link:)! The code is given below: contract MyBank { mapping (address)uint) balances; function Deposit() { ...
1
vote
0answers
20 views

Ethereum shape analysis

I am currently researching about the formal verification of smart contracts. I am surprised that I did not manage to find a paper about the (shape) analysis of the storage of a contract. Is there in ...
3
votes
3answers
255 views

Inability to verify contract with ABIEncoderV2 on Etherscan

Yesterday I deployed a contract to Ropsten (https://ropsten.etherscan.io/address/0x1fe59c223fa4e9781237f0f49a15ca598069cc30) that relies on V2 of the ABI encoder. Thus it includes statement pragma ...
1
vote
0answers
97 views

Etherscan: Verify and Publish Source Code - Error! Library Name and Address was provided but not used in the contract

Tried to verify my Smart Contract on Etherscan for Ropsten. Smart Contract is a library which actually also imports another library (which is already verified). Getting following error Error! The ...
1
vote
1answer
58 views

What if I don't verify a contract?

I have a question, what if I have a simple contract that has a public function "give something to this adress" and that will be called from a website I will put it on-chain but will not verify it ...
1
vote
1answer
46 views

Looking for good guide on how to deploy and verify source code of Smart Contract using Truffle/Remix

Can't really find good guides on how to deploy and verify smart contracts to testnetwork Ropsten. Would like to deploy multifile smart contracts including libraries. Are there any good HowTos already? ...
2
votes
1answer
83 views

Is the Solidity specification still its compiler?

I'm currently reading some literature about verification of smart contracts. One of the papers I read is Defining the Ethereum Virtual Machine for Interactive Theorem Provers by Hirai (pirapira). In ...
1
vote
2answers
116 views

How does a miner verify the output of a smart contract?

I am new to Ethereum and smart contracts. I understand ethereum is modeled as a state machine and smart contracts work as "agents" to change the state through transactions. However, it seems rather ...
0
votes
2answers
135 views

How do I find out what compiler version was used to deploy with MyEtherWallet

If I deploy a contract on MyEtherWallet.com how can I find out what compiler version was used, for verifying the code on etherscan, etc.?
1
vote
1answer
306 views

Miner and Validator, who can validate a contract?

I am still confused with the process from creation to validation of transaction or contract verification. Actually the terminology makes me confused such as voter, validation, miner, honest node, ...
1
vote
1answer
382 views

Publish and Verify the source code of a contract created by another contract on etherscan [duplicate]

This is the main contract which has been verified succesfully: https://ropsten.etherscan.io/address/0xc4c89dd46524c6f704e92a9cd012a3ebadadff36 This is the created contract I can't get verified: https:...
0
votes
1answer
158 views

Failed to verify contract source code due to timeout/memory limit

Failed to verify contract deployed through remix on Ropsten network both using optimization and without it. Error is: Exception #1 Occured: ERROR|The Contract solidity compilation has exceeded the ...
0
votes
0answers
210 views

Unable to verify deployed contract! Error! Unable to generate Contract ByteCode and ABI

I already searched and many of the people got this issue, I tried that but unable to fix this issue. I have deployed a contract and Contract Address is here. I am getting this error Error! Unable to ...
1
vote
1answer
799 views

Token contract source code not verified

Hi i have create my token with your code i have use https://github.com/ConsenSys/Tokens/blob/master/contracts/eip20/EIP20.sol end https://github.com/ConsenSys/Tokens/blob/master/contracts/eip20/...
-1
votes
1answer
166 views

Problem in Veifying Smart Contract On Testnet

I'm not able to verify my smart contract on Rinkeby and Ropsten Testnet Network. Rinkeby Link - https://rinkeby.etherscan.io/address/0x029798a8c21050cbaaa2d5ecbd5e06622b602b82 Ropsten Link - https:/...
1
vote
1answer
126 views

Verifying smart contract on etherscan created through contract factory [duplicate]

I deployed contract through contract factory and I'm trying to verify it on etherscan. After failing attempts I have compared the bytecode of deployed contract from contract factory with the ...
0
votes
1answer
160 views

Verify Contract Code Eth

I'm trying to verify an erc20 Contract code for a few days. I have read a lot and tried but just can not get on. maybe someone can help me? Here are the dates: /* Implements EIP20 token standard: ...
1
vote
2answers
128 views

Do you know online tool for abi encoding?

Is there easy to use online tool to encode ABI parameters to pass verification on etherscan?
0
votes
2answers
38 views

Are smart contracts deployed verified?

On Ethereum, I understand that one can create a contract and deploy it onto the blockchain. But I am not clear how this contract gets verified by miners before being deployed onto the chain. For ...
1
vote
2answers
204 views

How does Etherscan.io figure out constructor arguments without contract verification

Recently, I've seen that Etherscan is able to automatically figure out passed constructor arguments. how were they able to figure it out?
1
vote
1answer
280 views

Ethereum block verification incentive

can someone explain how all the other nodes, except the one that found the block, are incentivised to verify if the block miner(creator) has done the smart contract code execution correctly ? Only the ...
0
votes
1answer
486 views

Constructor Arguments for verification on Etherscan.io

I want to verify a contract on Etherscan.io, but I am not able to find the correct Constructor Arguments. I tried everything which is explained on StackExchange, but cannot get it to verify... The ...
0
votes
1answer
104 views

Etherscan Verification when using a ContractFactory

If I have a contract (ContractFactory) that creates several instances of some other contract (SubContract), is there a way to verify all instances of SubContract? pragma solidity ^0.4.19; contract ...
0
votes
1answer
280 views

ERC20 transfer function - Use “if, else” or “require”

Currently, I am planning to implement an ERC20 compliant transfer function in my ERC20 compliant contract as follows: function transfer(address _to, uint256 _amount) public returns (bool success) ...
1
vote
2answers
547 views

How to find input creation byte code for constructor argument?

I want to verify and publish my solidity source code on Etherscan.io. My smart contract has an argument in it's constructor for which I need to fill a field in the form that takes Constructor ...
11
votes
3answers
2k views

How do you verify a contract on etherscan that is deployed by another contract?

How do you properly verify a contract on etherscan that is deployed by another contact? I deployed a contract that deploys other contracts onto the blockchain. The original contract is verified , ...
2
votes
1answer
412 views

Verifying contracts with libraries

I have a problem very similar to this Cannot verify contracts with libraries on Etherscan Simple code pragma solidity ^0.4.16; //optimization enabled library C { function a() returns (address) { ...
3
votes
2answers
394 views

Why using assert, since it would consume all gas

Since assert would consume all gas and require would return all gas, Is there any reason to use assert not require? Use require to refund gas seems always a better choice than consuming them? I saw ...
6
votes
1answer
3k views

Unable to verify Solidity contract code on etherscan.io

I know this question has been asked many times before. I've read loads of answers, but nothing seems to work for me. I first tried to verify the source code of a much larger, more complex contract, ...
2
votes
1answer
543 views

Is there a way to view or otherwise verify a contract's source code? [duplicate]

In token sales usually the source code for the contract is published. Is there a way to verify whether the published code is actually deployed in the given address?
1
vote
2answers
562 views

Issue with contract verification on Etherscan

I have successfully deployed a new token contract on Etherscan Ropsten Network using metamask. I see my contract listed as "Unverified" so I followed the process given on https://ropsten.etherscan.io/...
1
vote
1answer
563 views

failure to verify truffle compiled contract on ropsten.etherscan.io

Recently just pushed my first smart contract from truffle to the ropsten testnet. As you can see from my terminal output below it compiles and was migrated with no problem: Was broadcast to the ...