Questions tagged [verify]

The tag has no usage guidance.

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
416 views

Can't Verify Contract on etherscan.io or etherchain.org

I've deployed a contract, which I generated using Mist but I can't seem to get it to verify. At etherscan.io I keep getting the error: Error! Invalid constructor arguements provided. Please ...
2
votes
0answers
556 views

How to verify a deployed contract on etherscan

I would love to get some help with this as I'm wracking my brain with how to get this done. I have gone through this link to verify my contract: https://etherscan.io/verifyContract I am puzzled with ...
2
votes
1answer
176 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, ...
1
vote
1answer
67 views

Decoding signature for verification not working

I'm trying to verify a signature, but when I decode it, the function reverts. This is the function I'm using function source(bytes memory signature) public returns (bytes32 r, bytes32 s, uint8 v) { ...
1
vote
1answer
416 views

Verifying ethereum message signatures with java

I am using web3j to verify message signatures but there are some false negative results. For example this signature should be right, but it seems like the address could not be recovered: final ...
1
vote
1answer
48 views

How to validate a BTC transaction in an Ethereum smart contract?

Can an Ethereum smart contract use SPV to validate a BTC or BCH transaction? If so, are there any functioning libraries? What are the drawbacks or challenges when doing so?
1
vote
0answers
103 views

Problem Uploading Contract Verification to Etherscan - Contract works perfectly and is already deployed

BOUNTY WILL BE GIVEN FOR SOLUTION I am having trouble authenticating my ERC-20 Token Contract on Etherscan. Token works perfectly and all functions are correct I am a novice dev and lead dev of ...
1
vote
0answers
2k views

Check if a struct is empty

I have a function where I pass a id. With that id the contract find in a mapping a struct. My idea is to check if exists that struct with the given id with a if clause. I try with 0, null, "". Is ...
1
vote
0answers
131 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
0answers
538 views

How to verify a contract with libraries deployed from Remix

I successfully deployed a contract with remix here on Ropsten Testnet: https://ropsten.etherscan.io/address/0x10273a926517b417015748da21e1287bab2da8f7 The Source Code is very simple but I'm using my ...
1
vote
1answer
266 views

verifying code deployed with web3.js

I am deploying my smart contracts using web3.js and compiling the code using solc. The contracts are deployed successfully with no issues however I am having a bit of a problem in verifying my ...
1
vote
0answers
2k views

Why the value of v is always either 27 (11011) or 28 (11100)?

Why the value of v is always either 27 (11011) or 28 (11100), and, how is it known wether it will be 27 or 28?
0
votes
0answers
91 views

Needing Help Verifying ERC721 Contract! (for Polygonscan)

Hey guys thanks for looking into my question! So im not very familiar with ERC721 contracts. Im trying to compile so I can verify my Contract. Having issues with hardhat, compiling on remix does not ...
0
votes
0answers
16 views

How can I verify and publish contract source code?

Below is the info I got upon trying it, I used a flattened version of the contract from remix.
0
votes
0answers
21 views

Cannot Verify Contract - Forgot Compiler

I made contracts for a project. Unfortunately, in the middle of the project I got task which makes me need to rush things. So, after deploy contract using Remix on browser I decided to leave the ...
0
votes
0answers
13 views

Trying to configure truffle-configure.js for truffle verify plugin

New to development. I'm trying to verify my smart contract on the testnet using the truffle verify plugin but unfortunately, I can't seem to configure the plugin in my truffle-configure.js file. Here'...
0
votes
0answers
93 views

Problem with "Verify & Publish Contract Source Code" on BscScan

I wanted to "Verify & Publish Contract Source Code" on BscScan, but I get this message: ParserError: Multiple SPDX license identifiers found in source file. Use "AND" or "...
0
votes
1answer
73 views

Verify contract not working (not match bytecode)

Contract: https://etherscan.io/address/0xec16fed4f619aacd70c7db48327d362f675bfc29 Contract.sol // SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/...
0
votes
0answers
64 views

import openzeplin files into contract

For an ERC-20 Pauseable, mintable, capped contract I directly used files like below. import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/...
0
votes
1answer
11 views

Contract is working but no "Verify and Publish"

Contract is working but no "Read Contract" and "Write Contract" and no "Code" And no verify and publish. So i tried coding and the Minted Tokens are correct, 100% of the ...
0
votes
0answers
32 views

Error Bytecode and ABI. Can anyone help me to verify my coin?

'Error! Unable to generate Contract ByteCode and ABI (Compiler Exception)' I get the whole time this error. I don't understand what I did wrong. Can anyone help me? This is the contract address: ...
0
votes
0answers
29 views

Can anyone help me to verify my coin?

Error! Unable to generate Contract ByteCode and ABI (Compiler Exception) I get the whole time this error. I don't understand what I did wrong. Can anyone help me? This is the contract address: ...
0
votes
0answers
57 views

Can't verify contract on etherscan Rinkeby

So I deployed a contract, CErc20Delegator, on Rinkeby using hardhat-deploy, but I'm struggling to verify the contract on etherscan. This is the deploy script: const deployment = await deploy("...
0
votes
0answers
68 views

Build with Library IterableMapping

I'm trying to compile my contract, which uses the IterableMapping library. IterableMapping is being created in the file itself, but even so, apparently an error is being raised, saying that I should ...
0
votes
1answer
84 views

How to verify a "ERC20PresetFixedSupply" OpenZepplin contract on Etherscan?

I have deployed a contract through Remix to the mainnet and I am now having issues with verifying the contract. When I compiled it I used the 0.8.0 compiler without optimization. The contract I used ...
0
votes
1answer
18 views

Specific account validating transaction

I am trying to create a system using blockchain for a "firm". What I am looking to do is for an employee to enter some data into the system but before it is uploaded have a manager sign off ...
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
10 views

When the ETH node receive a new block ,which will be verified?

I know that when a node receives a transaction, it can verify the RLP format, transaction signature, gas and account nonce value, but I don't know when the node receives a new block, whether will it ...
0
votes
1answer
71 views

Truffle-plugin-verify says passed but still unverified on BSCscan

Contracts deployed via Truffle are not properly verifying on the mainnet. On my end it says verification passed but on the website it's still unverified. I've been able to deploy and verify the same ...
0
votes
0answers
12 views

Distribution of mined Blocks, its verification and the Longest Chain Rule

Hi all I am in need of a clear understanding of the distribution of mined blocks, the verification mechanism and the longest chain rule. How is a freshly new mined Block being distributed to the ...
0
votes
0answers
130 views

Verify & Publish Source Code

I tried to Verify & Publish Contract Source Code for my token and the error happened like this Compiler debug log: Error! Unable to generate Contract ByteCode and ABI (Compiler Exception) For ...
0
votes
0answers
29 views

What exactly does the miner verify in the process of verifying the transaction?

I have seen different answers to this question. For example, one transaction calls a function on a smart contract. Some people say that the miner uses the same input to verify that the output is the ...
0
votes
1answer
178 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
1answer
501 views

ABI for Etherscan verification

How I can get ABI in multiple contract code? if the code is here: Token address is: 0x4960a0Db832c3Bb503F3Da59a274D9385e0Ade5A Crowdsale contract: 0x7a76d1A86a8b801865eC9134552904366b327A45 I ...