Hello,
Deployed out upgradable Token Contract with a Proxy on the Mainnet
Contract code is here: https://github.com/overqint/erc20_nnn
unfortunately I got an error at the end of the deployment and and the artifacts are not created/saved.
I can not interact with the token over the truffle console: NNNToken has not been deployed to detected network (network/artifact mismatch)
Is there a way to create the artifacts “manually”
As @abcoathup mentioned it it also possible over etherscan or programmatically with web3js to interact with the contracts
but would be easier at the moment to interact with the truffle console.
Another important question is:
If we decide to upgrade the contract will this failed deployment have an effect and would cause problems?
The main problem is also that I am not able to verify the contract on etherscan; what I have tried so far:
Created Constructor Parameters here:
Argument 1 String: Novem Gold Token
Argument 2 String: NNN
Result:
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000104e6f76656d20476f6c6420546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034e4e4e0000000000000000000000000000000000000000000000000000000000
- flattened the contracts into 1 file and tried to verify with and without constructor parameters:
https://etherscan.io/verifyContract-solc?a=0x4cdbd3d80036a05a3162d492287a0960dce4a385&c=v0.7.5%2Bcommit.eb77ed08&lictype=3
- Uploading the build/contracts/NNNToken.json and trying to verify it with and without constructor parameters:
https://etherscan.io/verifyContract-solc-json?a=0x4cdbd3d80036a05a3162d492287a0960dce4a385&c=v0.7.5%2Bcommit.eb77ed08&lictype=3
- Tried to verify with this tool: https://kalis.me/verify-truffle-smart-contracts-etherscan/
truffle run verify NNNToken --network ropsten
or
truffle run verify NNNToken --network mainnet
with no luck