Hi guys!
is there any way to compress data and execute Tx in way that tx get execute with a low gas consumption?

Jan 15, 2021, 6:59 PM
If i execute a transaction for a function of contract from remix and successfully execute it . But get failed when trying to execute from program.
To get an Abi of a function does it necessary that function should be declare in interface?
I build a contract and on compilation remix returns only IERC20 ABI and not give the abi for whole contract. Any specific reason?
Jan 15, 2021, 8:31 PM
You have to select the "main" contract under "Contract". It probably is set to IERC20
Jan 15, 2021, 8:47 PM
I selected it and then compile it but after compilation automatically IERC20 come the selection bar
Jan 15, 2021, 8:48 PM
Did you set IERC20 to a contract or an interface? Can you maybe share a screenshot (feel free to censor the code)?
Jan 15, 2021, 8:49 PM
If i execute a TX of a function for a contract from remix successfully does it mean also that i can successfully call the function programmatically as well.
Jan 15, 2021, 8:50 PM
Do you mean if you deploy and then call a function of the main function?
Jan 15, 2021, 8:50 PM
Yes after deploy i call a function which shows in the left bar of remix and execute Tx by there
Jan 15, 2021, 8:51 PM
If it's in the main contract and not the IERC20 it *should* work. Cannot guarantee tho as I don't know your code.
But you can easily test that by adding a variable, adding 1 to it and get the result.
Jan 15, 2021, 8:53 PM
Yeah i successfully execute Tx for a function of contract by remix but call programmatically not execute it . let me share code
Jan 15, 2021, 8:54 PM

© 2024 Draquery.com All rights reserved.