Skip to content

Instantly share code, notes, and snippets.

View lsquaredleland's full-sized avatar
😜
smile

Lsquared Leland lsquaredleland

😜
smile
  • SV
View GitHub Profile
@agentcooper
agentcooper / 0.README.md
Last active April 9, 2024 19:27
Telegram chat backup/export

How to use

  1. Login to https://web.telegram.org
  2. Copy-paste contents of telegram-scripts.js into JS console
  3. Run showContacts() to get the list of contacts with ids
  4. Run saveChat(userId) where userId is the id from step 3

Process can take a while, check console for progress. Occasionall FLOOD_WAIT errors are expected. Once done, browser will download the JSON file.

Motivation

pragma solidity ^0.4.0;
import "SafeMath.sol";
import "IERC20Token.sol";
/**
* @dev Implements a capped token sale using a second-price auction.
*
* @author Nick Johnson <arachnid@notdot.net>
*
The following is the output of a scan of the Ethereum mainnet blockchain
from 1427000 to 1738000.
The code of the official DAO (0xbb9bc244d798123fde783fcc1c72d3bb8c189413)
is taken as reference. The contracts found on the blockchain having the
same code are reported.
Many thanks to @rogermnoore from slack for his help scanning some parts of
the blocks.
Please note that the DAOs child contracts are NOT reported here.