Skip to content

Instantly share code, notes, and snippets.

@XertroV
Created July 11, 2020 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XertroV/be017a7500345f3a5c5e42c797036531 to your computer and use it in GitHub Desktop.
Save XertroV/be017a7500345f3a5c5e42c797036531 to your computer and use it in GitHub Desktop.
structure of voting-alpha
~/tmp/voting-alpha master ────────────────  3.7.5/envs/sv-alpha-3.7.5 3.7.5  10.21.0 xertrov@vm-dev-177 08:49:58
❯ cloc .
121 text files.
112 unique files.
47 files ignored.
github.com/AlDanial/cloc v 1.85 T=0.08 s (1031.7 files/s, 186863.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 19 0 0 5278
Python 32 1127 488 3960
YAML 16 238 350 2267
Solidity 3 51 15 187
Markdown 2 44 0 79
Bourne Shell 4 16 5 40
TypeScript 1 17 0 37
JavaScript 2 9 78 23
-------------------------------------------------------------------------------
SUM: 79 1502 936 11871
-------------------------------------------------------------------------------
~/tmp/voting-alpha master ────────────────  3.7.5/envs/sv-alpha-3.7.5 3.7.5  10.21.0 xertrov@vm-dev-177 09:04:33
❯ tree .
.
├── _deployState_dev_readonly.yaml
├── docker
│   ├── Dockerfile.build-python
│   └── Dockerfile.run-openethereum
├── ethereum
│   ├── build
│   │   └── contracts
│   │   ├── Erc20BalanceProxy.abi
│   │   ├── Erc20BalanceProxy.bin
│   │   ├── IERC20.abi
│   │   ├── IERC20.bin
│   │   ├── Membership.abi
│   │   ├── Membership.bin
│   │   ├── Migrations.abi
│   │   ├── Migrations.bin
│   │   ├── Roles.abi
│   │   ├── Roles.bin
│   │   ├── SafeMath.abi
│   │   └── SafeMath.bin
│   ├── contracts
│   │   ├── Erc20BalanceProxy.sol
│   │   ├── Membership.sol
│   │   └── Migrations.sol
│   ├── migrations
│   │   └── 1_initial_migration.js
│   ├── package.json
│   ├── package-lock.json
│   ├── test
│   │   └── membership.ts
│   ├── truffle-config.js
│   └── tsconfig.json
├── manage
├── _manager_lib
│   ├── __init__.py
│   └── requirements.txt
├── README.md
├── scripts
│   ├── compileSol.sh
│   └── loadMembers.sh
├── setup
│   └── pyenv.sh
├── stack
│   ├── app
│   │   └── members
│   │   ├── api
│   │   │   ├── bootstrap.py
│   │   │   ├── common -> ../../../cr/common
│   │   │   ├── db.py
│   │   │   ├── env.py
│   │   │   ├── exceptions.py
│   │   │   ├── handlers.py
│   │   │   ├── handlers_test.py
│   │   │   ├── handler_test.py
│   │   │   ├── handler_utils.py
│   │   │   ├── __init__.py
│   │   │   ├── lib.py
│   │   │   ├── models.py
│   │   │   ├── sc
│   │   │   │   ├── apguerrera
│   │   │   │   │   └── VotingAlpha.abi.json
│   │   │   │   ├── AuxAbi.abi.json
│   │   │   │   ├── BBFarm.abi.json
│   │   │   │   ├── BBLib.abi.json
│   │   │   │   ├── CommAuctionIface.abi.json
│   │   │   │   ├── ERC20.abi.json
│   │   │   │   ├── Erc20BalanceProxy.abi
│   │   │   │   ├── Erc20BalanceProxy.bin
│   │   │   │   ├── IndexInterface.abi.json
│   │   │   │   ├── Membership.abi
│   │   │   │   ├── Membership.bin
│   │   │   │   ├── SVDelegation.abi.json
│   │   │   │   ├── SVDelegationV0101.abi.json
│   │   │   │   ├── SV_ENS_Resolver.abi.json
│   │   │   │   ├── SVLightAdminProxy.abi.json
│   │   │   │   ├── SVLightBallotBox.abi.json
│   │   │   │   ├── SVLightIndex.abi.json
│   │   │   │   ├── SVLightIndexBackend.abi.json
│   │   │   │   ├── SVPayments.abi.json
│   │   │   │   └── TokenAbbreviationLookup.abi.json
│   │   │   ├── scripts
│   │   │   │   ├── createBallots.py
│   │   │   │   ├── loadMembers.py
│   │   │   │   ├── memberRegistrationStats.py
│   │   │   │   ├── memberVotingWeight.py
│   │   │   │   ├── sendCoins.py
│   │   │   │   └── setupMemberClasses.py
│   │   │   └── send_mail.py
│   │   └── requirements.txt
│   ├── cr
│   │   ├── acm_dns_validation
│   │   │   └── index.py
│   │   ├── chaincode
│   │   │   ├── bootstrap.py
│   │   │   ├── bytecode
│   │   │   │   ├── apg-voting-alpha023.bin
│   │   │   │   ├── apg-voting-alpha-024.bin
│   │   │   │   ├── bbfarm-aux-2.bin
│   │   │   │   ├── bbfarm.bin
│   │   │   │   ├── bblib-v7.bin
│   │   │   │   ├── erc20-balance-proxy.bin
│   │   │   │   ├── membership.bin
│   │   │   │   ├── sv-backend.bin
│   │   │   │   ├── sv-comm-auction.bin
│   │   │   │   ├── sv-index.bin
│   │   │   │   ├── sv-payments.bin
│   │   │   │   └── token-abbr-lookup.bin
│   │   │   ├── chaincode.py
│   │   │   ├── chaincode_te-todo-st.py
│   │   │   ├── __init__.py
│   │   │   ├── README.md
│   │   │   └── test
│   │   │   ├── __init__.py
│   │   │   └── test_mk_contract.py
│   │   ├── common
│   │   │   ├── cfnwrapper.py
│   │   │   ├── env.py
│   │   │   ├── __init__.py
│   │   │   ├── lib.py
│   │   │   └── utils.py
│   │   ├── params
│   │   │   ├── bootstrap.py
│   │   │   ├── index.py
│   │   │   ├── __init__.py
│   │   │   └── macro-eips.py
│   │   └── requirements.txt
│   ├── flux-securevote-voting-stack.yaml
│   ├── nested
│   │   ├── acm-cert-dns.yaml
│   │   ├── deprecated
│   │   │   └── sv-consensus-node.yaml
│   │   ├── sv-all-nodes.yaml
│   │   ├── sv-api-bootstrap.yaml
│   │   ├── sv-chaincode-loader.yaml
│   │   ├── sv-consensus-node-new.yaml
│   │   ├── sv-ec2-node.yaml
│   │   ├── sv-members-app.yaml
│   │   ├── sv-public-alb.yaml
│   │   ├── sv-public-eips.yaml
│   │   ├── sv-public-node-new.yaml
│   │   └── vendor
│   │   └── vpc-3azs.yaml
│   └── sv-macros.yaml
├── test.sh
└── TODO
28 directories, 116 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment