Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cowamm next #683

Closed
wants to merge 97 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
5c802ed
initial commit
mendesfabio Oct 24, 2023
21e9c6e
add token and user entities
mendesfabio Oct 24, 2023
d003124
add status to swaps
mendesfabio Nov 6, 2023
28811f4
add order contract to swap entity
mendesfabio Nov 21, 2023
6eab261
create transaction entity
mendesfabio Nov 21, 2023
2726a78
move user to txn entity
mendesfabio Nov 21, 2023
b851814
add to 'to' parameter
yvesfracari Nov 22, 2023
e40cc9d
Merge pull request #1 from bleu-fi/pedro/add-to-parameter
yvesfracari Nov 22, 2023
38e393e
add 'to' parameter to Swap schema
yvesfracari Nov 22, 2023
38c8f02
bump ponder to 0.1.0
mendesfabio Dec 14, 2023
7e75527
feature: add mainnet data
yvesfracari Dec 14, 2023
2e4239d
Merge pull request #2 from bleu-fi/upgrade-ponder
yvesfracari Dec 14, 2023
2d9acd8
fix: token id check
yvesfracari Dec 14, 2023
e240188
bump ponder to 0.1.6
mendesfabio Jan 12, 2024
6337a0f
chore: get orders history
luizakp Feb 20, 2024
474409f
chore: update ponder
luizakp Feb 21, 2024
63484df
chore: add orders that were not decoded
luizakp Feb 21, 2024
77b9e40
Merge pull request #2 from bleu-fi/non-decoded-orders
luizakp Feb 26, 2024
4856ac3
fix: add stop loss address
luizakp Feb 27, 2024
2cfe964
Merge pull request #1 from bleu-fi/orders-history
luizakp Feb 27, 2024
3fb2bbb
chore add gnosis
yvesfracari Feb 27, 2024
ee441e8
add cow amm handler
yvesfracari Feb 27, 2024
a46f19d
Merge branch 'main' into pedro/cow-157-fetch-running-amm-data
yvesfracari Feb 27, 2024
185326c
chore: remove logs and add comment about static input remove characte…
yvesfracari Feb 27, 2024
f878451
Merge pull request #3 from bleu-fi/pedro/cow-157-fetch-running-amm-data
yvesfracari Feb 27, 2024
ef813f0
bump ponder to 0.2.10
yvesfracari Feb 29, 2024
e06e32a
revert to 0.2.0
mendesfabio Feb 29, 2024
1bfb172
chore: add mainnet
yvesfracari Mar 5, 2024
5133f48
Merge pull request #5 from bleu-fi/pedro/add-mainnet
yvesfracari Mar 5, 2024
c3b607d
chore: add hash and static input args on Order
yvesfracari Mar 5, 2024
e28d015
fix: add hash and salt on order creation with decoded sucess
yvesfracari Mar 5, 2024
bd25854
wip: refactor schema
yvesfracari Mar 21, 2024
d059f64
chore: add get User utils function
yvesfracari Mar 21, 2024
949359f
refactor: add Handler entity and refactor stop loss and cow amm
yvesfracari Mar 21, 2024
87ee6ba
chore: use _ prefix for unused variable
yvesfracari Mar 21, 2024
c02ad51
use camelCase for entity atributes
yvesfracari Mar 21, 2024
7c5451c
rename Handler Orders entites to Data sufix
yvesfracari Mar 21, 2024
c19532b
fix user orders relantionsip
yvesfracari Mar 21, 2024
04101e5
Merge pull request #6 from bleu-fi/staging
yvesfracari Mar 21, 2024
6ccdc3a
convert stop loss tokens from bytes32 to address
yvesfracari Apr 4, 2024
3727e96
add tx hash into order schema
yvesfracari Apr 4, 2024
39e279c
Merge pull request #7 from bleu-fi/pedro/cow-208-orders-details-pt-2
yvesfracari Apr 4, 2024
3395980
hotfix: change hash atributte of order schema to optional
yvesfracari Apr 4, 2024
661b298
bump ponder version to 0.3.9
yvesfracari Apr 4, 2024
a9d8b78
chore: add new sepolia stop loss address
yvesfracari May 21, 2024
1946367
chore: update order handler catch type
yvesfracari May 21, 2024
758039c
chore: add new stop loss on mainnet and gnosis
yvesfracari May 22, 2024
e4687f3
prepare migration to monorepo
ribeirojose May 23, 2024
9babe4a
Merge remote-tracking branch 'api/cowamm-next' into cowamm-next
ribeirojose May 23, 2024
a9a008c
move milkman-api to monorepo
ribeirojose May 23, 2024
7e6b9d4
consolidate pnpm-locks
ribeirojose May 23, 2024
cb65c00
remove fallback warning and add amounts fields
yvesfracari May 27, 2024
148b0d1
Remove warning page before form
yvesfracari May 27, 2024
44d3cf6
Integrate create cow amm with new contracts (#685)
ribeirojose May 28, 2024
902159c
add initial version of standalone amm page (#686)
ribeirojose May 29, 2024
30b6bd7
Merge branch 'main' into cowamm-next
ribeirojose May 31, 2024
72533a0
Create enable and disable AMM button (#691)
yvesfracari May 31, 2024
fb55f59
Refactor page structure and add amms page (#694)
yvesfracari Jun 5, 2024
df48e44
Create migrate to new contract version button (#697)
yvesfracari Jun 10, 2024
bb66f08
run formatter
yvesfracari Jun 10, 2024
b5831a6
CoW AMM: use `useManagedTransaction` hook to prepare for EOA transact…
ribeirojose Jun 11, 2024
56b944c
Jose/cow 270 create transaction pre execute post execute flow jose UI…
yvesfracari Jun 13, 2024
41cd197
Add option to stop and remove all liquidity in one tx and improve wit…
yvesfracari Jun 13, 2024
e058f5b
CoW AMM: Price impact information on deposit and creation of AMMs (#703)
yvesfracari Jun 13, 2024
653a2dd
refactor texts and spacing of cow amm page
yvesfracari Jun 13, 2024
0d7daa8
use top right icon on header amm pool explorer link
yvesfracari Jun 13, 2024
34fb306
composable-cow-api: uncomment gnosis/mainnet config
ribeirojose Jun 13, 2024
83a7094
fix: onTxStatusFinal falling on page load
yvesfracari Jun 13, 2024
f9d2da9
fix: remove price impact debug values
yvesfracari Jun 13, 2024
4cc090c
composable-cow-api: update railway
ribeirojose Jun 13, 2024
714cc33
fix loading on form page wrapper back button
yvesfracari Jun 13, 2024
3823595
add loading on amm table row click
yvesfracari Jun 13, 2024
595993b
add default next not found error if api fails on cow amm page
yvesfracari Jun 13, 2024
1107fa7
use 5 as truncate lenght on tokens address
yvesfracari Jun 13, 2024
6bbcf25
fix padding of tabs content
yvesfracari Jun 13, 2024
36ca0cb
move unbalanced ammount to bellow amounts inputs
yvesfracari Jun 13, 2024
948e1f7
cow-amm-deployer: refactor state conversion to state
ribeirojose Jun 13, 2024
a79799e
add created success dialog
yvesfracari Jun 14, 2024
afdfc37
wip: add swr to mutate amm data
yvesfracari Jun 14, 2024
ee483a6
refactor: change token amount input update frequency
yvesfracari Jun 14, 2024
25a1749
fix contract header link
yvesfracari Jun 14, 2024
1022aed
fix check if data was indexed
yvesfracari Jun 14, 2024
61b407b
cow-amm-deployer: refactor state conversion to state
ribeirojose Jun 13, 2024
16716a1
cow-amm-deployer: use swr in CreateSuccessDialog
ribeirojose Jun 14, 2024
33fdaab
cow-amm-deployer: add useIsPonderAPIAtBlockNumber hook
ribeirojose Jun 14, 2024
e9f1062
Fix safe loader
yvesfracari Jun 14, 2024
22d266e
Merge branch 'cowamm-next' into pedro/cow-284-milestone-review
ribeirojose Jun 14, 2024
b6de25a
add mutate on ponder update for amm actions
yvesfracari Jun 14, 2024
0485bac
refactor get amm id function and add on amm alert
yvesfracari Jun 14, 2024
48571f9
cow-amm-deployer: fix tokens balances in edit ui
ribeirojose Jun 14, 2024
1dd8728
CoW AMM Deployer: QA app before sending to CoW (#706)
ribeirojose Jun 14, 2024
c8d8eb0
cow-amm-deployer: use RPC providers in viem config
ribeirojose Jun 15, 2024
c9bc8a2
Merge branch 'pedro/cow-284-milestone-review' into cowamm-next
ribeirojose Jun 15, 2024
c1f5ecb
composable-cow-api: undo changes to ponder.config.ts
ribeirojose Jun 15, 2024
b294910
composable-cow-api: update ponder
ribeirojose Jun 16, 2024
8d6f7fa
add mainnet and ponder into the ponder api
yvesfracari Jun 18, 2024
701e4e0
Pedro/cow 284 milestone review 2 (#707)
yvesfracari Jun 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
run-linters:
name: Run linters
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/contracts-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- uses: ./.github/workflows/setup-pnpm
with:
npm_token: ${{ secrets.NPM_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/vercel-preview.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/vercel-prod.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ node_modules
# Local Netlify folder
.netlify
.vercel
.turbo
3 changes: 3 additions & 0 deletions apps/composable-cow-api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PONDER_RPC_URL_MAINNET=""
PONDER_RPC_URL_GNOSIS=""
PONDER_RPC_URL_SEPOLIA=""
3 changes: 3 additions & 0 deletions apps/composable-cow-api/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "ponder"
}
6 changes: 6 additions & 0 deletions apps/composable-cow-api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
.DS_Store

.env.local
.ponder/
generated/
Loading
Loading