so im having trouble with verifying the contract on rinkeby testnet, keeps giving me this error
Error! Unable to generate Contract ByteCode and ABI
i'm 100% the code is the same, but it keeps doing this, compiles perfectly on remix but just doesn't work when trying to verify on etherscan
Apr 5, 2022, 10:03 PM
sent you a pm
Apr 5, 2022, 10:04 PM
do you have input when you want to deploy?
Apr 5, 2022, 10:06 PM
as in? the contract itself is deployed like it should, but verifying is the problem here
Apr 5, 2022, 10:09 PM
i mean
do you have input on constructor?
do you have input on constructor?
Apr 5, 2022, 10:11 PM
yeah, 3 parameters
sent pm back
Apr 5, 2022, 10:39 PM
so, you must add it when you want to verify it
Apr 5, 2022, 10:40 PM
so i need to add this in the constructor arguments section?
address_router,address_reflectionToken,addresstoken
someone here to help?
Apr 5, 2022, 11:15 PM
Wassup
Apr 5, 2022, 11:49 PM
so im trying to verify this babyape fork i deployed but for whatever reason it keeps giving me that abi error
Error! Unable to generate Contract ByteCode and ABI
this one
this one
i just deployed a different contract just to test and see if the contract was the problem or not, was able to verify the other contract, but seems like that my babyape fork just doesnt want to verify
Apr 5, 2022, 11:52 PM
Yes
Apr 5, 2022, 11:52 PM
the verified contract was able to get the abi encoded thing automatically, but the babyape contract didnt
Apr 5, 2022, 11:53 PM
You need to put bytes code of these parameters who put in constructors
Apr 5, 2022, 11:54 PM
yeah ive tried using https://abi.hashex.org/ to compile it to abi encoded but it seems to not work for me at all
address _token, address _router, address _reflectiontoken
with the values connected to them it should be
000000000000000000000000243cacb4d5ff6814ad668c3e225246efa886ad5a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000397e981c6eeb3d36244c1ea641d0db92a65257d5
same result, says unable to generate contract bytecode and abi
address _token, address _router, address _reflectiontoken
with the values connected to them it should be
000000000000000000000000243cacb4d5ff6814ad668c3e225246efa886ad5a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000397e981c6eeb3d36244c1ea641d0db92a65257d5
same result, says unable to generate contract bytecode and abi
seems like no one has the answer to it ðŸ˜
Apr 6, 2022, 12:05 AM
😇
Apr 6, 2022, 12:13 AM
tried it on rinkeby network just now
now i get this error
General exception, unable to get compiled [bytecode])
General exception, unable to get compiled [bytecode])
Apr 6, 2022, 12:18 AM
Please send me contract address in inbox i will deploy it myself and then guide you
The address you want to clone the contract
Apr 6, 2022, 12:30 AM