Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

12 changes: 0 additions & 12 deletions .eslintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

35 changes: 2 additions & 33 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,24 @@ on:
workflow_dispatch:

jobs:
build-example:
name: Build Example
runs-on: ubuntu-latest
env:
CI: false # might not need this. this refers to react ui related things.
strategy:
# build all examples independently
fail-fast: false
matrix:
project: ["tradeable-cashflow", "borrow-against-salary", "instant-distribution-intro","superfluid-gelato-automation", "money-streaming-intro/money-streaming-intro-hardhat"]
install: ["clean-install"]
node-version: [16]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install, Build, and Test
run: |
cd "projects/${{ matrix.project }}"
yarn install
yarn build
yarn test

build-foundry-example:
name: Build Foundry Examples
runs-on: ubuntu-latest
strategy:
# build all examples independently
fail-fast: false
matrix:
project: ["money-streaming-intro/money-streaming-intro-foundry"]
project: ["money-streaming-intro-foundry", "gda-advertisement-auction"]
install: ["clean-install"]
node-version: [16]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install, Build, and Test
run: |
cd "projects/${{ matrix.project }}"
forge install superfluid-protocol-monorepo=https://github.com/superfluid-finance/protocol-monorepo@dev --no-commit
forge install https://github.com/OpenZeppelin/openzeppelin-contracts@v4.9.3 --no-commit
forge install
forge build
forge test
18 changes: 18 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[submodule "projects/money-streaming-intro-foundry/lib/superfluid-protocol-monorepo"]
path = projects/money-streaming-intro-foundry/lib/superfluid-protocol-monorepo
url = https://github.com/superfluid-finance/protocol-monorepo
[submodule "projects/money-streaming-intro-foundry/lib/openzeppelin-contracts"]
path = projects/money-streaming-intro-foundry/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "projects/money-streaming-intro-foundry/lib/forge-std"]
path = projects/money-streaming-intro-foundry/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "projects/gda-advertisement-auction/lib/forge-std"]
path = projects/gda-advertisement-auction/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "projects/gda-advertisement-auction/lib/superfluid-protocol-monorepo"]
path = projects/gda-advertisement-auction/lib/superfluid-protocol-monorepo
url = https://github.com/superfluid-finance/protocol-monorepo
[submodule "projects/gda-advertisement-auction/lib/openzeppelin-contracts"]
path = projects/gda-advertisement-auction/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

27 changes: 0 additions & 27 deletions .prettierignore

This file was deleted.

22 changes: 0 additions & 22 deletions .prettierrc

This file was deleted.

65 changes: 0 additions & 65 deletions CONTRIBUTING

This file was deleted.

10 changes: 5 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Superfluid Protocol
MIT License

Copyright @ 2020-2022 Superfluid Finance Ltd
Copyright © 2020-2024 Superfluid Finance Ltd

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Each example has their own dependencies. This is to reduce complexity when using
one or a small number of examples from this repository.

To get started with any exmaple project, navigate to the appropriate example
directory and view the "Installation" section of its README file. Most projects
use `npm`, but others may use `forge` or another tool.
directory and view the "Installation" section of its README file.

## New Example Requests

Expand All @@ -26,8 +25,5 @@ example, open an issue and select the "New Example" template.
The following is a list of example projects in this repository. Follow the link
on each to see their local README file.

- [Borrow Against Salary](./projects/borrow-against-salary/README.md)
- [Instant Distribution Intro](./projects/instant-distribution-intro/README.md)
- [Money Streaming Intro](./projects/money-streaming-intro)
- [Tradeable Cashflow NFT](./projects/tradeable-cashflow/README.md)
- [Gelato ACL Automation](./projects/superfluid-gelato-automation/)
- [Money Streaming Intro](./projects/money-streaming-intro-foundry/README.md)
- [GDA Advertisement Auction](./projects/gda-advertisement-auction/README.md)
132 changes: 0 additions & 132 deletions code-of-conduct.md

This file was deleted.

Loading