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
1 answer
23 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
16 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
  • 386
0 votes
1 answer
32 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
24 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
  • 281
1 vote
0 answers
24 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
14 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
0 votes
0 answers
9 views

Precision rebase tokens

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
  • 934
0 votes
0 answers
29 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
30 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
  • 1
0 votes
1 answer
25 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
22 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
8 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
48 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
29 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
18 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
11 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
7 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 vote
1 answer
19 views

How to Securely Call Internal Functions from a Factory Contract in Solidity?

I have two Solidity contracts: a token contract and a token factory contract. The token factory contract is responsible for deploying various tokens. Within the token contract, I have defined mint and ...
Asir Shahriar Roudra's user avatar
0 votes
0 answers
4 views

Wrong deposit in KuCoin. The depositor sent the deposit to the contract address

The depositor sent the deposit to the contract address. Is there a way to know who the owner of the contact address is?
Mafi's user avatar
  • 1
0 votes
0 answers
12 views

I have sent SYN tokens and are stuck in my ETH wallet. What can I do?

I have my SYN tokens stuck in my ETH wallet and can see them in etherscan. Anyway to send them out back to the original address the tokens weren't sent from? 0xF66Bd3fa316aBD9c44492bc92AefC90652AE9311 ...
Kevin B's user avatar
0 votes
1 answer
27 views

How to write unit test with Timestamp base function?

I writing a contract for Staking Token to earn Token. It's similar to pancake MasterChef. The requirement is based on timestamp (not block). When I test the contract with hardhat, I call the deposit ...
MadTik's user avatar
  • 21
1 vote
1 answer
38 views

I'm having trouble sending token1 to a pair address and receiving token0

I am trying to make a swap directly via the pair address without a router. I'm trying to get token0 by sending token1. The amount of token0 I will receive does not matter, but when I run the node.js ...
Jack Suelman's user avatar
1 vote
0 answers
33 views

Rebase algorithm

I'm building a rebase token and need some help with the algorithm. These are the variables, constants, and constraints (the values themselves are just examples): Set of variables 1: a1 = ...
dNyrM's user avatar
  • 934
0 votes
0 answers
18 views

Can we send tokens to BSC pair address and receive tokens in return?

We're almost at war with ChatGPT :) For example, when we send 1 busd to a pair address, such as BUSD/WBNB, won't the pair address directly give us WBNB in return? Chatgpt says it gives one, it doesn't ...
Jack Suelman's user avatar
0 votes
1 answer
23 views

My transaction was reverted but my funds were never returned back to my wallet

My transaction failed with error code displaying “REVERTED”. My funds were never sent back to my wallet. When I try to claim on Uniswap says not supported. I run updated version, I have tried ...
Plumbcrazy425's user avatar
0 votes
0 answers
18 views

Best way to integrate blockchain to web app

I am developing this web app to track work with the hopes of integrating the blockchain to record it. The user would submit data through a form and each node hopes to track both users, amount of ...
Zhi's user avatar
  • 11
0 votes
2 answers
26 views

How to get which tokens have been transferred by a transaction using ethers or Web3?

Given for example this transaction, is there a way of getting exactly what ERC721 tokens have been transferred by it? To clarify, it would be this detail here: Is it possible to get this information ...
Falcon Stakepool's user avatar
0 votes
0 answers
10 views

I wana write Equity Token smart contract for Multiple Companies with there Corporate Action

**How can I design an equity token standard that accommodates multiple companies' corporate actions within a single contract, allowing each company to create its own token instance within the contract ...
Sohail Ghafoor's user avatar
0 votes
0 answers
11 views

Dapp architecture & ERC1155

There are 2 smart contracts: Contract Game and Contract Token(ERC1155). I have 2 implementation options: Make the inheritance contract Game is Token {} and work with the token directly or Game ...
MetaverseM4ster's user avatar
0 votes
0 answers
9 views

Seeking Smart Contract for Certifying Physical Artworks Similar to Kronos360

I'm looking for a smart contract that can certify physical artworks, similar to Kronos360's approach for watches. The contract should mint a unique token for each artwork, linked to its image and ...
YoannR's user avatar
  • 1
0 votes
0 answers
49 views

Presale contract - Cant send tokens to the contract

I have created a token and a presale contract on remix. User should be able to send BNB to the presale contract and receive the token in their wallet, but when i try to send funds to PRESALE contract ...
Jim Mike's user avatar
0 votes
1 answer
53 views

