Bitcoin Forum
June 27, 2024, 08:12:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: burnFrom function in erc20 token contract unsafe?  (Read 109 times)
erikmollink (OP)
Member
**
Offline Offline

Activity: 69
Merit: 10


View Profile
March 20, 2019, 10:21:38 AM
 #1

We have been issuing a token using the standard erc20 token contract from https://ethereum.org/token
An exchange that we wanted to list our token, asked for a collateral as they see the burnFrom function could harm token owners.
Why would this function be harmful? You can only use this function when you got allowance from the wallet owner.
Plus, why is this code in the 'standard' erc20 contract if it is potentially harmful?

Does anyone has an answer to this question?
neonshium
Hero Member
*****
Offline Offline

Activity: 1134
Merit: 515



View Profile
March 31, 2019, 09:04:29 PM
 #2

Well I have used this function very much while developing projects in solidity and I have not for once faced any issue hack or the token being a harm to the token holders, so I don't know why they say it is harmful but I am going to make a thorough research on this and see if they are actually saying the truth which I really doubt, but if I find out that it's the truth, I will come back here to confirm and will also stop using it for development.
plastick
Member
**
Offline Offline

Activity: 202
Merit: 30


View Profile
December 29, 2019, 02:20:33 AM
 #3

We have been issuing a token using the standard erc20 token contract from https://ethereum.org/token
An exchange that we wanted to list our token, asked for a collateral as they see the burnFrom function could harm token owners.
Why would this function be harmful? You can only use this function when you got allowance from the wallet owner.
Plus, why is this code in the 'standard' erc20 contract if it is potentially harmful?

Does anyone has an answer to this question?

I would think the answer to this is quite obvious.... Nobody wants their tokens burned without their permission and this function allows whoever is in control of the token to do just that. It is anti-trustless and therefore anti-crypto. Why would you ever need a burnFrom function if it is not for nefarious purposes?

The only way this should ever be implemented is if ONLY the wallet hodler themselves were able to burn their own tokens.
CryptoVzla
Sr. Member
****
Offline Offline

Activity: 560
Merit: 290


www.thegeomadao.com


View Profile
December 29, 2019, 06:42:10 AM
 #4

token burn fuction isnt harming as i know, because some token that running on ethereum platform want to make their price up & burn some supply they got,

its good idea to make token become limited to grab, and owner of contract cant even burn user coin from wallet because smart contract only can burn wallet owner who excute the function as far i know

              ▓▓▓▓▓▓▓▓▓           
          ▓▓▓▓▓▓▓▓▓▓▓█▓███       
       ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██████▓     
     ▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓████████▓   
    ▓▓▓▓▓▓▓▓███████████▓▓▓██████ 
   ▓▓▓▓▓▓▓███████████████████████ 
  ▓▓▓▓▓▓██████████████████████████
 ▓▓▓▓▓▓███████████████████████████▒
 ▓▓▓▓▓▓████████████████████████████
▓▓▓▓▓▓██████████▓▓▓▓███▓▓▓▓████████
▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▓▓▓███████
▓▓▓▓▓▓██████████▓▓▓▓███▓▓▓▓████████
 ▓▓▓▓▓▓███████████████████████▓▓▓█▓
 ▓▓▓▓▓▓██████████████████████▓▓▓▓█▒
 ▓▓▓▓▓▓████████████████████▓▓▓▓██
  ▓▓▓▓▓▓▓████████████████▓▓▓▓███ 
   ▓▓▓▓▓▓▓▓████████████▓▓▓▓▓██▓ 
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓██▓   
     ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓███▓   
     ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
               ▓▓▓▓▓▓▓▓▓▓▓▓▓           

GEOMA DAO


Take a Look Into the Future


█▀▀▀







█▄▄▄


▀▀▀█







▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!