Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
1
answer
250
views
How to increase reward for LP holders
I am building a contract from scratch and I was wondering if is possible to do one of the following situations:
Use part of the taxes to reward the lp holders, for instance lets say I have 3% tax and …
0
votes
0
answers
335
views
If I try to sell tokens from a smart contract, it is failing with insufficient output amount
I am trying to do an autosell function like safemoon has, but I am getting always "insufficient output amount"
Steps to reproduce:
Deploy my token
Add liquidity v2 in uniswap with 1 T tokens, 1 ETH
T …
0
votes
1
answer
924
views
Add liquidity by code is failing
I have the following code:
contract Test is ERC20, Ownable {
address constant routerAddress = 0x10ED43C718714eb63d5aA57B78B54704E256024E;
constructor(uint initialSupply) ERC20("Test", "TST") …