Skip to main content

Questions tagged [tokens]

A token is a transferable, divisible object on the blockchain, such as a subcurrency or a prediction market share.

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

Finding cost of CHI gas token over a series of time

so I wanted to use a database I have to find the cost of the CHI gas token over a series of time. I got all the pools that have a CHI gas token, and I get data1 / data0 from all the sync events in ...
hana's user avatar
  • 1
0 votes
1 answer
33 views

How to get all my tokens from my contract

I need help getting all tokens in an array . I’m making a geo location based game, where a user can mint an NFT and then pin it to the map. Once the NFT is pinned it gets added to my NFTS array I want ...
piña's user avatar
  • 209
0 votes
0 answers
7 views

Failing to retrieve stCORE token on openex app address

I'm sorry the question is for core Blockchain. I staked my core on Staking liquid core(stCORE) l then accidentally send the stCORE without conversion to my openex address. The problem is I'm failing ...
Newton's user avatar
  • 1
0 votes
1 answer
29 views

Two or more base classes define function with same name and parameter types

// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol&...
Kwesili Okafor's user avatar
1 vote
0 answers
49 views

Smart Contract for Gasless ERC-20 Transfers

I'm building an app where I want to pay the transaction fees for ERC-20 token transfers between user's wallets that don't necessarily have ETH. I know of standards like EIP-2612, which provides permit,...
iz_'s user avatar
  • 111
0 votes
0 answers
6 views

When developing layer two token like arbitum by modifying an existing erc20. Is it necessary to clone the entire source code repository?

I'm modifying an existing Solidity smart contract, or more accurately taking functionality from multiple different smart contracts and wanted to know if the new contract would pull code from its ...
MiamiMichaelG's user avatar
1 vote
1 answer
95 views

Mastering Foundry Basics

I'm interested in learning Foundry. What are the most effective resources and strategies you recommend for getting started with Foundry?
serpent0x's user avatar
0 votes
0 answers
8 views

Need Assistance Resolving ds-math-underflow Error in Liquidity Pool Transaction

I'm currently facing an issue while trying to lock my share of the liquidity pool on the blockchain. Despite successful tests in a Hardhat environment, the transaction is reverted when executed on the ...
Yazan Ali's user avatar
0 votes
0 answers
15 views

Issue with ERC20 Contract Verification on Base API Despite Successful Response

