From e899acfe4b416c8a37b7f33f590c8ccba848153f Mon Sep 17 00:00:00 2001 From: Diarmid Campbell Date: Tue, 13 Oct 2020 17:04:08 +0100 Subject: [PATCH] first commit --- .DS_Store | Bin 0 -> 6148 bytes .gitattributes | 1 + .github/workflows/main.yaml | 42 ++ .gitignore | 5 + .idea/brownie_modifiers_test.iml | 12 + .idea/misc.xml | 4 + .idea/modules.xml | 8 + .idea/workspace.xml | 181 ++++++++ LICENSE | 21 + Pipfile | 12 + Pipfile.lock | 685 +++++++++++++++++++++++++++++++ README.md | 5 + brownie-config.yaml | 8 + contracts/ACTTest.sol | 48 +++ requirements.txt | 1 + scripts/token.py | 7 + tests/conftest.py | 23 ++ tests/test_acttest.py | 20 + 18 files changed, 1083 insertions(+) create mode 100644 .DS_Store create mode 100644 .gitattributes create mode 100644 .github/workflows/main.yaml create mode 100644 .gitignore create mode 100644 .idea/brownie_modifiers_test.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/workspace.xml create mode 100644 LICENSE create mode 100644 Pipfile create mode 100644 Pipfile.lock create mode 100644 README.md create mode 100644 brownie-config.yaml create mode 100644 contracts/ACTTest.sol create mode 100644 requirements.txt create mode 100644 scripts/token.py create mode 100644 tests/conftest.py create mode 100644 tests/test_acttest.py diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a1b3f81e9008f8e2e264a40b57506098050d16a6 GIT binary patch literal 6148 zcmeHKJxc>I7=B|btsjHv;^1(&2ns^QRXF9`h5iBUhqlmqrLFt@2tmO~99?yB^iR3^ zyl>KL(o5AzMDjxNct7^B zT0dY7I=ovAhsq%8hobt>f_dexk$b-%qC+{0w(~nPG{Vl+rc) z7}5pGV;Z?S)_1}4uxvf`kK7k8bE@lWrmHVvfy?lQ)wQATQWUml6*A4wvo-EL=AL=S zwB7rT>*|#GE6~@b0lXX*J@hebZQD<|wwZBkRr6V1JtM5<5bg~;dTybpLJq^$^R{Z~ znPE-Waz4w|V}9qnhNGgEofl|Xlogg%TgTBsuESwWHTW6s{AX-G&TNkAipG!!2Z95^ zf!qP!A0i~i*kGnnwhm-+1pt;&ErGJ^ZNP{tfU&_$BWe&zcLnOM%3Lv&?vDD%@M43R zM%|s1%#3l&%*xzQl+2F$Na&N&dOrvx`W{zVi@KL;pB!RYw3&7Z5rV%xW@JB#w2w8C8R~`5S D&h6>l literal 0 HcmV?d00001 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..52031de --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sol linguist-language=Solidity diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..855521a --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,42 @@ +on: + push: + pull_request: + schedule: + # run this workflow every Monday at 1PM UTC + - cron: "* 13 * * 1" + +name: main workflow + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + + tests: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Cache Solidity Installations + uses: actions/cache@v1 + with: + path: ~/.solcx + key: ${{ runner.os }}-solcx-cache + + - name: Setup Node.js + uses: actions/setup-node@v1 + + - name: Install Ganache + run: npm install -g ganache-cli@6.8.2 + + - name: Setup Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + + - name: Install Requirements + run: pip install -r requirements.txt + + - name: Run Tests + run: brownie test -C diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a418c16 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +__pycache__ +.history +.hypothesis/ +build/ +reports/ diff --git a/.idea/brownie_modifiers_test.iml b/.idea/brownie_modifiers_test.iml new file mode 100644 index 0000000..7c9d48f --- /dev/null +++ b/.idea/brownie_modifiers_test.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..c78aeea --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7880868 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..50db112 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +