Tagged in

Ethereum

  1. Blockchain
  2. Ethereum

Blockchain-Smart Contract Security

  1. DAO attack — https://www.coindesk.com/understanding-dao-hack-journalists.
pragma solidity ^0.4.24;

contract Fundraiser {
mapping(address=>uint) balances;

function withdraw(){
uint withdrawAmount = balances[msg.sender]