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
- flattened the contracts into 1 file and tried to verify with and without constructor parameters:
- Uploading the build/contracts/NNNToken.json and trying to verify it with and without constructor parameters:
- Tried to verify with this tool: https://kalis.me/verify-truffle-smart-contracts-etherscan/
truffle run verify NNNToken --network ropsten
truffle run verify NNNToken --network mainnet
with no luck