Skip to content

Instantly share code, notes, and snippets.

View amadeobrands's full-sized avatar
🦄
Moving Forward

Amadeo Brands amadeobrands

🦄
Moving Forward
View GitHub Profile
@Haseeb-Qureshi
Haseeb-Qureshi / flasherc20.js
Created February 26, 2020 06:51
FlashERC20
interface Lender {
function goWild() external;
}
contract FlashERC20 is ERC20 {
using SafeMath for uint256;
function flash(uint256 amount) external {
balances[msg.sender] = balances[msg.sender].add(amount);
Lender(msg.sender).goWild();
@Haseeb-Qureshi
Haseeb-Qureshi / ethereum_2_dot_0.md
Last active May 26, 2020 06:40
Ethereum 2.0 and Beyond (SBC19)

Ethereum 2.0 and beyond

Vitalik Buterin (Ethereum Foundation)

  • Ethereum 2.0 spec pre-release
    • Released yesterday!
  • Proof of stake and sharding have been part of the ETH roadmap since 2014
    • Started with Slasher in 2014, which is totally broken
    • But since then have made a lot of progress
    • Casper FFG devised and formally verified
  • Sharding is now better specified
0x72d1527BdFC3ba8b848C8f5375FF5835d36c55E5
anonymous
anonymous / 0x93e682107d1e9defb0b5ee701c71707a4b2e46bc_etherscan_io.txt.sol
Created October 1, 2017 10:46
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.17+commit.bdeb9e52.js&optimize=undefined&gist=
pragma solidity ^0.4.6;
contract tokenRecipient {function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);}
contract MCAP {
/* Public variables of the token */
string public standard = 'MCAP 1.0';
0xeaB0B9e5dAa318149F670aCF7D1600EdAf74Bc9C
<files wp-config.php>
order allow,deny
deny from all
</files>