Remix compile error SPDX-License-Identifier [SOLVED]

Regarding debugging. If you are trying to debug it using our speedy-nodes - we don’t support that method.

1 Like

In which network you are trying to debug it?

1 Like

BSC

I have only two errors
I want them to go away
I gave a photo
I also gave a contract

Uncheck the Generate contract metadata

1 Like

Actually it’s just warnings, which don’t have any affect to your contract. If you don’t have errors which don’t allow you to deploy contract - you can deploy it. I suggest you to start using truffle. We have nice tutorials about deployung using truffle:

1 Like

I will check tomorrow. Thank you my friend

We must be able to create my contract.
Because this contract blocks malicious robots and is very smart

1 Like

Did you successfully create my contract?

This sounds to me like there was an error when trying to estimate the gas it takes to deploy the contract.
You can try to deploy it on test net first to see if it works.

1 Like

I did it in the test net

0x1b97f4b1ba923d1A98BC359f080180fbCf7615A4

If you can, copy this token contract and create the contract

this is on main net: https://bscscan.com/address/0x1b97f4b1ba923d1A98BC359f080180fbCf7615A4#code

1 Like

I copied the contract from this token

What is the problem? If the contract has been deployed to the mainnet, then there are no problems in it.

You have this error because you are trying to deploy to testnet contract for the mainnet. For example:

IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F);

You can’t use mainnet addresses on testnet

1 Like

Thank you very much :blossom:
I made the contract :star_struck:

Now if the purchase is made
Zero tokens are sent

How can I disable this feature?

Does anyone know how to use this panel?

I guess that you put a parameter and click on function name to make a blockchain transaction with that function and parameters.

1 Like

Transaction Hash: (set LiquidityFeePercent)
0xe51ea4ae89bca50baa4f2a26ba77d9d0e0e0f141991095e1f8357063bd91a3d1

This the transaction sample is registered. Can you get its parameter?


parameter = 000000000000000000000000000000000000000000000000000000000000000c
meaning 12 maybe
1 Like

transact to BabyADA.setLiquidityFeePercent errored: Error encoding arguments: Error: invalid BigNumber string (argument=“value”, value=“000000000000000000000000000000000000000000000000000000000000000c”, code=INVALID_ARGUMENT, version=bignumber/5.4.1)

The first code worked. I extracted the second code myself
Gave an error

1 Like

You can also try to execute directly from bscscan that function, from write contract tab.
Maybe you have to put only 12 and not that big string.

2 Likes