Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
212 views

How did owner remove token liquidity during trading on DEX even if their ownership is renounced?

Im non-tech trader. Today I experienced that the owner did remove token liquidity during trading on DEX and made it become honypot even if their ownership is renounced (checked via Token Sniffer) I ...
Truong The Vu's user avatar
0 votes
0 answers
80 views

How to Ensure Custom Tax is Applied on Token Swaps in Solidity Smart Contract?

I'm developing a smart contract for a token (FMYNT) using Solidity on the Binance Smart Chain testnet, integrated with PancakeSwap testnet. I've implemented a custom 5% tax feature for buy and sell ...
Awais Ahmad's user avatar
0 votes
0 answers
81 views

Simple code example to implement tax on sell/buy transactions for a token on Uniswap DEX causing "Your swap is expected to fail.." error

I am trying to implement a sell/buy tax on transactions for my token when users trade on Uniswap DEX. My token's smart contract includes a tax deduction mechanism that functions correctly on EtherScan ...
Awais Ahmad's user avatar
0 votes
1 answer
27 views

Projects you made [closed]

Which projects you made that get you to expert level in solidity? I'm trying to be a smart contract dev. with solidity and wanna see which ones you made so I could benefit from it.
seojunchian's user avatar
0 votes
1 answer
52 views

How to Perform Cross-Chain Swaps?

I'm trying to facilitate cross-chain swaps between Binance Smart Chain (BSC) and Polygon networks. What are the steps or tools I can use to achieve this? I'd appreciate any guidance or resources you ...
adam mr's user avatar
  • 141
1 vote
1 answer
27 views

Running a Cryptocurrency Bot 24/7 Without a Computer

I've developed a cryptocurrency trading bot, but I don't want to leave my personal computer running all the time just to keep it operational. Is there a method or service that allows me to run the bot ...
adam mr's user avatar
  • 141
0 votes
0 answers
62 views

Subgraph Link for Uniswap V2 on BSC?

I'm looking for the SubGraph Api endpoint to interact with UniswapV2 on the Binance Smart Chain (BSC). Can anyone provide the specific link or information on how to access it? I appreciate any ...
adam mr's user avatar
  • 141
1 vote
0 answers
22 views

Am i right on this? [closed]

Do I just need to deploy my contract on Base chain testnet to use its layer2 solution? Or there is other steps? It is too confusing for me, Please guide me on this.
Hacek 's user avatar
  • 677
1 vote
2 answers
265 views

I did not understand why q96 used here in uniswapV3 development book

This code is from Uniswap v3 development book: sqrtp_low = price_to_sqrtp(4545) sqrtp_cur = price_to_sqrtp(5000) sqrtp_upp = price_to_sqrtp(5500) def liquidity0(amount, pa, pb): if pa > pb: ...
Hacek 's user avatar
  • 677
0 votes
3 answers
2k views

What is Ticks on Uniswap?

I'm a very beginner in dex protocol. Can someone explain to me what is a uniswap Tick? Many thanks.
adam mr's user avatar
  • 141
1 vote
0 answers
101 views

How to use a DEX aggregator in a fund without risking concurrency calls?

I will begin with some context. I currently building a kind of vault (like enzyme.finance or nested.fi) where an administrator can create a vault and then an investor can deposit fund in the form of a ...
0xParty.rocks's user avatar
0 votes
1 answer
173 views

Who pays funds for Marketing, Giveaways for Decentralized Company like Binance?

I wonder who gives funds for Marketing, Community Giveaways, etc in a decentralized companies like Binance. For Example, right now "Press a Button, Win a Bitcoin!" Event is going and the ...
user avatar
0 votes
0 answers
125 views

How "polymath" is doing "Ticker symbol reservation" on Ethereum?

So, from what I understand it is not possible to reserve the ticker symbol on the Ethereum network (I read this and this) But I am trying to understand what the Polymath is doing by "Ticker ...
MehmedB's user avatar
  • 240
2 votes
0 answers
661 views

How to reserve a ticker symbol for an ERC-20 token?

Cryptocurrencies and tokens are identified by a ticker symbol like MATIC (Polygon), AVAX (Avalanche), and KSM (Kusama). How do developers reserve these ticker symbols before or during their ICO so ...
user610620's user avatar
  • 1,568
1 vote
2 answers
613 views

How to proxy for a DEX router in ganache (development)?

I am testing a smart contract that uses a Pancake Swap as DEX exchange/router. For learning purposes, I am trying to setup everything in local environment. I have successfully setup ganache in the ...
shiv chawla's user avatar
0 votes
0 answers
235 views

Best practice for using interface functions in the contract

I'm developing a DEX contract and trying to figure out what is the best way to use Solidity Interfaces. I did some research and found out there's multiple ways of using interfaces in smart contracts ...
M M's user avatar
  • 57
2 votes
1 answer
4k views

Unable to understand master-chef contract in pancake-swap

**I am going through a master chef contract in pancake swap farm and I am unable to understand some points in that contract. —>what does reward debt means in user info, Is it the rewards he need ...
shiva sai's user avatar
6 votes
1 answer
13k views

How does Uniswap calculate price impact without fee on the swap page?

Context: We are creating a smart contract which integrates Uniswap DEX for swapping Tokens to ETH. We need to make sure one swap does not impact the token price more than 3%. We are in need to write a ...
lovekenly's user avatar
0 votes
1 answer
66 views

How to create an ICO token that can be tradeable

How to create an ICO token with low fees that can be tradeable on decentralized exchanges. E.g bob send 0.1ETH to the smart contract ,he receives the Eth for the ICO and can trade it, also the ...
michal popoola's user avatar
1 vote
1 answer
440 views

Create a contract that can restrict the sale of the token in exchange

Possibility of create a contract that can restrict the sale of the token in exchange. Restrict by not selling all token only particular percentage of token. To make use of the major token in ...
Benson K B's user avatar
0 votes
2 answers
576 views

Can one fork a decentralized exchange smart contract since the code is out in the open?

Since ethdelta and idex are decentralized exchanges, meaning there is no "central" server. The smart contract code is in the ethereum blockchain. Can one just copy this smart contract and launch a ...
Patoshi パトシ's user avatar