Questions tagged [burn]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

WETH burn missing in Etherscan

I'm looking at this transaction in Etherscan(https://etherscan.io/tx/0xdff9b85093c6af369d197815c42930e23b0dfdcd37f8c3e614ca3483cf120af9) and supposedly the address DSProxy #213,717(...
user78124429124's user avatar
0 votes
1 answer
13 views

Will the burn feature in Remix still work if I revoke ownership?

Newbie here - I launched a contract in Remix with a burn feature and a revoke feature. If I revoke the contract, will I still be able to initiate burns in Remix?
user124436's user avatar
0 votes
1 answer
14 views

Burn multiple ERC721 sharing the same trait to mint a new ERC721

I have an ERC721 Collection of 5000 NFTs. Some are sharing similar traits in their metadata. I'm looking for guidance to code a burn to mint function that allows holders to burn up to 5 NFT sharing ...
Drystorm's user avatar
0 votes
0 answers
35 views

is it possible to make a auto burn function for every transaction?

I need help from ‍solidity language experts, Is it possible to make a function of smart contract where 1% buy fee equivalent of the token will be burned automatically from the total supply on every ...
EAGLE's user avatar
  • 15
0 votes
1 answer
70 views

Burn an existing NFT and Mint a new NFT in one go

I am developing a Dapp for NFT minting. In order to mint a new 2nd NFT, the user has to burn the 1st one that he owns. I know that our Dapp can prompt the user to burn the 1st NFT. And only after it's ...
Edward Tam's user avatar
0 votes
0 answers
17 views

How much Gas Token used in total Gas?

Users can Mint Gas tokens at a lower price and Free them when the Gas price is high in Ethereum. In Etherscan, the available information is Gas Used. There is no more information about how much Gas is ...
Motiv's user avatar
  • 21
1 vote
1 answer
57 views

Middleman contract to mint another ERC1155

Is it possible to create a middleman like contract to burn from one ERC1155 contract(Contract A) and mint another ERC1155 contract(Contract B) to the sender if he meets the criteria written within the ...
jjjj_lllll's user avatar
0 votes
1 answer
426 views

Is it possible to burn tokens that are in a contracts balance?

As the title states, is it possible, to burn tokens that are in the balance of a contract? I made a mini game where the person who calls the external function, it suppose to burn the tokens in the ...
Da Knocker's user avatar
0 votes
0 answers
14 views

my coins got sent to burner with only acces to my public wallet - how?

So long story short An exchange who handled the redistribution of a relaunched token under a new ticker, messed up and send me a bunch of tokens. I recognized the mistake, and being still a fan of the ...
mdfkdfqlskjdf's user avatar
0 votes
1 answer
88 views

How variable work when I predefined a private variable from inheritanced Contract?

I have see a question here : link . Where someone have some problem with ERC0 _burn(), to the point I see that He redefined 2 variable _totalSupply, _balances in his contract to use : even though ...
rived's user avatar
  • 160
0 votes
1 answer
41 views

_burn() odd behaviour

I stumbled upon an issue with burn() in OpenZeppelin ERC20 contracts. I have the following test: import { time, loadFixture } from "@nomicfoundation/hardhat-network-helpers"; import { ...
Jacek's user avatar
  • 125
0 votes
1 answer
444 views

How to check if an ERC721 (Burnable) token was burned?

Running erc721contract.getOwner(burnedTokenId) will return "execution reverted: ERC721: owner query for nonexistent token", however this will also happen for tokens that have not been minted ...
P A S H's user avatar
  • 138
0 votes
2 answers
134 views

Execution Reverted : Burn token and redeem ethers

I'm developing two contracts: Tokens : ERC20Burnable Transparent Upgradeable Proxy - contract minting a token 1:1 for each ethers sent. Machine : Transparent Upgradeable Proxy - contract accepting ...
Saucy's user avatar
  • 3
0 votes
1 answer
90 views

Burning tokens when it swaps in PancackeSwap

I`m trying to create token that burns some % of swap amount from liquidity pool every time user buy it. I tried to implement it including _burn function to _transfer function overriding. function ...
cryptodummy's user avatar
0 votes
2 answers
405 views

Is it possible to burn (specifically transfer to address(0))a ERC721 token(openZeppelin v4.7 or v4.8) without externally available _burn() function?

If a token does NOT have externally available _burn function, and the implementation of openZepplin ERC721.sol for transferFrom() safeTransferFrom() safeTransferFrom("") is function ...
sciNFTist.eth's user avatar
1 vote
1 answer
145 views

Function to burn NFT by taking contract address and token id as input args

I want to create a "Burn" function in my contract which takes in NFT contract address and token id as input. The function will be called by the NFT owner to burn. Can someone explain how can ...
Lobo1897's user avatar
3 votes
2 answers
330 views

Best Practices for Burning an external ERC721 as part of the mint method of a new ERC721

I'm working on a contract that will tokens from a different contract get burned to mint a 'new token'. I am just looking for a bit of guidance to make sure I don't run into any pitfalls. The ...
Graham Vasquez's user avatar
0 votes
1 answer
40 views

How to automaticly burn erc-20 tokens after 1 month

Im working on a code to automaticly burn tokens after 1 month, is this even possible and if so how can i do this? Kind regards, Murk
Mark's user avatar
  • 1
0 votes
1 answer
130 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?
p0pps's user avatar
  • 278
1 vote
1 answer
86 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/. ...
Anand Kannan's user avatar
1 vote
3 answers
521 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 ...
Federico Gentile's user avatar
0 votes
2 answers
240 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 ...
Harry Han's user avatar
1 vote
1 answer
46 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 ...
noto77's user avatar
  • 13
2 votes
4 answers
660 views

Where does burnt ether go?

When Ethereum burns ether by taking it out of circulation, what exactly happens? Where does this ether go?
StatsScared's user avatar
1 vote
2 answers
376 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.
StatsScared's user avatar
0 votes
1 answer
808 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 ...
pavan areti's user avatar
0 votes
1 answer
40 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 ...
Cem Mert Erence's user avatar
0 votes
2 answers
1k 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 ...
mrlupr's user avatar
  • 3
0 votes
1 answer
36 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?
Decode_me's user avatar
3 votes
2 answers
457 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 ...
priyanshu bindal's user avatar
1 vote
1 answer
2k views

Transaction underpriced on Metamask? [closed]

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 ...
Allennick's user avatar
  • 233
0 votes
3 answers
281 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?
Miguel Mont's user avatar
0 votes
1 answer
353 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 ...
mdoublegm's user avatar
1 vote
0 answers
1k 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 ...
David Dacruz's user avatar
1 vote
1 answer
975 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.
Priyanshu Jain's user avatar
0 votes
1 answer
118 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 ...
MiZzis HipraxX's user avatar
2 votes
1 answer
44 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? ...
Андрей Барабанов's user avatar
2 votes
1 answer
1k 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 ...
Kaneda's user avatar
  • 365
0 votes
2 answers
334 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) ...
Nicolas Massart's user avatar
0 votes
1 answer
552 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 ...
Matthew Cornelisse's user avatar
4 votes
1 answer
2k 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-...
0xninja's user avatar
  • 301
1 vote
1 answer
88 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 ?
gneric's user avatar
  • 170
0 votes
1 answer
35 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 ...
Chris J's user avatar
  • 11
1 vote
0 answers
32 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 ...
Patoshi パトシ's user avatar