Can we upgrade the Name and Symbol of ERC20 Token

Exploring Options: Can the Name and Symbol of an ERC20 Token be Upgraded? 🚀 Seeking insights from the crypto community! 💡Considering a potential upgrade for our ERC20 token's name and symbol. Any ...
Sohail Ghafoor's user avatar
0 votes
1 answer
35 views

Wrong network at the transaction

I transfered 1000 usdt to ethereum network mistakenly from bnb network and i lost them. Can you help me with the solution to recover them please? i transfered them from binance to revolut
konstantinos's user avatar
1 vote
0 answers
251 views

What are examples of high-liquidity ERC777 tokens on ETHEREUM? Any other token standards apply too, as long as there's a beforeTransfer callback

I'm looking to make a list of popular tokens that implement hooks on transferFrom(address owner, address receiver, uint256 amount) and are deployed on the Ethereum blockchain in particular. For ...
Mila A's user avatar
  • 1,179
0 votes
1 answer
29 views

Getting "insufficient allowance" error

// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./TokenA.sol"; import "./TokenB.sol"; contract ...
soumyadeep.eth's user avatar
0 votes
0 answers
17 views

Using Token in an application as asset

There is a smart contract deployed on ethereum network, which is an ERC-20 standard token We want to use this token in an application as a virtual currency, for example users can buy it via fiat and ...
M.mhr's user avatar
  • 101
0 votes
0 answers
19 views

how to find out about all the coins that are on the Ethereum network

how can I find out in real time all the tokens that are on the Ethereum network and get data on prices, volume, etc.
Matveu's user avatar
  • 11
1 vote
0 answers
20 views

Weighted token distribution

How do you determine the weight of token distribution to liquidity providers (aka how many tokens they get) based on how much liquidity they bring into the protocol? Is there a pre-stablished ...
dNyrM's user avatar
  • 934
0 votes
0 answers
161 views

JsonRpcEngine: Response has no error or result for request:

I tried to deploy my smart contract on bsc testnet but it failed. Please explain where it went wrong.
alex's user avatar
  • 1
1 vote
0 answers
34 views

how to get data about all tokens on the ethereum chain

I want to get data about all the tokens that are on the Ethereum chain without specifying the address of each token, how can I do this?
Matveu's user avatar
  • 11
1 vote
3 answers
71 views

Transanction rejected by EVM when i tried to call a claim function from an airdrop contract

This my contract /** contract JayTechAirdrop { address public owner; address public jayTechTokenAddress; uint256 public claimAmount = 1e6 * 1e18; // 1 million JayTech tokens uint256 public gasFee; ...
Hallenjay's user avatar
0 votes
0 answers
121 views

Recover tokens from base Network to Ethereum mainnet

I just sent a few days ago some Ethereum through base Network because the fees were low to an account that's does not support Base. My private keys are held by the exchange because it's a custodial ...
Vitor Matos's user avatar
0 votes
0 answers
13 views

Nethereum when sending transaction to contract Number was less than the array's lower bound in the first dimension. (Parameter 'destinationIndex')

Hello i have problem with simply smartcontract: [Function("saveData")] public class SmartContractDataFunc : FunctionMessage { [Parameter("uint256","_id", ...
Kamil's user avatar
  • 143
0 votes
1 answer
25 views

Swap, usdt to usdc, eth to usdt, eth to usdc etc

Can someone explain how to swap, usdt to usdc, eth to usdt, eth to usdc etc. Without any third-party (uniswap, 1inch etc). In language java/kotlin. For mobile wallet an application
Insan's user avatar
  • 1
1 vote
0 answers
31 views

I am encountering issues when transferring USDC tokens

When I transfer USDC tokens on the Polygon mainnet at https://rpc-mainnet.maticvigil.com, I encounter an error stating that the 'transfer' method is not found. Upon checking the list of methods for ...
Solider's user avatar
  • 11
0 votes
1 answer
17 views

Im trying to build a cryptocurrency(USD tether just like USD) that works with ethereum and polygon,

I happen to be relatively new to block chain, have an understanding of PoW and PoS, I'm learning Solidity at the moment, I'm supposed to design thi cryptocurrency that is compatible with ethereum and ...
Irum 's user avatar

1
2 3 4 5
50