ok no matter the test contract or its base code that I try and use I keep getting an error about the ABI not being found. it deploys fine in remix (that took a few days to learn) no I am on the verify contract stage and it keep giving an ABI error message.

Nov 7, 2021, 3:24 PM
I am sure it is probably in a file someplace but Ive watched a million youtube videos and none of the show this part
ive reviewed the .json folder i think i found it, but I dont know what to put in there
Nov 7, 2021, 3:26 PM
is it a single file or multi file ?
Nov 7, 2021, 3:26 PM
single file
Nov 7, 2021, 3:26 PM
does it have a constructor ?
Nov 7, 2021, 3:26 PM
just a simple rewards token to be fully transparent I was messing with EverGrow token and trying to learn it
i am not sure ill have to read about that
Nov 7, 2021, 3:27 PM
ok, does it require you to input any data before deployment ?
Nov 7, 2021, 3:28 PM
I am really intersted in coding and my dad told me to try and find a group that could help me because he is in construction
yes the idex riuter for PCS
this correct?
Nov 7, 2021, 3:30 PM
what the error you are getting ?
Nov 7, 2021, 3:31 PM
in all the youtube videos they just copy the original code change the name and any % and deploy. I can get it deployed now but I get this type of error everytime
Nov 7, 2021, 3:32 PM
ABI
Nov 7, 2021, 3:33 PM
yes I keep reading the ABI thing and it leads me to a truffle program but I dont know if that is wht I need or where to get an ABI
Nov 7, 2021, 3:33 PM
take note:
your optimization is on....
Nov 7, 2021, 3:33 PM
thanks for helping my HS doesnt really teach this
but it is on when I compile as well
should it not be?
ok ill try
Nov 7, 2021, 3:34 PM
and also be sure the contract address is the one you are trying to verify you might have tried so many time and using the wrong address.
Nov 7, 2021, 3:34 PM
do i put this ABI i the verification part ?
i get this
Nov 7, 2021, 3:38 PM
just calm.
Nov 7, 2021, 3:38 PM
0xb309f316aB5D173f3B9d8543eA22d1Af984404Df
it is the evergrow contract
I know im trying to verify it
sorry doenst that mean its deployed?
BTW I want to say thanks everyone else has told me to get lost basically. just trying to learn
I tired to launch on mainent twice and got the same error and cost me $40 that like 2 days work so I thiought id try testnet
what is this ABI and do I need to get it from someplace outside my contract and put it in the contract?
Nov 7, 2021, 3:44 PM
Abi in remix
Nov 7, 2021, 3:44 PM
yes
I ahve like two on mainet and I kept getting this error so I stopped there and found testnet becuase I cant afford to spend my lawnmowing money on mainnet
Nov 7, 2021, 3:47 PM
show this
Nov 7, 2021, 3:47 PM
Nov 7, 2021, 3:49 PM
Note: To generate the ABI, in the Solidity compiler, after a contract is compiled, click on the Compilation Details button. A modal will come up with that contains the ABI among other info.
Nov 7, 2021, 3:49 PM
becuase I get that ABI error
what do I do witht hat Taco?
Nov 7, 2021, 3:50 PM
Copy the abi where the contract was deployed and paste it below
Nov 7, 2021, 3:53 PM
can I remove my old contract from testnet or real bscscan so embarrasing
Nov 7, 2021, 3:53 PM
Bruh...
Man you don't need ABI for anything
What you need is constructor arguments, in ABI encoded format
Most of the times, bscscan will auto detect it
Nov 7, 2021, 3:55 PM
ya I get that all the time maybe im just missing something
Nov 7, 2021, 3:56 PM
This is not about constructor arguments
Check optimization, number of runs, solidity version...
And of course, if you changed even 1 character in the code after deploying, its not gonna work
Nov 7, 2021, 3:57 PM
what is number of runs Grim?
Nov 7, 2021, 3:57 PM
200 by default, but doesn't matter if you haven't turned on optimization
Nov 7, 2021, 3:58 PM
ok I will keep trying. my dad just rolled his eyes at me think I should just go mow lawns with him. I think I want to do this instead
thansk for helping me
Nov 7, 2021, 3:59 PM
Haha do what you wanna do man
Good luck :)
Nov 7, 2021, 4:00 PM
yes im trying
cuz what I make cutting grass wont work when im dont with highschool and I uderstand inflaction and national debt and I Want to be ahead
i want to work for myself I dont want a boss
So Teco and Grim are helping me to verify my first contract, but I keep getting and ABI error and I don’t think it is the contract rather maybe I am not putting something in that get incorporated to contract prior to deployment on BSC scan. Any thoughts?
Nov 7, 2021, 5:27 PM
we can't help you without more informations (about the error ? about your code ?)
Nov 7, 2021, 5:28 PM
I’ve tried to copy and paste several codes and they do deploy but when I go to verify I get this error:
i dont think it is the code becuase ive gotten it no matter the code i try and verify
Nov 7, 2021, 5:34 PM
your contract has a constructor, so when you deploy, you have to give constructor arguments
Nov 7, 2021, 5:34 PM
May I ask what that means or is it something I can read about
Nov 7, 2021, 5:35 PM
yes, it means that your contract has a constructor and expects you to give constructor arguments when you deploy ?
Nov 7, 2021, 5:36 PM
i give it the PCStestnet dex router if thats what you mean
then I deploy it verifys and puts it on BSCScan
sorry 15 and learning
Nov 7, 2021, 5:37 PM
and the constructor expects what ? in the ABI ?
Nov 7, 2021, 5:38 PM
I don’t know I copy the abs from the deployment link and paste it in but clearly doesn’t match
Nov 7, 2021, 5:38 PM
so maybe you can try to understand your contract before deploying it ?
most of dapps have hashtables for contracts like {56:"contractAddressForBSC", 21: ...}
Oh I don't know opensea
sorry I can only help with evm
it's like : amount[user] + rewards
maybe they mint their token to buy shiba but it's not good for holders, maybe it's a fake shiba
maybe it's a partnership...
Nov 7, 2021, 7:37 PM

© 2024 Draquery.com All rights reserved.