├── donate.md ├── versions.md ├── .vscode └── settings.json ├── package.json ├── images ├── bridge.png ├── metatx.jpg ├── remix1.jpg ├── remix2.jpg ├── remix3.jpg ├── remix4.jpg ├── en_metatx.jpg ├── grade-cn.png ├── grade-en.png ├── graphnode.jpg ├── jsonrpc-err.png ├── metamask2_en.png ├── metamask_lag.png └── switchrpc │ ├── s0.png │ ├── s1.png │ ├── s2.png │ ├── s3.png │ └── s4.png ├── Makefile ├── dev ├── dapp-gov.md ├── gasprice.md ├── wallet-connect.md ├── install.md ├── txpool.md ├── hrc20.md ├── meta_tx.md ├── sdk.md ├── graphnode.md ├── deploy.md ├── contract.md └── private_chain.md ├── testnet.md ├── README.md ├── faq.md ├── docker └── multi │ ├── bootnode │ └── Dockerfile │ ├── node │ └── Dockerfile │ ├── miner │ ├── Dockerfile │ └── testnet.json │ └── docker-compose.yml ├── hecobridge.md ├── wallet.md ├── bridge ├── user_guide.md └── hecopeg_assets.md ├── sidebar.md ├── mainnet.md ├── Integrity.md ├── disclaimer.md ├── bridge.md ├── index.html ├── consensus.md ├── intro.md └── Announcement.md /donate.md: -------------------------------------------------------------------------------- 1 | # 捐赠地址 2 | 3 | > 暂时匿了 -------------------------------------------------------------------------------- /versions.md: -------------------------------------------------------------------------------- 1 | # Heco Chain Versions 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cmake.configureOnOpen": false 3 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "vuepress": "^1.8.0" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /images/bridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/bridge.png -------------------------------------------------------------------------------- /images/metatx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/metatx.jpg -------------------------------------------------------------------------------- /images/remix1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/remix1.jpg -------------------------------------------------------------------------------- /images/remix2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/remix2.jpg -------------------------------------------------------------------------------- /images/remix3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/remix3.jpg -------------------------------------------------------------------------------- /images/remix4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/remix4.jpg -------------------------------------------------------------------------------- /images/en_metatx.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/en_metatx.jpg -------------------------------------------------------------------------------- /images/grade-cn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/grade-cn.png -------------------------------------------------------------------------------- /images/grade-en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/grade-en.png -------------------------------------------------------------------------------- /images/graphnode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/graphnode.jpg -------------------------------------------------------------------------------- /images/jsonrpc-err.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/jsonrpc-err.png -------------------------------------------------------------------------------- /images/metamask2_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/metamask2_en.png -------------------------------------------------------------------------------- /images/metamask_lag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/metamask_lag.png -------------------------------------------------------------------------------- /images/switchrpc/s0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/switchrpc/s0.png -------------------------------------------------------------------------------- /images/switchrpc/s1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/switchrpc/s1.png -------------------------------------------------------------------------------- /images/switchrpc/s2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/switchrpc/s2.png -------------------------------------------------------------------------------- /images/switchrpc/s3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/switchrpc/s3.png -------------------------------------------------------------------------------- /images/switchrpc/s4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stars-labs/heco-chain-docs/HEAD/images/switchrpc/s4.png -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | all: pull commit 2 | 3 | pull: 4 | git pull origin master 5 | 6 | commit: 7 | git add . 8 | git commit -m "update docs" 9 | git push origin master 10 | 11 | -------------------------------------------------------------------------------- /dev/dapp-gov.md: -------------------------------------------------------------------------------- 1 | # DApp Governance 2 | 3 | ## Snapshot 4 | 5 | https://snapshot.page/#/ 6 | 7 | dapp developer: create space with metamask, choose heco chain; 8 | 9 | user: create proposal in space; 10 | 11 | user: vote for the proposal 12 | 13 | 14 | ref: 15 | 16 | https://docs.snapshot.page/ -------------------------------------------------------------------------------- /dev/gasprice.md: -------------------------------------------------------------------------------- 1 | # gasprice suggestion based on txpool 2 | 3 | 3 levels: slow, medium, fast; 4 | 5 | ``` 6 | curl https://tc.hecochain.com/price/prediction 7 | ``` 8 | 9 | 10 | ``` 11 | { 12 | "code": 0, 13 | "prices": { 14 | "fast": 29, 15 | "median": 1, 16 | "low": 1 17 | } 18 | } 19 | ``` -------------------------------------------------------------------------------- /testnet.md: -------------------------------------------------------------------------------- 1 | # Testnet Info 2 | 3 | ## chainid 4 | ``` 5 | 256 6 | ``` 7 | ## rpc 8 | ``` 9 | https://http-testnet.hecochain.com 10 | wss://ws-testnet.hecochain.com 11 | ``` 12 | 13 | ## explorer 14 | ``` 15 | https://testnet.hecoinfo.com/ 16 | ``` 17 | 18 | ## faucet 19 | 20 | ``` 21 | https://scan-testnet.hecochain.com/faucet 22 | ``` -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Using docsify to host this site. 2 | 3 | ``` 4 | npm i docsify-cli -g 5 | docsify serve ./ 6 | ``` 7 | 8 | Welcome to the HECO Chain Docs Site。 9 | 10 | Resources list: 11 | 12 | ### [Testnet Info](testnet.md) 13 | 14 | ### Tech Support And Help 15 | 16 | find us via suppport emmail, or social media. 17 | 18 | -------------------------------------------------------------------------------- /faq.md: -------------------------------------------------------------------------------- 1 | # Metamask Lagging 2 | 3 | Slow response when inputting tansfer amount, fetching gasprice, etc. It is a chrome's known issue according to the following issue: 4 | 5 | https://github.com/MetaMask/metamask-extension/issues/10202 6 | 7 | Workarounds are: 8 | 9 | 1)Use expand view 10 | 11 | ![](../images/metamask_lag.png) 12 | 13 | 2)Move to primary monitor is using multiple monitors 14 | 15 | 3)Use other explorers 16 | -------------------------------------------------------------------------------- /docker/multi/bootnode/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | RUN apt-get update \ 4 | && apt-get install -y wget software-properties-common \ 5 | && rm -rf /var/lib/apt/lists/* 6 | 7 | WORKDIR "/root" 8 | 9 | RUN add-apt-repository -y ppa:ethereum/ethereum 10 | 11 | ARG binary 12 | RUN apt-get update \ 13 | && apt-get install -y ethereum 14 | 15 | ENV nodekeyhex="" 16 | CMD exec bootnode -nodekeyhex $nodekeyhex 17 | 18 | EXPOSE 30301/udp 19 | EXPOSE 30303/udp 20 | -------------------------------------------------------------------------------- /dev/wallet-connect.md: -------------------------------------------------------------------------------- 1 | # 概述 2 | 3 | Wallet connect enable App wallet connect to DApp via QRCode or Deeplink. 4 | 5 | When using this protocol the most critical modification in the Wallet and DApp is supporting Heco networs. 6 | 7 | 例如: 8 | 9 | # Wallet app: 10 | 11 | https://github.com/stars-labs/walletconnect-test-wallet/commit/787c481032a9c8e4dec324f0a7529fc2775220b8 12 | 13 | # DApp app: 14 | 15 | https://github.com/stars-labs/walletconnect-example-dapp/commit/b427419bfb893c060b7693d2e56e6d3f703d2984 -------------------------------------------------------------------------------- /hecobridge.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | This document introduce the basic info of heco bridge: 3 | 4 | Contract Address: 5 | 6 | Ethereum: [0xa929022c9107643515f5c777ce9a910f0d1e490c](https://etherscan.io/address/0xa929022c9107643515f5c777ce9a910f0d1e490c) 7 | 8 | HECO: [0xa929022c9107643515f5c777ce9a910f0d1e490c](https://hecoinfo.com/address/0xa929022c9107643515f5c777ce9a910f0d1e490c) 9 | 10 | # How it works 11 | 12 | ![bridge](../images/bridge.png) 13 | 14 | # Application for token-peg 15 | 16 | The process is:: 17 | 18 | 1)Submit application 19 | 20 | contact bd or 21 | 22 | 2)Deploy token contract 23 | 24 | 3)Testing 25 | 26 | 4)Online -------------------------------------------------------------------------------- /wallet.md: -------------------------------------------------------------------------------- 1 | # Summary 2 | 3 | Heco support metamask、huobi wallet app、TokenPocket etc. 4 | 5 | > NOTE: Check compitibility before using wallet, Ledger is not supported. 6 | 7 | # metamask 8 | 9 | add custom network: 10 | 11 | ## mainnet 12 | 13 | download url:https://metamask.io/ 14 | 15 | ``` 16 | chainid: 128 17 | rpc: https://http-mainnet.hecochain.com 18 | scan: https://hecoinfo.com 19 | ``` 20 | 21 | ![metamask](../images/metamask2_en.png) 22 | 23 | ## testnet 24 | 25 | ``` 26 | chainid: 256 27 | rpc: https://http-testnet.hecochain.com 28 | scan: https://testnet.hecoinfo.com 29 | ``` 30 | 31 | # huobi wallet app 32 | 33 | https://www.huobiwallet.com/ 34 | 35 | 36 | # cointtype for Heco 37 | 38 | https://github.com/satoshilabs/slips/blob/master/slip-0044.md -------------------------------------------------------------------------------- /bridge/user_guide.md: -------------------------------------------------------------------------------- 1 | # 星辰橋Beta版已上線,支持HECO與以太坊跨鏈 2 | HECO Chain已於2021年12月8日上線星辰跨鏈橋Beta版(Stars Bridge),支持多個ERC20和HRC20通證兌換。致力於為給用戶提供低費用、高承兌、多通證,安全、快速的跨鏈服務。 3 | Beta版將暫時僅對白名單用戶開放,用戶可通過https://www.hecochain.com/starsbridge 或Huobi Wallet搜索StarsBridge獲取更多產品信息。 4 | 5 | Heco Chain Team 6 | 2021/12/8 7 | 8 | # Stars Bridge Beta version has been launched, supports HECO and Ethereum cross-chain 9 | HECO Chain has launched the Stars Bridge Beta version (Stars Bridge) on December 8, 2021, supporting multiple ERC20 and HRC20 token exchanges. Committed to providing users with low-cost, high-acceptance, multi-token, safe and fast cross-chain services. 10 | The Beta version will be temporarily only open to whitelisted users. Users can search for StarsBridge through https://www.hecochain.com/starsbridge or Huobi Wallet for more product information. 11 | 12 | Heco Chain Team 13 | 2021/12/8 14 | -------------------------------------------------------------------------------- /docker/multi/node/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | ADD ./geth /app/geth 3 | ADD ./miner/testnet.json /app/genesis.json 4 | 5 | RUN mkdir -p /app/keystore \ 6 | && mkdir -p /app/data \ 7 | && chmod 755 /app/geth 8 | 9 | ARG password 10 | ARG privatekey 11 | RUN echo $password > /app/.accountpassword 12 | RUN echo $privatekey > /app/.privatekey 13 | 14 | 15 | 16 | WORKDIR "/app" 17 | 18 | RUN /app/geth init /app/genesis.json 19 | RUN /app/geth account import --password /app/.accountpassword /app/.privatekey 20 | 21 | ENV address="" 22 | ENV bootnodeId="" 23 | ENV bootnodeIp="" 24 | 25 | CMD sh -c 'sleep 10; cd /app; ./geth --bootnodes "enode://$bootnodeId@$bootnodeIp:0?discport=30301" --networkid "6660002" --rpc --rpcaddr "0.0.0.0" --rpcapi "eth,web3,net,admin,debug,personal" --rpccorsdomain "*" --rpcport 8545 --syncmode="full" --allow-insecure-unlock --verbosity 4' 26 | 27 | EXPOSE 8545 28 | EXPOSE 30303 29 | -------------------------------------------------------------------------------- /docker/multi/miner/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | ADD ./geth /app/geth 3 | ADD ./miner/testnet.json /app/genesis.json 4 | 5 | RUN mkdir -p /app/keystore \ 6 | && mkdir -p /app/data \ 7 | && chmod 755 /app/geth 8 | 9 | ARG password 10 | ARG privatekey 11 | RUN echo $password > /app/.accountpassword 12 | RUN echo $privatekey > /app/.privatekey 13 | 14 | 15 | 16 | WORKDIR "/app" 17 | 18 | RUN /app/geth init /app/genesis.json 19 | RUN /app/geth account import --password /app/.accountpassword /app/.privatekey 20 | 21 | ENV address="" 22 | ENV bootnodeId="" 23 | ENV bootnodeIp="" 24 | 25 | CMD sh -c 'sleep 5; cd /app; ./geth --bootnodes "enode://$bootnodeId@$bootnodeIp:0?discport=30301" --networkid "6660002" --syncmode=full --mine --gasprice "0" --etherbase $address --unlock $address --password /app/.accountpassword --rpc --rpcaddr "0.0.0.0" --rpcapi "eth,web3,net,admin,debug,personal" --rpccorsdomain "*" --rpcport 8545 --allow-insecure-unlock' 26 | 27 | EXPOSE 8545 28 | -------------------------------------------------------------------------------- /dev/install.md: -------------------------------------------------------------------------------- 1 | # Compile and Run 2 | 3 | ## Download 4 | Download source code via `git` 5 | ``` 6 | git clone https://github.com/stars-labs/heco-chain.git 7 | ``` 8 | ## Install Golang 9 | Reference: [Go Download and install](https://golang.org/doc/install) 10 | 11 | ## Compile 12 | ``` 13 | cd /path/to/hecochain 14 | make geth 15 | ``` 16 | > If you want to use cross compile, like compiling on `Mac` for `Linux`, use `make geth-linux`, `make geth-linux-amd64`, etc. 17 | 18 | 19 | After compilation completed, the generated binary is in the folder `build/bin`. 20 | 21 | ## Run 22 | By running `./build/bin/geth --help`, we can get all `option` info. Specific usage can refer to [Command-line Options](https://geth.ethereum.org/docs/interface/command-line-options) 23 | 24 | ## Deployment 25 | 26 | please refer [deployment](/dev/deploy.md) 27 | 28 | > SSD is required 29 | 30 | ## Network 31 | Program will connect into `mainnet` after started. If want to connect the public testnet, you can add option `--testnet` to command when starting. 32 | -------------------------------------------------------------------------------- /sidebar.md: -------------------------------------------------------------------------------- 1 | - [About Heco](intro.md) 2 | - [Integrity and Compliance](Integrity.md) 3 | - [Wallet](wallet.md) 4 | - Bridge 5 | - [HECO-peg assets](bridge/hecopeg_assets.md) 6 | - [User guide](bridge/user_guide.md) 7 | - [Asset-Peg Bridge](hecobridge.md) 8 | - [Asset-Peg Manual](bridge.md) 9 | - [Consensus](consensus.md) 10 | - [Meta Transaction](dev/meta_tx.md) 11 | - [Genesis](genesis.md) 12 | - Developers 13 | - [Compile and Run](dev/install.md) 14 | - [Deployment](dev/deploy.md) 15 | - [On-chain Interaction](dev/sdk.md) 16 | - [Contract](dev/contract.md) 17 | - [Private Chain](dev/private_chain.md) 18 | - [Graph Node](dev/graphnode.md) 19 | - [Mainnet](mainnet.md) 20 | - [Testnet](testnet.md) 21 | - [DApp-Governance](dev/dapp-gov.md) 22 | - [HRC20](dev/hrc20.md) 23 | - [WalletConnect](dev/wallet-connect.md) 24 | - [gasprice](dev/gasprice.md) 25 | - [Txpool](dev/txpool.md) 26 | - Announcement 27 | - [Announcement](Announcement.md) 28 | - FAQ 29 | - [FAQ](faq.md) 30 | - Disclaimer 31 | - [Disclaimer](disclaimer.md) 32 | 33 | -------------------------------------------------------------------------------- /dev/txpool.md: -------------------------------------------------------------------------------- 1 | # pending transaction solutions 2 | 3 | ## 1)Inappropriate nonce: 4 | Suggestions: 5 | 6 | - Try to reset a appropriate value 7 | - If you have many pending transactions , please wait for earier transactions confirmed. 8 | - metatask--setting-advanced--reset account 9 | - metatask--setting--advanced--Customize transaction nonce :resend transaction with pending tx's nonce and higher gas price. 10 | 11 | ## low gas price: 12 | - Set a higher gas price and resend 13 | 14 | ## 3)meta transaction 15 | 16 | ``` 17 | case 1: 18 | 19 | invalid meta transaction FeePercent need 0-10000. Found:100001 20 | 21 | illegal fee range, it should between 0-10000 22 | 23 | solution: 24 | 25 | metatask--setting--advanced--Customize transaction nonce :resend transaction with pending tx's nonce and higher gas price. 26 | ``` 27 | 28 | ``` 29 | case 2: 30 | 31 | err: expired meta transaction. current:2083222, need execute before 2075609 32 | 33 | meta transation expired,it should be execute before 2075609, and the current height is 2083222; 34 | 35 | 36 | solution: 37 | 38 | metatask--setting--advanced--Customize transaction nonce :resend transaction with pending tx's nonce and higher gas price. 39 | ``` -------------------------------------------------------------------------------- /dev/hrc20.md: -------------------------------------------------------------------------------- 1 | # HRC20 Token Standard 2 | 3 | HECO is fully compatible with [ERC20](https://eips.ethereum.org/EIPS/eip-20) standard,interfaces and events as follows: 4 | 5 | ``` 6 | // ---------------------------------------------------------------------------- 7 | // ERC Token Standard #20 Interface 8 | // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md 9 | // ---------------------------------------------------------------------------- 10 | contract ERC20Interface { 11 | function totalSupply() public constant returns (uint); 12 | function balanceOf(address tokenOwner) public constant returns (uint balance); 13 | function allowance(address tokenOwner, address spender) public constant returns (uint remaining); 14 | function transfer(address to, uint tokens) public returns (bool success); 15 | function approve(address spender, uint tokens) public returns (bool success); 16 | function transferFrom(address from, address to, uint tokens) public returns (bool success); 17 | 18 | event Transfer(address indexed from, address indexed to, uint tokens); 19 | event Approval(address indexed tokenOwner, address indexed spender, uint tokens); 20 | } 21 | ``` 22 | 23 | EIP reference: 24 | 25 | [eip-20](https://eips.ethereum.org/EIPS/eip-20) 26 | 27 | Implemetation reference: 28 | 29 | [openzeppelin-contracts](https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/contracts/token/ERC20) 30 | -------------------------------------------------------------------------------- /mainnet.md: -------------------------------------------------------------------------------- 1 | # Mainnet Info 2 | 3 | ## chainid 4 | ``` 5 | 128 6 | ``` 7 | ## rpc 8 | 9 | ``` 10 | https://http-mainnet.hecochain.com 11 | wss://ws-mainnet.hecochain.com 12 | ``` 13 | 14 | ## explorer 15 | ``` 16 | https://hecoinfo.com 17 | ``` 18 | 19 | # P2P Nodes 20 | 21 | allow P2P port(default 32668) udp/tcp 22 | 23 | > the following nodes are default config for bootstrap node in code https://github.com/stars-labs/heco-chain/blob/master/params/bootnodes.go 24 | 25 | ``` 26 | enode://7bed18c87054f807bc9096501bc78f737363f357af831791bab07c4fa6c5a1a67cdcf0a097dc2cc918262ef04fb1c05c26026df5c11a6a56666f9b1fb4072210@18.178.30.66:32668 27 | 28 | enode://d67251dd3b050e555679a8abdc427a4c78a9bae174f2fd3b9163c364d27b6a69688ee067cd3214e8ceb71e6e602fd812797b085ae37ed3bf93b78e2b77ae3306@18.181.40.7:32668 29 | 30 | enode://f88bb1f5d0e42cf75ec879212b7c8477d605315d5296fba02bc4600eccf73c64427de46567a320d00985d5bc612168817ba6dff169bd6a4774e112e6db0ff6a2@18.176.66.118:32668 31 | ``` 32 | 33 | 34 | put below into static node: 35 | 36 | ``` 37 | [Node.P2P] 38 | 39 | StaticNodes = [ 40 | "enode://7bed18c87054f807bc9096501bc78f737363f357af831791bab07c4fa6c5a1a67cdcf0a097dc2cc918262ef04fb1c05c26026df5c11a6a56666f9b1fb4072210@18.178.30.66:32668", 41 | "enode://d67251dd3b050e555679a8abdc427a4c78a9bae174f2fd3b9163c364d27b6a69688ee067cd3214e8ceb71e6e602fd812797b085ae37ed3bf93b78e2b77ae3306@18.181.40.7:32668", 42 | "enode://f88bb1f5d0e42cf75ec879212b7c8477d605315d5296fba02bc4600eccf73c64427de46567a320d00985d5bc612168817ba6dff169bd6a4774e112e6db0ff6a2@18.176.66.118:32668" 43 | ] 44 | ``` -------------------------------------------------------------------------------- /dev/meta_tx.md: -------------------------------------------------------------------------------- 1 | # Meta transaction 2 | A meta-transaction is essentially an operation that fulfils a fee payment in proxy. `Address1` gives the transaction to be sent to `Address2`. And `Address2` signs the information related to the fee deduction and places it in the `data` data segment of the transaction. The transaction is then broadcast and the blockchain processes the transaction according to the rules. 3 | 4 | ![avatar](../images/en_metatx.jpg) 5 | 6 | # Java Demo 7 | 8 | https://github.com/stars-labs/metatx-Java-demo 9 | 10 | ## Build meta transaction 11 | - Obtain the original `rawTransaction` information. 12 | - Parse raw transaction to get fields like `nonce`, `gasprice`, `gaslimit`, `from address`, `to address`, `value`, `data`, etc. 13 | - Take the above fields, as well as the fee discount percentage and other fields, and encode them in RLP format as follows for example. 14 | ```Java 15 | List result = new ArrayList(); 16 | result.add(RlpString.create(nonce)); 17 | result.add(RlpString.create(gasPrice)); 18 | result.add(RlpString.create(gasLimit)); 19 | result.add(RlpString.create(receiveAddress)); 20 | 21 | result.add(RlpString.create(value)); 22 | result.add(RlpString.create(data)); 23 | result.add(RlpString.create(sendAddress)); 24 | result.add(RlpString.create(feePercent)); 25 | result.add(RlpString.create(blockNumber)); 26 | result.add(RlpString.create(chainId)); 27 | 28 | RlpList rlpList = new RlpList(result); 29 | this.rlpEncodeData = RlpEncoder.encode(rlpList); 30 | ``` 31 | - Sign the above data by the fee proxy address. 32 | - Replace the `data` filed in the original transaction with the signed data and re-encode it as `rawTransaction`. 33 | - Broadcast `rawTransaction` to blockchain; 34 | -------------------------------------------------------------------------------- /dev/sdk.md: -------------------------------------------------------------------------------- 1 | # On-chain interaction 2 | `Heco` is compatible with `Ethereum`'s ecosystem,support all `Ethereum`'s `RPC` API and DK。 3 | 4 | ## RPC 5 | [RPC Method List](https://eth.wiki/json-rpc/api) 6 | 7 | Example: 8 | ``` 9 | curl -s -H 'content-type:application/json' -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://localhost:8545 10 | ``` 11 | 12 | ## SDK 13 | Use `Ethereum` SDK library such as `web3j`,`web3js`, etc for development. 14 | 15 | 16 | ### Get chain info 17 | ```JavaScript 18 | const Web3 = require('web3') 19 | 20 | async function getChainId() { 21 | const web3 = new Web3('https://http-mainnet.hecochain.com') 22 | let chainId = await web3.eth.getChainId() 23 | console.log(`chain id: ${chainId}`) 24 | return chainId 25 | } 26 | ``` 27 | 28 | ### Generate account 29 | ```JavaScript 30 | const Web3Accounts = require('web3-eth-accounts') 31 | 32 | let account = new Web3Accounts().create() 33 | //do not do this on prd env 34 | console.log(`account generated. address: ${account.address}, private key: ${account.privateKey}`) 35 | ``` 36 | 37 | ### Build transaction 38 | ```JavaScript 39 | const Web3 = require('web3') 40 | 41 | async function transfer(fromAccount, to, value){ 42 | const web3 = new Web3('https://http-mainnet.hecochain.com') 43 | let chainId = await web3.eth.getChainId() 44 | let nonce = await web3.eth.getTransactionCount(fromAccount.address) 45 | let gasPrice = await web3.eth.getGasPrice() 46 | 47 | let unsigned = { 48 | from: fromAccount.address, 49 | to, 50 | value: web3.utils.numberToHex(web3.utils.toWei(value, 'ether')), 51 | gasPrice, 52 | nonce, 53 | chainId, 54 | } 55 | 56 | unsigned.gas = await web3.eth.estimateGas(unsigned) 57 | 58 | let signed = await fromAccount.signTransaction(unsigned) 59 | return signed 60 | } 61 | ``` -------------------------------------------------------------------------------- /Integrity.md: -------------------------------------------------------------------------------- 1 | # Integrity and Compliance 2 | 3 | Huobi Group is committed to the highest standards of business conduct in our relationships with each of our stakeholders, including customers, business partners, shareholders and other relevant parties, HECO Chain has always adhered to the principles of fairness, impartiality and openness in opening up resources to developers. Any support policy has corresponding evaluation criteria, of which open and transparent on-chain data is an important basis for projects to receive support. 4 | 5 | We mandate that our employees conduct all business with outside parties in a manner that reflects our value of integrity. We will not tolerate any form of unethical or unlawful conduct. Our stakeholders’ concerns are important to us and anyone is welcome to contact us at report@hecochain.com to report any questionable or allegedly unethical or illegal behavior. 6 | 7 | Anyone submitting a complaint or question is encouraged to provide his or her name, contact information and appropriate details of the questionable or allegedly unethical or illegal behavior so that we may contact him or her directly, if necessary. We will handle all inquiries discreetly and make every effort to maintain, within the limits allowable by the applicable laws and regulations, the confidentiality of any inquiry or report. We will conduct all investigations in accordance with applicable laws and regulations. 8 | 9 | This reporting email address is highly confidential and reports directly to the top management. For valid reports, Huobi Group will pay high attention to them and protect the privacy of the whistleblower. For those reports involving benefit transfer, Huobi Group will give direct rewards to the whistleblowers, and the reward limit is 10% of the recovered loss amount. 10 | 11 | Attention:all information about cooperation, investment and support policy of HECO Chain will be released through the official website announcement and other official channels. Please stay vigilant and do not listen to or believe false propaganda. At the same time, HECO Chain will reserve the right to pursue related false propaganda. 12 | -------------------------------------------------------------------------------- /disclaimer.md: -------------------------------------------------------------------------------- 1 | # Disclaimer 2 | 3 | Dear user (hereinafter referred as "you"): 4 | 5 | HECO Chain (Heco) (hereinafter referred to as "Heco" or "we") is a decentralized public chain. Developers around the world can deploy applications on Heco, and all users can read, send and trade on Heco. Due to the decentralized nature, we would like to remind you of the risks of third-party DAPPs as follows: 6 | 7 | 1. Whether you participate in or use the DAPP on Heco through any trading platform, wallet, it is your personal free choice and we do not recommend it to you; 8 | 9 | 2. We are not responsible for the review of any third-party DAPP, nor do we make any promises or guarantees for the validity, accuracy, correctness, reliability, quality, stability, completeness and timeliness of the technology and information involved in its services; 10 | 11 | 3. You bear all responsibilities arising from the use of third-party DAPP services; 12 | 13 | 4. Whether the third-party DAPP service meets the laws and regulations or relevant policy requirements of your jurisdiction, please make your own judgment and assessment. We do not provide any evaluation opinions, but please be sure to strictly abide by the laws of your jurisdiction; 14 | 15 | 5. Your use of a third-party DAPP, including but not limited to legal issues, contractual liability issues, economic loss issues, etc., will be resolved by you and the third-party DAPP, and we are not responsible for this; 16 | 17 | 6. Heco will not share your personal information with any third-party DAPP unless you have your explicit consent. After obtaining your explicit consent, all legal responsibilities and disputes arising from the third-party DAPP obtaining your personal information shall still be borne by you and resolved with the third-party DAPP; 18 | 19 | 7. Heco has no right to provide you with any third-party DAPP developer's personal information, unless obtaining the other party's consent or the request of the relevant department, we will try our best to assist but cannot guarantee that we can effectively obtain the other party's information in a timely manner. 20 | 21 | Finally, we remind you again: we do not recommend, suggest, or guide you to use any third-party DAPP services. 22 | -------------------------------------------------------------------------------- /dev/graphnode.md: -------------------------------------------------------------------------------- 1 | # Graph Node 2 | 3 | ## Project Info 4 | `Graph Node` is a protocol for building decentralized applications (dApps) quickly on Ethereum and IPFS using GraphQL. 5 | 6 | - [Official website](https://thegraph.com/) 7 | - [Github](https://github.com/graphprotocol/graph-node) 8 | 9 | ## Usage 10 | We recommend following the [Official documentation](https://thegraph.com/docs/) for deployment. The next operation is only intended as a simple setup tutorial for reference. 11 | 12 | ### Set up graph-node 13 | 14 | For convenience reasons, we use the official [docker compose](https://github.com/graphprotocol/graph-node/tree/master/docker) for node, database, and IPFS deployment. 15 | 16 | Note that the value of the `ethereum` field in `docker-compose.yml` is replaced with `HECO`'s node connection information. 17 | 18 | ``` YAML 19 | graph-node: 20 | image: graphprotocol/graph-node 21 | ports: 22 | - '8000:8000' 23 | - '8001:8001' 24 | - '8020:8020' 25 | - '8030:8030' 26 | - '8040:8040' 27 | depends_on: 28 | - ipfs 29 | - postgres 30 | environment: 31 | postgres_host: postgres 32 | postgres_user: graph-node 33 | postgres_pass: let-me-in 34 | postgres_db: graph-node 35 | ipfs: 'ipfs:5001' 36 | ethereum: 'mainnet:http://127.0.0.1:8545' #replaced with heco rpc info 37 | RUST_LOG: info 38 | ``` 39 | > Note: The node connected to graph-node needs to be in `archive` mode (add flag --syncmode full --gcmode archive when starting the node), we recommend each user to build their own RPC node. 40 | 41 | ### Create subgraph 42 | 43 | This needs to be written by each user according to their own situation. The following projects can be used as references: 44 | 45 | - [example-subgraph](https://github.com/graphprotocol/example-subgraph) 46 | - [graph-network-subgraph](https://github.com/graphprotocol/graph-network-subgraph) 47 | - [uniswap-subgraph V1](https://github.com/graphprotocol/uniswap-subgraph) 48 | - [uniswap-subgraph V2](https://github.com/uniswap/uniswap-v2-subgraph) 49 | 50 | ### Deploy subgraph 51 | 52 | Package and build the written subgraph into a `wasm` file and deploy to the `graph node`. The specific commands can be found in the sample project code above. 53 | 54 | ### GraphQL usage 55 | 56 | 57 | Once deployed, you can use `GraphQL` to request data 58 | ![avatar](../images/graphnode.jpg) -------------------------------------------------------------------------------- /bridge.md: -------------------------------------------------------------------------------- 1 | # Summary 2 | 3 | Users can map ETH, BTC, stable coins and other assets to Heco through the asset cross-chain bridge, which is achieved by locking a certain number of assets on the source chain and generating the corresponding number of Tokens in Heco. 4 | 5 | Heco encourages community developers to provide more decentralized cross-chain solutions. 6 | 7 | This document describes the option for project parties to map Tokens from the source chain to Heco on their own. 8 | 9 | > [heco-brige ref here](./hecobridge.md) 10 | 11 | The project owner **self** maintains the total balance of Token on the multi-chain including Heco, and endorses the credibility of Token. 12 | 13 | The main processes include: 14 | 15 | ``` 16 | 1)Initial Preparation 17 | 2)Source Chain -> Heco Chain 18 | 3)Heco Chain -> Source Chain 19 | ``` 20 | 21 | ## Glossary 22 | 23 | Source Chain: The source chain where the Token is located (e.g. Ethereum) 24 | 25 | Src_Token: Token on the source chain, possibly a contract, or a native Token 26 | 27 | Locked address or contract: the address used to lock the Token 28 | 29 | Heco_Token: Token on Heco's chain 30 | ## Initial Preparation 31 | 32 | 1) Deploy the lock address or contract on the source chain `Src_Lock_Addr` 33 | 34 | 2) Deploy Token on Heco: `Heco_Token` 35 | 36 | 3) Deploy a lock address or contract on Heco `Heco_Lock_Addr` 37 | 38 | If you need multiple sign contracts, you can refer to [gnosis/MultiSigWallet](https://github.com/gnosis/MultiSigWallet). 39 | 40 | If you need contracts with mint/burn, you can refer to [OpenZeppelin/openzeppelin-contracts](https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/) contracts/token/ERC20). 41 | 42 | Translated with www.DeepL.com/Translator (free version) 43 | 44 | > In order to maintain credibility, the project needs to publicize the above information to the community and invite the community to supervise it. And to monitor the total amount of coins on both chains. 45 | 46 | ## Source Chain->Heco Chain 47 | 48 | 1) Source chain locking `Src_Token` 49 | 50 | Transfer a certain amount of `Src_Token` to `Src_Lock_Addr` for locking 51 | 52 | 2) Release `Heco_Token` on the Heco chain 53 | 54 | Execute mint operation to give `Heco_Lock_Addr` the corresponding amount of `Heco_Token` 55 | 56 | ## Heco chain->Source chain 57 | 58 | 1) Heco chain lock `Heco_Token` 59 | 60 | Execute burn operation, destroy `Heco_Token` 61 | 62 | 2) Release `Src_Token` on the source chain 63 | 64 | operation `Src_Lock_Addr` to unlock the corresponding volume -------------------------------------------------------------------------------- /bridge/hecopeg_assets.md: -------------------------------------------------------------------------------- 1 | # 跨鏈代幣說明 2 | ##代幣 HRC20合约 3 | 4 | USDT 0xa71edc38d189767582c38a3145b5873052c3e47a 單次最小跨鏈 43.75,單次最大跨鏈 135,000 5 | 6 | HBTC 0x66a79D23E58475D2738179Ca52cd0b41d73f0BEa 單次最小跨鏈 0.002,單次最大跨鏈 2.88 7 | 8 | HDOT 0xA2c49cEe16a5E5bDEFDe931107dc1fae9f7773E3 單次最小跨鏈 3.40,單次最大跨鏈 7,200 9 | 10 | USDC 0x9362Bbef4B8313A8Aa9f0c9808B80577Aa26B73B 單次最小跨鏈 33.75,單次最大跨鏈 68,400 11 | 12 | DAI 0x3D760a45D0887DFD89A2F5385a236B29Cb46ED2a 單次最小跨鏈 24.41,單次最大跨鏈 25,200 13 | 14 | LINK 0x9e004545c59d359f6b7bfb06a26390b087717b42 單次最小跨鏈 1.44,單次最大跨鏈 11,520 15 | 16 | HFIL 0xae3a768f9aB104c69A7CD6041fE16fFa235d1810 單次最小跨鏈 0.75,單次最大跨鏈 3,600 17 | 18 | SHIB 0xdd86dd2dc0aca2a8f41a680fc1f88ec1b7fc9b09 單次最小跨鏈 7,127,963,單次最大跨鏈 2,738,400,000 19 | 20 | HBCH 0xeF3CEBD77E0C52cb6f60875d9306397B5Caca375 單次最小跨鏈 0.08,單次最大跨鏈 252 21 | 22 | 23 | ##代幣 ERC20合约 24 | 25 | USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 26 | 27 | HBTC 0x0316eb71485b0ab14103307bf65a021042c6d380 28 | 29 | HDOT 0x9ffc3bcde7b68c46a6dc34f0718009925c1867cb 30 | 31 | USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 32 | 33 | DAI 0x6b175474e89094c44da98b954eedeac495271d0f 34 | 35 | LINK 0x514910771af9ca656af840dff83e8264ecf986ca 36 | 37 | HFIL 0x9afb950948c2370975fb91a441f36fdc02737cd4 38 | 39 | SHIB 0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce 40 | 41 | HBCH 0xaac679720204aaa68b6c5000aa87d789a3ca0aa5 42 | 43 | 44 | # Cross-chain token description 45 | ##Token HRC20 contract 46 | 47 | USDT 0xa71edc38d189767582c38a3145b5873052c3e47a Single minimum cross-chain 43.75, Single maximum cross-chain 135,000 48 | 49 | HBTC 0x66a79D23E58475D2738179Ca52cd0b41d73f0BEa Single minimum cross-chain 0.002, Single maximum cross-chain 2.88 50 | 51 | HDOT 0xA2c49cEe16a5E5bDEFDe931107dc1fae9f7773E3 Single minimum cross-chain 3.40, Single maximum cross-chain 7,200 52 | 53 | USDC 0x9362Bbef4B8313A8Aa9f0c9808B80577Aa26B73B Single minimum cross-chain 33.75, Single maximum cross-chain 68,400 54 | 55 | DAI 0x3D760a45D0887DFD89A2F5385a236B29Cb46ED2a Single cross-chain is 24.41, Single largest cross-chain is 25,200 56 | 57 | LINK 0x9e004545c59d359f6b7bfb06a26390b087717b42 Single minimum cross-chain 1.44, Single maximum cross-chain 11,520 58 | 59 | HFIL 0xae3a768f9aB104c69A7CD6041fE16fFa235d1810 Single minimum cross-chain 0.75, Single maximum cross-chain 3,600 60 | 61 | SHIB 0xdd86dd2dc0aca2a8f41a680fc1f88ec1b7fc9b09 Single minimum cross-chain 7,127,963, Single maximum cross-chain 2,738,400,000 62 | 63 | HBCH 0xeF3CEBD77E0C52cb6f60875d9306397B5Caca375 Single minimum cross-chain 0.08, Single maximum cross-chain 252 64 | 65 | ##Token ERC20 contract 66 | 67 | USDT 0xdac17f958d2ee523a2206206994597c13d831ec7 68 | 69 | HBTC 0x0316eb71485b0ab14103307bf65a021042c6d380 70 | 71 | HDOT 0x9ffc3bcde7b68c46a6dc34f0718009925c1867cb 72 | 73 | USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 74 | 75 | DAI 0x6b175474e89094c44da98b954eedeac495271d0f 76 | 77 | LINK 0x514910771af9ca656af840dff83e8264ecf986ca 78 | 79 | HFIL 0x9afb950948c2370975fb91a441f36fdc02737cd4 80 | 81 | SHIB 0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce 82 | 83 | HBCH 0xaac679720204aaa68b6c5000aa87d789a3ca0aa5 84 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HECO Chain 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /dev/deploy.md: -------------------------------------------------------------------------------- 1 | # Deployment 2 | 3 | introduce systemd management configs。 4 | 5 | ## Hardware 6 | 7 | ### minimun 8 | 9 | ``` 10 | 8core 11 | 16g 12 | ssd iops>5k 13 | ``` 14 | 15 | ### recommended 16 | ``` 17 | 16core 18 | 32g 19 | ssd iops>5k 20 | ``` 21 | 22 | ### network&port 23 | 24 | ``` 25 | External IP Address 26 | Port TCP/UDP 32668 27 | ``` 28 | 29 | ## chain node 30 | 31 | * config.toml 32 | 33 | ``` 34 | [Eth] 35 | SyncMode = "snap" 36 | TrieCleanCacheRejournal= 300000000000 37 | 38 | [Eth.Miner] 39 | GasFloor = 8000000 40 | GasCeil = 8000000 41 | GasPrice = 0 42 | Recommit = 3000000000 43 | Noverify = false 44 | 45 | [Eth.Ethash] 46 | CacheDir = "ethash" 47 | CachesInMem = 2 48 | CachesOnDisk = 3 49 | CachesLockMmap = false 50 | DatasetDir = "/data/heco/data/.ethash" 51 | DatasetsInMem = 1 52 | DatasetsOnDisk = 2 53 | DatasetsLockMmap = false 54 | PowMode = 0 55 | 56 | [Eth.TxPool] 57 | Locals = [] 58 | NoLocals = false 59 | Journal = "transactions.rlp" 60 | Rejournal = 3600000000000 61 | PriceLimit = 1 62 | PriceBump = 10 63 | AccountSlots = 16 64 | GlobalSlots = 4096 65 | AccountQueue = 64 66 | GlobalQueue = 1024 67 | Lifetime = 10800000000000 68 | 69 | [Node] 70 | DataDir = "/data/heco/data" 71 | InsecureUnlockAllowed = true 72 | NoUSB = true 73 | IPCPath = "geth.ipc" 74 | HTTPHost = "0.0.0.0" 75 | HTTPPort = 8545 76 | HTTPCors = ["*"] 77 | HTTPVirtualHosts = ["*"] 78 | HTTPModules = ['eth', 'net', 'web3'] 79 | 80 | WSHost = "0.0.0.0" 81 | WSPort = 8546 82 | WSModules = ['eth', 'net', 'web3'] 83 | 84 | GraphQLVirtualHosts = ["localhost"] 85 | 86 | 87 | [Node.P2P] 88 | MaxPeers = 50 89 | NoDiscovery = false 90 | 91 | ListenAddr = ":32668" 92 | EnableMsgEvents = false 93 | 94 | [Node.HTTPTimeouts] 95 | ReadTimeout = 30000000000 96 | WriteTimeout = 30000000000 97 | IdleTimeout = 120000000000 98 | 99 | ``` 100 | 101 | use snap sync in the config, if full needed, change this line 102 | ``` 103 | SyncMode = "snap" 104 | ``` 105 | to 106 | ``` 107 | SyncMode = "full" 108 | ``` 109 | 110 | ## start bash 111 | 112 | > To show full detail help info of all flags, type `geth help` or `geth -h` 113 | 114 | * run.sh 115 | 116 | 117 | ``` 118 | #!/usr/bin/env bash 119 | /data/heco/geth-linux-amd64 \ 120 | --config /data/heco/config.toml \ 121 | --logpath /data/heco/logs \ 122 | --verbosity 3 >> /data/heco/logs/systemd_chain_console.out 2>&1 123 | ``` 124 | 125 | if you need to use it as archive node, add: 126 | 127 | ``` 128 | --syncmode full \ 129 | --gcmode archive \ 130 | ``` 131 | 132 | so: 133 | 134 | ``` 135 | #!/usr/bin/env bash 136 | /data/heco/geth-linux-amd64 \ 137 | --config /data/heco/config.toml \ 138 | --logpath /data/heco/logs \ 139 | --syncmode full \ 140 | --gcmode archive \ 141 | --verbosity 3 >> /data/heco/logs/systemd_chain_console.out 2>&1 142 | ``` 143 | 144 | If no any network flags were provided, the node will connect the heco-mainnet by default. If you want to connect to heco-testnet, add: 145 | 146 | ``` 147 | --testnet 148 | ``` 149 | 150 | ## systemd config 151 | 152 | ``` 153 | [Unit] 154 | Description=heco chain service 155 | 156 | [Service] 157 | Type=simple 158 | ExecStart=/bin/sh /data/heco/run.sh 159 | 160 | Restart=on-failure 161 | RestartSec=5s 162 | 163 | LimitNOFILE=65536 164 | 165 | [Install] 166 | 167 | ``` -------------------------------------------------------------------------------- /consensus.md: -------------------------------------------------------------------------------- 1 | # Consensus 2 | `Heco` adopts `HPoS` consensus mechanism with low transaction cost, low transaction latency, high transaction concurrency, and supports up to 21 validators. 3 | 4 | HPoS is a combination of PoA and Pos. To become a validator, you need to submit a proposal first and wait for other active validators to vote on it, after more than half of them pass, you will be eligible to become a validator. Any address can stake to an address that qualifies to become a validator, and after the validator's staking volume ranks in the top 21, it will become an active validator in the next epoch. 5 | 6 | 7 | All active verifiers are ordered according to predefined rules and take turns to pack out blocks. If a validator fails to pack out a block in time in its own round, the active validators who have not involved in the past n/2 (n is the number of active validators) blocks will randomly perform the block-out. At least n/2+1 active validators work properly to ensure the proper operation of the blockchain. 8 | 9 | 10 | The difficulty value of a block is 2 when the block is generated normally and 1 when the block is not generated in a predefined order. when a fork of the block chain occurs, the block chain selects the corresponding fork according to the cumulative maximum difficulty. 11 | 12 | ## Glossary 13 | - validator. Responsible for packaging out blocks for on-chain transactions. 14 | - active validator. The current set of validators responsible for packing out blocks, with a maximum of 21. 15 | - epoch. Time interval in blocks, currently 1epoch = 200block on `Heco`. At the end of each epoch, the blockchain interacts with the system contracts to update active validators. 16 | 17 | ## System contract 18 | [heco-contracts](https://github.com/stars-labs/heco-contracts) 19 | 20 | The management of the current validators are all done by the system contracts. 21 | - Proposal Responsible for managing access to validators and managing validator proposals and votes. 22 | - Validators Responsible for ranking management of validators, staking and unstaking operations, distribution of block rewards, etc.. 23 | - Punish Responsible for punishing operations against active validators who are not working properly. 24 | 25 | Blockchain call system contracts: 26 | - At the end of each block, the `Validators` contract is called and the fees for all transactions in the block are distributed to active validators. 27 | - The `Punish` contract is called to punish the validator when the validator is not working properly. 28 | - At the end of each epoch, the `Validators` contract is called to update active validators, based on the ranking. 29 | 30 | ## Staking 31 | For any account, any number of coins can be staked to the validator, and the minimum staking amount for each validator is `32HT`. 32 | If you want to unstake, you need to do the following: 33 | 1. Send an unstaking transaction for a validator to the `Validators` contract; 34 | 2. Waiting for `86400` blocks before sending a transaction to `Validators` contract to withdraw all staking coins on this validator; 35 | 36 | ## Punishment 37 | Whenever a validator is found not to pack block as predefined, the `Punish` contract is automatically called at the end of this block and the validator is counted. When the count reaches 24, all income of the validator is punished. When the count reaches 48, the validator is removed from the list of active validators, and the validator is disqualified. -------------------------------------------------------------------------------- /dev/contract.md: -------------------------------------------------------------------------------- 1 | # Contract 2 | `Heco` use `EVM` for contract execution.See [Solidity](https://docs.soliditylang.org/en/v0.7.1/#) for detail. 3 | 4 | ## Remix 5 | 6 | [Remix IDE](https://remix.ethereum.org) is an open source web and desktop application. It fosters a fast development cycle and has a rich set of plugins with intuitive GUIs. Remix is used for the entire journey of contract development as well as being a playground for learning and teaching contract development. 7 | ![avatar](../images/remix1.jpg) 8 | 9 | Create new file in file explorer. Edit contract info at right side. 10 | ![avatar](../images/remix2.jpg) 11 | 12 | Compile contract 13 | 1. Click compiler button, switch UI 14 | 2. Select contract you want to compile 15 | 3. Set compile flags 16 | 4. Clieck compile button 17 | 18 | ![avatar](../images/remix3.jpg) 19 | 20 | Deploy contract to blockchain via wallet such as `MetaMask`. 21 | 1. Set network info in `Metamask`. 22 | 23 | ![avatar](../images/metamask2_en.png) 24 | 25 | 2. Back to `Remix`. 26 | + Swich environment 27 | + Select contract 28 | + click deploy button 29 | 30 | ![avatar](../images/remix4.jpg) 31 | 32 | And then by `MetaMask` the contract deployemnt transaction can be broadcast to the heco chain. 33 | 34 | 35 | ## Truffle 36 | Use truffle to compile and deploy contract. 37 | + Install Node.js 38 | See [Installing Node.js](https://nodejs.org/en/download/package-manager/) for detail. 39 | 40 | + Install truffle 41 | ``` 42 | npm install -g truffle 43 | ``` 44 | Run `truffle version` after installation finished. If the command line displays a message like below, installation is successful. 45 | 46 | ``` 47 | Truffle v5.1.36 (core: 5.1.36) 48 | Solidity v0.5.16 (solc-js) 49 | Node v10.22.1 50 | Web3.js v1.2.1 51 | ``` 52 | + Create project 53 | 54 | First,create folder for project. 55 | ``` 56 | mkdir Example 57 | cd Example 58 | ``` 59 | 60 | Then, init project via truffle 61 | ``` 62 | truffle init 63 | ``` 64 | After initialization is complete, the following file structure is generated within the project. 65 | ``` 66 | |-- contracts //folder for contracts 67 | |-- migrations //folder for deployment scripts 68 | |-- test //folder for test scripts 69 | |-- truffle-config.js //truffle config file 70 | ``` 71 | + Config truffle info 72 | 73 | ``` 74 | const HDWalletProvider = require('@truffle/hdwallet-provider'); 75 | 76 | const fs = require('fs'); 77 | const mnemonic = fs.readFileSync(".secret").toString().trim(); 78 | 79 | module.exports = { 80 | networks: { 81 | testnet: { 82 | provider: () => new HDWalletProvider(mnemonic, 'https://http-testnet.hecochain.com'), 83 | network_id: 256 84 | }, 85 | mainnet: { 86 | provider: () => new HDWalletProvider(mnemonic, 'https://http-mainnet.hecochain.com'), 87 | network_id: 128 88 | } 89 | }, 90 | 91 | // Set default mocha options here, use special reporters etc. 92 | mocha: { 93 | // timeout: 100000 94 | }, 95 | 96 | // Configure your compilers 97 | compilers: { 98 | solc: { 99 | // version: "0.5.1", // Fetch exact version from solc-bin (default: truffle's version) 100 | // docker: true, // Use "0.5.1" you've installed locally with docker (default: false) 101 | // settings: { // See the solidity docs for advice about optimization and evmVersion 102 | // optimizer: { 103 | // enabled: false, 104 | // runs: 200 105 | // }, 106 | // evmVersion: "byzantium" 107 | // } 108 | }, 109 | }, 110 | }; 111 | 112 | ``` 113 | + Create contract 114 | Put custom contracts into folder `contracts` and modify deployment script in folder `migrations`. 115 | 116 | + Deploy contract 117 | 118 | Run the deployment command. 119 | ``` 120 | truffle migrate --network testnet 121 | ``` 122 | The output as below. 123 | ``` 124 | 2_example_migration.js 125 | ====================== 126 | 127 | Deploying 'ExampleToken' 128 | ------------------------ 129 | > transaction hash: 0x91e50594a63bc6f4c299f3f445868571678be306b835bddce6dff5c7a5ddf9dc 130 | > Blocks: 2 Seconds: 4 131 | > contract address: 0x54D2049715FC8De1361D7350de90eb05F0f6CA84 132 | > block number: 375304 133 | > block timestamp: 1608016637 134 | > account: 0x03D32B774295D740ffEe43b20fcC0a53acC576e6 135 | > balance: 878.909609236165318643 136 | > gas used: 1056044 (0x101d2c) 137 | > gas price: 20 gwei 138 | > value sent: 0 ETH 139 | > total cost: 0.02112088 ETH 140 | 141 | 142 | > Saving migration to chain. 143 | > Saving artifacts 144 | ------------------------------------- 145 | > Total cost: 0.02112088 ETH 146 | 147 | 148 | Summary 149 | ======= 150 | > Total deployments: 1 151 | > Final cost: 0.02112088 ETH 152 | ``` 153 | Finally, the contract deployment is complete. 154 | -------------------------------------------------------------------------------- /docker/multi/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3" 2 | services: 3 | geth-bootnode: 4 | hostname: geth-bootnode 5 | environment: 6 | - nodekeyhex=08f0e1dee5c1b4645f3331a566009e41a4514b6cd28656d63d0449ecf812812b 7 | build: 8 | context: ./bootnode 9 | ports: 10 | - 30301:30301/udp 11 | networks: 12 | chainnet: 13 | ipv4_address: 172.25.0.101 # The miners need to know the IP address later on 14 | geth-dev-miner-1: 15 | hostname: geth-dev-miner-1 16 | depends_on: 17 | - geth-bootnode 18 | environment: 19 | - address=0x1aa397e02fb3abba1072b431e92b0f90fe60993c #derived from the private key which is passed in the args 20 | - bootnodeId=76a8171707eca17647a47ca99ffd348927dfa60102792ea349a25d5192e61855be83b786e376276a306afcceea4ffd1c9c77e4370b417efc39f328a0d068004c #derived from the nodekeyhex of the bootnode 21 | - bootnodeIp=172.25.0.101 22 | build: 23 | context: . 24 | dockerfile: ./miner/Dockerfile 25 | args: 26 | privatekey: 6ba10317b73f7b2ccb72a32776deb34f9e293ecd53249cc07a7b2ddcdc4a516a # Please don't do something like this in production, okay? 27 | password: 123456 28 | ports: 29 | - 8546:8545 30 | container_name: geth-miner-1 31 | volumes: 32 | - eth-data-1:/root/.ethash 33 | networks: 34 | chainnet: 35 | ipv4_address: 172.25.0.102 # The monitor needs to know this address 36 | 37 | geth-dev-miner-2: 38 | hostname: geth-dev-miner-2 39 | depends_on: 40 | - geth-bootnode 41 | environment: 42 | - address=0xb4675e493f17b84828e70f18fddce3c55ec67d6f #derived from the private key which is passed in the args 43 | - bootnodeId=76a8171707eca17647a47ca99ffd348927dfa60102792ea349a25d5192e61855be83b786e376276a306afcceea4ffd1c9c77e4370b417efc39f328a0d068004c #derived from the nodekeyhex of the bootnode 44 | - bootnodeIp=172.25.0.101 45 | build: 46 | context: . 47 | dockerfile: ./miner/Dockerfile 48 | args: 49 | privatekey: de4e215aafd215d0bdded8150ff2ce34cc5f36bda18805f45374d2b7e3f746a1 # Please don't do something like this in production, okay? 50 | password: 123456 51 | container_name: geth-miner-2 52 | ports: 53 | - 8547:8545 54 | volumes: 55 | - eth-data-2:/root/.ethash 56 | networks: 57 | chainnet: 58 | ipv4_address: 172.25.0.103 # The monitor needs to know this address 59 | 60 | geth-dev-miner-3: 61 | hostname: geth-dev-miner-3 62 | depends_on: 63 | - geth-bootnode 64 | environment: 65 | - address=0x192bbe6143d57fee4d0e6fd6ec55d9c83bd5d6c9 #derived from the private key which is passed in the args 66 | - bootnodeId=76a8171707eca17647a47ca99ffd348927dfa60102792ea349a25d5192e61855be83b786e376276a306afcceea4ffd1c9c77e4370b417efc39f328a0d068004c #derived from the nodekeyhex of the bootnode 67 | - bootnodeIp=172.25.0.101 68 | build: 69 | context: . 70 | dockerfile: ./miner/Dockerfile 71 | args: 72 | privatekey: 92786010605db23cec8db366a6884c98abf0c0ce13f13ccd16e8e96b52f71a24 # Please don't do something like this in production, okay? 73 | password: 123456 74 | container_name: geth-miner-3 75 | ports: 76 | - 8548:8545 77 | volumes: 78 | - eth-data-3:/root/.ethash 79 | networks: 80 | chainnet: 81 | ipv4_address: 172.25.0.104 # The monitor needs to know this address 82 | 83 | geth-dev-miner-4: 84 | hostname: geth-dev-miner-4 85 | depends_on: 86 | - geth-bootnode 87 | environment: 88 | - address=0xc48bfe79065ddfd8d84d535f47c480bf38d568ce #derived from the private key which is passed in the args 89 | - bootnodeId=76a8171707eca17647a47ca99ffd348927dfa60102792ea349a25d5192e61855be83b786e376276a306afcceea4ffd1c9c77e4370b417efc39f328a0d068004c #derived from the nodekeyhex of the bootnode 90 | - bootnodeIp=172.25.0.101 91 | build: 92 | context: . 93 | dockerfile: ./miner/Dockerfile 94 | args: 95 | privatekey: 55a49619a35b19fe9c9b0d8391d7ad73f313cad8c8362493bb0b3fc8a7b94d7c # Please don't do something like this in production, okay? 96 | password: 123456 97 | container_name: geth-miner-4 98 | ports: 99 | - 8549:8545 100 | volumes: 101 | - eth-data-4:/root/.ethash 102 | networks: 103 | chainnet: 104 | ipv4_address: 172.25.0.105 # The monitor needs to know this address 105 | 106 | geth-dev-miner-5: 107 | hostname: geth-dev-miner-5 108 | depends_on: 109 | - geth-bootnode 110 | environment: 111 | - address=0x38e439a4abead544e0f11a323d4091f58f5431ad #derived from the private key which is passed in the args 112 | - bootnodeId=76a8171707eca17647a47ca99ffd348927dfa60102792ea349a25d5192e61855be83b786e376276a306afcceea4ffd1c9c77e4370b417efc39f328a0d068004c #derived from the nodekeyhex of the bootnode 113 | - bootnodeIp=172.25.0.101 114 | build: 115 | context: . 116 | dockerfile: ./miner/Dockerfile 117 | args: 118 | privatekey: 4e55ec28086af0e1ad36fe623de25b5142e0c641ac6bda02d73104497a6d735f # Please don't do something like this in production, okay? 119 | password: 123456 120 | container_name: geth-miner-5 121 | ports: 122 | - 8550:8545 123 | volumes: 124 | - eth-data-5:/root/.ethash 125 | networks: 126 | chainnet: 127 | ipv4_address: 172.25.0.106 # The monitor needs to know this address 128 | 129 | geth-dev-node: 130 | hostname: geth-dev-node 131 | depends_on: 132 | - geth-dev-miner-1 133 | environment: 134 | - address=0x82C6a1D3Bbd77416d539706b0aFf2129F8Df0CeD #derived from the private key which is passed in the args 135 | - bootnodeId=76a8171707eca17647a47ca99ffd348927dfa60102792ea349a25d5192e61855be83b786e376276a306afcceea4ffd1c9c77e4370b417efc39f328a0d068004c #derived from the nodekeyhex of the bootnode 136 | - bootnodeIp=172.25.0.101 137 | build: 138 | context: . 139 | dockerfile: ./node/Dockerfile 140 | args: 141 | privatekey: abbf3f5a4129d7f088a3ca4fc7706044b85f376b20d2e69a8dcc12391b57740b 142 | password: 123456 143 | container_name: geth-node 144 | ports: 145 | - 8545:8545 146 | healthcheck: 147 | test: wget http://localhost:8545 148 | interval: 2s 149 | timeout: 5s 150 | retries: 30 151 | volumes: 152 | - eth-data-6:/root/.ethash 153 | networks: 154 | chainnet: 155 | ipv4_address: 172.25.0.110 156 | 157 | networks: 158 | chainnet: 159 | driver: bridge 160 | ipam: 161 | config: 162 | - subnet: 172.25.0.0/24 163 | 164 | volumes: 165 | eth-data-1: 166 | eth-data-2: 167 | eth-data-3: 168 | eth-data-4: 169 | eth-data-5: 170 | eth-data-6: 171 | 172 | -------------------------------------------------------------------------------- /intro.md: -------------------------------------------------------------------------------- 1 | # HECO Chain 2 | 3 | ## Introduction to HECO Chain 4 | HECO Chain (Heco) is a decentralized, high-efficiency and energy-saving public chain. It is compatible with smart contracts and supports high- performance transactions. The endogenous token of Heco is HT and it adopts the HPoS consensus mechanism. Heco will continue to improve the efficiency of Ethereum by Layer2, which will supplement and empower the Ethereum ecosystem. 5 | 6 | ## Declaration 7 | To help developers’ evolvement at every stage 8 | 9 | ## Vision 10 | Technological innovation is the driving force behind the advancement of the blockchain industry, but many innovative projects have been misunderstood and ignored at their early stages. We have witnessed the growth process of great projects. Recalling that Ethereum and Polkadot were questioned as altcoins in the early days, they all went through difficult times. Therefore, Heco's mission is not only a public chain, but also to focus on the discovery and support of high-potential developers and innovative projects. Relying on the world's largest trading ecosystem, Heco is committed to becoming the birthplace of innovative technologies and innovative businesses, and building a complete ecological loop of technology development, application promotion, and trading. 11 | 12 | ## Heco’s Performance 13 | - TPS: 2000+ 14 | - Average block interval: 3s 15 | 16 | ## Consensus Mechanism 17 | HPoS consensus mechanism: it has the characteristics of low transaction cost, low transaction delay, and high transaction concurrency. 18 | 19 | The maximum number of validators supported is 21. 20 | 21 | ## Economic Model 22 | The endogenous token on the chain is HT; the transactions consume HT as gas fee. 23 | 24 | Miners pledge HT to become validator nodes. The reward of nodes is gas fee, which is distributed according to the mortgage proportion. 25 | 26 | ## Cross-Chain 27 | Assets such as BTC, ETH and stable coins can be mapped to Heco by an asset bridge. The realization method is to lock a certain amount of tokens on the original chain then generate a corresponding number of tokens on Heco. 28 | 29 | Heco encourages developers to provide more decentralized cross-chain solution. 30 | 31 | ## Meta Transaction Function 32 | The meta-transaction function is supported, which allows users to reduce gas fees step-wise, and Heco will cover the payment of the reduced part. The meta-transaction function allows to minimize the migration cost of DApp developers, as well as to effectively reduce the cost of DApp users. 33 | 34 | ## Heco Technical Characteristics 35 | - An open and decentralized network to maintain the security of the network and assets. 36 | - Support the programmability of EVM, the compatibility of smart contracts to reduce development or migration costs. 37 | - Meta-transaction function: gas fee reduction, effectively reducing the cost of developers and users on the chain. 38 | - Support cross-chain asset transfer to optimize users’ experience. 39 | 40 | ## Four Stages of Heco 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 71 | 72 | 73 | 74 | 75 | 76 | 80 | 81 | 82 | 87 | 88 | 89 | 90 | 91 | 92 |
Heco Technical Route
Stage Features Time Sub Stage Technical Points
Tinder 49 | The initial version of Heco. 50 | 51 | The system is stable and easy to use. 52 | 53 | Developers can develop and promote Dapp at low cost. 54 | 55 | Users can participate in Dapp on Heco with a low threshold.2020 Q4-2021 Q1Public BetaHigher transaction performance
Lower transaction costs
Meta transaction subsidy
Node ElectionMore decentralized and safer
Complete mainstream assets
Basic tools in place
Ecosystem IncubationTechnical service systemization
Basic tool customization
Convenient asset transfer
Spark 66 | The protocol is further optimized. 67 | 68 | Heco will take the mission of connecting CeFi and DeFi, 69 | 70 | allowing more users to use DeFi applications at a low threshold. 2021 Q3 To be announced Complete developer tools
Complete developer forum, blog, and FAQ information
Chain ecological infrastructure booms
Innovative open ID
Personalized portal accurately matches users and Dapps
Flame 77 | 78 | Enable Layer2 technology. 79 | Expand performance while retaining the decentralized advantages of distributed protocols.2022 Q2To be announcedApplication of Layer2
Cross-chain interoperability protocol
Cross-chain interoperability integration
Blaze 83 | 84 | 85 | Landing of large-scale commercial applications. 86 | Support a variety of traditional businesses to run smoothly on the chain 2023 Q1 To be announcedMultiple virtual machine s supported
Multiple zero-knowledge proofs and privacy protection capabilities
Multiple signature schemes
Storage compression and expansion solution
Multi-dimensional sharding scheme
93 | 94 | 95 | 96 | ## Current Stage of Heco 97 | In December 2020, the HECO Chain, Heco officially launched its "Tinder" phase, which will focus on improving the on-chain infrastructure, including but not limited to: 98 | Oracles, Voting tools, Anchor Coins, DEX, Lending, Financial Management, Insurance, Synthetic Assets, Cross-Chain Solutions, Data Analysis, Smart Contract Innovation, etc. 99 | In October 2021,HECO has now entered the "Spark" phase, which focuses on improving developer and user experience and infrastructure. 100 | 101 | ## Support Plan of Heco 102 | ### Financial Support 103 | - Heco will set up a special fund to invest, support and incentivize high-potential developers. 104 | - Heco will launch a variety of developer activities and competitions to discover and fund potential developers. 105 | - In order to reduce the cost of users on Heco Dapp, the Heco meta transaction function will reduce the gas fee of users holding HT in a step-wise manner. 106 | 107 | ### Resource Support 108 | - Projects or developers that have received investment and support from Heco have not only the opportunity to get official news report, but also can apply for marketing service packages and promote their projects globally. 109 | - High-quality projects can participate in Heco global roadshows for free. 110 | - Huobi ventures HECO fund will open up ecological resources to high-potential developers, matching the win-win cooperation between developers and our ecological partners. 111 | 112 | ### Participate in Test Environment of Heco 113 | Official Website 114 | www.hecochain.com 115 | 116 | Public Testnet 117 | chainid 256 118 | 119 | PRC 120 | wss://ws-testnet.hecochain.com 121 | https://http-testnet.hecochain.com 122 | 123 | Blockchain Explorer 124 | https://scan-testnet.hecochain.com 125 | 126 | Test Coin Faucet 127 | https://scan-testnet.hecochain.com/faucet 128 | 129 | Technical Support Email 130 | DevContacts@hecochain.com 131 | 132 | ## Interact with Us on Social Media 133 | 134 | - Twitter: https://twitter.com/HECO_Chain 135 | - Telegram Channel: https://t.me/Huobiecochainofficial 136 | - Medium: https://medium.com/heco-chain 137 | - GitHub: https://github.com/stars-labs/ 138 | - HECO Explorer: https://hecoinfo.com 139 | - Documentation: https://docs.hecochain.com/ 140 | - Website: https://www.hecochain.com/en-us/ 141 | 142 | 143 | ## Risk Warning 144 | - All users and developers can participate in the current test environment and subsequent stages of Heco for free, and there is no charging scenario. 145 | - All users must distinguish the test environment from the Mainnet. The assets generated in the test environment have no value. Be aware of counterfeit currency fraud. 146 | - Heco announces authorization, promotion and other collaborations only through the official social media platform. Developers and users should check carefully to avoid losses. 147 | - Do not misread the official website (hecochain.com), and be cautious with private key phishing. 148 | -------------------------------------------------------------------------------- /Announcement.md: -------------------------------------------------------------------------------- 1 | # The latest Announcement 2 | 3 | # The HECO cross-chain bridge program upgrade has been completed 4 | 5 | Dear Users, 6 | 7 | The HECO cross-chain bridge program upgrade has been completed,Huobi Global will resume the deposit and withdrawal of HECO chain tokens.Thank you for your support of the HECO chain. 8 | 9 | HECO Chain Team 10 | October 8, 2022 11 | 12 | # Upgrade of the HECO cross-chain bridge 13 | 14 | Dear Users, 15 | 16 | The HECO cross-chain bridge will be upgraded at `14:00 on October 5, 2022 (UTC)`. The upgrade is expected to be completed **within 48 hours**. In the meantime, the deposit and withdrawal of assets from the HECO chain to Huobi Global will be affected. We apologize for the inconvenience caused. 17 | 18 | HECO Chain Team 19 | October 5, 2022 20 | 21 | # ETH Merger Plan: Reminder for ETH Holders on the HECO Chain 22 | Dear Users, 23 | 24 | According to the ETH Foundation, ETH will migrate from PoW (Proof-of-Work) to PoS (Proof-of-Stake) Consensus when the Total Terminal difficulty (TTD) value of 58750000000000000000000 is reached. The migration is expected to take place between September 10, 2022 and September 20, 2022. The “Paris” upgrade of the executional layer is estimated to take place at the https://etherscan.io/block/countdown/15540293 at 00:30 (UTC) on 15 September 2022. 25 | 26 | To ensure that your ETH holdings can receive a fork tokens airdrop, HECO Chain reminds you to transfer your ETH holdings from the HECO Chain to Ethereum Mainnet or deposite to major centralized trading exchanges before 16:00 (UTC) on September 9, 2022. 27 | 28 | HECOChain 29 | Sep 6, 2022 30 | 31 | # HECO testnet browser is coming soon 32 | 33 | Dear users: 34 | 35 | Due to the upgrade of the HECO browser, the testnet cannot be opened to the public. Sorry for the inconvenience caused to users and developers, but it will be launched before next Wednesday, please be patient. 36 | 37 | Best wishes 38 | 39 | # Hecoinfo.com is launching a new version 40 | Dear users: 41 | 42 | Hecoinfo.com is in the process of launching a new version(**starting from 2022/08/05, will be available before `00:00 August 9, 2022 (UTC)`**). 43 | If you cannot use it, please visit [scan.hecochain.com](https://scan.hecochain.com). 44 | 45 | Best wishes 46 | 47 | # Starsbridge will be ceased operation 48 | Dear friends, 49 | 50 | Based on the current usage of Starsbridge cross-chain bridge products, **it will be officially Ceased operation `at 14:00 on July 13, 2022 (UTC+8)`**. Please prepare accordingly in advance. 51 | 52 | Bset wishes. 53 | 54 | # Support for the Migration and Airdrop of LUNA 55 | 56 | Users who hold HECO-peg LUNA, please deposit LUNA back to Huobi Global's personal account `before May 27, 2022 00:00 (GMT+8)` for asset snapshot. 57 | 58 | There will be a migration and upgrade of LUNA when the block height reaches `7790000`, which is expected on May 27, 2022 00:00 (GMT+8). 59 | 60 | Huobi Global supports this migration and upgrade, which is expected to subsequently airdrop newly minted LUNA. A snapshot of user balances of LUNA in their Huobi Global accounts will be taken at block `7790000` for subsequent airdrops. 61 | 62 | 63 | # Notice on the use of HECO RPC 64 | 65 | Recently, HECO received the feedback from some developers regarding the failure of RPC. We checked the issue and found the problem which derive from the third-party RPCs failure. Based on the situation, HECO recommends developer to switch to official RPC instead to avoid potential developing issue.The offical RPC sites are as follows: 66 | ``` 67 | https://http-mainnet.hecochain.com 68 | ``` 69 | 70 | See for detail. 71 | 72 | We apologize for the inconvenience caused to you. 73 | 74 | 75 | # Lucky HECO Phase III Live Now! Win GameFi NFTs! 76 | 77 | Dear Valued Users, 78 | Our Lucky HECO promotion is about to host its third round. HECO Chain is partnering with multiple gaming platforms to offer numerous NFT prizes, valued at nearly 250,000 USDT. 79 | 80 | Event Period: 9:00, Otc 18 - 16:00, Oct 24, 2021 (UTC) 81 | 82 | How to Join? 83 | Click on the Wish List to fill in the following information and participate in the NFT airdrop: 84 | 1)Your Huobi Global UID: UID is your account ID of Huobi Global. 85 | ![image](https://user-images.githubusercontent.com/77883872/137709011-d1e32ea0-d3fb-40ec-9053-daf4ae3a6aca.png) 86 | 87 | 2)Address on HECO Chain: The address on the HECO Chain is a blockchain one generated by the decentralized wallet, which is also the address used for the NFT airdrop this time. Please note that it is not the charging or withdrawing address of Huobi Global, but your personal address for transferring money, charging, and using Dapp on the HECO Chain.Tutorial on Creating HECO Address.[ Tutorial on Creating HECO Address>>>](https://medium.com/heco-chain/heco-farming-tutorial-a815f581f0e2) 88 | 89 | Note: Link the wallet and the game platform to complete a contract interaction, after which you can have a higher winning rate 90 | 91 | The Wish Fountain is as follows: 92 | The NFT wish fountain consists of 4 Game Prop NFTs. 93 | 94 | ![image](https://user-images.githubusercontent.com/77883872/137716057-50c369c5-a6bb-4fa1-8618-2efb77bb2e48.png) 95 | 96 | 97 | Steps for Joining 98 | Step 1: Fill in the wish list, starting on 9:00, Otc 18 - 16:00, Oct 24, 2021 (UTC) 99 | Step 2: Wait for the lottery on Oct. 28, 2021 (UTC), NFT will be airdropped to HECO address within 3 days 100 | Step 3: Use the NFT in the Game 101 | 102 | [ CryptoBlades](https://app.cryptoblades.io/) 103 | 104 | [ Plato Farm](https://www.platofarm.game/) 105 | 106 | [ BUDO II](https://budo2.com/) 107 | 108 | [ Boss Rally](https://dragongame.co/) 109 | 110 | Deposit channel: 111 | Use [iSwap](https://www.iswap.com/en-us/) to cross-chain to HECO can directly exchange other currencies into HT in seconds, and you can also receive HT airdrop 112 | ! 113 | 114 | Instructions on Winning: 115 | 1) HECO Chain divides all participating HECO addresses into three wish pools, and then extracts a random number. 116 | 2) Link the wallet with a gaming platform to complete a contract interaction and increase your chances of winning. 117 | 118 | Risk Description: 119 | 1) Please keep your wallet private key and mnemonics well preserved and do not provide it to anyone! This is the only way to control assets on the chain. 120 | 2) Do not use wallets to interact with NFTs from unknown sources, i.e. invoking contracts, etc. 121 | 122 | Risk Description: 123 | 1) Please keep your wallet private key and mnemonics well preserved and do not provide it to anyone! This is the only way to control assets on the chain. 124 | 2) Do not use wallets to interact with NFTs from unknown sources, i.e. invoking contracts, etc. 125 | 126 | FAQ 127 | 128 | Our Partnerships 129 | 130 | CryptoBlades is a role-playing game of Paly-to-Earn from BSC chain to HECO, which will create more surprises. 131 | 132 | Official Website: https://app.cryptoblades.io 133 | 134 | Telegram:https://t.me/CryptoBlades_General 135 | 136 | Twitter:https://twitter.com/bladescrypto?s=21 137 | 138 | Plato Farm is a chain game that first launched on the HECO chain and innovatively integrates the concepts of GameFi and DeFi. It is planned to share the vast market space of the trillion-level meta-universe NFT for users who participated in the early game public beta. 139 | 140 | Official Website: https://www.platofarm.game 141 | 142 | Telegram:https://t.me/platofarm 143 | 144 | Twitter:https://twitter.com/Plato_Farm 145 | 146 | Budo II is a girl-themed sci-fi shooting love development chain game first released on the HECO chain, with real Japanese voice actors dubbing. 147 | 148 | Official Website: https://budo2.com 149 | 150 | Telegram: https://t.me/budo2 151 | 152 | Twitter: https://twitter.com/BUDO2Game 153 | 154 | Boss Rally is a metaverse GameFi chain game, which is deployed on smart chains such as ETH, BSC, Heco, OkexChain, Solana, Avalanche, etc. through decentralized smart contracts. Players can play virtual roles in the game to fight with the Boss, get the level up, collect equipment, breed pets. And at the same time, they can obtain land to participate in farm building, and engage in PvP battles. Boss Rally enables players to earn while playing the game. 155 | 156 | Official Website::https://dragongame.co 157 | 158 | Telegram: https://t.me/BossRallyOfficial 159 | 160 | Twitter: https://twitter.com/Boss_Rally_ 161 | 162 | Questions about Participation 163 | 164 | 1. What is a Huobi Global UID? 165 | 166 | [Huobi Global](http://www.huobi.com/), established in 2013, is a financial services provider in global blockchain assets that offers a wide range of services including assets exchange, trading, wallet, and storage. UID is the ID of personal account with Huobi Global, which can be found by clicking on the upper left corner of its APP and the upper right corner of its Web page. 167 | 168 | Telegram: https://t.me/huobiglobalofficial 169 | 170 | Twitter:https://twitter.com/HuobiGlobal 171 | 172 | 2. What's HECO? 173 | 174 | [HECO Chain](https://www.hecochain.com/en-us/assets/) is an EVM-compatible public chain that provides blockchain developers with an efficient and low-cost on-chain environment for decentralized applications (Dapps), smart contracts, and digital assets. HECO has recorded approximately 12.9 million total addresses with 474million transactions made on the platform. 175 | 176 | Twitter: https://twitter.com/HECO_Chain 177 | 178 | Telegram: https://t.me/HECOAnnouncement 179 | 180 | HECO Explorer: https://hecoinfo.com 181 | 182 | HECO Chain:https://www.hecochain.com 183 | 184 | 3. What is the address on the HECO Chain? 185 | 186 | The address on the HECO Chain is a blockchain address that is generated by a decentralized wallet, which acts as your personal address for transferring money, charging, withdrawing, and using Dapps on the HECO Chain. Please remember to keep your private key and mnemonic to yourself, as they are the only way to control your assets on the chain. [Tutorial for Creating an Address on HECO Chain>>>](https://medium.com/heco-chain/heco-farming-tutorial-a815f581f0e2) 187 | 188 | Questions about Receiving Prizes 189 | 190 | 1. How do I know if I have won an NFT? 191 | 2. 192 | Please check the winning list, which will be announced on the official website on Oct 11, 2021. You can also check your SMS and e-mail. You can check whether your airdropped NFT has arrived at the HECO chain address that you filled in on the wish list on Huobi Wallet. 193 | 194 | 2. How to increase the winning rate? 195 | 3. 196 | After filling in the NFT wish list, please use the wallet to interact with the Dapp of the game platform, that is, to complete successfully a game contract call to get a higher winning rate. 197 | 198 | HECO Chain Team 199 | 200 | October 18, 2021 201 | 202 | 203 | 204 | 205 | # HECO DAO voted through the proposal of restricting visits and information queries on this official website in certain regions. 206 | 207 | Dear Developers: 208 | 209 | As a decentralized blockchain network, HECO Chain has been open to global developers since its launch. At the same time, HECO community has been actively paying attention to and complying with the regulatory requirements of various regions. In order to provide users with more compliant and consistent services, we would like to have the following adjustments: 210 | 211 | 1.Anyone located in [USA, Canada, Singapore, Hong Kong, Japan, Cuba, Iran, Korea, Sudan, Syria, Venezuela, Crimea, Chinese mainland, Taiwan Province, Israel, Iraq, Bangladesh, Bolivia, Ecuador, Kyrgyzstan, Sevastopol, UK] is prohibited from using information inquiry services provided by this website (https://www.hecochain.com); 212 | 213 | The aforementioned information may be adjusted due to laws, policies, force majeure, changes in circumstances and other factors, and may not be notified to you at that time. Please pay close attention to the announcement of this website in time. 214 | 215 | 2.Please send an email to heco@hecochain.com if you have any questions about this. 216 | 217 | Thank you for your support and understanding. 218 | 219 | HECO DAO 220 | 221 | September 30th, 2021 222 | 223 | 224 | 225 | # Amazing Mining Thursday on HECO 226 | 227 | Dear users 228 | 229 | Both the applications and assets in the HECO ecology are increasingly abundant. HECO communities and Huobi Wallet have jointly launched the " Amazing Mining Thursday on HECO". During the event, users can get higher income through deposit and borrow, with APY up to 30%. Click on the link to join the mining during the " Amazing Mining Thursday on HECO": 230 | 231 | Earn from both deposit and borrow. 232 | 233 | | Token | APY |Link| Type | 234 | | --- | ----------- | ----------- |----------- | 235 | | ETH | 12% |https://demeter.vip/app/#/supply|Supply| 236 | | ETH | -14% |https://demeter.vip/app/#/borrow|Borrow| 237 | | HFIL| 30% |https://lendmi.pro/lend|Stake| 238 | | HFIL| -24% |https://demeter.vip/app/#/borrow|Borrow| 239 | | USDT| 18% |https://bxh.com/#/|Stake| 240 | | hCFX/USDT| 180% |Start at 12:00,Sep.23(UTC) [on Mdex>>](https://ht.mdex.com/#/add/0x045c4324039dA91c52C55DF5D785385Aab073DcF/0xa71EdC38d189767582C38A3145b5873052c3e47a)|Liquidity mining| 241 | 242 | Remarks: The APY of asset lending is negative, which means that borrowing tokens from Demeter will receive rewards without paying interest. 243 | 244 | 245 | Risk: Mining on the chain is a high-risk investment method and there could be losses that cannot be compensated after the assets form LP. Investors should participate only after careful self-evaluation and understand the investment risks. 246 | 247 | 248 | HECO Team 249 | 250 | September 23, 2021 251 | 252 | # Amazing Mining Thursday on HECO 253 | Dear users: 254 | 255 | Both the applications and assets in the HECO ecology are increasingly abundant. HECO communities and Huobi Wallet have jointly launched the " Amazing Mining Thursday on HECO". During the event, users can get higher income by staking FIL , with APY up to 40%. Click on the link to join the mining during the " Amazing Mining Thursday on HECO": 256 | 257 | Period:7:00am,Sep.16-7:00am,Sep.17(UTC) 258 | 259 | 1. Stake FIL for higher rewards. 260 | 261 | | Token | APY |Locked days| Quota |Link | 262 | | --- | ----------- | ----------- |----------- |----------- | 263 | | FIL | 40% |360|3000| https://lendmi.pro/| 264 | | FIL | 35% |180|7000|https://lendmi.pro/| 265 | | FIL | 10% |None|30000|https://lendmi.pro/| 266 | 267 | 268 | 2. Gain airdrop by staking FIL 269 | 270 | During the event, the top 3 users by staking value in the 180 and 360 days pool will receive an additional airdrop bonus.The data is subject to 7:00 am on September 17. After the event, the rewards will be distributed to your HECO address. 271 | 272 | Lendmi will provide the following rewards for the two mining pools: 273 | 274 | First place, you will get 0.5% FIL of personal staking 275 | 276 | Second place, you will get 0.4% FIL of personal staking 277 | 278 | Third place, you will get 0.3% FIL of personal staking 279 | 280 | Risk: Mining on the chain is a high-risk investment method. Investors should carefully participate after self-assessment and pay attention to investment risks. 281 | 282 | HECO Team 283 | 284 | September 16, 2021 285 | 286 | 287 | 288 | 289 | # Amazing Mining Thursday on HECO 290 | 291 | Dear users: 292 | 293 | Both the applications and assets in the HECO ecology are increasingly abundant. HECO communities and Huobi Wallet have jointly launched the " Amazing Mining Thursday on HECO". During the event, users can get higher income by staking liquidity Pool (LP) , with APY up to 500%. Click on the link to join the mining during the " Amazing Mining Thursday on HECO": 294 | 295 | 1. Stake Liquidity Pool (LP) for MAKI Rewards. 296 | 297 | 298 | | LP | APY |Participation Links| 299 | | --- | ----------- | ----------- | 300 | | MAKI-HT |300% |https://channels.finance/| 301 | | MAKI-HUSD| 500%|https://app.makiswap.com/farms| 302 | | MAKI- ETH|400%|https://app.makiswap.com/farms| 303 | 304 | 305 | 2. Gain 0.01 HT airdrop by transferring cross-chain assets to HECO 306 | Participation link: https://www.iswap.com/zh-cn/ 307 | 308 | Risk: Mining on the chain is a high-risk investment method and there could be losses that cannot be compensated after the assets form LP. Investors should participate only after careful self-evaluation and understand the investment risks. 309 | 310 | HECO Team 311 | 312 | September 9, 2021 313 | 314 | # Amazing Mining Thursday on HECO 315 | 316 | Dear users: 317 | 318 | Both the applications and assets in the HECO ecology are increasingly abundant. HECO communities and Huobi Wallet have jointly launched the " Amazing Mining Thursday on HECO". During the event, users can get higher income by providing LP composed of HaykerDao liquidity or pledged assets, with APY up to 620%. Time of the event: 7:00, September 2- 16:00, September 9, click on the link to join the mining during the " Amazing Mining Thursday on HECO": 319 | How to participate:Click on the entrance to participate in mining. 320 | 321 | 1. Liquidity / Mining by pledging LP 322 | 323 | 324 | | Staking LP / Providing liquidity| APY |Participation Links| Description| 325 | | --- | ----------- | ----------- |----------- | 326 | | WHT-USDT |60% |https://channels.finance/|Mining by staking LP| 327 | | DEP/USDT| 620%|https://depth.fi/fund/mining|Mining by staking LP| 328 | | DAI-USDC-USDT-HUSD |20%|https://belt.fi/heco| Provide HaykerDao LP and participate in liquidity mining| 329 | 330 | 331 | 2. Gain 0.01 HT airdrop by transferring cross-chain assets to HECO 332 | Participation link: https://www.iswap.com/zh-cn/ 333 | 334 | Risk: Mining on the chain is a high-risk investment method and there could be losses that cannot be compensated after the assets form LP. Investors should participate only after careful self-evaluation and understand the investment risks. 335 | 336 | HECO Team 337 | 338 | 2 September 2021 339 | 340 | 341 | ## TUSD stable coin gold shovel mining is coming (NO.1)! 342 | Dear users: 343 | TUSD is stationed in HECO, the first round of ecological linkage is opened. From August 4 to August 18, HECO community, TUSD community, Huobi Wallet and other 7wallets jointly launched TUSD stable coin gold shovel mining activities, users can first choose to pledge TUSD single currency or group liquidity mining transaction pair, participate in the "TUSD gold shovel" limited-time mining activities. 344 | 345 | How to participate:Click on the entrance to participate in mining. 346 | 347 | Activity I. Lossless Mining for Single Currency 348 | 349 | | Coin Staking| DAPP |EST.APY|Staking Rewards |Entrance| 350 | | --- | ----------- | ----------- |----------- |----------- | 351 | | MDX | Mdex.com Boardroom |50%| TUSD | https://mdex.com/#/pool/boardroom/tusd/0| 352 | | TUSD | Filda.io |10%| Filda&TUSD | https://filda.io| 353 | | TUSD | Channels.finance |10%| CAN&TUSD | https://channels.finance| 354 | 355 | 356 | Activity II. LP Mining! 357 | 358 | | Coin Staking| DAPP |EST.APY| Staking Rewards |Entrance | 359 | | --- | ----------- | ----------- |----------- |----------- | 360 | | TUSD/USDT | Mdex.com |20%| MDX | https://mdex.com/#/pool/liquidity/mdx/92| 361 | 362 | Exclusive cross-chain bridge 363 | Entrance:www.iswap.com (The first 20,000 cross-chain TUSD transactions via iSwap yield 0.01HT). 364 | 365 | Tips: 366 | How do you get HECO version TUSD? 367 | 1. Centralized Exchange: Huobi Global has supported TUSD Multichain Charge (ERC20/HECO), which allows users to charge HECO VERSION TUSD through Huobi Global. 368 | 2. Cross-chain bridge: Replace TUSD via iSwap. 369 | 370 | Details of the specific activities are subject to the announcement of each project party.Stay tuned for more scenes in the TUSD Golden Shovel campaign, which will last three periods. 371 | 372 | Impermanent Loss: 373 | Mining on the chain is a high-risk investment method. Investors should carefully participate after self-assessment and pay attention to investment risks. 374 | 375 | 376 | HECO Chain Team 377 | 378 | August 4, 2021 379 | 380 | ## Notice about Ethereum London Hard Fork 381 | 382 | Dear Valued Developers and Users, 383 | 384 | HECO would like to remind you that the upcoming Ethereum London Hard Fork is schedule to take place at 11:36:58 (UTC+0) on August 5, 2021, i.e. 19:36:58 (UTC+8) Singapore time on August 5, 2021. 385 | 386 | 1. Asset Conversion 387 | From 11: 00 to 12: 10 (UTC+0) on August 5, 2021, it is recommended that users suspend the conversion of ERC20 assets to HRC20 assets or vice versa through any platforms and wallets. 388 | 389 | 2. Voting Function of Ecological Nodes 390 | If you plan to vote during the Ethereum London Hard Fork, it is recommended that you convert HT under ERC20 protocol into the HRC20 protocol before 11:00 (UTC+0) on August 5, 2021, so as to secure your voting rights within the planned time. 391 | If you plan to convert HT under HRC20 protocol into ERC20 protocol, please do it before or after 11:00-12:10 (UTC+0) on August 5, 2021. 392 | 393 | 3. Cross-Chain Platform 394 | From 11:10 to 12:10 (UTC+0) on August 5, 2021, cross-chain platforms in HECO should close the bidirectional cross-chain function between ETH and HECO, and between EVM public chain and HECO. 395 | 396 | 4. Bifurcated Currency 397 | HRC20’s handling of the currency coming out of the hard fork will be announced based on how the hard fork plays out. 398 | 399 | Kind regards, 400 | 401 | HECO Global Team 402 | 403 | 2021-08-05 404 | 405 | ## HECO Chain One-Million-Dollar Incentive Program! 406 | 407 | LONDON, July 20, 2021, Huobi HECO Chain (HECO), a decentralized, EVM-compatible public chain, today announced the initiation of its One-million Dollar Incentive Program, aiming to motivate blockchain developers and empower HECO application market. The program will be the first to open a blockchain market in the Russian-speaking region 408 | 409 | In order to better serve developers and on-chain programs, the incentive program will provide developers and on-chain programs with full-life cycle services and traffic support, including: 410 | 411 | 1.Proposal Phase: HECO team will give professional advice on its projects and organize some events, such as Grants, Hackathons, workshops and more. 412 | 413 | 2.Design & Development Phase: Projects will receive access to professional audit agencies, technical teams, and the HECO foundation, which helps to secure DAPPs and other smart contracts through a formal verification process and lay a foundation for its development and implementation. 414 | 415 | 3.Marketing Phase: Projects will get the opportunity to promote the project brand globally and find access to official coverage. 416 | 417 | 4.Operation Phase: Developers are empowered to carry out refined operations, including community operation, and user analysis, so as to improve the activity and retention of developer and user communities 418 | 419 | 5.Analysis stage: Projects will get blockchain industry research reports and safety warning information from the HECO team to ensure the smooth progress of projects. 420 | 421 | At the same time, HECO will hold a series of activities to further the development of developers and projects. 422 | 423 | 424 | Please apply and contact us through the following channels 425 | 426 | Join Hackathon: https://reurl.cc/xG473 427 | 428 | Fund application email: 429 | 430 | Please send BP, white paper, or other information about your team and business to invest@hecochain.com 431 | 432 | 433 | Keep in touch with HECO 434 | twitter:@HECO_Chain 435 | 436 | telegram:https://t.me/Huobiecochainofficial 437 | 438 | 439 | 440 | ## Calling for HECO Alliance Ambassador — Batch One! 441 | 442 | 443 | Welcome to the Heco Alliance Ambassador Program! 444 | 445 | 1.What is the Heco Alliance Ambassador program? 446 | 447 | Heco Alliance Ambassador Program is organized by Heco Group. It is not only a global ecological building program, but also a new way of collaboration that will create synergy for global researchers, KOLs, and community advocates to jointly develop Heco projects. 448 | 449 | If you are passionate about joining the Heco platform, we welcome you to become a Heco Alliance Ambassador, with access to various benefits and an opportunity to share the future growth of the Heco chain. 450 | 451 | 452 | 2.What kind of person can become Heco Alliance Ambassador? 453 | 454 | a. Professionals who are deeply involved in the local country or region and understand the local blockchain market. 455 | 456 | b. Able to discover high-quality projects and guide projects to deploy on the Heco chain. 457 | 458 | c. Able to assist Heco in connecting local partner resources (including but not limited to the capital, incubators, wallets, quotation websites, etc.) 459 | 460 | d. Able to respond to requests promptly and assist in the joint promotion of Heco ecological development. 461 | 462 | 463 | 3.What are the benefits of becoming Heco Alliance Ambassador? 464 | 465 | a. Through the development of the Heco ecological projects, Heco ambassador can lead joint project parties to conduct airdrop activities. Heco ambassadors can get a certain percentage of Heco projects’ airdrop. Excellent ecological ambassadors can get a certain percentage of node revenue. 466 | 467 | b. Heco alliance ambassador could get the Heco ambassador incentive grant. 468 | 469 | c. Heco ambassador can organize Heco related events and get also can get resources and support from Heco foundation. 470 | 471 | d. Heco alliance ambassador will be invited to exclusive Heco ambassador meet-ups, with Heco ambassadors and senior Heco team members 472 | 473 | e. If Heco ambassador can refer projects or developers deploying on Heco chain and help guide the development of the projects, the Heco alliance ambassador will receive a certain bonus package from the Heco Foundation and certain bonuses from the projects if the projects work well. 474 | 475 | 476 | 4.Term and arrangement: 477 | 478 | a. Up to 2 Heco alliance ambassadors in each country/region. 479 | 480 | b. Except for the outstanding Heco Alliance Ambassador, the Heco Alliance Ambassador who has successfully passed the assessment will have a 6 month term of service, and the person will need to apply again after 6 months. 481 | 482 | 483 | 5.Guidelines: 484 | 485 | Location: Global 486 | 487 | Selection Criteria: Passionate about blockchain and a supporter of HECO 488 | 489 | Application: 490 | https://docs.google.com/forms/d/e/1FAIpQLSc5I6kKTHtQ9Fi_B8fj0mOFL3pgkZFttoH_y96FPq39o8TolQ/viewform 491 | 492 | 493 | 494 | HECO Team 495 | 496 | ## Announcement of Heco that 26 Anchor Tokens to be Launched in Huobi Ecological Chain HECO 497 | 498 | Dear users: Anchor tokens of WBTC、CRO、FTT、GRT、MKR、COMP、UMA、NEXO、REN、ZRX、BAT、OMG、BNT、MATIC、ZKS、1INCH、NPXS、CRV、HOT、RSR、MANA、ACH 、MUSK、MX、TRIO and YCC will be launched on Heco soon. Please wait for the official announcement of the specific opening time. 499 | 500 | Name Heco Contract Address 501 | 502 | Heco-Peg WBTCHECO Token 0x70D171d269D964d14aF9617858540061e7bE9EF1 503 | 504 | Heco-Peg CRO Token 0xF7e1E39e239C5A920849f435F66097D2e412859e 505 | 506 | Heco-Peg FTT Token 0xC7f7a54892B78b5c812c58d9Df8035FcE9F4D445 507 | 508 | Heco-Peg GRT Token 0xfAdD0c7762c59cEBC5248019dBAC652319CEBDbd 509 | 510 | Heco-Peg MKR Token 0x34D75515090902a513F009f4505A750efaaD63b0 511 | 512 | Heco-Peg COMP Token 0xCe0A5CA134fb59402B723412994B30E02f083842 513 | 514 | Heco-Peg UMA Token 0xe2563F0a1787ac8a9fA67f3124a3d0AE92d574d2 515 | 516 | Heco-Peg NEXO Token 0x3a6B8B642aa154bAdA89eD3730C9E820Da79AD24 517 | 518 | Heco-Peg REN Token 0x212208bcc81F3a2D0188afF76A2d39351eb53b96 519 | 520 | Heco-Peg ZRX Token 0x0212dA773704cbc4F476bA827406363c87E8D3Bd 521 | 522 | Heco-Peg BAT Token 0xb04Ee982E6329FeBe4c70A53d1725469A1F6963A 523 | 524 | Heco-Peg OMG Token 0x359aA457CC0eF0a64b8Aa7e4EcD967DfB30cEF48 525 | 526 | Heco-Peg BNT Token 0x756a3dCF7171Ad147A801318a7caB3284cFf6a85 527 | 528 | Heco-Peg MATIC Token 0xdB11743fe8B129b49b11236E8a715004BDabe7e5 529 | 530 | Heco-Peg ZKS Token 0xe25A7D0B6bcDa2a832d255edef1387E72d20883b 531 | 532 | Heco-Peg 1INCH Token 0xD192f8e3224Ff0f48B08DB4791576B6878B426A0 533 | 534 | Heco-Peg NPXS Token 0x7b92E0aF7aE7de1c65710869F691231772A8B927 535 | 536 | Heco-Peg CRV Token 0x6BCE534a02f8347f747124082Ef3e35Dd696748D 537 | 538 | Heco-Peg HOT Token 0x26dB8742DA87d2E74911BFA4A349D4f6F7fc6037 539 | 540 | Heco-Peg RSR Token 0x8f6303C8a21398c91abB5EfF3b3C9315CA59CbE8 541 | 542 | Heco-Peg MANA Token 0x09006b66d89e5213Fc173403AACBA30620A91F4e 543 | 544 | Heco-Peg ACH  Token 0x4a31D1Ad7430586752A1888fE947E3E7D52aFfB8 545 | 546 | Heco-Peg MUSK Token 0x245A3bb0fB1385522d883D8d8b4a91da17548C07 547 | 548 | Heco-Peg MX Token 0x8d854e603dc777337134286f5b3408261736a88F 549 | 550 | Heco-Peg TRIO Token 0xEb6EbcaF096F99c7701DD6B90a013E6e1A3f0617 551 | 552 | Heco-Peg YCC Token 0x80898823FdD0B961C2E9809eF75B673E7f4aa02D 553 | 554 | Heco team 555 | 556 | ## We Make Future Phase 2 Registration Opened 557 | 558 | Heco is a young, dynamic and full of infinite possibilities world. Since its launch, we have welcomed nearly 100 development teams worldwide to start together“Era of Making" and jointly build Heco ecosystem. Heco hopes to provide more efficient support to global developers and reward eco-builders and contributors. 559 | 560 | Heco will launch the second phase of the“We Make Future". Developers can deploy and run DApps on Heco. Heco will assess Top10 based on the registered project operations and award the title of "Golden Creator", as well as provide rewards. 561 | 562 | Registration time: 563 | 00:00 March 3th - 24:00 March 10th, 2021 564 | 565 | Event time: 566 | 00:00 March 11th - 24:00 March 31, 2021 567 | 568 | Result release: 569 | April 8th, 2021 570 | 571 | Scoring rules: 572 | Current "We Make Future" phase will pay more attention to Heco ecosystem infrastructure creation, so the following types of projects will be more likely to get extra points in the final score: derivatives trading, oracles, auction platforms, stablecoins, NFT, synthetic assets, data services, etc. 573 | 574 | Heco Fund will set up evaluation committee and score the projects based on fairness and justice. Scoring dimensions include 4 categories: project characteristics and attributes, on-chain data, market reputation, project potential. Different projects will be assessed based on different dimensions and aspects. 575 | 576 | Awards and benefits: 577 | 1st and 2nd 'Gold Creator' winners will be recommended to Huobi Global listing audit. 578 | 3rd - 5th 'Gold Creator' winners will receive an investment from Heco Fund 579 | 6th-10th 'Gold Creator' winners will get Heco alliance members investment or Huobi pool liquidity support up to $ 1 million. 580 | All 'Gold Creator' winners can get Heco global marketing resources support 581 | 582 | Registration form: 583 | Please developers through Huobi ecological chain official website: hecochain.com to register or submit an application through the following registration link: 584 | 585 | Chinese registration link:https://jinshuju.net/f/mkP0ZU 586 | 587 | English registration link:https://docs.google.com/forms/d/1btQP4tg_qpjNjrk70uSb-jW2vooOFr2lM3ImGagXaJg/prefill 588 | 589 | * All registration projects can log in to the "creator ecological map" and get the whole network publicity opportunities 590 | Developers are requested to register through the official website of Heco: hecochain.com or submit an application through the following registration link: 591 | 592 | Registration link in Chinese : https://jinshuju.net/f/pylg4Q 593 | 594 | Registration link in English: :https://docs.google.com/forms/d/e/1FAIpQLSekFxYEznaSJXuzFQFnJlegZeitaL7AiuCdsrNxOCzXDXL5Lw/viewform?usp=sf_link 595 | 596 | * All registered projects can log into "We Make Future" Eco Map and get a chance to develope the whole network. 597 | 598 | Heco 599 | March 2st,2021 600 | 601 | ## Heco Initiates Combating Scam Along with Partners 602 | 603 | It has come to our knowledge that there have been projects created with malicious purposes on HECO. And we will take a series of actions to guarantee a safe and healthy developing environment: in-depth security audits on various eco projects, opening source codes, adding time locks and deploying governance contracts. 604 | 605 | HECO wants to work with the community with a sincere and honest mindset and using community governance for restraint on bad behaviors. We want to help projects gain more users' trust and participation. For quality projects, Heco will also join hands with partners and continue providing them with strong support. At the same time, to promote the healthy development of the Heco ecosystem, Heco and its partners will ONLY support projects that complete security audits, open source, and decentralized. Heco will boycott the projects that are not.  606 | 607 | Heco recommends frequent community participation in DeFi rationally and for users to carefully understand and study how the project works, the team's background, and the code before participation. Do not participate in unaudited, non-open source projects. 608 | 609 | In order to promote the development of quality projects, Heco has joined hands with well-known auditing organizations to provide green audit channels for Heco eco-projects and take practical measures to help the healthy development of Heco eco-projects. 610 | 611 | 612 | HECO Team 613 | 614 | ## MX, native token of MXC platform, will be cross-linked into Heco. 615 | 616 | Dear users, 617 | 618 | Huobi Eco Chain Heco and MXC platform have deepen their cooperation. The content and methods of cooperation are as follows: 619 | 620 | 1. A native token of MXC platform, MX will be directly connected to Heco as a a cross-chain asset through MXC and Huobi Global platforms deposit and withdrawal functions. MX will be used as a DeFi asset for lending, liquidity mining, DEX transactions and other operations in Heco. 621 | 622 | 2. MXC will be launched on Heco Asset Zone to jointly create diversified eco application scenarios. 623 | 624 | Heco team 625 | 626 | ## 19 Anchor Tokens to be Launched in Huobi Ecological Chain HECO 627 | 628 | Dear users: 629 | 630 | Anchor tokens of AAVE、ARPA、BAL、BETH、CNNS、DAI、GOF、HBC、LAMB、LINK、LRC、PAX、SKM、SNX、SUSHI、SWFTC、UNI、USDC and YFI will be launched on Heco soon. Please wait for the official announcement of the specific opening time. 631 | 632 | Heco team 633 | 634 | ## Heco Airdrop Week 635 | 636 | Dear Users, 637 | 638 | Chinese New Year is coming, and Heco jointly launched New Year 1.5 million campaign "Heco Airdrop Week" with 12 top projects on Heco chain. Thank you for your strong support for Heco and Heco Ecosystem. 639 | 640 | Activity time:04-09/02/2021 641 | 642 | Activity rules: 643 | During this activity, users can participate in airdrops initiated by Heco projects and get rewards according to the rules issued by each project. A total of 12 airdrops initiated by 2-3 projects a day. Airdrops are independent of each other, users can participate in any of them. Users can view 'Heco Airdrop week' schedule and learn more about airdrops and rules on DeFibox.com. 644 | 645 | Airdrop projects and time: 646 | 647 | February 4 - LAVAswap 648 | 649 | February 5 - BeeSwap, Channels 650 | 651 | February 6 - BasisX, Lendhub 652 | 653 | February 7 - FilDA, NFT-HERO 654 | 655 | February 8 - EarnDeFi, MDEX 656 | 657 | February 9 - CROSS, BAGS, DMEX 658 | 659 | Partner platform: 660 | DeFibox.com 661 | 662 | Partner walelts: 663 | Huobi Wallet, CodeBank, BitKeep, TokenPocket, Bitpie, ONTO, Hyperpay, MetaMask, Dappbirds 664 | 665 | Partner media: 666 | 金色财经、Winkrypto、火星财经、币世界、COINTELEGRAPH、KingData 667 | 668 | Activity notice: 669 | 1. You can participate in 12 airdrops at the same time. 670 | 2. Airdrop rewards will be distributed by the project after the address is approved. It takes time, please wait. 671 | 3. Please strictly follow the airdrop rules. If the user commits any illegal operation that affects the normal operation of the activity, Heco will immediately disqualify this user from participating and he will not be able to receive any airdrop. 672 | 4. The final interpretation right of a single airdrop belongs to the relevant project. 673 | 5. Heco is this activity organizer, but does not provide with any investment advice. Users are requested to participate with caution. 674 | 675 | ## RPC servers update 676 | 677 | Dear Heco users, for your better experience, please choose RPC server according your location: 678 | 679 | Global: https://http-mainnet-node.huobichain.com 680 | 681 | China mainland: https://http-mainnet.hecochain.com 682 | 683 | ## Heco Eco Alliance Announces First Exchange Membership List 684 | 685 | Heco Eco Alliance officially announced the first list of exchanges. Nine exchanges including BiBox, BiKi, BigONE, BitZ, HBTC, Hoo, LBank, MXC and Jubi joined the Heco Eco Alliance as partners to support the Heco Eco Alliance project. 686 | 687 | The Heco Eco Alliance was founded on January 14, 2021 by Heco, the Firecurrency Eco-chain. The Heco Eco-Alliance aims to combine top investment institutions, trading platforms, wallets, media and other projects in the industry to enable Heco eco-projects, support high-quality developers around the world and jointly promote Heco eco-prosperity and development. 688 | 689 | The Heco Eco Alliance will support high-quality developers with resources such as investment, trading, fluidity, and brand to help them grow quickly. 690 | 691 | ## Huobi DeFi Labs set up Heco Fund to accelerate the development of projects on the HECO Chain 692 | 693 | On December 21, Huobi Defi Labs announced the launch of the "Heco Fund". It is designated to support Huobi Open Platform as well as the projects on the HECO Chain, so as to promote the prosperity of Huobi Ecosystem. The recent focus of the Heco Fund is to discover and support high-potential projects which include DEX, Lending, Oracle, Cross-chain solution, Stable currency exchange, Insurance, etc. 694 | 695 | Huobi DeFi Labs is the platform for DeFi research, investment,incubation, and ecosystem building, dedicated to build a new financial system in collaborations with the global crypto and DeFi community for the future. 696 | 697 | The Huobi Open Platform is a unified infrastructure platform based on the technical, traffic and ecological resources of the Huobi Group, which will be gradually open to the blockchain industry. It will make the construction of decentralized applications more efficient and cost-effective, and provide comprehensive empowerment in aspects of promotion, traffic, and resources. In December 2020, the first product of the Huobi Open Platform, the HECO Chain, also known as Heco, officially launched its "Tinder" phase. 698 | 699 | ## Huobi ECO Chain is officially launched 700 | 701 | Dear customer, 702 | 703 | Huobi ECO Chain, also known as Heco, is officially launched on 21st Dec. 2020,with characteristics such as high performance, low gas fee, and better cross-chain user experience, etc. 704 | 705 | The Meta-transaction function adopted by Heco enables developers with better on-chain operations, of which the essence is to cover the gas fee payment, and the purpose is to reduce the cost of users using Heco services. In other words, Heco intends to subsidize users by paying a part of their gas fee in accordance with their HT holding volume. In addition, sepecial gas fee subsidy could be given for specific DApps. 706 | 707 | ![avatar](../images/grade-en.png) 708 | 709 | Heco is divided into 4 phases: Tinder, Spark, Flame, Blaze. The first stage of "Tinder" starts on 21st Dec. 2020. The second stage of "Tinder" will start on Q1 2021, at the appointed time the public recruitment of Heco nodes will be carried out. 710 | 711 | Risk warning: 712 | 713 | 1. All users and developers can participate in the test environment and subsequent stages of the Heco for free, and there is no charge. 714 | 715 | 2. Please distinguish between the test environment and the mainnet network. The assets generated by the test environment have no value. Be aware of counterfeit currency fraud. 716 | 717 | 3. HECO Chain will announce authorization, promotion and other cooperation through the official social platform. Warmly remind developers and users to double check the information to avoid losses. 718 | 719 | 4. Please identify the official website (hecochain.com ) to avoid private key phishing. 720 | 721 | ## HECO Chain " WE MAKE FUTURE "program is open now for registration 722 | 723 | Dear users, 724 | 725 | Heco is a whole new world, and we warmly welcome global developers to co-start the "Era of Making". Developers can deploy and run DApps on Heco. We will evaluate and award the Top5 projects with the title "Gold Creator" and a package of rewards. 726 | 727 | Registration time: 728 | 17:00 25th Dec. 2020 - 24:00 29th Dec. 2020 729 | 730 | Duration: 731 | 2020年12月30日00:00-2021年1月19日24:00 732 | 00:00 30th Dec. 2020 - 24:00 19th Jan. 2021 733 | 734 | Attention: 735 | The daily average on-chain statistics are only valid within 20 days from 00:00 30th Dec. to 24:00 19th Jan.. Please pay attention to the beginning and ending times of your data. 736 | 737 | Result release: before 27th Jan. 2021 738 | 739 | Scoring rule: 740 | Heco Fund will set up an evaluation committee to score the projects by the principle of fairness and justice. The scoring dimensions include three categories: on-chain data, market reputation, and project potential. The Heco Fund will evaluate projects based on various tracks and aspects. 741 | 742 | 743 | Awards and benefits: 744 | The "Gold Creator" title winners will have the opportunity to obtain at least one of the following benefits: 745 | 1. Official title of “Gold Creator” 746 | 2. Recommendation to the Huobi Global listing audit channel 747 | 3. Investment opportunities from the Heco Fund 748 | 4. Liquidity support up to 1 million USD 749 | 5. Heco global marketing resources support 750 | 751 | Registration Form in Chinese: https://jinshuju.net/f/mkP0ZU 752 | 753 | Registration Form in English: https://forms.gle/rVYnxdoh7dAc2Cfw5 754 | 755 | For more details, please visit our website: www.hecochain.com 756 | 757 | Risk Warning: 758 | 1. Heco announces authorization, promotion, and other collaborations only through the official social media platform. Developers and users should check carefully to avoid losses. 759 | 2. All users and developers can participate in the test environment and the Mainnet of Heco for free, and there is no charge. 760 | 3. All users must distinguish the test environment from the Mainnet. The assets generated in the test environment have no value. Be aware of counterfeit currency fraud. 761 | 4. The official website is www.hecochain.com. Please be cautious with private key phishing. 762 | 763 | HECO Chain 764 | 765 | 25th Dec. 2020 766 | 767 | -------------------------------------------------------------------------------- /dev/private_chain.md: -------------------------------------------------------------------------------- 1 | # Private chain construction 2 | 3 | ## Prepare validator account(s) 4 | 5 | According to the number of miner nodes, prepare corresponding validator account(s). 6 | 7 | You can create a new account by the command `geth account new`, and then put the password to a text file. For example: 8 | 9 | ```bash 10 | ./geth account new --datadir data 11 | echo {your-password} > password.txt 12 | ``` 13 | 14 | After creating an account, you may see the address of the new account. 15 | 16 | Or you can also looking to the `UTC-**`file under the `data/keystore` path to find it, e.g.: 17 | ``` 18 | 8cc5a1a0802db41db826c2fcb72423744338dcb0 19 | ``` 20 | 21 | ## genesis.json configuration 22 | ```JSON 23 | { 24 | "config": { 25 | "chainId": 123, 26 | "homesteadBlock": 0, 27 | "eip150Block": 0, 28 | "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", 29 | "eip155Block": 0, 30 | "eip158Block": 0, 31 | "byzantiumBlock": 0, 32 | "constantinopleBlock": 0, 33 | "petersburgBlock": 0, 34 | "istanbulBlock": 0, 35 | "muirGlacierBlock": 0, 36 | //consensus 37 | "congress": { 38 | "period": 5, 39 | "epoch": 100 40 | } 41 | }, 42 | "nonce": "0x0", 43 | "timestamp": "0x5f714b2f", 44 | //config inital validator 45 | "extraData": "0x00000000000000000000000000000000000000000000000000000000000000008cc5a1a0802db41db826c2fcb72423744338dcb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 46 | "gasLimit": "0x1C9C380", 47 | "difficulty": "0x1", 48 | "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 49 | "coinbase": "0x0000000000000000000000000000000000000000", 50 | "number": "0x0", 51 | "gasUsed": "0x0", 52 | "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 53 | "alloc": { 54 | //Pre-allocated balance 55 | "6301cdf018E8678067cf8f14aB99F6f2a906dB44": { 56 | "balance": "0x1000000000000" 57 | }, 58 | //set system contract 59 | "000000000000000000000000000000000000F000": { 60 | "balance":"0x0", 61 | "code": "0x6080604052600436106101e25760003560e01c80638a11d7c911610102578063b6c8851911610095578063d6c0edad11610064578063d6c0edad14610e90578063db78dd2814610e98578063efd8d8e214610eca578063f2888dbb14610edf576101e2565b8063b6c8851914610b5c578063be64569214610e21578063c253c38414610e36578063c967f90f14610e64576101e2565b8063a224cee7116100d1578063a224cee7146106be578063a406fcb714610739578063a43569b314610904578063afeea11514610b47576101e2565b80638a11d7c9146105495780638b0e9f3f1461061157806398e3b626146106265780639de7025814610659576101e2565b806340a141ff1161017a5780636846992a116101495780636846992a146103e35780636969a25c146104935780637f4f95fa146104bd57806382bd3d9214610516576101e2565b806340a141ff1461033c5780634b3d500b146103715780635dd095901461039b5780636233be5d146103ce576101e2565b8063222d3b05116101b6578063222d3b051461029b57806326476204146102ce5780633a061bd3146102f457806340550a1c14610309576101e2565b8062362a77146101e75780631303f7cf1461022e578063158ef93e146102555780631b5e358c1461026a575b600080fd5b3480156101f357600080fd5b5061021a6004803603602081101561020a57600080fd5b50356001600160a01b0316610f12565b604080519115158252519081900360200190f35b34801561023a57600080fd5b5061024361117a565b60408051918252519081900360200190f35b34801561026157600080fd5b5061021a611180565b34801561027657600080fd5b5061027f611189565b604080516001600160a01b039092168252519081900360200190f35b3480156102a757600080fd5b5061021a600480360360208110156102be57600080fd5b50356001600160a01b031661118f565b61021a600480360360208110156102e457600080fd5b50356001600160a01b03166113b4565b34801561030057600080fd5b5061027f6117df565b34801561031557600080fd5b5061021a6004803603602081101561032c57600080fd5b50356001600160a01b03166117e5565b34801561034857600080fd5b5061036f6004803603602081101561035f57600080fd5b50356001600160a01b0316611840565b005b34801561037d57600080fd5b5061027f6004803603602081101561039457600080fd5b5035611988565b3480156103a757600080fd5b5061036f600480360360208110156103be57600080fd5b50356001600160a01b03166119af565b3480156103da57600080fd5b5061027f611a08565b3480156103ef57600080fd5b5061036f6004803603604081101561040657600080fd5b810190602081018135600160201b81111561042057600080fd5b82018360208201111561043257600080fd5b803590602001918460208302840111600160201b8311171561045357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250611a0e915050565b34801561049f57600080fd5b5061027f600480360360208110156104b657600080fd5b5035611c55565b3480156104c957600080fd5b506104f8600480360360408110156104e057600080fd5b506001600160a01b0381358116916020013516611c62565b60408051938452602084019290925282820152519081900360600190f35b34801561052257600080fd5b5061021a6004803603602081101561053957600080fd5b50356001600160a01b0316611c9f565b34801561055557600080fd5b5061057c6004803603602081101561056c57600080fd5b50356001600160a01b0316611f03565b6040516001600160a01b03881681526020810187600481111561059b57fe5b60ff16815260200186815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156105f75781810151838201526020016105df565b505050509050019850505050505050505060405180910390f35b34801561061d57600080fd5b5061024361234c565b34801561063257600080fd5b5061021a6004803603602081101561064957600080fd5b50356001600160a01b0316612352565b34801561066557600080fd5b5061066e6123a4565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156106aa578181015183820152602001610692565b505050509050019250505060405180910390f35b3480156106ca57600080fd5b5061036f600480360360208110156106e157600080fd5b810190602081018135600160201b8111156106fb57600080fd5b82018360208201111561070d57600080fd5b803590602001918460208302840111600160201b8311171561072e57600080fd5b509092509050612407565b34801561074557600080fd5b5061021a600480360360c081101561075c57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561078657600080fd5b82018360208201111561079857600080fd5b803590602001918460018302840111600160201b831117156107b957600080fd5b919390929091602081019035600160201b8111156107d657600080fd5b8201836020820111156107e857600080fd5b803590602001918460018302840111600160201b8311171561080957600080fd5b919390929091602081019035600160201b81111561082657600080fd5b82018360208201111561083857600080fd5b803590602001918460018302840111600160201b8311171561085957600080fd5b919390929091602081019035600160201b81111561087657600080fd5b82018360208201111561088857600080fd5b803590602001918460018302840111600160201b831117156108a957600080fd5b919390929091602081019035600160201b8111156108c657600080fd5b8201836020820111156108d857600080fd5b803590602001918460018302840111600160201b831117156108f957600080fd5b509092509050612768565b34801561091057600080fd5b506109376004803603602081101561092757600080fd5b50356001600160a01b0316612d74565b60405180806020018060200180602001806020018060200186810386528b818151815260200191508051906020019080838360005b8381101561098457818101518382015260200161096c565b50505050905090810190601f1680156109b15780820380516001836020036101000a031916815260200191505b5086810385528a5181528a516020918201918c019080838360005b838110156109e45781810151838201526020016109cc565b50505050905090810190601f168015610a115780820380516001836020036101000a031916815260200191505b5086810384528951815289516020918201918b019080838360005b83811015610a44578181015183820152602001610a2c565b50505050905090810190601f168015610a715780820380516001836020036101000a031916815260200191505b5086810383528851815288516020918201918a019080838360005b83811015610aa4578181015183820152602001610a8c565b50505050905090810190601f168015610ad15780820380516001836020036101000a031916815260200191505b50868103825287518152875160209182019189019080838360005b83811015610b04578181015183820152602001610aec565b50505050905090810190601f168015610b315780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390f35b348015610b5357600080fd5b5061066e6131a8565b348015610b6857600080fd5b5061021a600480360360a0811015610b7f57600080fd5b810190602081018135600160201b811115610b9957600080fd5b820183602082011115610bab57600080fd5b803590602001918460018302840111600160201b83111715610bcc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610c1e57600080fd5b820183602082011115610c3057600080fd5b803590602001918460018302840111600160201b83111715610c5157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610ca357600080fd5b820183602082011115610cb557600080fd5b803590602001918460018302840111600160201b83111715610cd657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610d2857600080fd5b820183602082011115610d3a57600080fd5b803590602001918460018302840111600160201b83111715610d5b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610dad57600080fd5b820183602082011115610dbf57600080fd5b803590602001918460018302840111600160201b83111715610de057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613208945050505050565b348015610e2d57600080fd5b506102436133ad565b348015610e4257600080fd5b50610e4b6133ba565b6040805192835260208301919091528051918290030190f35b348015610e7057600080fd5b50610e796133cf565b6040805161ffff9092168252519081900360200190f35b61036f6133d4565b348015610ea457600080fd5b50610ead613574565b6040805167ffffffffffffffff9092168252519081900360200190f35b348015610ed657600080fd5b50610ead61357b565b348015610eeb57600080fd5b5061021a60048036036020811015610f0257600080fd5b50356001600160a01b0316613581565b600033816001600160a01b038416600090815260016020526040902054600160a01b900460ff166004811115610f4457fe5b1415610f8d576040805162461bcd60e51b815260206004820152601360248201527215985b1a59185d1bdc881b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b6001600160a01b03838116600090815260016020526040902054811690821614610fe85760405162461bcd60e51b815260040180806020018281038252602e8152602001806148f9602e913960400191505060405180910390fd5b6001600160a01b0383166000908152600160205260409020600901544361708090910111156110485760405162461bcd60e51b815260040180806020018281038252605c81526020018061476c605c913960600191505060405180910390fd5b6001600160a01b038316600090815260016020526040902060070154806110b6576040805162461bcd60e51b815260206004820152601a60248201527f596f7520646f6e2774206861766520616e792070726f66697473000000000000604482015290519081900360640190fd5b6001600160a01b0384166000908152600160205260408120600781019190915543600990910155801561111b576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611119573d6000803e3d6000fd5b505b816001600160a01b0316846001600160a01b03167f51a69b4502f660774c9339825c7b5adbf0b8622289134647e29728ec5d9b3bb98342604051808381526020018281526020019250505060405180910390a36001925050505b919050565b60065481565b60005460ff1681565b61f00181565b3360008181526002602090815260408083206001600160a01b0386168452825280832060019092528220549192918390600160a01b900460ff1660048111156111d457fe5b141561121d576040805162461bcd60e51b81526020600482015260136024820152721d985b1a59185d1bdc881b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b6001810154611273576040805162461bcd60e51b815260206004820152601960248201527f596f75206861766520746f20756e7374616b6520666972737400000000000000604482015290519081900360640190fd5b436201518067ffffffffffffffff1682600101540111156112c55760405162461bcd60e51b81526004018080602001828103825260218152602001806147c86021913960400191505060405180910390fd5b8054611313576040805162461bcd60e51b8152602060048201526018602482015277596f7520646f6e2774206861766520616e79207374616b6560401b604482015290519081900360640190fd5b80546000808355600183018190556040516001600160a01b0385169183156108fc02918491818181858888f19350505050158015611355573d6000803e3d6000fd5b50846001600160a01b0316836001600160a01b03167fa70cd94070cd852339a76b32cf2d95a3c8f2a322269163d276071c1c149556198342604051808381526020018281526020019250505060405180910390a3506001949350505050565b6000805460ff166113fb576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b333460016001600160a01b038516600090815260016020526040902054600160a01b900460ff16600481111561142d57fe5b1480611466575060026001600160a01b038516600090815260016020526040902054600160a01b900460ff16600481111561146457fe5b145b6114a15760405162461bcd60e51b815260040180806020018281038252602d815260200180614850602d913960400191505060405180910390fd5b6007546040805163416259d960e11b81526001600160a01b038781166004830152915191909216916382c4b3b2916024808301926020929190829003018186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d602081101561151857600080fd5b50516115555760405162461bcd60e51b815260040180806020018281038252603881526020018061489e6038913960400191505060405180910390fd5b6001600160a01b03808316600090815260026020908152604080832093881683529290522060010154156115ba5760405162461bcd60e51b815260040180806020018281038252602281526020018061482e6022913960400191505060405180910390fd5b6001600160a01b0384166000908152600160208190526040909120908101546801bc16d674ec800000906115f4908463ffffffff6139d916565b1015611647576040805162461bcd60e51b815260206004820152601860248201527f5374616b696e6720636f696e73206e6f7420656e6f7567680000000000000000604482015290519081900360640190fd5b6001600160a01b038084166000908152600260209081526040808320938916835292905220546116c057600a810180546001600160a01b038086166000818152600260208181526040808420958d1684529481529382200184905560018401855593845292200180546001600160a01b03191690911790555b60018101546116d5908363ffffffff6139d916565b600182015560028154600160a01b900460ff1660048111156116f357fe5b1461170a57805460ff60a01b1916600160a11b1781555b611718858260010154613a3c565b6001600160a01b0380841660009081526002602090815260408083209389168352929052205461174e908363ffffffff6139d916565b6001600160a01b038085166000908152600260209081526040808320938a1683529290522055600554611787908363ffffffff6139d916565b6005556040805183815242602082015281516001600160a01b0380891693908716927fb9ba725934532316cffe10975da6eb25ad49c2d1c294d982c46c9f8d684ee075929081900390910190a3506001949350505050565b61f00081565b6000805b60035481101561183757826001600160a01b03166003828154811061180a57fe5b6000918252602090912001546001600160a01b0316141561182f576001915050611175565b6001016117e9565b50600092915050565b3361f0011461188d576040805162461bcd60e51b815260206004820152601460248201527350756e69736820636f6e7472616374206f6e6c7960601b604482015290519081900360640190fd5b6001600160a01b0381166000908152600160205260409020600701546118b282613cd6565b60045460011015611984576118c682613dfa565b600754604080516315ea278160e01b81526001600160a01b038581166004830152915191909216916315ea27819160248083019260209291908290030181600087803b15801561191557600080fd5b505af1158015611929573d6000803e3d6000fd5b505050506040513d602081101561193f57600080fd5b50506040805182815242602082015281516001600160a01b038516927fa26de7ab324eac08c596549f421e5c8741213d237d2e9a2c9c0ebde0a7a849fe928290030190a25b5050565b6004818154811061199557fe5b6000918252602090912001546001600160a01b0316905081565b3361f001146119fc576040805162461bcd60e51b815260206004820152601460248201527350756e69736820636f6e7472616374206f6e6c7960601b604482015290519081900360640190fd5b611a0581613cd6565b50565b61f00281565b334114611a4f576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b4360009081526009602090815260408083206001845290915290205460ff1615611ac0576040805162461bcd60e51b815260206004820152601a60248201527f56616c696461746f727320616c72656164792075706461746564000000000000604482015290519081900360640190fd5b60005460ff16611b06576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b80804381611b1057fe5b0615611b56576040805162461bcd60e51b815260206004820152601060248201526f426c6f636b2065706f6368206f6e6c7960801b604482015290519081900360640190fd5b43600090815260096020908152604080832060018085529252909120805460ff191690911790558251611bc7576040805162461bcd60e51b815260206004820152601460248201527356616c696461746f722073657420656d7074792160601b604482015290519081900360640190fd5b8251611bda9060039060208601906145d3565b507feacea8f3c22f06c0b18306bdb04d0a967255129e8ce0094debb0a0ff89d006b5836040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015611c3d578181015183820152602001611c25565b505050509050019250505060405180910390a1505050565b6003818154811061199557fe5b6001600160a01b03918216600090815260026020818152604080842094909516835292909252919091208054600182015491909201549192909190565b60003361f00214611cf0576040805162461bcd60e51b815260206004820152601660248201527550726f706f73616c20636f6e7472616374206f6e6c7960501b604482015290519081900360640190fd5b60005460ff16611d36576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b60036001600160a01b038316600090815260016020526040902054600160a01b900460ff166004811115611d6657fe5b14158015611da2575060046001600160a01b038316600090815260016020526040902054600160a01b900460ff166004811115611d9f57fe5b14155b15611daf57506001611175565b60046001600160a01b038316600090815260016020526040902054600160a01b900460ff166004811115611ddf57fe5b1415611ea057600854604080516363e1d45160e01b81526001600160a01b038581166004830152915191909216916363e1d4519160248083019260209291908290030181600087803b158015611e3457600080fd5b505af1158015611e48573d6000803e3d6000fd5b505050506040513d6020811015611e5e57600080fd5b5051611ea0576040805162461bcd60e51b815260206004820152600c60248201526b18db19585b8819985a5b195960a21b604482015290519081900360640190fd5b6001600160a01b038216600081815260016020908152604091829020805460ff60a01b1916600160a01b179055815142815291517fd8b2c426ec1be69ca7583d26b1e893946e3227430d3ebc3bd64d9e1c469cb4009281900390910190a2919050565b6000806000806000806060611f16614638565b6001600160a01b038981166000908152600160209081526040918290208251610100810190935280549384168352919290830190600160a01b900460ff166004811115611f5f57fe5b6004811115611f6a57fe5b815260200160018201548152602001600282016040518060a0016040529081600082018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120215780601f10611ff657610100808354040283529160200191612021565b820191906000526020600020905b81548152906001019060200180831161200457829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120c35780601f10612098576101008083540402835291602001916120c3565b820191906000526020600020905b8154815290600101906020018083116120a657829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f810183900483028501830190915280845293810193908301828280156121555780601f1061212a57610100808354040283529160200191612155565b820191906000526020600020905b81548152906001019060200180831161213857829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156121e95780601f106121be576101008083540402835291602001916121e9565b820191906000526020600020905b8154815290600101906020018083116121cc57829003601f168201915b505050918352505060048201805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815293820193929183018282801561227d5780601f106122525761010080835404028352916020019161227d565b820191906000526020600020905b81548152906001019060200180831161226057829003601f168201915b5050505050815250508152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561230157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116122e3575b505050505081525050905080600001518160200151826040015183608001518460a001518560c001518660e00151809050975097509750975097509750975050919395979092949650565b60055481565b6000805b60045481101561183757826001600160a01b03166004828154811061237757fe5b6000918252602090912001546001600160a01b0316141561239c576001915050611175565b600101612356565b606060038054806020026020016040519081016040528092919081815260200182805480156123fc57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116123de575b505050505090505b90565b60005460ff1615612455576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600780546001600160a01b031990811661f002179091556008805490911661f00117905560005b8181101561275657600083838381811061249257fe5b905060200201356001600160a01b03166001600160a01b031614156124fe576040805162461bcd60e51b815260206004820152601960248201527f496e76616c69642076616c696461746f72206164647265737300000000000000604482015290519081900360640190fd5b61252283838381811061250d57fe5b905060200201356001600160a01b03166117e5565b61257157600383838381811061253457fe5b835460018101855560009485526020948590200180546001600160a01b0319166001600160a01b0395909202939093013593909316929092179055505b61259583838381811061258057fe5b905060200201356001600160a01b0316612352565b6125e45760048383838181106125a757fe5b835460018101855560009485526020948590200180546001600160a01b0319166001600160a01b0395909202939093013593909316929092179055505b60006001818585858181106125f557fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000205416919091141590506126aa5782828281811061263257fe5b905060200201356001600160a01b03166001600085858581811061265257fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6000600160008585858181106126bc57fe5b602090810292909201356001600160a01b031683525081019190915260400160002054600160a01b900460ff1660048111156126f457fe5b141561274e5760026001600085858581811061270c57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff60a01b1916600160a01b83600481111561274857fe5b02179055505b60010161247c565b50506000805460ff1916600117905550565b6000805460ff166127af576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b6001600160a01b038c16612800576040805162461bcd60e51b8152602060048201526013602482015272496e76616c696420666565206164647265737360681b604482015290519081900360640190fd5b61290f8b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815292508d91508c908190840183828082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b908190840183828082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a915089908190840183828082843760009201919091525061320892505050565b612956576040805162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103232b9b1b934b83a34b7b760691b604482015290519081900360640190fd5b336000818152600160205260408120548190600160a01b900460ff16600481111561297d57fe5b1415612a7b576007546040805163416259d960e11b81526001600160a01b038581166004830152915191909216916382c4b3b2916024808301926020929190829003018186803b1580156129d057600080fd5b505afa1580156129e4573d6000803e3d6000fd5b505050506040513d60208110156129fa57600080fd5b5051612a4d576040805162461bcd60e51b815260206004820152601c60248201527f596f75206d75737420626520617574686f72697a656420666972737400000000604482015290519081900360640190fd5b506001600160a01b0381166000908152600160208190526040909120805460ff60a01b1916600160a01b1790555b6001600160a01b038281166000908152600160205260409020548116908f1614612aed578d60016000846001600160a01b03166001600160a01b0316815260200190815260200160002060000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6040518060a001604052808e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8f018190048102820181019092528d815291810191908e908e9081908401838280828437600092019190915250505090825250604080516020601f8d018190048102820181019092528b815291810191908c908c9081908401838280828437600092019190915250505090825250604080516020601f8b0181900481028201810190925289815291810191908a908a9081908401838280828437600092019190915250505090825250604080516020601f89018190048102820181019092528781529181019190889088908190840183828082843760009201829052509390945250506001600160a01b03851681526001602090815260409091208351805160029092019350612c4d928492910190614684565b506020828101518051612c669260018501920190614684565b5060408201518051612c82916002840191602090910190614684565b5060608201518051612c9e916003840191602090910190614684565b5060808201518051612cba916004840191602090910190614684565b509050508015612d14578d6001600160a01b0316826001600160a01b03167f887eec9d757b7247dd8e51198f9d1b8f27979bceb34bdcc1bffd4ec5ec736c22426040518082815260200191505060405180910390a3612d60565b8d6001600160a01b0316826001600160a01b03167fb8421f65501371f54d58de1937ff1e1ccdb76423ef6f84acea1814a0f6362ca0426040518082815260200191505060405180910390a35b5060019d9c50505050505050505050505050565b6060806060806060612d84614638565b6001600160a01b038781166000908152600160209081526040918290208251610100810190935280549384168352919290830190600160a01b900460ff166004811115612dcd57fe5b6004811115612dd857fe5b815260200160018201548152602001600282016040518060a0016040529081600082018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612e8f5780601f10612e6457610100808354040283529160200191612e8f565b820191906000526020600020905b815481529060010190602001808311612e7257829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612f315780601f10612f0657610100808354040283529160200191612f31565b820191906000526020600020905b815481529060010190602001808311612f1457829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f81018390048302850183019091528084529381019390830182828015612fc35780601f10612f9857610100808354040283529160200191612fc3565b820191906000526020600020905b815481529060010190602001808311612fa657829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156130575780601f1061302c57610100808354040283529160200191613057565b820191906000526020600020905b81548152906001019060200180831161303a57829003601f168201915b505050918352505060048201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156130eb5780601f106130c0576101008083540402835291602001916130eb565b820191906000526020600020905b8154815290600101906020018083116130ce57829003601f168201915b5050505050815250508152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561316f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613151575b5050509190925250505060609081015180516020820151604083015193830151608090930151919b909a50929850909650945092505050565b606060048054806020026020016040519081016040528092919081815260200182805480156123fc576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116123de575050505050905090565b600060468651111561325a576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840dadedcd2d6cae440d8cadccee8d60531b604482015290519081900360640190fd5b610bb8855111156132b2576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964206964656e74697479206c656e677468000000000000000000604482015290519081900360640190fd5b608c84511115613302576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840eecac4e6d2e8ca40d8cadccee8d60531b604482015290519081900360640190fd5b608c83511115613350576040805162461bcd60e51b8152602060048201526014602482015273092dcecc2d8d2c840cadac2d2d840d8cadccee8d60631b604482015290519081900360640190fd5b610118825111156133a1576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840c8cae8c2d2d8e640d8cadccee8d60531b604482015290519081900360640190fd5b50600195945050505050565b6801bc16d674ec80000081565b6000806133c76000613e67565b915091509091565b601581565b334114613415576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b43600090815260096020908152604080832083805290915290205460ff1615613485576040805162461bcd60e51b815260206004820152601960248201527f426c6f636b20697320616c726561647920726577617264656400000000000000604482015290519081900360640190fd5b60005460ff166134cb576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b4360009081526009602090815260408083208380528252808320805460ff1916600190811790915533808552925282205490913491600160a01b900460ff16600481111561351557fe5b1415613522575050613572565b61352d816000613f5b565b6040805182815242602082015281516001600160a01b038516927f7dc4e5df59513708dca355b8706273a5df7b810a4cec8019f2a4b9bb166a1a04928290030190a250505b565b6201518081565b61708081565b6000805460ff166135c8576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b3360006001600160a01b038416600090815260016020526040902054600160a01b900460ff1660048111156135f957fe5b1415613642576040805162461bcd60e51b815260206004820152601360248201527215985b1a59185d1bdc881b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b6001600160a01b038082166000908152600260209081526040808320938716835292815282822060019182905292909120825491830154909190156136b85760405162461bcd60e51b81526004018080602001828103825260238152602001806148d66023913960400191505060405180910390fd5b60008111613708576040805162461bcd60e51b8152602060048201526018602482015277596f7520646f6e2774206861766520616e79207374616b6560401b604482015290519081900360640190fd5b600454600114801561371e575061371e86612352565b8015613747575060018201546801bc16d674ec80000090613745908363ffffffff6142c416565b105b156137835760405162461bcd60e51b81526004018080602001828103825260458152602001806147e96045913960600191505060405180910390fd5b600a82015460028401546000199091011461386057600a8201805460001981019081106137ac57fe5b9060005260206000200160009054906101000a90046001600160a01b031682600a018460020154815481106137dd57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600201546002600084600a0186600201548154811061382757fe5b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220938b168252929092529020600201555b81600a0180548061386d57fe5b600082815260209020810160001990810180546001600160a01b031916905501905560018201546138a4908263ffffffff6142c416565b6001808401919091554390840155600060028401556005546138cc908263ffffffff6142c416565b60055560018201546801bc16d674ec800000111561397a57815460ff60a01b1916600360a01b1782556138fe86614306565b600754604080516315ea278160e01b81526001600160a01b038981166004830152915191909216916315ea27819160248083019260209291908290030181600087803b15801561394d57600080fd5b505af1158015613961573d6000803e3d6000fd5b505050506040513d602081101561397757600080fd5b50505b856001600160a01b0316846001600160a01b03167f449002ae18e748d69a55f38514400d64f966492e593e32d6e9b8b24db98a0bc18342604051808381526020018281526020019250505060405180910390a350600195945050505050565b600082820183811015613a33576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60005b600454811015613a8957826001600160a01b031660048281548110613a6057fe5b6000918252602090912001546001600160a01b03161415613a815750611984565b600101613a3f565b5060045460151115613b1c57600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0384166001600160a01b031990911681179091556040805142815290517f1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a9181900360200190a2611984565b6000600160006004600081548110613b3057fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812060019081015492505b600454811015613bee57826001600060048481548110613b7957fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020600101541015613be6576001600060048381548110613bb857fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206001015492509050805b600101613b5d565b50818311613bfd575050611984565b6040805142815290516001600160a01b038616917f1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a919081900360200190a260048181548110613c4957fe5b600091825260209182902001546040805142815290516001600160a01b03909216927f7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed92918290030190a28360048281548110613ca257fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050565b60006001600160a01b038216600090815260016020526040902054600160a01b900460ff166004811115613d0657fe5b1480613d155750600354600110155b15613d1f57611a05565b6001600160a01b0381166000908152600160205260409020600701548015613db457613d4b8183613f5b565b600654613d5e908263ffffffff6139d916565b6006556001600160a01b038216600090815260016020526040902060080154613d8d908263ffffffff6139d916565b6001600160a01b038316600090815260016020526040812060088101929092556007909101555b6040805182815242602082015281516001600160a01b038516927fe294e9d73f8eee23e21b2e1567960625a6b5d339cb127b55d0d09473a9951235928290030190a25050565b60006001600160a01b038216600090815260016020526040902054600160a01b900460ff166004811115613e2a57fe5b1415613e3557611a05565b6001600160a01b0381166000908152600160205260409020805460ff60a01b1916600160a21b179055611a0581614306565b600080805b600354811015613f555760046001600060038481548110613e8957fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff600160a01b909104166004811115613ec457fe5b14158015613ef6575060038181548110613eda57fe5b6000918252602090912001546001600160a01b03858116911614155b15613f4d57613f446001600060038481548110613f0f57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154849063ffffffff6139d916565b92506001909101905b600101613e6c565b50915091565b81613f6557611984565b600080613f7183613e67565b909250905080613f82575050611984565b6000808361410e576000613f9c878563ffffffff61443c16565b9050613fbe613fb1828663ffffffff61447e16565b889063ffffffff6142c416565b925060005b60035481101561409d57600060038281548110613fdc57fe5b6000918252602090912001546001600160a01b0316905060046001600160a01b038216600090815260016020526040902054600160a01b900460ff16600481111561402357fe5b141580156140435750876001600160a01b0316816001600160a01b031614155b15614094576001600160a01b038116600090815260016020526040902060070154614074908463ffffffff6139d916565b6001600160a01b0382166000908152600160205260409020600701559250825b50600101613fc3565b506000831180156140b657506001600160a01b03821615155b15614104576001600160a01b0382166000908152600160205260409020600701546140e7908463ffffffff6139d916565b6001600160a01b0383166000908152600160205260409020600701555b5050505050611984565b6000805b6003548110156142425760006003828154811061412b57fe5b6000918252602090912001546001600160a01b0316905060046001600160a01b038216600090815260016020526040902054600160a01b900460ff16600481111561417257fe5b141580156141925750876001600160a01b0316816001600160a01b031614155b15614239576001600160a01b0381166000908152600160208190526040822001546141d69089906141ca908d9063ffffffff61447e16565b9063ffffffff61443c16565b90506141e8848263ffffffff6139d916565b6001600160a01b0383166000908152600160205260409020600701549295509350849161421b908263ffffffff6139d916565b6001600160a01b038316600090815260016020526040902060070155505b50600101614112565b50614253878263ffffffff6142c416565b925060008311801561426d57506001600160a01b03821615155b156142bb576001600160a01b03821660009081526001602052604090206007015461429e908463ffffffff6139d916565b6001600160a01b0383166000908152600160205260409020600701555b50505050505050565b6000613a3383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506144d7565b60005b6004548110801561431c57506004546001105b15611984576004818154811061432e57fe5b6000918252602090912001546001600160a01b0383811691161415614434576004546000190181146143c15760048054600019810190811061436c57fe5b600091825260209091200154600480546001600160a01b03909216918390811061439257fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b60048054806143cc57fe5b6000828152602090819020820160001990810180546001600160a01b03191690559091019091556040805142815290516001600160a01b038516927f7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed928290030190a2611984565b600101614309565b6000613a3383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061456e565b60008261448d57506000613a36565b8282028284828161449a57fe5b0414613a335760405162461bcd60e51b815260040180806020018281038252602181526020018061487d6021913960400191505060405180910390fd5b600081848411156145665760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561452b578181015183820152602001614513565b50505050905090810190601f1680156145585780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836145bd5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561452b578181015183820152602001614513565b5060008385816145c957fe5b0495945050505050565b828054828255906000526020600020908101928215614628579160200282015b8281111561462857825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906145f3565b506146349291506146fe565b5090565b60408051610100810190915260008082526020820190815260200160008152602001614662614722565b8152602001600081526020016000815260200160008152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106146c557805160ff19168380011785556146f2565b828001600101855582156146f2579182015b828111156146f25782518255916020019190600101906146d7565b50614634929150614751565b61240491905b808211156146345780546001600160a01b0319168155600101614704565b6040518060a0016040528060608152602001606081526020016060815260200160608152602001606081525090565b61240491905b80821115614634576000815560010161475756fe596f75206d757374207761697420656e6f75676820626c6f636b7320746f20776974686472617720796f75722070726f66697473206166746572206c6174657374207769746864726177206f6620746869732076616c696461746f72596f7572207374616b696e6720686176656e277420756e6c6f636b656420796574596f752063616e277420756e7374616b652c2076616c696461746f72206c6973742077696c6c20626520656d7074792061667465722074686973206f7065726174696f6e2143616e2774207374616b65207768656e20796f752061726520756e7374616b696e6743616e2774207374616b6520746f20612076616c696461746f7220696e2061626e6f726d616c20737461747573536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468652076616c696461746f7220796f752077616e7420746f207374616b65206d75737420626520617574686f72697a6564206669727374596f752061726520616c726561647920696e20756e7374616b696e6720737461747573596f7520617265206e6f742074686520666565207265636569766572206f6620746869732076616c696461746f72a26469706673582212208aa6d48a2de06a670224f303bda2fac3b306e533f05bcbf162f9f41f02457b2064736f6c63430006010033" 62 | }, 63 | "000000000000000000000000000000000000F001": { 64 | "balance": "0x0", 65 | "code": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063be645692116100a2578063db78dd2811610071578063db78dd281461022f578063e0d8ea5314610254578063ea7221a11461025c578063efd8d8e214610282578063f62af26c1461028a57610116565b8063be645692146101e3578063c967f90f146101eb578063cb1ea7251461020a578063d93d2cb91461021257610116565b80633a061bd3116100e95780633a061bd31461019b57806344c1aa99146101a35780636233be5d146101ab57806363e1d451146101b35780638129fc1c146101d957610116565b8063158ef93e1461011b5780631b5e358c146101375780632897183d1461015b57806332f3c17f14610175575b600080fd5b6101236102a7565b604080519115158252519081900360200190f35b61013f6102b0565b604080516001600160a01b039092168252519081900360200190f35b6101636102b6565b60408051918252519081900360200190f35b6101636004803603602081101561018b57600080fd5b50356001600160a01b03166102bc565b61013f6102d7565b6101636102dd565b61013f6102e3565b610123600480360360208110156101c957600080fd5b50356001600160a01b03166102e9565b6101e1610515565b005b610163610598565b6101f36105a5565b6040805161ffff9092168252519081900360200190f35b6101636105aa565b6101e16004803603602081101561022857600080fd5b50356105b0565b610237610853565b6040805167ffffffffffffffff9092168252519081900360200190f35b61016361085a565b6101e16004803603602081101561027257600080fd5b50356001600160a01b0316610860565b610237610b76565b61013f600480360360208110156102a057600080fd5b5035610b7c565b60005460ff1681565b61f00181565b60035481565b6001600160a01b031660009081526005602052604090205490565b61f00081565b60025481565b61f00281565b6000805460ff16610330576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b3361f00014610386576040805162461bcd60e51b815260206004820152601860248201527f56616c696461746f727320636f6e7472616374206f6e6c790000000000000000604482015290519081900360640190fd5b6001600160a01b038216600090815260056020526040902054156103be576001600160a01b0382166000908152600560205260408120555b6001600160a01b03821660009081526005602052604090206002015460ff1680156103ea575060065415155b1561050d576006546001600160a01b038316600090815260056020526040902060010154600019909101146104b4576006805460009190600019810190811061042f57fe5b60009182526020808320909101546001600160a01b038681168452600590925260409092206001015460068054929093169350839291811061046d57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790558583168252600590526040808220600190810154949093168252902001555b60068054806104bf57fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b038416825260059052604081206001810191909155600201805460ff191690555b506001919050565b60005460ff1615610563576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600480546001600160a01b03191661f0001790556018600181815560306002556003919091556000805460ff19169091179055565b6801bc16d674ec80000081565b601581565b60015481565b3341146105f1576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b4360009081526008602052604090205460ff161561064a576040805162461bcd60e51b8152602060048201526011602482015270105b1c9958591e48191958dc99585cd959607a1b604482015290519081900360640190fd5b60005460ff16610690576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b8080438161069a57fe5b06156106e0576040805162461bcd60e51b815260206004820152601060248201526f426c6f636b2065706f6368206f6e6c7960801b604482015290519081900360640190fd5b436000908152600860205260409020805460ff191660011790556006546107065761084f565b60005b600654811015610824576003546002548161072057fe5b04600560006006848154811061073257fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411156107e3576003546002548161076a57fe5b04600560006006848154811061077c57fe5b60009182526020808320909101546001600160a01b031683528201929092526040018120546006805493909103926005929190859081106107b957fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205561081c565b600060056000600684815481106107f657fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020555b600101610709565b506040517f181d51be54e8e8eaca6eae0eab32d4162099236bd519e7238d015d0870db464190600090a15b5050565b6201518081565b60065490565b3341146108a1576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b60005460ff166108e7576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b4360009081526007602052604090205460ff161561093f576040805162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c1d5b9a5cda195960821b604482015290519081900360640190fd5b436000908152600760209081526040808320805460ff191660011790556001600160a01b0384168352600590915290206002015460ff166109e857600680546001600160a01b038316600081815260056020526040812060018082018590558085019095557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f90930180546001600160a01b0319168317905552600201805460ff191690911790555b6001600160a01b03811660009081526005602052604090208054600101908190556002549081610a1457fe5b06610aa15760048054604080516340a141ff60e01b81526001600160a01b0385811694820194909452905192909116916340a141ff9160248082019260009290919082900301818387803b158015610a6b57600080fd5b505af1158015610a7f573d6000803e3d6000fd5b5050506001600160a01b03821660009081526005602052604081205550610b34565b6001546001600160a01b03821660009081526005602052604090205481610ac457fe5b06610b345760048054604080516305dd095960e41b81526001600160a01b038581169482019490945290519290911691635dd095909160248082019260009290919082900301818387803b158015610b1b57600080fd5b505af1158015610b2f573d6000803e3d6000fd5b505050505b6040805142815290516001600160a01b038316917f770e0cca42c35d00240986ce8d3ed438be04663c91dac6576b79537d7c180f1e919081900360200190a250565b61708081565b60068181548110610b8957fe5b6000918252602090912001546001600160a01b031690508156fea264697066735822122060d823e4e77419f5139811eeb88f06b779ebe34ed1c4a63f2d354e230517fc5c64736f6c63430006010033" 66 | }, 67 | "000000000000000000000000000000000000F002": { 68 | "balance": "0x0", 69 | "code": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806382c4b3b211610097578063c967f90f11610066578063c967f90f146103fc578063db78dd281461041b578063e823c81414610440578063efd8d8e21461044857610100565b806382c4b3b214610327578063a224cee71461034d578063a4c4d922146103bd578063be645692146103e257610100565b80631f4f7d29116100d35780631f4f7d29146101c157806332ed5b121461023f5780633a061bd3146103175780636233be5d1461031f57610100565b8063158ef93e1461010557806315ea2781146101215780631b5e358c146101475780631db5ade81461016b575b600080fd5b61010d610450565b604080519115158252519081900360200190f35b61010d6004803603602081101561013757600080fd5b50356001600160a01b0316610459565b61014f61050e565b604080516001600160a01b039092168252519081900360200190f35b6101976004803603604081101561018157600080fd5b506001600160a01b038135169060200135610514565b604080516001600160a01b0390941684526020840192909252151582820152519081900360600190f35b61010d600480360360408110156101d757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561020157600080fd5b82018360208201111561021357600080fd5b803590602001918460018302840111600160201b8311171561023457600080fd5b50909250905061054d565b61025c6004803603602081101561025557600080fd5b5035610827565b604080516001600160a01b03808a16825288166020808301919091526060820187905261ffff8087166080840152851660a083015283151560c083015260e0928201838152885193830193909352875191929161010084019189019080838360005b838110156102d65781810151838201526020016102be565b50505050905090810190601f1680156103035780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61014f610906565b61014f61090c565b61010d6004803603602081101561033d57600080fd5b50356001600160a01b0316610912565b6103bb6004803603602081101561036357600080fd5b810190602081018135600160201b81111561037d57600080fd5b82018360208201111561038f57600080fd5b803590602001918460208302840111600160201b831117156103b057600080fd5b509092509050610927565b005b61010d600480360360408110156103d357600080fd5b50803590602001351515610a72565b6103ea61118f565b60408051918252519081900360200190f35b61040461119c565b6040805161ffff9092168252519081900360200190f35b6104236111a1565b6040805167ffffffffffffffff9092168252519081900360200190f35b6103ea6111a8565b6104236111ae565b60005460ff1681565b60003361f000146104b1576040805162461bcd60e51b815260206004820152601860248201527f56616c696461746f727320636f6e7472616374206f6e6c790000000000000000604482015290519081900360640190fd5b6001600160a01b038216600081815260026020908152604091829020805460ff19169055815142815291517f4e0b191f7f5c32b1b5e3704b68874b1a3980147cae00be8ece271bfb5b92c07a9281900390910190a2506001919050565b61f00181565b60046020908152600092835260408084209091529082529020805460018201546002909201546001600160a01b03909116919060ff1683565b6001600160a01b03831660009081526002602052604081205460ff16156105a55760405162461bcd60e51b815260040180806020018281038252602981526020018061128d6029913960400191505060405180910390fd5b6000338585854260405160200180866001600160a01b03166001600160a01b031660601b8152601401856001600160a01b03166001600160a01b031660601b81526014018484808284379190910192835250506040805180830381526020928301909152805191012094505050610bb885111591506106609050576040805162461bcd60e51b815260206004820152601060248201526f44657461696c7320746f6f206c6f6e6760801b604482015290519081900360640190fd5b60008181526003602081905260409091200154156106c5576040805162461bcd60e51b815260206004820152601760248201527f50726f706f73616c20616c726561647920657869737473000000000000000000604482015290519081900360640190fd5b6106cd6111b4565b3381526001600160a01b03861660208083019190915260408051601f870183900483028101830190915285815290869086908190840183828082843760009201829052506040808701958652426060880152878252600360209081529120865181546001600160a01b039182166001600160a01b031991821617835583890151600184018054919093169116179055945180518796955061077794506002860193509101906111f1565b506060820151600382015560808201516004909101805460a084015160c09094015161ffff1990911661ffff9384161763ffff000019166201000093909416929092029290921764ff000000001916600160201b911515919091021790556040805142815290516001600160a01b03881691339185917fc10f2f4d53a0e342536c6af3cce9c6ee25c32dbb323521ce0e1d4494a3e362e8916020918190039190910190a450600195945050505050565b60036020908152600091825260409182902080546001808301546002808501805488516101009582161595909502600019011691909104601f81018790048702840187019097528683526001600160a01b03938416969390911694919290918301828280156108d75780601f106108ac576101008083540402835291602001916108d7565b820191906000526020600020905b8154815290600101906020018083116108ba57829003601f168201915b50505050600383015460049093015491929161ffff80821692506201000082041690600160201b900460ff1687565b61f00081565b61f00281565b60026020526000908152604090205460ff1681565b60005460ff1615610975576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b62093a80600155600580546001600160a01b03191661f00017905560005b81811015610a605760008383838181106109a957fe5b905060200201356001600160a01b03166001600160a01b03161415610a15576040805162461bcd60e51b815260206004820152601960248201527f496e76616c69642076616c696461746f72206164647265737300000000000000604482015290519081900360640190fd5b600160026000858585818110610a2757fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101610993565b50506000805460ff1916600117905550565b60055460408051631015428760e21b815233600482015290516000926001600160a01b0316916340550a1c916024808301926020929190829003018186803b158015610abd57600080fd5b505afa158015610ad1573d6000803e3d6000fd5b505050506040513d6020811015610ae757600080fd5b5051610b2b576040805162461bcd60e51b815260206004820152600e60248201526d56616c696461746f72206f6e6c7960901b604482015290519081900360640190fd5b60008381526003602081905260409091200154610b84576040805162461bcd60e51b8152602060048201526012602482015271141c9bdc1bdcd85b081b9bdd08195e1a5cdd60721b604482015290519081900360640190fd5b33600090815260046020908152604080832086845290915290206001015415610bde5760405162461bcd60e51b81526004018080602001828103825260238152602001806112b66023913960400191505060405180910390fd5b60015460008481526003602081905260409091200154014210610c3b576040805162461bcd60e51b815260206004820152601060248201526f141c9bdc1bdcd85b08195e1c1a5c995960821b604482015290519081900360640190fd5b336000818152600460209081526040808320878452825291829020426001820181905581546001600160a01b031916851782556002909101805460ff1916871515908117909155835190815291820152815186927f6c59bda68cac318717c60c7c9635a78a0f0613f9887cc18a7157f5745a86d14e928290030190a38115610ce9576000838152600360205260409020600401805461ffff8082166001011661ffff19909116179055610d1d565b60008381526003602052604090206004018054600161ffff62010000808404821692909201160263ffff0000199091161790555b6000838152600360209081526040808320600101546001600160a01b03168352600290915290205460ff1680610d6b5750600083815260036020526040902060040154600160201b900460ff165b15610d7857506001611189565b600554604080516313bce04b60e31b815290516002926001600160a01b031691639de70258916004808301926000929190829003018186803b158015610dbd57600080fd5b505afa158015610dd1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610dfa57600080fd5b8101908080516040519392919084600160201b821115610e1957600080fd5b908301906020820185811115610e2e57600080fd5b82518660208202830111600160201b82111715610e4a57600080fd5b82525081516020918201928201910280838360005b83811015610e77578181015183820152602001610e5f565b505050509050016040525050505181610e8c57fe5b60008581526003602052604090206004015491900460010161ffff90911610610fd4576000838152600360208181526040808420600181810180546001600160a01b03908116885260028652848820805460ff19169093179092558987529484526004918201805464ff000000001916600160201b1790556005549454835163415e9ec960e11b815290821692810192909252915193909116936382bd3d9293602480840194939192918390030190829087803b158015610f4c57600080fd5b505af1158015610f60573d6000803e3d6000fd5b505050506040513d6020811015610f7657600080fd5b505060008381526003602090815260409182902060010154825142815292516001600160a01b039091169286927fc9d96d61eb62031865c523ae107f3c22f5ed445af237636bcd88bea1705c70d592918290030190a3506001611189565b600554604080516313bce04b60e31b815290516002926001600160a01b031691639de70258916004808301926000929190829003018186803b15801561101957600080fd5b505afa15801561102d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561105657600080fd5b8101908080516040519392919084600160201b82111561107557600080fd5b90830190602082018581111561108a57600080fd5b82518660208202830111600160201b821117156110a657600080fd5b82525081516020918201928201910280838360005b838110156110d35781810151838201526020016110bb565b5050505090500160405250505051816110e857fe5b046001016003600085815260200190815260200160002060040160029054906101000a900461ffff1661ffff16106111855760008381526003602090815260409182902060048101805464ff000000001916600160201b17905560010154825142815292516001600160a01b039091169286927fec955d77e6e7d74e18b1c91977ef0f6fd5a6d02a28d1979686339fe69399782592918290030190a35b5060015b92915050565b6801bc16d674ec80000081565b601581565b6201518081565b60015481565b61708081565b6040805160e08101825260008082526020820181905260609282018390529181018290526080810182905260a0810182905260c081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061123257805160ff191683800117855561125f565b8280016001018555821561125f579182015b8281111561125f578251825591602001919060010190611244565b5061126b92915061126f565b5090565b61128991905b8082111561126b5760008155600101611275565b9056fe44737420616c7265616479207061737365642c20596f752063616e207374617274207374616b696e67596f752063616e277420766f746520666f7220612070726f706f73616c207477696365a2646970667358221220b5d3e92040a63e987684b1a28e58e27016be64891c0368ebe359a5ee243ba7db64736f6c63430006010033" 70 | } 71 | } 72 | } 73 | 74 | ``` 75 | - `congress` Consensus-related parameters. 76 | - `period` Block interval time. 77 | - `extraData` Use to set inital validators. Replace `8cc5a1a0802db41db826c2fcb72423744338dcb0` with your own address. If you want multiple validators, you can replace with stitching them together. 78 | - `alloc` `000000000000000000000000000000000000f000` `000000000000000000000000000000000000f001` `000000000000000000000000000000000000f002` are system contracts. If you wish to compile it yourself, you can configure `deployedBytecode` to the `code` field after compilation. 79 | 80 | ## Create genesis block 81 | After generating the `genesis.json` file, execute the following command to generate the genesis block. 82 | ``` 83 | geth init genesis.json 84 | ``` 85 | 86 | ## Multiple node 87 | Use the same `genesis.json` file for initializing the node. Then go to the node command line with the `geth attach` command. View the node information via `admin.nodeInfo`. Then add the node on other machines with `addmin.addPeer`. 88 | 89 | ## Using docker-compose to deploy a private-chain 90 | 91 | If you would like to use docker-compose to deploy and run a private-chain, then you can reference to . 92 | 93 | > Note: should first put the Linux-amd64 version of `geth` under the `multi` directory. -------------------------------------------------------------------------------- /docker/multi/miner/testnet.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": { 3 | "chainId": 6660002, 4 | "homesteadBlock": 0, 5 | "eip150Block": 0, 6 | "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", 7 | "eip155Block": 0, 8 | "eip158Block": 0, 9 | "byzantiumBlock": 0, 10 | "constantinopleBlock": 0, 11 | "petersburgBlock": 0, 12 | "istanbulBlock": 0, 13 | "muirGlacierBlock": 0, 14 | "congress": { 15 | "period": 5, 16 | "epoch": 200, 17 | "admin": "0x1aa397e02fb3abba1072b431e92b0f90fe60993c", 18 | "premint": "0x1aa397e02fb3abba1072b431e92b0f90fe60993c" 19 | } 20 | }, 21 | "nonce": "0x0", 22 | "timestamp": "0x5f714b2f", 23 | "extraData": "0x00000000000000000000000000000000000000000000000000000000000000001aa397e02fb3abba1072b431e92b0f90fe60993cb4675e493f17b84828e70f18fddce3c55ec67d6f192bbe6143d57fee4d0e6fd6ec55d9c83bd5d6c9c48bfe79065ddfd8d84d535f47c480bf38d568ce38e439a4abead544e0f11a323d4091f58f5431ad0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 24 | "gasLimit": "0x2625a00", 25 | "difficulty": "0x1", 26 | "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 27 | "coinbase": "0x0000000000000000000000000000000000000000", 28 | "alloc": { 29 | "1aa397e02fb3abba1072b431e92b0f90fe60993c": { 30 | "balance": "0x21e19e0c9bab2400000" 31 | }, 32 | "b4675e493f17b84828e70f18fddce3c55ec67d6f": { 33 | "balance": "0x21e19e0c9bab2400000" 34 | }, 35 | "192bbe6143d57fee4d0e6fd6ec55d9c83bd5d6c9": { 36 | "balance": "0x21e19e0c9bab2400000" 37 | }, 38 | "c48bfe79065ddfd8d84d535f47c480bf38d568ce": { 39 | "balance": "0x21e19e0c9bab2400000" 40 | }, 41 | "38e439a4abead544e0f11a323d4091f58f5431ad": { 42 | "balance": "0x21e19e0c9bab2400000" 43 | }, 44 | "6b0e5f1f7e0226866fc2d1ad471109b2f5515a32": { 45 | "balance": "0x21e19e0c9bab2400000" 46 | }, 47 | "0899c97c1245d88cfd6a33690a1b081e7b0478ff": { 48 | "balance": "0x200000000000000000000000000000000000000000000000000000000000000" 49 | }, 50 | "b835e3b08f488d345da066fd0d5c33f1f589050a": { 51 | "balance": "0x200000000000000000000000000000000000000000000000000000000000000" 52 | }, 53 | "c224979ebd7902a1e4760c7013ca828c8ff58f4f": { 54 | "balance": "0x200000000000000000000000000000000000000000000000000000000000000" 55 | }, 56 | "6bb08e9fc04c6a07a041831375ac8eac4fddc615": { 57 | "balance": "0x200000000000000000000000000000000000000000000000000000000000000" 58 | }, 59 | "53716cA2Da4C6c2a71C3eCC2Ec3a7643e3cf6375": { 60 | "balance": "0x21e19e0c9bab2400000" 61 | }, 62 | "E0390b9CEFa76080451E2e7c042e3a2f642ab021": { 63 | "balance": "0x21e19e0c9bab2400000" 64 | }, 65 | "13956B41e6Fb91df5b8f80d186F2a3A803e25b9c": { 66 | "balance": "0x21e19e0c9bab2400000" 67 | }, 68 | "15B0e5805d03ba9611BF9083c0D5349D362C491D": { 69 | "balance": "0x21e19e0c9bab2400000" 70 | }, 71 | "2ae1B94724b80cEEA3D51dD6aE2C8facd96D5970": { 72 | "balance": "0x21e19e0c9bab2400000" 73 | }, 74 | "AB6e5333F09AE7C30dF77b7Df796410C92d52448": { 75 | "balance": "0x21e19e0c9bab2400000" 76 | }, 77 | "BC2E5BfBBe1bfD3Ff2134Af4DD13241944483507": { 78 | "balance": "0x21e19e0c9bab2400000" 79 | }, 80 | "DD9808d9638EbD10e3f48872659cd888FB400aE9": { 81 | "balance": "0x21e19e0c9bab2400000" 82 | }, 83 | "24B66A47e6e1097C9fDe4DEd31b54c44E58a27B6": { 84 | "balance": "0x21e19e0c9bab2400000" 85 | }, 86 | "82C6a1D3Bbd77416d539706b0aFf2129F8Df0CeD": { 87 | "balance": "0x21e19e0c9bab2400000" 88 | }, 89 | "cCe7E694Dc7Aec09354A91C17DD937010030087f": { 90 | "balance": "0x21e19e0c9bab2400000" 91 | }, 92 | "f520f028378d50afc8fdDa60b54a9c94F12e8c38": { 93 | "balance": "0x21e19e0c9bab2400000" 94 | }, 95 | "B95a8dbB263EF5FBAF07d0577ec8738b0B35751E": { 96 | "balance": "0x21e19e0c9bab2400000" 97 | }, 98 | "000000000000000000000000000000000000f000": { 99 | "balance": "0x0", 100 | "code": "0x6080604052600436106101e25760003560e01c80638a11d7c911610102578063b6c8851911610095578063d6c0edad11610064578063d6c0edad14610e90578063db78dd2814610e98578063efd8d8e214610eca578063f2888dbb14610edf576101e2565b8063b6c8851914610b5c578063be64569214610e21578063c253c38414610e36578063c967f90f14610e64576101e2565b8063a224cee7116100d1578063a224cee7146106be578063a406fcb714610739578063a43569b314610904578063afeea11514610b47576101e2565b80638a11d7c9146105495780638b0e9f3f1461061157806398e3b626146106265780639de7025814610659576101e2565b806340a141ff1161017a5780636846992a116101495780636846992a146103e35780636969a25c146104935780637f4f95fa146104bd57806382bd3d9214610516576101e2565b806340a141ff1461033c5780634b3d500b146103715780635dd095901461039b5780636233be5d146103ce576101e2565b8063222d3b05116101b6578063222d3b051461029b57806326476204146102ce5780633a061bd3146102f457806340550a1c14610309576101e2565b8062362a77146101e75780631303f7cf1461022e578063158ef93e146102555780631b5e358c1461026a575b600080fd5b3480156101f357600080fd5b5061021a6004803603602081101561020a57600080fd5b50356001600160a01b0316610f12565b604080519115158252519081900360200190f35b34801561023a57600080fd5b5061024361117a565b60408051918252519081900360200190f35b34801561026157600080fd5b5061021a611180565b34801561027657600080fd5b5061027f611189565b604080516001600160a01b039092168252519081900360200190f35b3480156102a757600080fd5b5061021a600480360360208110156102be57600080fd5b50356001600160a01b031661118f565b61021a600480360360208110156102e457600080fd5b50356001600160a01b03166113b4565b34801561030057600080fd5b5061027f6117df565b34801561031557600080fd5b5061021a6004803603602081101561032c57600080fd5b50356001600160a01b03166117e5565b34801561034857600080fd5b5061036f6004803603602081101561035f57600080fd5b50356001600160a01b0316611840565b005b34801561037d57600080fd5b5061027f6004803603602081101561039457600080fd5b5035611988565b3480156103a757600080fd5b5061036f600480360360208110156103be57600080fd5b50356001600160a01b03166119af565b3480156103da57600080fd5b5061027f611a08565b3480156103ef57600080fd5b5061036f6004803603604081101561040657600080fd5b810190602081018135600160201b81111561042057600080fd5b82018360208201111561043257600080fd5b803590602001918460208302840111600160201b8311171561045357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250611a0e915050565b34801561049f57600080fd5b5061027f600480360360208110156104b657600080fd5b5035611c55565b3480156104c957600080fd5b506104f8600480360360408110156104e057600080fd5b506001600160a01b0381358116916020013516611c62565b60408051938452602084019290925282820152519081900360600190f35b34801561052257600080fd5b5061021a6004803603602081101561053957600080fd5b50356001600160a01b0316611c9f565b34801561055557600080fd5b5061057c6004803603602081101561056c57600080fd5b50356001600160a01b0316611f03565b6040516001600160a01b03881681526020810187600481111561059b57fe5b60ff16815260200186815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156105f75781810151838201526020016105df565b505050509050019850505050505050505060405180910390f35b34801561061d57600080fd5b5061024361234c565b34801561063257600080fd5b5061021a6004803603602081101561064957600080fd5b50356001600160a01b0316612352565b34801561066557600080fd5b5061066e6123a4565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156106aa578181015183820152602001610692565b505050509050019250505060405180910390f35b3480156106ca57600080fd5b5061036f600480360360208110156106e157600080fd5b810190602081018135600160201b8111156106fb57600080fd5b82018360208201111561070d57600080fd5b803590602001918460208302840111600160201b8311171561072e57600080fd5b509092509050612407565b34801561074557600080fd5b5061021a600480360360c081101561075c57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561078657600080fd5b82018360208201111561079857600080fd5b803590602001918460018302840111600160201b831117156107b957600080fd5b919390929091602081019035600160201b8111156107d657600080fd5b8201836020820111156107e857600080fd5b803590602001918460018302840111600160201b8311171561080957600080fd5b919390929091602081019035600160201b81111561082657600080fd5b82018360208201111561083857600080fd5b803590602001918460018302840111600160201b8311171561085957600080fd5b919390929091602081019035600160201b81111561087657600080fd5b82018360208201111561088857600080fd5b803590602001918460018302840111600160201b831117156108a957600080fd5b919390929091602081019035600160201b8111156108c657600080fd5b8201836020820111156108d857600080fd5b803590602001918460018302840111600160201b831117156108f957600080fd5b509092509050612768565b34801561091057600080fd5b506109376004803603602081101561092757600080fd5b50356001600160a01b0316612d74565b60405180806020018060200180602001806020018060200186810386528b818151815260200191508051906020019080838360005b8381101561098457818101518382015260200161096c565b50505050905090810190601f1680156109b15780820380516001836020036101000a031916815260200191505b5086810385528a5181528a516020918201918c019080838360005b838110156109e45781810151838201526020016109cc565b50505050905090810190601f168015610a115780820380516001836020036101000a031916815260200191505b5086810384528951815289516020918201918b019080838360005b83811015610a44578181015183820152602001610a2c565b50505050905090810190601f168015610a715780820380516001836020036101000a031916815260200191505b5086810383528851815288516020918201918a019080838360005b83811015610aa4578181015183820152602001610a8c565b50505050905090810190601f168015610ad15780820380516001836020036101000a031916815260200191505b50868103825287518152875160209182019189019080838360005b83811015610b04578181015183820152602001610aec565b50505050905090810190601f168015610b315780820380516001836020036101000a031916815260200191505b509a505050505050505050505060405180910390f35b348015610b5357600080fd5b5061066e6131a8565b348015610b6857600080fd5b5061021a600480360360a0811015610b7f57600080fd5b810190602081018135600160201b811115610b9957600080fd5b820183602082011115610bab57600080fd5b803590602001918460018302840111600160201b83111715610bcc57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610c1e57600080fd5b820183602082011115610c3057600080fd5b803590602001918460018302840111600160201b83111715610c5157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610ca357600080fd5b820183602082011115610cb557600080fd5b803590602001918460018302840111600160201b83111715610cd657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610d2857600080fd5b820183602082011115610d3a57600080fd5b803590602001918460018302840111600160201b83111715610d5b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b811115610dad57600080fd5b820183602082011115610dbf57600080fd5b803590602001918460018302840111600160201b83111715610de057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613208945050505050565b348015610e2d57600080fd5b506102436133ad565b348015610e4257600080fd5b50610e4b6133ba565b6040805192835260208301919091528051918290030190f35b348015610e7057600080fd5b50610e796133cf565b6040805161ffff9092168252519081900360200190f35b61036f6133d4565b348015610ea457600080fd5b50610ead613574565b6040805167ffffffffffffffff9092168252519081900360200190f35b348015610ed657600080fd5b50610ead61357b565b348015610eeb57600080fd5b5061021a60048036036020811015610f0257600080fd5b50356001600160a01b0316613581565b600033816001600160a01b038416600090815260016020526040902054600160a01b900460ff166004811115610f4457fe5b1415610f8d576040805162461bcd60e51b815260206004820152601360248201527215985b1a59185d1bdc881b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b6001600160a01b03838116600090815260016020526040902054811690821614610fe85760405162461bcd60e51b815260040180806020018281038252602e8152602001806148f9602e913960400191505060405180910390fd5b6001600160a01b0383166000908152600160205260409020600901544361708090910111156110485760405162461bcd60e51b815260040180806020018281038252605c81526020018061476c605c913960600191505060405180910390fd5b6001600160a01b038316600090815260016020526040902060070154806110b6576040805162461bcd60e51b815260206004820152601a60248201527f596f7520646f6e2774206861766520616e792070726f66697473000000000000604482015290519081900360640190fd5b6001600160a01b0384166000908152600160205260408120600781019190915543600990910155801561111b576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611119573d6000803e3d6000fd5b505b816001600160a01b0316846001600160a01b03167f51a69b4502f660774c9339825c7b5adbf0b8622289134647e29728ec5d9b3bb98342604051808381526020018281526020019250505060405180910390a36001925050505b919050565b60065481565b60005460ff1681565b61f00181565b3360008181526002602090815260408083206001600160a01b0386168452825280832060019092528220549192918390600160a01b900460ff1660048111156111d457fe5b141561121d576040805162461bcd60e51b81526020600482015260136024820152721d985b1a59185d1bdc881b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b6001810154611273576040805162461bcd60e51b815260206004820152601960248201527f596f75206861766520746f20756e7374616b6520666972737400000000000000604482015290519081900360640190fd5b436201518067ffffffffffffffff1682600101540111156112c55760405162461bcd60e51b81526004018080602001828103825260218152602001806147c86021913960400191505060405180910390fd5b8054611313576040805162461bcd60e51b8152602060048201526018602482015277596f7520646f6e2774206861766520616e79207374616b6560401b604482015290519081900360640190fd5b80546000808355600183018190556040516001600160a01b0385169183156108fc02918491818181858888f19350505050158015611355573d6000803e3d6000fd5b50846001600160a01b0316836001600160a01b03167fa70cd94070cd852339a76b32cf2d95a3c8f2a322269163d276071c1c149556198342604051808381526020018281526020019250505060405180910390a3506001949350505050565b6000805460ff166113fb576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b333460016001600160a01b038516600090815260016020526040902054600160a01b900460ff16600481111561142d57fe5b1480611466575060026001600160a01b038516600090815260016020526040902054600160a01b900460ff16600481111561146457fe5b145b6114a15760405162461bcd60e51b815260040180806020018281038252602d815260200180614850602d913960400191505060405180910390fd5b6007546040805163416259d960e11b81526001600160a01b038781166004830152915191909216916382c4b3b2916024808301926020929190829003018186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d602081101561151857600080fd5b50516115555760405162461bcd60e51b815260040180806020018281038252603881526020018061489e6038913960400191505060405180910390fd5b6001600160a01b03808316600090815260026020908152604080832093881683529290522060010154156115ba5760405162461bcd60e51b815260040180806020018281038252602281526020018061482e6022913960400191505060405180910390fd5b6001600160a01b0384166000908152600160208190526040909120908101546801bc16d674ec800000906115f4908463ffffffff6139d916565b1015611647576040805162461bcd60e51b815260206004820152601860248201527f5374616b696e6720636f696e73206e6f7420656e6f7567680000000000000000604482015290519081900360640190fd5b6001600160a01b038084166000908152600260209081526040808320938916835292905220546116c057600a810180546001600160a01b038086166000818152600260208181526040808420958d1684529481529382200184905560018401855593845292200180546001600160a01b03191690911790555b60018101546116d5908363ffffffff6139d916565b600182015560028154600160a01b900460ff1660048111156116f357fe5b1461170a57805460ff60a01b1916600160a11b1781555b611718858260010154613a3c565b6001600160a01b0380841660009081526002602090815260408083209389168352929052205461174e908363ffffffff6139d916565b6001600160a01b038085166000908152600260209081526040808320938a1683529290522055600554611787908363ffffffff6139d916565b6005556040805183815242602082015281516001600160a01b0380891693908716927fb9ba725934532316cffe10975da6eb25ad49c2d1c294d982c46c9f8d684ee075929081900390910190a3506001949350505050565b61f00081565b6000805b60035481101561183757826001600160a01b03166003828154811061180a57fe5b6000918252602090912001546001600160a01b0316141561182f576001915050611175565b6001016117e9565b50600092915050565b3361f0011461188d576040805162461bcd60e51b815260206004820152601460248201527350756e69736820636f6e7472616374206f6e6c7960601b604482015290519081900360640190fd5b6001600160a01b0381166000908152600160205260409020600701546118b282613cd6565b60045460011015611984576118c682613dfa565b600754604080516315ea278160e01b81526001600160a01b038581166004830152915191909216916315ea27819160248083019260209291908290030181600087803b15801561191557600080fd5b505af1158015611929573d6000803e3d6000fd5b505050506040513d602081101561193f57600080fd5b50506040805182815242602082015281516001600160a01b038516927fa26de7ab324eac08c596549f421e5c8741213d237d2e9a2c9c0ebde0a7a849fe928290030190a25b5050565b6004818154811061199557fe5b6000918252602090912001546001600160a01b0316905081565b3361f001146119fc576040805162461bcd60e51b815260206004820152601460248201527350756e69736820636f6e7472616374206f6e6c7960601b604482015290519081900360640190fd5b611a0581613cd6565b50565b61f00281565b334114611a4f576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b4360009081526009602090815260408083206001845290915290205460ff1615611ac0576040805162461bcd60e51b815260206004820152601a60248201527f56616c696461746f727320616c72656164792075706461746564000000000000604482015290519081900360640190fd5b60005460ff16611b06576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b80804381611b1057fe5b0615611b56576040805162461bcd60e51b815260206004820152601060248201526f426c6f636b2065706f6368206f6e6c7960801b604482015290519081900360640190fd5b43600090815260096020908152604080832060018085529252909120805460ff191690911790558251611bc7576040805162461bcd60e51b815260206004820152601460248201527356616c696461746f722073657420656d7074792160601b604482015290519081900360640190fd5b8251611bda9060039060208601906145d3565b507feacea8f3c22f06c0b18306bdb04d0a967255129e8ce0094debb0a0ff89d006b5836040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015611c3d578181015183820152602001611c25565b505050509050019250505060405180910390a1505050565b6003818154811061199557fe5b6001600160a01b03918216600090815260026020818152604080842094909516835292909252919091208054600182015491909201549192909190565b60003361f00214611cf0576040805162461bcd60e51b815260206004820152601660248201527550726f706f73616c20636f6e7472616374206f6e6c7960501b604482015290519081900360640190fd5b60005460ff16611d36576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b60036001600160a01b038316600090815260016020526040902054600160a01b900460ff166004811115611d6657fe5b14158015611da2575060046001600160a01b038316600090815260016020526040902054600160a01b900460ff166004811115611d9f57fe5b14155b15611daf57506001611175565b60046001600160a01b038316600090815260016020526040902054600160a01b900460ff166004811115611ddf57fe5b1415611ea057600854604080516363e1d45160e01b81526001600160a01b038581166004830152915191909216916363e1d4519160248083019260209291908290030181600087803b158015611e3457600080fd5b505af1158015611e48573d6000803e3d6000fd5b505050506040513d6020811015611e5e57600080fd5b5051611ea0576040805162461bcd60e51b815260206004820152600c60248201526b18db19585b8819985a5b195960a21b604482015290519081900360640190fd5b6001600160a01b038216600081815260016020908152604091829020805460ff60a01b1916600160a01b179055815142815291517fd8b2c426ec1be69ca7583d26b1e893946e3227430d3ebc3bd64d9e1c469cb4009281900390910190a2919050565b6000806000806000806060611f16614638565b6001600160a01b038981166000908152600160209081526040918290208251610100810190935280549384168352919290830190600160a01b900460ff166004811115611f5f57fe5b6004811115611f6a57fe5b815260200160018201548152602001600282016040518060a0016040529081600082018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120215780601f10611ff657610100808354040283529160200191612021565b820191906000526020600020905b81548152906001019060200180831161200457829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120c35780601f10612098576101008083540402835291602001916120c3565b820191906000526020600020905b8154815290600101906020018083116120a657829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f810183900483028501830190915280845293810193908301828280156121555780601f1061212a57610100808354040283529160200191612155565b820191906000526020600020905b81548152906001019060200180831161213857829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156121e95780601f106121be576101008083540402835291602001916121e9565b820191906000526020600020905b8154815290600101906020018083116121cc57829003601f168201915b505050918352505060048201805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815293820193929183018282801561227d5780601f106122525761010080835404028352916020019161227d565b820191906000526020600020905b81548152906001019060200180831161226057829003601f168201915b5050505050815250508152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561230157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116122e3575b505050505081525050905080600001518160200151826040015183608001518460a001518560c001518660e00151809050975097509750975097509750975050919395979092949650565b60055481565b6000805b60045481101561183757826001600160a01b03166004828154811061237757fe5b6000918252602090912001546001600160a01b0316141561239c576001915050611175565b600101612356565b606060038054806020026020016040519081016040528092919081815260200182805480156123fc57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116123de575b505050505090505b90565b60005460ff1615612455576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600780546001600160a01b031990811661f002179091556008805490911661f00117905560005b8181101561275657600083838381811061249257fe5b905060200201356001600160a01b03166001600160a01b031614156124fe576040805162461bcd60e51b815260206004820152601960248201527f496e76616c69642076616c696461746f72206164647265737300000000000000604482015290519081900360640190fd5b61252283838381811061250d57fe5b905060200201356001600160a01b03166117e5565b61257157600383838381811061253457fe5b835460018101855560009485526020948590200180546001600160a01b0319166001600160a01b0395909202939093013593909316929092179055505b61259583838381811061258057fe5b905060200201356001600160a01b0316612352565b6125e45760048383838181106125a757fe5b835460018101855560009485526020948590200180546001600160a01b0319166001600160a01b0395909202939093013593909316929092179055505b60006001818585858181106125f557fe5b6001600160a01b03602091820293909301358316845283019390935260409091016000205416919091141590506126aa5782828281811061263257fe5b905060200201356001600160a01b03166001600085858581811061265257fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002060000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6000600160008585858181106126bc57fe5b602090810292909201356001600160a01b031683525081019190915260400160002054600160a01b900460ff1660048111156126f457fe5b141561274e5760026001600085858581811061270c57fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff60a01b1916600160a01b83600481111561274857fe5b02179055505b60010161247c565b50506000805460ff1916600117905550565b6000805460ff166127af576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b6001600160a01b038c16612800576040805162461bcd60e51b8152602060048201526013602482015272496e76616c696420666565206164647265737360681b604482015290519081900360640190fd5b61290f8b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8f018190048102820181019092528d815292508d91508c908190840183828082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b908190840183828082843760009201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a908190840183828082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a915089908190840183828082843760009201919091525061320892505050565b612956576040805162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103232b9b1b934b83a34b7b760691b604482015290519081900360640190fd5b336000818152600160205260408120548190600160a01b900460ff16600481111561297d57fe5b1415612a7b576007546040805163416259d960e11b81526001600160a01b038581166004830152915191909216916382c4b3b2916024808301926020929190829003018186803b1580156129d057600080fd5b505afa1580156129e4573d6000803e3d6000fd5b505050506040513d60208110156129fa57600080fd5b5051612a4d576040805162461bcd60e51b815260206004820152601c60248201527f596f75206d75737420626520617574686f72697a656420666972737400000000604482015290519081900360640190fd5b506001600160a01b0381166000908152600160208190526040909120805460ff60a01b1916600160a01b1790555b6001600160a01b038281166000908152600160205260409020548116908f1614612aed578d60016000846001600160a01b03166001600160a01b0316815260200190815260200160002060000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6040518060a001604052808e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8f018190048102820181019092528d815291810191908e908e9081908401838280828437600092019190915250505090825250604080516020601f8d018190048102820181019092528b815291810191908c908c9081908401838280828437600092019190915250505090825250604080516020601f8b0181900481028201810190925289815291810191908a908a9081908401838280828437600092019190915250505090825250604080516020601f89018190048102820181019092528781529181019190889088908190840183828082843760009201829052509390945250506001600160a01b03851681526001602090815260409091208351805160029092019350612c4d928492910190614684565b506020828101518051612c669260018501920190614684565b5060408201518051612c82916002840191602090910190614684565b5060608201518051612c9e916003840191602090910190614684565b5060808201518051612cba916004840191602090910190614684565b509050508015612d14578d6001600160a01b0316826001600160a01b03167f887eec9d757b7247dd8e51198f9d1b8f27979bceb34bdcc1bffd4ec5ec736c22426040518082815260200191505060405180910390a3612d60565b8d6001600160a01b0316826001600160a01b03167fb8421f65501371f54d58de1937ff1e1ccdb76423ef6f84acea1814a0f6362ca0426040518082815260200191505060405180910390a35b5060019d9c50505050505050505050505050565b6060806060806060612d84614638565b6001600160a01b038781166000908152600160209081526040918290208251610100810190935280549384168352919290830190600160a01b900460ff166004811115612dcd57fe5b6004811115612dd857fe5b815260200160018201548152602001600282016040518060a0016040529081600082018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612e8f5780601f10612e6457610100808354040283529160200191612e8f565b820191906000526020600020905b815481529060010190602001808311612e7257829003601f168201915b50505050508152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612f315780601f10612f0657610100808354040283529160200191612f31565b820191906000526020600020905b815481529060010190602001808311612f1457829003601f168201915b5050509183525050600282810180546040805160206001841615610100026000190190931694909404601f81018390048302850183019091528084529381019390830182828015612fc35780601f10612f9857610100808354040283529160200191612fc3565b820191906000526020600020905b815481529060010190602001808311612fa657829003601f168201915b505050918352505060038201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156130575780601f1061302c57610100808354040283529160200191613057565b820191906000526020600020905b81548152906001019060200180831161303a57829003601f168201915b505050918352505060048201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156130eb5780601f106130c0576101008083540402835291602001916130eb565b820191906000526020600020905b8154815290600101906020018083116130ce57829003601f168201915b5050505050815250508152602001600782015481526020016008820154815260200160098201548152602001600a820180548060200260200160405190810160405280929190818152602001828054801561316f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613151575b5050509190925250505060609081015180516020820151604083015193830151608090930151919b909a50929850909650945092505050565b606060048054806020026020016040519081016040528092919081815260200182805480156123fc576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116123de575050505050905090565b600060468651111561325a576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840dadedcd2d6cae440d8cadccee8d60531b604482015290519081900360640190fd5b610bb8855111156132b2576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964206964656e74697479206c656e677468000000000000000000604482015290519081900360640190fd5b608c84511115613302576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840eecac4e6d2e8ca40d8cadccee8d60531b604482015290519081900360640190fd5b608c83511115613350576040805162461bcd60e51b8152602060048201526014602482015273092dcecc2d8d2c840cadac2d2d840d8cadccee8d60631b604482015290519081900360640190fd5b610118825111156133a1576040805162461bcd60e51b8152602060048201526016602482015275092dcecc2d8d2c840c8cae8c2d2d8e640d8cadccee8d60531b604482015290519081900360640190fd5b50600195945050505050565b6801bc16d674ec80000081565b6000806133c76000613e67565b915091509091565b601581565b334114613415576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b43600090815260096020908152604080832083805290915290205460ff1615613485576040805162461bcd60e51b815260206004820152601960248201527f426c6f636b20697320616c726561647920726577617264656400000000000000604482015290519081900360640190fd5b60005460ff166134cb576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b4360009081526009602090815260408083208380528252808320805460ff1916600190811790915533808552925282205490913491600160a01b900460ff16600481111561351557fe5b1415613522575050613572565b61352d816000613f5b565b6040805182815242602082015281516001600160a01b038516927f7dc4e5df59513708dca355b8706273a5df7b810a4cec8019f2a4b9bb166a1a04928290030190a250505b565b6201518081565b61708081565b6000805460ff166135c8576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b3360006001600160a01b038416600090815260016020526040902054600160a01b900460ff1660048111156135f957fe5b1415613642576040805162461bcd60e51b815260206004820152601360248201527215985b1a59185d1bdc881b9bdd08195e1a5cdd606a1b604482015290519081900360640190fd5b6001600160a01b038082166000908152600260209081526040808320938716835292815282822060019182905292909120825491830154909190156136b85760405162461bcd60e51b81526004018080602001828103825260238152602001806148d66023913960400191505060405180910390fd5b60008111613708576040805162461bcd60e51b8152602060048201526018602482015277596f7520646f6e2774206861766520616e79207374616b6560401b604482015290519081900360640190fd5b600454600114801561371e575061371e86612352565b8015613747575060018201546801bc16d674ec80000090613745908363ffffffff6142c416565b105b156137835760405162461bcd60e51b81526004018080602001828103825260458152602001806147e96045913960600191505060405180910390fd5b600a82015460028401546000199091011461386057600a8201805460001981019081106137ac57fe5b9060005260206000200160009054906101000a90046001600160a01b031682600a018460020154815481106137dd57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600201546002600084600a0186600201548154811061382757fe5b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220938b168252929092529020600201555b81600a0180548061386d57fe5b600082815260209020810160001990810180546001600160a01b031916905501905560018201546138a4908263ffffffff6142c416565b6001808401919091554390840155600060028401556005546138cc908263ffffffff6142c416565b60055560018201546801bc16d674ec800000111561397a57815460ff60a01b1916600360a01b1782556138fe86614306565b600754604080516315ea278160e01b81526001600160a01b038981166004830152915191909216916315ea27819160248083019260209291908290030181600087803b15801561394d57600080fd5b505af1158015613961573d6000803e3d6000fd5b505050506040513d602081101561397757600080fd5b50505b856001600160a01b0316846001600160a01b03167f449002ae18e748d69a55f38514400d64f966492e593e32d6e9b8b24db98a0bc18342604051808381526020018281526020019250505060405180910390a350600195945050505050565b600082820183811015613a33576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60005b600454811015613a8957826001600160a01b031660048281548110613a6057fe5b6000918252602090912001546001600160a01b03161415613a815750611984565b600101613a3f565b5060045460151115613b1c57600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0384166001600160a01b031990911681179091556040805142815290517f1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a9181900360200190a2611984565b6000600160006004600081548110613b3057fe5b60009182526020808320909101546001600160a01b03168352820192909252604001812060019081015492505b600454811015613bee57826001600060048481548110613b7957fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020600101541015613be6576001600060048381548110613bb857fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190206001015492509050805b600101613b5d565b50818311613bfd575050611984565b6040805142815290516001600160a01b038616917f1e3310ad6891b30e03874ec3d1422a6386c5da63d9faf595f5d99eeaf443b99a919081900360200190a260048181548110613c4957fe5b600091825260209182902001546040805142815290516001600160a01b03909216927f7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed92918290030190a28360048281548110613ca257fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050565b60006001600160a01b038216600090815260016020526040902054600160a01b900460ff166004811115613d0657fe5b1480613d155750600354600110155b15613d1f57611a05565b6001600160a01b0381166000908152600160205260409020600701548015613db457613d4b8183613f5b565b600654613d5e908263ffffffff6139d916565b6006556001600160a01b038216600090815260016020526040902060080154613d8d908263ffffffff6139d916565b6001600160a01b038316600090815260016020526040812060088101929092556007909101555b6040805182815242602082015281516001600160a01b038516927fe294e9d73f8eee23e21b2e1567960625a6b5d339cb127b55d0d09473a9951235928290030190a25050565b60006001600160a01b038216600090815260016020526040902054600160a01b900460ff166004811115613e2a57fe5b1415613e3557611a05565b6001600160a01b0381166000908152600160205260409020805460ff60a01b1916600160a21b179055611a0581614306565b600080805b600354811015613f555760046001600060038481548110613e8957fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff600160a01b909104166004811115613ec457fe5b14158015613ef6575060038181548110613eda57fe5b6000918252602090912001546001600160a01b03858116911614155b15613f4d57613f446001600060038481548110613f0f57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902060010154849063ffffffff6139d916565b92506001909101905b600101613e6c565b50915091565b81613f6557611984565b600080613f7183613e67565b909250905080613f82575050611984565b6000808361410e576000613f9c878563ffffffff61443c16565b9050613fbe613fb1828663ffffffff61447e16565b889063ffffffff6142c416565b925060005b60035481101561409d57600060038281548110613fdc57fe5b6000918252602090912001546001600160a01b0316905060046001600160a01b038216600090815260016020526040902054600160a01b900460ff16600481111561402357fe5b141580156140435750876001600160a01b0316816001600160a01b031614155b15614094576001600160a01b038116600090815260016020526040902060070154614074908463ffffffff6139d916565b6001600160a01b0382166000908152600160205260409020600701559250825b50600101613fc3565b506000831180156140b657506001600160a01b03821615155b15614104576001600160a01b0382166000908152600160205260409020600701546140e7908463ffffffff6139d916565b6001600160a01b0383166000908152600160205260409020600701555b5050505050611984565b6000805b6003548110156142425760006003828154811061412b57fe5b6000918252602090912001546001600160a01b0316905060046001600160a01b038216600090815260016020526040902054600160a01b900460ff16600481111561417257fe5b141580156141925750876001600160a01b0316816001600160a01b031614155b15614239576001600160a01b0381166000908152600160208190526040822001546141d69089906141ca908d9063ffffffff61447e16565b9063ffffffff61443c16565b90506141e8848263ffffffff6139d916565b6001600160a01b0383166000908152600160205260409020600701549295509350849161421b908263ffffffff6139d916565b6001600160a01b038316600090815260016020526040902060070155505b50600101614112565b50614253878263ffffffff6142c416565b925060008311801561426d57506001600160a01b03821615155b156142bb576001600160a01b03821660009081526001602052604090206007015461429e908463ffffffff6139d916565b6001600160a01b0383166000908152600160205260409020600701555b50505050505050565b6000613a3383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506144d7565b60005b6004548110801561431c57506004546001105b15611984576004818154811061432e57fe5b6000918252602090912001546001600160a01b0383811691161415614434576004546000190181146143c15760048054600019810190811061436c57fe5b600091825260209091200154600480546001600160a01b03909216918390811061439257fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b60048054806143cc57fe5b6000828152602090819020820160001990810180546001600160a01b03191690559091019091556040805142815290516001600160a01b038516927f7521e44559c870c316e84e60bc4785d9c034a8ab1d6acdce8134ac03f946c6ed928290030190a2611984565b600101614309565b6000613a3383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061456e565b60008261448d57506000613a36565b8282028284828161449a57fe5b0414613a335760405162461bcd60e51b815260040180806020018281038252602181526020018061487d6021913960400191505060405180910390fd5b600081848411156145665760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561452b578181015183820152602001614513565b50505050905090810190601f1680156145585780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836145bd5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561452b578181015183820152602001614513565b5060008385816145c957fe5b0495945050505050565b828054828255906000526020600020908101928215614628579160200282015b8281111561462857825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906145f3565b506146349291506146fe565b5090565b60408051610100810190915260008082526020820190815260200160008152602001614662614722565b8152602001600081526020016000815260200160008152602001606081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106146c557805160ff19168380011785556146f2565b828001600101855582156146f2579182015b828111156146f25782518255916020019190600101906146d7565b50614634929150614751565b61240491905b808211156146345780546001600160a01b0319168155600101614704565b6040518060a0016040528060608152602001606081526020016060815260200160608152602001606081525090565b61240491905b80821115614634576000815560010161475756fe596f75206d757374207761697420656e6f75676820626c6f636b7320746f20776974686472617720796f75722070726f66697473206166746572206c6174657374207769746864726177206f6620746869732076616c696461746f72596f7572207374616b696e6720686176656e277420756e6c6f636b656420796574596f752063616e277420756e7374616b652c2076616c696461746f72206c6973742077696c6c20626520656d7074792061667465722074686973206f7065726174696f6e2143616e2774207374616b65207768656e20796f752061726520756e7374616b696e6743616e2774207374616b6520746f20612076616c696461746f7220696e2061626e6f726d616c20737461747573536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468652076616c696461746f7220796f752077616e7420746f207374616b65206d75737420626520617574686f72697a6564206669727374596f752061726520616c726561647920696e20756e7374616b696e6720737461747573596f7520617265206e6f742074686520666565207265636569766572206f6620746869732076616c696461746f72a26469706673582212208aa6d48a2de06a670224f303bda2fac3b306e533f05bcbf162f9f41f02457b2064736f6c63430006010033" 101 | }, 102 | "000000000000000000000000000000000000F001": { 103 | "balance": "0x0", 104 | "code": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063be645692116100a2578063db78dd2811610071578063db78dd281461022f578063e0d8ea5314610254578063ea7221a11461025c578063efd8d8e214610282578063f62af26c1461028a57610116565b8063be645692146101e3578063c967f90f146101eb578063cb1ea7251461020a578063d93d2cb91461021257610116565b80633a061bd3116100e95780633a061bd31461019b57806344c1aa99146101a35780636233be5d146101ab57806363e1d451146101b35780638129fc1c146101d957610116565b8063158ef93e1461011b5780631b5e358c146101375780632897183d1461015b57806332f3c17f14610175575b600080fd5b6101236102a7565b604080519115158252519081900360200190f35b61013f6102b0565b604080516001600160a01b039092168252519081900360200190f35b6101636102b6565b60408051918252519081900360200190f35b6101636004803603602081101561018b57600080fd5b50356001600160a01b03166102bc565b61013f6102d7565b6101636102dd565b61013f6102e3565b610123600480360360208110156101c957600080fd5b50356001600160a01b03166102e9565b6101e1610515565b005b610163610598565b6101f36105a5565b6040805161ffff9092168252519081900360200190f35b6101636105aa565b6101e16004803603602081101561022857600080fd5b50356105b0565b610237610853565b6040805167ffffffffffffffff9092168252519081900360200190f35b61016361085a565b6101e16004803603602081101561027257600080fd5b50356001600160a01b0316610860565b610237610b76565b61013f600480360360208110156102a057600080fd5b5035610b7c565b60005460ff1681565b61f00181565b60035481565b6001600160a01b031660009081526005602052604090205490565b61f00081565b60025481565b61f00281565b6000805460ff16610330576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b3361f00014610386576040805162461bcd60e51b815260206004820152601860248201527f56616c696461746f727320636f6e7472616374206f6e6c790000000000000000604482015290519081900360640190fd5b6001600160a01b038216600090815260056020526040902054156103be576001600160a01b0382166000908152600560205260408120555b6001600160a01b03821660009081526005602052604090206002015460ff1680156103ea575060065415155b1561050d576006546001600160a01b038316600090815260056020526040902060010154600019909101146104b4576006805460009190600019810190811061042f57fe5b60009182526020808320909101546001600160a01b038681168452600590925260409092206001015460068054929093169350839291811061046d57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790558583168252600590526040808220600190810154949093168252902001555b60068054806104bf57fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b038416825260059052604081206001810191909155600201805460ff191690555b506001919050565b60005460ff1615610563576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b600480546001600160a01b03191661f0001790556018600181815560306002556003919091556000805460ff19169091179055565b6801bc16d674ec80000081565b601581565b60015481565b3341146105f1576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b4360009081526008602052604090205460ff161561064a576040805162461bcd60e51b8152602060048201526011602482015270105b1c9958591e48191958dc99585cd959607a1b604482015290519081900360640190fd5b60005460ff16610690576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b8080438161069a57fe5b06156106e0576040805162461bcd60e51b815260206004820152601060248201526f426c6f636b2065706f6368206f6e6c7960801b604482015290519081900360640190fd5b436000908152600860205260409020805460ff191660011790556006546107065761084f565b60005b600654811015610824576003546002548161072057fe5b04600560006006848154811061073257fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411156107e3576003546002548161076a57fe5b04600560006006848154811061077c57fe5b60009182526020808320909101546001600160a01b031683528201929092526040018120546006805493909103926005929190859081106107b957fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205561081c565b600060056000600684815481106107f657fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020555b600101610709565b506040517f181d51be54e8e8eaca6eae0eab32d4162099236bd519e7238d015d0870db464190600090a15b5050565b6201518081565b60065490565b3341146108a1576040805162461bcd60e51b815260206004820152600a6024820152694d696e6572206f6e6c7960b01b604482015290519081900360640190fd5b60005460ff166108e7576040805162461bcd60e51b815260206004820152600c60248201526b139bdd081a5b9a5d081e595d60a21b604482015290519081900360640190fd5b4360009081526007602052604090205460ff161561093f576040805162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c1d5b9a5cda195960821b604482015290519081900360640190fd5b436000908152600760209081526040808320805460ff191660011790556001600160a01b0384168352600590915290206002015460ff166109e857600680546001600160a01b038316600081815260056020526040812060018082018590558085019095557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f90930180546001600160a01b0319168317905552600201805460ff191690911790555b6001600160a01b03811660009081526005602052604090208054600101908190556002549081610a1457fe5b06610aa15760048054604080516340a141ff60e01b81526001600160a01b0385811694820194909452905192909116916340a141ff9160248082019260009290919082900301818387803b158015610a6b57600080fd5b505af1158015610a7f573d6000803e3d6000fd5b5050506001600160a01b03821660009081526005602052604081205550610b34565b6001546001600160a01b03821660009081526005602052604090205481610ac457fe5b06610b345760048054604080516305dd095960e41b81526001600160a01b038581169482019490945290519290911691635dd095909160248082019260009290919082900301818387803b158015610b1b57600080fd5b505af1158015610b2f573d6000803e3d6000fd5b505050505b6040805142815290516001600160a01b038316917f770e0cca42c35d00240986ce8d3ed438be04663c91dac6576b79537d7c180f1e919081900360200190a250565b61708081565b60068181548110610b8957fe5b6000918252602090912001546001600160a01b031690508156fea264697066735822122060d823e4e77419f5139811eeb88f06b779ebe34ed1c4a63f2d354e230517fc5c64736f6c63430006010033" 105 | }, 106 | "000000000000000000000000000000000000F002": { 107 | "balance": "0x0", 108 | "code": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806382c4b3b211610097578063c967f90f11610066578063c967f90f146103fc578063db78dd281461041b578063e823c81414610440578063efd8d8e21461044857610100565b806382c4b3b214610327578063a224cee71461034d578063a4c4d922146103bd578063be645692146103e257610100565b80631f4f7d29116100d35780631f4f7d29146101c157806332ed5b121461023f5780633a061bd3146103175780636233be5d1461031f57610100565b8063158ef93e1461010557806315ea2781146101215780631b5e358c146101475780631db5ade81461016b575b600080fd5b61010d610450565b604080519115158252519081900360200190f35b61010d6004803603602081101561013757600080fd5b50356001600160a01b0316610459565b61014f61050e565b604080516001600160a01b039092168252519081900360200190f35b6101976004803603604081101561018157600080fd5b506001600160a01b038135169060200135610514565b604080516001600160a01b0390941684526020840192909252151582820152519081900360600190f35b61010d600480360360408110156101d757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561020157600080fd5b82018360208201111561021357600080fd5b803590602001918460018302840111600160201b8311171561023457600080fd5b50909250905061054d565b61025c6004803603602081101561025557600080fd5b5035610827565b604080516001600160a01b03808a16825288166020808301919091526060820187905261ffff8087166080840152851660a083015283151560c083015260e0928201838152885193830193909352875191929161010084019189019080838360005b838110156102d65781810151838201526020016102be565b50505050905090810190601f1680156103035780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61014f610906565b61014f61090c565b61010d6004803603602081101561033d57600080fd5b50356001600160a01b0316610912565b6103bb6004803603602081101561036357600080fd5b810190602081018135600160201b81111561037d57600080fd5b82018360208201111561038f57600080fd5b803590602001918460208302840111600160201b831117156103b057600080fd5b509092509050610927565b005b61010d600480360360408110156103d357600080fd5b50803590602001351515610a72565b6103ea61118f565b60408051918252519081900360200190f35b61040461119c565b6040805161ffff9092168252519081900360200190f35b6104236111a1565b6040805167ffffffffffffffff9092168252519081900360200190f35b6103ea6111a8565b6104236111ae565b60005460ff1681565b60003361f000146104b1576040805162461bcd60e51b815260206004820152601860248201527f56616c696461746f727320636f6e7472616374206f6e6c790000000000000000604482015290519081900360640190fd5b6001600160a01b038216600081815260026020908152604091829020805460ff19169055815142815291517f4e0b191f7f5c32b1b5e3704b68874b1a3980147cae00be8ece271bfb5b92c07a9281900390910190a2506001919050565b61f00181565b60046020908152600092835260408084209091529082529020805460018201546002909201546001600160a01b03909116919060ff1683565b6001600160a01b03831660009081526002602052604081205460ff16156105a55760405162461bcd60e51b815260040180806020018281038252602981526020018061128d6029913960400191505060405180910390fd5b6000338585854260405160200180866001600160a01b03166001600160a01b031660601b8152601401856001600160a01b03166001600160a01b031660601b81526014018484808284379190910192835250506040805180830381526020928301909152805191012094505050610bb885111591506106609050576040805162461bcd60e51b815260206004820152601060248201526f44657461696c7320746f6f206c6f6e6760801b604482015290519081900360640190fd5b60008181526003602081905260409091200154156106c5576040805162461bcd60e51b815260206004820152601760248201527f50726f706f73616c20616c726561647920657869737473000000000000000000604482015290519081900360640190fd5b6106cd6111b4565b3381526001600160a01b03861660208083019190915260408051601f870183900483028101830190915285815290869086908190840183828082843760009201829052506040808701958652426060880152878252600360209081529120865181546001600160a01b039182166001600160a01b031991821617835583890151600184018054919093169116179055945180518796955061077794506002860193509101906111f1565b506060820151600382015560808201516004909101805460a084015160c09094015161ffff1990911661ffff9384161763ffff000019166201000093909416929092029290921764ff000000001916600160201b911515919091021790556040805142815290516001600160a01b03881691339185917fc10f2f4d53a0e342536c6af3cce9c6ee25c32dbb323521ce0e1d4494a3e362e8916020918190039190910190a450600195945050505050565b60036020908152600091825260409182902080546001808301546002808501805488516101009582161595909502600019011691909104601f81018790048702840187019097528683526001600160a01b03938416969390911694919290918301828280156108d75780601f106108ac576101008083540402835291602001916108d7565b820191906000526020600020905b8154815290600101906020018083116108ba57829003601f168201915b50505050600383015460049093015491929161ffff80821692506201000082041690600160201b900460ff1687565b61f00081565b61f00281565b60026020526000908152604090205460ff1681565b60005460ff1615610975576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b62093a80600155600580546001600160a01b03191661f00017905560005b81811015610a605760008383838181106109a957fe5b905060200201356001600160a01b03166001600160a01b03161415610a15576040805162461bcd60e51b815260206004820152601960248201527f496e76616c69642076616c696461746f72206164647265737300000000000000604482015290519081900360640190fd5b600160026000858585818110610a2757fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101610993565b50506000805460ff1916600117905550565b60055460408051631015428760e21b815233600482015290516000926001600160a01b0316916340550a1c916024808301926020929190829003018186803b158015610abd57600080fd5b505afa158015610ad1573d6000803e3d6000fd5b505050506040513d6020811015610ae757600080fd5b5051610b2b576040805162461bcd60e51b815260206004820152600e60248201526d56616c696461746f72206f6e6c7960901b604482015290519081900360640190fd5b60008381526003602081905260409091200154610b84576040805162461bcd60e51b8152602060048201526012602482015271141c9bdc1bdcd85b081b9bdd08195e1a5cdd60721b604482015290519081900360640190fd5b33600090815260046020908152604080832086845290915290206001015415610bde5760405162461bcd60e51b81526004018080602001828103825260238152602001806112b66023913960400191505060405180910390fd5b60015460008481526003602081905260409091200154014210610c3b576040805162461bcd60e51b815260206004820152601060248201526f141c9bdc1bdcd85b08195e1c1a5c995960821b604482015290519081900360640190fd5b336000818152600460209081526040808320878452825291829020426001820181905581546001600160a01b031916851782556002909101805460ff1916871515908117909155835190815291820152815186927f6c59bda68cac318717c60c7c9635a78a0f0613f9887cc18a7157f5745a86d14e928290030190a38115610ce9576000838152600360205260409020600401805461ffff8082166001011661ffff19909116179055610d1d565b60008381526003602052604090206004018054600161ffff62010000808404821692909201160263ffff0000199091161790555b6000838152600360209081526040808320600101546001600160a01b03168352600290915290205460ff1680610d6b5750600083815260036020526040902060040154600160201b900460ff165b15610d7857506001611189565b600554604080516313bce04b60e31b815290516002926001600160a01b031691639de70258916004808301926000929190829003018186803b158015610dbd57600080fd5b505afa158015610dd1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610dfa57600080fd5b8101908080516040519392919084600160201b821115610e1957600080fd5b908301906020820185811115610e2e57600080fd5b82518660208202830111600160201b82111715610e4a57600080fd5b82525081516020918201928201910280838360005b83811015610e77578181015183820152602001610e5f565b505050509050016040525050505181610e8c57fe5b60008581526003602052604090206004015491900460010161ffff90911610610fd4576000838152600360208181526040808420600181810180546001600160a01b03908116885260028652848820805460ff19169093179092558987529484526004918201805464ff000000001916600160201b1790556005549454835163415e9ec960e11b815290821692810192909252915193909116936382bd3d9293602480840194939192918390030190829087803b158015610f4c57600080fd5b505af1158015610f60573d6000803e3d6000fd5b505050506040513d6020811015610f7657600080fd5b505060008381526003602090815260409182902060010154825142815292516001600160a01b039091169286927fc9d96d61eb62031865c523ae107f3c22f5ed445af237636bcd88bea1705c70d592918290030190a3506001611189565b600554604080516313bce04b60e31b815290516002926001600160a01b031691639de70258916004808301926000929190829003018186803b15801561101957600080fd5b505afa15801561102d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561105657600080fd5b8101908080516040519392919084600160201b82111561107557600080fd5b90830190602082018581111561108a57600080fd5b82518660208202830111600160201b821117156110a657600080fd5b82525081516020918201928201910280838360005b838110156110d35781810151838201526020016110bb565b5050505090500160405250505051816110e857fe5b046001016003600085815260200190815260200160002060040160029054906101000a900461ffff1661ffff16106111855760008381526003602090815260409182902060048101805464ff000000001916600160201b17905560010154825142815292516001600160a01b039091169286927fec955d77e6e7d74e18b1c91977ef0f6fd5a6d02a28d1979686339fe69399782592918290030190a35b5060015b92915050565b6801bc16d674ec80000081565b601581565b6201518081565b60015481565b61708081565b6040805160e08101825260008082526020820181905260609282018390529181018290526080810182905260a0810182905260c081019190915290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061123257805160ff191683800117855561125f565b8280016001018555821561125f579182015b8281111561125f578251825591602001919060010190611244565b5061126b92915061126f565b5090565b61128991905b8082111561126b5760008155600101611275565b9056fe44737420616c7265616479207061737365642c20596f752063616e207374617274207374616b696e67596f752063616e277420766f746520666f7220612070726f706f73616c207477696365a2646970667358221220b5d3e92040a63e987684b1a28e58e27016be64891c0368ebe359a5ee243ba7db64736f6c63430006010033" 109 | }, 110 | "000000000000000000000000000000000000F003": { 111 | "balance": "0x0", 112 | "code": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80638fb8a1b4116100de578063be64569211610097578063db78dd2811610071578063db78dd2814610464578063dd62ed3e1461046c578063e4b89d3c1461049a578063efd8d8e2146104645761018e565b8063be64569214610415578063c4d66de81461041d578063c967f90f146104455761018e565b80638fb8a1b41461039d57806395d89b41146103a5578063997458b5146103ad578063a457c2d7146103b5578063a4d66daf146103e1578063a9059cbb146103e95761018e565b806323b872dd1161014b5780633a061bd3116101255780633a061bd31461033b57806340c10f19146103435780636233be5d1461036f57806370a08231146103775761018e565b806323b872dd146102bb578063313ce567146102f1578063395093511461030f5761018e565b80630631bd171461019357806306fdde03146101b8578063095ea7b314610235578063158ef93e1461027557806318160ddd1461027d5780631b5e358c14610297575b600080fd5b61019b6104a2565b6040805167ffffffffffffffff9092168252519081900360200190f35b6101c06104a7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fa5781810151838201526020016101e2565b50505050905090810190601f1680156102275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102616004803603604081101561024b57600080fd5b506001600160a01b03813516906020013561053e565b604080519115158252519081900360200190f35b61026161055c565b61028561056a565b60408051918252519081900360200190f35b61029f610570565b604080516001600160a01b039092168252519081900360200190f35b610261600480360360608110156102d157600080fd5b506001600160a01b03813581169160208101359091169060400135610576565b6102f9610603565b6040805160ff9092168252519081900360200190f35b6102616004803603604081101561032557600080fd5b506001600160a01b03813516906020013561060c565b61029f610660565b6102856004803603604081101561035957600080fd5b506001600160a01b038135169060200135610666565b61029f610750565b6102856004803603602081101561038d57600080fd5b50356001600160a01b0316610756565b61029f610771565b6101c0610777565b6102616107d8565b610261600480360360408110156103cb57600080fd5b506001600160a01b0381351690602001356107e7565b610285610855565b610261600480360360408110156103ff57600080fd5b506001600160a01b038135169060200135610864565b610285610878565b6104436004803603602081101561043357600080fd5b50356001600160a01b0316610885565b005b61044d610993565b6040805161ffff9092168252519081900360200190f35b61019b610998565b6102856004803603604081101561048257600080fd5b506001600160a01b038135811691602001351661099d565b61019b6109c8565b60c881565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b505050505090505b90565b600061055261054b6109ce565b84846109d2565b5060015b92915050565b600554610100900460ff1681565b60025490565b61f00181565b6000610583848484610abe565b6105f98461058f6109ce565b6105f485604051806060016040528060288152602001610f96602891396001600160a01b038a166000908152600160205260408120906105cd6109ce565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610c2516565b6109d2565b5060019392505050565b60055460ff1690565b60006105526106196109ce565b846105f4856001600061062a6109ce565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610cbc16565b61f00081565b60003361f000146106be576040805162461bcd60e51b815260206004820152601860248201527f56616c696461746f727320636f6e7472616374206f6e6c790000000000000000604482015290519081900360640190fd5b60055462010000900460ff16156106d757506000610556565b816a52b7d2dcc80cd2e40000006106fc6106ef61056a565b839063ffffffff610cbc16565b11156107395761072561070d61056a565b6a52b7d2dcc80cd2e40000009063ffffffff610d1616565b6005805462ff000019166201000017905590505b8015610749576107498484610d58565b9392505050565b61f00281565b6001600160a01b031660009081526020819052604090205490565b61f00381565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105335780601f1061050857610100808354040283529160200191610533565b60055462010000900460ff1681565b60006105526107f46109ce565b846105f485604051806060016040528060258152602001611007602591396001600061081e6109ce565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610c2516565b6a52b7d2dcc80cd2e400000081565b60006105526108716109ce565b8484610abe565b6801bc16d674ec80000081565b600554610100900460ff16156108d8576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b6109206040518060400160405280600a8152602001692429a1aa102a37b5b2b760b11b815250604051806040016040528060048152602001631214d0d560e21b815250610e54565b6001600160a01b03811661097b576040805162461bcd60e51b815260206004820152601760248201527f496e76616c6964207072656d696e742061646472657373000000000000000000604482015290519081900360640190fd5b610990816a14adf4b7320334b9000000610d58565b50565b601581565b606481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61012c81565b3390565b6001600160a01b038316610a175760405162461bcd60e51b8152600401808060200182810382526024815260200180610fe36024913960400191505060405180910390fd5b6001600160a01b038216610a5c5760405162461bcd60e51b8152600401808060200182810382526022815260200180610f4e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610b035760405162461bcd60e51b8152600401808060200182810382526025815260200180610fbe6025913960400191505060405180910390fd5b6001600160a01b038216610b485760405162461bcd60e51b8152600401808060200182810382526023815260200180610f2b6023913960400191505060405180910390fd5b610b53838383610e8d565b610b9681604051806060016040528060268152602001610f70602691396001600160a01b038616600090815260208190526040902054919063ffffffff610c2516565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610bcb908263ffffffff610cbc16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610cb45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c79578181015183820152602001610c61565b50505050905090810190601f168015610ca65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610749576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061074983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c25565b6001600160a01b038216610db3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610dbf60008383610e8d565b600254610dd2908263ffffffff610cbc16565b6002556001600160a01b038216600090815260208190526040902054610dfe908263ffffffff610cbc16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b8151610e67906003906020850190610e92565b508051610e7b906004906020840190610e92565b50506005805460ff1916601217905550565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610ed357805160ff1916838001178555610f00565b82800160010185558215610f00579182015b82811115610f00578251825591602001919060010190610ee5565b50610f0c929150610f10565b5090565b61053b91905b80821115610f0c5760008155600101610f1656fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209d8bb7c7a2e2cdda167b07a764a3fc5dce2c27d67efd81bd99bacd60327dd01a64736f6c63430006010033" 113 | } 114 | }, 115 | "number": "0x0", 116 | "gasUsed": "0x0", 117 | "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000" 118 | } 119 | --------------------------------------------------------------------------------