harmony-one / contract-verification-service

Verify & Publish Contract Source Code
1 stars 5 forks source link

Issue on verifying factory contract #4

Open 0xGeneral opened 3 years ago

0xGeneral commented 3 years ago

I try to verify - https://github.com/adenafinance/uniswap factory code.

I had the contract deployed on the mainnet but to make sure that I didn't make any changes, I deployed on the testnet too.

1) mainnet - https://explorer.harmony.one/address/0x44485473431faf6efa11d346d1057182d2a0a290

2) testnet -https://explorer.testnet.harmony.one/address/0x010628ec9f9870cc901076d23edcfe0bcb6807b8

As you can see bytecodes are the same, which means I should get it verified after flattening the code.

The factory is a fork of sushiswap - https://explorer.harmony.one/address/0xc35dadb65012ec5796536bd9864ed8773abc74c4?activeTab=7 this is sushi's factory address which is also not verified.

I'm positive that the verification service is not working properly.

0xGeneral commented 3 years ago

image

TyrionLionstar commented 3 years ago

I've noticed that many projects on harmony have issues verifying contracts. As an investor, using unverified contracts puts my capital at higher risk. Would love to see this issue solved asap :)

victaphu commented 2 years ago

Hi @0xGeneral can you try verify again

I also created some documentation that might help: https://victa-kwok-wai-phu.gitbook.io/harmony-contract-verification-service/tutorials/verifying-contracts-using-hardhat-and-harmony-explorer

lmk if this fixes the issue you were having. if you can include the flattened code that would help as well