-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from zekraken-bot/dev
alpha version
- Loading branch information
Showing
11 changed files
with
2,256 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "pool-creator" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This file was auto-generated by the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
|
||
name: Deploy to Firebase Hosting on merge | ||
'on': | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: npm ci && npm run build | ||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POOL_CREATOR }}' | ||
channelId: live | ||
projectId: pool-creator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file was auto-generated by the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
|
||
name: Deploy to Firebase Hosting on PR | ||
'on': pull_request | ||
jobs: | ||
build_and_preview: | ||
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: npm ci && npm run build | ||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_POOL_CREATOR }}' | ||
projectId: pool-creator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
.env.test.local | ||
.env.production.local | ||
|
||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
token addresses | ||
0xdfcea9088c8a88a76ff74892c1457c17dfeef9c1 | ||
0xfa8449189744799ad2ace7e0ebac8bb7575eff47 | ||
0xe0C9275E44Ea80eF17579d33c55136b7DA269aEb -- usdc | ||
|
||
amounts | ||
800000000000000000 | ||
200000000000000000 | ||
|
||
swap fee | ||
10000000000000000 | ||
|
||
owner | ||
0xaffc70b81d54f229a5f50ec07e2c76d2aaad07ae | ||
|
||
rate provider | ||
0x0000000000000000000000000000000000000000 | ||
0x0000000000000000000000000000000000000000 | ||
|
||
poolid | ||
0xd503dd8ae0e4669106167ad1a7df0569a9c1340500020000000000000000073a | ||
|
||
($2.5) | ||
weth amt ($2) | ||
1000000000000000 | ||
0.001 | ||
|
||
bal amt ($0.50) | ||
70000000000000000 | ||
0.07 | ||
|
||
userdata | ||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000038d7ea4c6800000000000000000000000000000000000000000000000000000f8b0a10e470000 | ||
|
||
{ "assets": ["0xdfcea9088c8a88a76ff74892c1457c17dfeef9c1", "0xfa8449189744799ad2ace7e0ebac8bb7575eff47"], "maxAmountsIn": [ "1000000000000000", "70000000000000000" ], "userData": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000038d7ea4c6800000000000000000000000000000000000000000000000000000f8b0a10e470000", "fromInternalBalance": false } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
token addresses | ||
0xdfcea9088c8a88a76ff74892c1457c17dfeef9c1 | ||
0xfa8449189744799ad2ace7e0ebac8bb7575eff47 | ||
Usage Notes: | ||
|
||
amounts | ||
800000000000000000 | ||
200000000000000000 | ||
1. if a rate provider is not supplied, the 0x0000 address will be used | ||
2. swap fee can be entered as 0.01 for 1% | ||
3. token weights can be entered as 80/20, 50/50, etc. the appropriate values will be applied in the background | ||
4. token amounts can be entered as the amount you want to supply, 0.001 ETH for example, the correct digits will be applied in the background | ||
5. the main Balancer chains are supported | ||
6. contract addresses for pool factories are manually maintained, so check that the latest contracts are being used | ||
|
||
swap fee | ||
10000000000000000 | ||
## Available Scripts | ||
|
||
owner | ||
0xaffc70b81d54f229a5f50ec07e2c76d2aaad07ae | ||
In the project directory run the following: | ||
|
||
rate provider | ||
0x0000000000000000000000000000000000000000 | ||
0x0000000000000000000000000000000000000000 | ||
### `npm install` | ||
|
||
Installs project depedencies, you will need `npm` installed as well as `Node.js` | ||
|
||
### `npm start` | ||
|
||
Runs the app in the development mode.\ | ||
Open [http://localhost:3000](http://localhost:3000) to view it in your browser. | ||
|
||
The page will reload when you make changes.\ | ||
You may also see any lint errors in the console. | ||
|
||
### `npm run build` | ||
|
||
Builds the app for production to the `build` folder.\ | ||
It correctly bundles React in production mode and optimizes the build for the best performance. | ||
|
||
The build is minified and the filenames include the hashes.\ | ||
Your app is ready to be deployed! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"hosting": { | ||
"public": "build", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.