I'm attempting to verify my ERC20 contract using the Base API. I'm receiving a positive response with the following: { "status": "1", "message": "OK", ...
Yazan Ali's user avatar
0 votes
0 answers
17 views

Updating Token Info on EtherScan

I need your help with updating my token info on EtherScan. I successfully deployed my token and verified my contract on EtherScan. The token does not have a logo and I wanted to add a logo and also ...
farh60's user avatar
  • 11
0 votes
0 answers
22 views

Contract Verification Problem

I'm encountering a perplexing issue while trying to verify my contract through BaseScan. I received a successful verification response from https://api.basescan.org/api as follows: { "status&...
Yazan Ali's user avatar
0 votes
1 answer
22 views

Why are rebasing tokens like Aave USDC more popular than accumulating tokens?

Why do some lending protocols prefer rebasing tokens (Compound V3, Aave) over accumulating tokens (Spark, Compound V2)? Rebasing lacks composability. You can't really use them across different ...
Paul Razvan Berg's user avatar
2 votes
1 answer
154 views

Are there any no-code tools for deploying ERC-20 tokens?

As the title says: are there any no-code tools for deploying ERC-20 tokens?
Paul Razvan Berg's user avatar
0 votes
0 answers
19 views

How to buy newly launch tokens from bsccan, that have insufficient liquidity?

When the contract address and supply of a token is created and got listed on bsccan before any other exchange the creator of the token tends to provide no liquidity for the token, which makes in ...
Awais's user avatar
  • 1
0 votes
1 answer
54 views

Filtered by token holder

I swapped BNB BEP-20 for Bera through Pancakeswap v3. The transaction shows up as valid but i can't transfer/receive my Bera to/in my wallet, There is a message in bold that says: Filtered by token ...
Adrian's user avatar
  • 1
0 votes
0 answers
17 views

How do you actually link Real World Asset to newly issued tokens?

I've been exploring possibilities to tokenize real world assets, such as a real estate, and I came across the concept called Real World Asset Tokenization link. Aside from all the gibberish about how ...
Hitit's user avatar
  • 101
0 votes
0 answers
22 views

The token was hacked in my smart contract

The transactions below were not created by me. Someone else withdrew tokens from my smart contract. The hack occurred in a transaction that creates a smart contract. How is this possible? https://...
유동근's user avatar
0 votes
0 answers
20 views

Is this token a scam? (ABYS)

I was recently browsing the list of new pools on arbitrum and came across this coin: https://arbiscan.io/address/0xd7d39c9fa965b8b2458f2f6100f78e5ad1b318fe Without looking too much into it, I saw a ...
ChewyCorndog's user avatar
1 vote
1 answer
20 views

Ownable: Inheritance vs. Modifier for Gas Efficiency

When implementing access control in Solidity contracts, OpenZeppelin's Ownable library offers a convenient solution. However, a question arises regarding gas optimization: is it more gas-efficient to ...
Awais Ahmad's user avatar
0 votes
0 answers
44 views

Can't add liquidity to my token

I created a token and now I need to add liquidity to it. Here is a code of my contract: // SPDX-License-Identifier: MIT pragma solidity 0.8.20; abstract contract Context { function _msgSender() ...
Regular User's user avatar
1 vote
1 answer
22 views

Smart Contracts data for a thesis on commodity trading

I am considering writing my master's thesis in finance on smart contracts and commodity trading. I would like to conduct an analysis on the trading behavior of smart contracts as opposed to ...
gerscorpion's user avatar
0 votes
1 answer
28 views

Bulk transaction on Base chain

After adding liquidity, I frequently see wallets making bulk transactions on the base chain. How can I snipe tokens early and cheaply like them? CA: 0x1234567517769aCd8519BA85184EdbBaC6062971 Tx: ...
Văn Châu Cao's user avatar
0 votes
0 answers
9 views

Can ERC-4671 NTTs only be issued by third-party authorities?

I'm not trying to make anything in particular, but I'm new to Ethereum and just curious about the following: I've been reading about Non-tradable tokens (NTTs) and the ERC-4671 standard developed for ...
AsianDora's user avatar
0 votes
1 answer
25 views

transaction reverted when calling swapExactETHForToken on uniswapRouter02

currently, I'm trying to swap eth for an erc20 token and the transaction gets reverted every time, not quite sure what I'm missing, i pre-approved some allowance for the router02 to spend on my behalf,...
yahdielo's user avatar
0 votes
1 answer
46 views

How to test my Wrapped token/Stablecoin in a testnet?

Is it possible to test if my wrapped token or stablecoin peg system is working in some testnet? Or I need to deploy it in the mainnet?
Ryan Holanda's user avatar
0 votes
1 answer
32 views

SwapRouter02 not working with custom ERC20 token

I am trying to programmatically swap ETH for a custom ERC 20 token (let me take a meme token as an example) Here is my code that I swapped ETH for USDC: const { ethers } = require("hardhat");...
duyanhhz's user avatar
0 votes
1 answer
65 views

Transfer erc20 tokens ethers-v6

I was using token contract to transfer erc20 tokens to an address and it was working perfectly fine. but since i have migrated to ethers v6. everything has messed up. All the methods are either ...
Faisal Anwar's user avatar
0 votes
1 answer
132 views

How to go about building a spam sniper bot on ethereum

I am interested in sniping[buying] tokens in the very first block in which their trading gets enabled. However, for most tokens I find the transaction to enable trading is sent privately bypassing the ...
explorer66's user avatar
0 votes
2 answers
26 views

Gas estimation error when trying to send ERC 20 to multiple addresses

I was trying to programmatically send ERC 20 tokens from one wallet to multiple other wallets Here is the code from Disperse App that I referenced to: //SPDX-License-Identifier: UNLICENSED pragma ...
duyanhhz's user avatar
0 votes
1 answer
28 views

Can someone explain the initialize function in UniswapV2 contract?

https://etherscan.io/address/0x1b5bea98cb56da56723db75f2c3b24f6119faf98#code function Initialize () external onlyOwner { require(!tradingOpen,"init already called"); ...
Lappazuronef187's user avatar
0 votes
1 answer
50 views

What is the best way to monitor all token balances of wallet address?

Context I'm developing a personal project to monitor token balances of all wallet addresses in my service . I can monitor token balances of several addresses by multicall. I designed my workflow of ...
CT95's user avatar
  • 416
0 votes
1 answer
58 views

ERC20 Token Balance to Zero After Swap

I tried to do some token swaps on Uniswap. I also checked other topics in the forum but couldn't understand what really happened because I couldn't find any transactions that shows something happened ...
morez890's user avatar
0 votes
0 answers
38 views

Token Transfer in the absence of _isApprovedOrOwner

I have created a smart contract in which I have a method called forSale used to store a flag (in a struct part of a mapping) indicating that the owner of an ERC721 token wishes to sell his said token (...
JF0001's user avatar
  • 291
1 vote
0 answers
32 views

Does this token contract look right?

I am not a coder or even thought about code until my run in with one of these guys (smart contract) and ill be honest its been rather interesting trying to work this out and learning a lot i think ...
DaV08900's user avatar
0 votes
0 answers
12 views

ETH tokens with no value needing 5k to transfer to coins [duplicate]

I have 15.54 ETH tokens in my Atomic wallet but their value shows as 0 (zero) I have been told that to turn them into coins with value I need to deposit 10% of their value into my wallet before I can ...
Richie's user avatar
  • 1
0 votes
1 answer
17 views

deflationary tokens vs inflationary tokens

Why do deflationary tokens exist? What are the advantages? How they are different from inflationary tokens?
Saikat Karmakar's user avatar
6 votes
2 answers
92 views

Can the `totalSupply` of a token be different than the sum of all account balances?

If I'm building a rebase token that has a difference of 1 wei sometimes (pre/post rebase) between the totalSupply and the sum of the balances of all holders, does that pose an attack risk within the ...
dNyrM's user avatar
  • 928
0 votes
0 answers
31 views

Gas estimation failed - remix.ethereum.org

Why i cant deploy my contract ? it show me every time this. I am sure i do everything right. Before i try force sending but TX failed and i burn some eth... here is tx https://etherscan.io/tx/...
Lukáš Kubala's user avatar
0 votes
0 answers
8 views

Missing transaction [duplicate]

MISSING TRANSACTION I have no idea what went wrong here but I had tried to send two tokens to my coinbase wallet from my crypto. Com defi wallet . And it never arrived . I also messed up and sent a ...
FrozenFury's user avatar
0 votes
0 answers
167 views

do LP and Swap by using uiniswap V2 in Sepolia Testnet

I deployed a contract on the Sepolia Testnet to facilitate Liquidity Provision (LP) and swapping using Uniswap V2. The deployed contract can be found at the address: https://sepolia.etherscan.io/...
rebwar's user avatar
  • 3
0 votes
1 answer
30 views

Visual Studio Code

Can I use visual studio code for the testing and debugging of my smart contact, remix doesn’t seem to work for me
user133433's user avatar
0 votes
1 answer
79 views

Unknown tokens not possible to sell and buy

guys! I habe 4 unknown tokens hidden in my wallet! I can not buy and sell them but there are two sites like „OP Etherscan“ and „contract“ where I can click on it. Of course I did not click on it. I ...
Zeljko Dinic's user avatar
0 votes
0 answers
12 views

New token no name or call sign?

I created a new token on the Polygon net and got it all worked out, showing in my wallet, and confirmed by etherscan (I did this all in remix). But now if we go to the token in the polygonscan it wont ...
newTokenMaker's user avatar
0 votes
0 answers
13 views

Unable to swap scam token on uniswap but you can transfer a coin [duplicate]

I put money in a scam token on the ethereum blockchain, and when I wanted to withdraw it, the transaction is constantly canceled and the error "Replacement failed" comes out. You can't make ...
Nick's user avatar
  • 1
0 votes
2 answers
158 views

Bought tokens which appear to be in my wallet on bscscan, but my metamask wallet says 0

I swapped some tokens on uniswap, with just a small amt to test, and it appears that the tokens are in my wallet when I look on bscscan: https://bscscan.com/tx/...
Felicity Massey's user avatar
0 votes
2 answers
43 views

Smart contract creation

I just joined because I am trying to learn how to create Solidity contracts using OpenZepplin. I am using also claude AI to guide me but it has a limit and it's going in circles now. Until now I ...
Onigiri's user avatar
0 votes
1 answer
41 views

How to call erc721 functions (approve, setApprovalForAll etc.) from another contract?

I have an erc721 NFT and a Main contract. The Main Contract is a factory contract. Which creates erc 721 contracts. I can create NFT contract from Main contract . But can't call the approve, ...
Asir Shahriar Roudra's user avatar
0 votes
0 answers
11 views

Custom Taxation Logic Not Functioning on Token Contract - Previously Deployed Contract Exhibited Proper Functionality

I'm encountering an issue with the custom taxation logic implemented on my token contract. Interestingly, I've deployed a similar contract last year with the same logic, and it was functioning ...
Abdullah Hanif Chaudhary's user avatar
0 votes
0 answers
12 views

i want to transfer amount from ride booking to ride owner so getting error

// RideSharingContract.sol pragma solidity ^0.8.0; contract RideSharingContract { address public owner; event RideCreated(address indexed creator, uint256 indexed rideId, string source, ...
Pradeep prajapati's user avatar
0 votes
0 answers
11 views

metamask transfer amount different to etherscan amount

bought a erc-20 token on uniswap using my ledger account on metamask. when i got tokens i transferred them to another account on the same wallet. the amount that appeared was much less that was sent ...
luke's user avatar
  • 1

1
2 3 4 5
50