As of May 31, 2023, we have updated our Code of Conduct.
2 votes

How to retrieve 1 eth I send by mistake to my smart contract token?

As far as I can see, the only way to get ETH out of your contract is via the sendETHToFee() function and it will send ETH to the _taxWallet. You can call manualSwap() from the _taxWallet, it will ...
Mouradif's user avatar
  • 228
1 vote

Is there any way to interact with current status of a deployed contract from another smart contract?

Yeah, this is super simple. First, you will need the deployed contract address, and second, the contract interface.(interface makes things easier than using call method). Then you can wrap the address ...
Zartaj Afser's user avatar
1 vote
Accepted

How to retrieve 1 eth I send by mistake to my smart contract token?

Call openTrading(), it will put all that in an LP and then send you the LP tokens, you'll be able to unwrap them and get most of your ETH back. EDIT : Oh no never mind, you already created the pair ...
Foxxxey's user avatar
  • 3,038
1 vote

Is there any c++ library for signing transactions?

Give libethc a try. Here is an example: #include <stdio.h> #include <assert.h> #include <ethc/account.h> #include <ethc/ecdsa.h> #include <ethc/rlp.h> #include <ethc/...
mhw0's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible