Questions tagged [burn]

The tag has no usage guidance.

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

Need help with the code for Burn_fee and also need the code for putting a a time lock a percentage of tokens [duplicate]

If any one can send me the solidity functions for the 2 functions I would like my token to have I would apricate it greatly. I am making a token that has a burn_fee on sell transactions of 8% and a 2% ...
  • 1
0 votes
1 answer
22 views

Can my ERC721 contract burn tokens that are owned by other wallets?

If our contract mints ERC721 tokens to different wallets, and we implement OpenZepplin Burnable, does the contract have permission to burn tokens that are owned by another wallet?
  • 208
1 vote
1 answer
36 views

Why burn ether?

I am trying to understand the below statements and also the intuition behind burning ether. Could you elaborate on the below statements from https://ethereum.org/en/developers/docs/intro-to-ether/. ...
1 vote
3 answers
187 views

Is it possible to verify someone else's smart contract on Etherscan?

I just deployed an ERC20 token on the Rinkeby testnet. The token has some features like Minting and Burning. After verifying the code on Etherscan I am able to interact with the functions and generate ...
0 votes
2 answers
18 views

How to BURN an ERC721 token without an owner permission

Guys. I am running a NFT project, and while implementing the contract of the token, I am curious about how to burn ERC721 tokens without the authority of the owner. Can the project operator ...
1 vote
1 answer
27 views

Eth 2.0 Will Pay 5% Staking Rewards - Is ETH really deflationary?

I am struggling to understand a key concept of the new Ethereum. I understand that some ETH rewards are burnt, but clearly the 5% rewards need to be created first and they are given to stakers as ...
  • 13
2 votes
4 answers
351 views

Where does burnt ether go?

When Ethereum burns ether by taking it out of circulation, what exactly happens? Where does this ether go?
0 votes
0 answers
4 views

How to assign my ERC Token to this contracts minted Token properly?

Hello Ive worked on a simple Vault(which inherits a ERC20 contract) that mints ERC20 shares up upon a deposit, but It doesnt assign the token name, symbol etc from the predefined ERC20 contract which ...
1 vote
2 answers
17 views

What does it mean if fees are "burned" in the context of EIP-1559?

I am looking for a simple explanation of what burning "fees" means and implies in the context of EIP-1559.
0 votes
1 answer
111 views

Autoburn NFT's after certain amount of time

how to create functionality to make NFT burn automatically when its expiry date is reached ? while minting i am storing 2 parameters minted date and number of months to expire , so i want it to burn ...
0 votes
1 answer
31 views

Adding a burn feature to the contract

// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.11; interface IBEP20 { //functions function name() external view returns (string memory); function symbol() external view returns (string ...
0 votes
2 answers
325 views

How to use the Solidity Burn function

Newbie here, Can someone explain how to use the Burn function in a solidity contract? I have a token with 1 trillion supply and I would like to burn 1% when nessesary. The Function is asking for a ...
  • 3
0 votes
1 answer
18 views

ERC20: exclude minting function

Is it possible to write erc20 excluding main minting function but keeping initial mint (while deploying) and burn function? Any ideas to code it?
1 vote
2 answers
134 views

What is the preferred Inheritance for ERC20 token and why?

I tried to deploy both ERC20 contracts with burn functionality over the remix and both seems to work fine, I am confused if one way should be preferred over the other. Since, openzeppelin contract ...
0 votes
0 answers
15 views

Whose tokens are used for burning?

whose tokens are burned? Is it developer's or community's tokens..?? In general who want to give there tokens for sending to dead wallet? its typically loss for them if they give there tokens.
0 votes
0 answers
283 views

Transaction underpriced on Metamask?

I'm trying to burn one of my ERC721 tokens in my deployed contract but as you can see from my image the transaction fails with that error even if I did not touch anything when metamask prompts me to ...
  • 169
0 votes
0 answers
7 views

Transaction fails when i try to pass more than 15 ethers

I try to burn ether, and the transaction always fails if quantity is greater 15. Metamask shows that gas limit is exceeded. Is there any limit for ether transactions?
0 votes
3 answers
123 views

How to setup a timer for a NFT? [duplicate]

I want to create a nft ERC721 that after 30 days it will be autoburned. How I can achive this?
0 votes
1 answer
175 views

How was this NFT project able to burn NFT's in other peoples wallets?

https://exponentials.art/ Had a real-time burn mechanism which burnt NFTs in peoples wallets (they made the nft)/ How is this possible if they don't have access to peoples wallets. "if the NFT is ...
0 votes
0 answers
58 views

Need some help about burn model implementation ERC-721

I am working on ERC-721 project where holders will be able to burn n ERC-721 token if the attributes "type" are the same. Here is the metadata stored on IPFS: { "dna": "...
  • 15
0 votes
0 answers
900 views

Call the burn function of an ERC1155 token from another contract

Quick question, I have 2 ERC1155 smart contracts Contract 1 is burnable Contract 2 has an interface to call the burn function How do I assure the burning of let's say 10 tokens from contract 1 to be ...
0 votes
1 answer
516 views

Function to Burn a ERC721 token from a different contract

I want to burn the token from a different contract, I know I would have to use an external burn function but can someone help me with some piece of code.
0 votes
1 answer
90 views

Is a function like that possible? (Burn/swap)

Good morning everyone, I’m starting smart contract dev and I have a lot of questions. But the biggest question I have is I have one idea in head and I don’t know if it’s possible. To explain: You have ...
1 vote
1 answer
25 views

Burning ERC-20 tokens like BNB USDT etc with solidity

is it possible to implement burning of ethereum tokens such as USDT","BNB","USDC" for example, using solidity. Should I just send it to zero address and pass its value in wei? ...
1 vote
1 answer
769 views

Burn ERC721 without externally exposed burn function

Here is the case: I got this platform that will let users send specific NFT from other collections. My platform should burn it, and in exchange process some other stuff (unrelated to this). The issue ...
  • 325
0 votes
2 answers
269 views

Why removing royalty info on burn in Openzeppeling ERC721 Royalties extension?

In https://github.com/OpenZeppelin/openzeppelin-contracts/blob/783ac759a902a7b4a218c2d026a77e6a26b6c42d/contracts/token/ERC721/extensions/ERC721Royalty.sol#L34 we have function _burn(uint256 tokenId) ...
0 votes
0 answers
72 views

safest way to lock or burn LP?

I wrote a contract to buy liquidity as it sells tokens. The LP tokens are "public liquidity" that never shouldn't be removed from the pool. I actually send LP to the 0x0 address. As I only ...
0 votes
0 answers
200 views

Burning owned ERC721 from a different contract to mint a new ERC721 in new contract

So I'm currently making a new collection where my previous holders can burn 2 of their ERC721s from previous collection to mint a new ERC721 on the new contract. I'm currently having issues fetching ...
0 votes
0 answers
884 views

Staking ERC20 Token: external contract and burn function

I’m trying to understand how to create a staking token. My purpose is to create a token, in which the user can stake the token and earn interest in the token itself. We can have two ways to implement ...
  • 145
0 votes
1 answer
208 views

How to detect if user burned tokens

Looking through the code of ERC20 tokens they have the ability to burn and mint new tokens. I want to write a nodejs program that monitors if a user burns a token and then sends them a new one if ...
0 votes
0 answers
22 views

how to change the code of the Smart contract to solidity?

how to change the “safemoon” or “open zeppelin ERC20” contract so that a total of 777T coins are created, transaction fee is 1%, liquidity fee is 1% and burnout is 1% with each transaction
  • 133
0 votes
0 answers
12 views

What happens if too much Ethereum is burned?

What happens if the supply of Ethereum declines significantly, say by 50% over the next year? The price would probably go up, but would Ethereum become less useful for building applications if the ...
  • 1
1 vote
1 answer
522 views

what is the difference between the zero-address and the burn address?

Other than that the zero-address is meant for contract creation and burn address(0x000000000000000000000000000000000000dEaD) meant for burning ether. I see a lot of implementations using the zero-...
  • 161
1 vote
1 answer
49 views

Why the zero address has less balance than the burnt tokens?

Currently there are 610,043 burnt ETH, but address(0) has a balance of 11,277 ETH. Why this zero address has so little Balance if it's a blackhole for all ETH ?
  • 160
0 votes
1 answer
29 views

Turn off token burn after x-amount of coins are reached?

Say if I have a token like safemoon. Is there a way to add in a function to turn off token transaction burn fee once x-amount of tokens are in circulation? I’m newer to solidity, and I want to be sure ...
  • 11
1 vote
0 answers
26 views

If blocks stay full and gas gwei stays at around 20-50 average. How much will ETH is burned daily, monthly, and yearly?

If the gas gwei stays at 20-50 average. How much ETH is burned daily, monthly, and yearly? What is the current ETH inflation now on a daily basis? And at what point does the ETH burned cancel out the ...