Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
890 commits
Select commit Hold shift + click to select a range
b750ab3
fix: convert amounts to native USDT decimals in TAC rebalancing process
preethamr Dec 12, 2025
0ad2ede
fix: convert amounts to native USDT decimals in TAC rebalancing process
preethamr Dec 12, 2025
e0e57b7
feat: add support for parsing and validating settlement domains in ch…
preethamr Dec 12, 2025
612124c
feat: add support for parsing and validating settlement domains in ch…
preethamr Dec 12, 2025
1ab95f7
Merge pull request #432 from everclearorg/fix/unit_tests
preethamr Dec 12, 2025
8f43976
Merge pull request #432 from everclearorg/fix/unit_tests
preethamr Dec 12, 2025
eaa6d7b
fix: mainnet usdt approval
liu-zhipeng Dec 12, 2025
f2180d7
fix: mainnet usdt approval
liu-zhipeng Dec 12, 2025
1966949
Merge pull request #433 from everclearorg/fix-usdt-approval
preethamr Dec 12, 2025
09b0675
Merge pull request #433 from everclearorg/fix-usdt-approval
preethamr Dec 12, 2025
105e552
fix: mainnet usdt approval
liu-zhipeng Dec 12, 2025
7511942
fix: mainnet usdt approval
liu-zhipeng Dec 12, 2025
bd554f8
Merge pull request #434 from everclearorg/fix-usdt-approval
preethamr Dec 12, 2025
3a41d39
Merge pull request #434 from everclearorg/fix-usdt-approval
preethamr Dec 12, 2025
a7af269
fix: mainnet usdt approval
liu-zhipeng Dec 12, 2025
8daabfb
fix: mainnet usdt approval
liu-zhipeng Dec 12, 2025
e4a4a97
fix: iextracting usdt spender address from starAPI response
preethamr Dec 12, 2025
34f3580
fix: iextracting usdt spender address from starAPI response
preethamr Dec 12, 2025
92282cf
Merge pull request #436 from everclearorg/fix/hotfix_usdt_approval_reset
preethamr Dec 12, 2025
44589fd
Merge pull request #436 from everclearorg/fix/hotfix_usdt_approval_reset
preethamr Dec 12, 2025
f18cc9a
Merge pull request #435 from everclearorg/fix-usdt-approval
preethamr Dec 12, 2025
df3a348
Merge pull request #435 from everclearorg/fix-usdt-approval
preethamr Dec 12, 2025
d57bfed
fix: update TONAPI integration for balance queries
preethamr Dec 13, 2025
a72654b
fix: update TONAPI integration for balance queries
preethamr Dec 13, 2025
24e0a9f
Merge pull request #437 from everclearorg/fix/ton_out_of_gas
preethamr Dec 13, 2025
b551bc4
Merge pull request #437 from everclearorg/fix/ton_out_of_gas
preethamr Dec 13, 2025
9e16fa3
feat: implement TAC transaction metadata handling and placeholder rec…
preethamr Dec 13, 2025
a77b197
feat: implement TAC transaction metadata handling and placeholder rec…
preethamr Dec 13, 2025
4aa026a
Merge branch 'staging' into fix/hot_fix_tac_inner_bridge
preethamr Dec 13, 2025
d320de3
Merge branch 'staging' into fix/hot_fix_tac_inner_bridge
preethamr Dec 13, 2025
aee0ba0
Merge pull request #438 from everclearorg/fix/hot_fix_tac_inner_bridge
preethamr Dec 13, 2025
1a14417
Merge pull request #438 from everclearorg/fix/hot_fix_tac_inner_bridge
preethamr Dec 13, 2025
d847ea5
feat: enable TAC fast filler rebalancing for Mason
preethamr Dec 13, 2025
02c1fec
feat: enable TAC fast filler rebalancing for Mason
preethamr Dec 13, 2025
a0ab93e
Merge pull request #439 from everclearorg/fix/enable_fastfill_rebalan…
preethamr Dec 13, 2025
6ac63bc
Merge pull request #439 from everclearorg/fix/enable_fastfill_rebalan…
preethamr Dec 13, 2025
89fd5fa
feat: improve TAC rebalancing logs with wallet type and address
preethamr Dec 13, 2025
a518315
feat: improve TAC rebalancing logs with wallet type and address
preethamr Dec 13, 2025
b131658
fix: check fs sender eth balance for tac rebalancing
preethamr Dec 13, 2025
7ca1e14
fix: check fs sender eth balance for tac rebalancing
preethamr Dec 13, 2025
d3fbcd3
fix: use fs sender own eth balance for tac rebalancing
preethamr Dec 13, 2025
b7f2d7e
fix: use fs sender own eth balance for tac rebalancing
preethamr Dec 13, 2025
b717d02
Merge pull request #440 from everclearorg/fix/qol_improvements
preethamr Dec 13, 2025
cc690b8
Merge pull request #440 from everclearorg/fix/qol_improvements
preethamr Dec 13, 2025
95787cf
feat: add fallback endpoints and sequence flows
preethamr Dec 14, 2025
6cba065
feat: add fallback endpoints and sequence flows
preethamr Dec 14, 2025
28e9c03
feat: add fallback endpoints for tac sdk
preethamr Dec 14, 2025
cef3bd6
feat: add fallback endpoints for tac sdk
preethamr Dec 14, 2025
11f42ad
fix: qol imporovements
preethamr Dec 14, 2025
08f8c96
fix: qol imporovements
preethamr Dec 14, 2025
aa6f63c
feat: ccip sdk
prathmeshkhandelwal1 Dec 15, 2025
29d6cc4
feat: linked pendle to leg 1
prathmeshkhandelwal1 Dec 15, 2025
d893211
fix: tac unit test
liu-zhipeng Dec 16, 2025
d44e284
fix: tac unit test
liu-zhipeng Dec 16, 2025
229f808
feat: rename TacRebalanceConfig to TokenRebalanceConfig
liu-zhipeng Dec 16, 2025
e847dc0
feat: rename TacRebalanceConfig to TokenRebalanceConfig
liu-zhipeng Dec 16, 2025
0400281
feat: meth rebalance config
liu-zhipeng Dec 16, 2025
c33dd15
feat: meth rebalance config
liu-zhipeng Dec 16, 2025
82bf718
fix: config validate
liu-zhipeng Dec 16, 2025
68bb777
fix: config validate
liu-zhipeng Dec 16, 2025
09a6408
feat: ccip adapter refactor and leg 3 connected
prathmeshkhandelwal1 Dec 16, 2025
9844ac5
test: enhance TAC adapter tests with retry logic and edge case handling
preethamr Dec 16, 2025
0966db9
test: enhance TAC adapter tests with retry logic and edge case handling
preethamr Dec 16, 2025
b6081cd
fix: update TAC adapter to use rawAmount for bridging transactions
preethamr Dec 16, 2025
f9cc2a4
fix: update TAC adapter to use rawAmount for bridging transactions
preethamr Dec 16, 2025
75f5448
fix: update slippage handling in TAC adapter to use basis points inst…
preethamr Dec 16, 2025
f85559b
fix: update slippage handling in TAC adapter to use basis points inst…
preethamr Dec 16, 2025
8f417ee
fix: standardize slippage handling to use basis points across all rel…
preethamr Dec 16, 2025
5248db0
fix: standardize slippage handling to use basis points across all rel…
preethamr Dec 16, 2025
49fed3e
Merge pull request #441 from everclearorg/fix/fix_tac_endpoint_errors
preethamr Dec 16, 2025
c5a92d6
Merge pull request #441 from everclearorg/fix/fix_tac_endpoint_errors
preethamr Dec 16, 2025
024cd89
feat: various improvements bug fixes tests and tf configs
preethamr Dec 17, 2025
b5c2289
Merge branch 'staging' into ci/merge-staging-to-prod
otsybizov Dec 17, 2025
b3dd5aa
Merge branch 'staging' into ci/merge-staging-to-prod
otsybizov Dec 17, 2025
283a2e4
Merge pull request #444 from everclearorg/ci/prod-staging-merge
preethamr Dec 17, 2025
fd8fdf6
Merge pull request #444 from everclearorg/ci/prod-staging-merge
preethamr Dec 17, 2025
4f59f8b
fix: resolve lint
preethamr Dec 17, 2025
61eeb7d
fix: update ccip router id
jintukumardas Dec 17, 2025
6b626a5
fix: rebalance tests
jintukumardas Dec 17, 2025
a855fa9
Merge pull request #443 from everclearorg/fix/review_pendle
jintukumardas Dec 17, 2025
6f06a69
Merge branch 'staging' into feat/meth-rebalancing
liu-zhipeng Dec 17, 2025
bbf8045
Merge branch 'staging' into feat/meth-rebalancing
liu-zhipeng Dec 17, 2025
82fe481
feat: add ptsusde threshold for rebalancing on solana
jintukumardas Dec 17, 2025
2abc5a9
feat: refactor meth rebalance
liu-zhipeng Dec 17, 2025
86825d0
feat: refactor meth rebalance
liu-zhipeng Dec 17, 2025
a074627
fix: lint
liu-zhipeng Dec 17, 2025
8f01665
fix: lint
liu-zhipeng Dec 17, 2025
4499a4f
fix: comment
liu-zhipeng Dec 18, 2025
e234291
fix: comment
liu-zhipeng Dec 18, 2025
98bbd41
fix: comments
liu-zhipeng Dec 18, 2025
c12d0f2
fix: comments
liu-zhipeng Dec 18, 2025
cefcf02
fix: type
liu-zhipeng Dec 18, 2025
5994503
fix: type
liu-zhipeng Dec 18, 2025
d4fe743
feat: enhance Mantle bridge configuration and timeout handling
preethamr Dec 18, 2025
97cc2dc
feat: enhance Mantle bridge configuration and timeout handling
preethamr Dec 18, 2025
f464361
chore: merge branch 'feat/meth-rebalancing' into fix/meth_review_fix
preethamr Dec 18, 2025
064b5c9
chore: merge branch 'feat/meth-rebalancing' into fix/meth_review_fix
preethamr Dec 18, 2025
33f35d7
fix: update yarn.lock for CI compatibility
preethamr Dec 18, 2025
8c3d5a9
fix: update yarn.lock for CI compatibility
preethamr Dec 18, 2025
f2634e2
Merge pull request #446 from everclearorg/fix/meth_review_fix
liu-zhipeng Dec 18, 2025
408f882
Merge pull request #446 from everclearorg/fix/meth_review_fix
liu-zhipeng Dec 18, 2025
83db0b8
fix: remove earmark when execution failed
liu-zhipeng Dec 18, 2025
7934cd8
fix: remove earmark when execution failed
liu-zhipeng Dec 18, 2025
b64cd72
test: mantleEth rebalance
liu-zhipeng Dec 18, 2025
ba2e6f3
test: mantleEth rebalance
liu-zhipeng Dec 18, 2025
9b06e7a
Merge pull request #445 from everclearorg/feat/meth-rebalancing
preethamr Dec 18, 2025
d09bafd
Merge pull request #445 from everclearorg/feat/meth-rebalancing
preethamr Dec 18, 2025
19910c2
fix: correct solana ccip message encoding and account requirements
jintukumardas Dec 18, 2025
48ba251
fix: correct CCIP fee payment accounts for native SOL
jintukumardas Dec 18, 2025
4fcc6ae
Merge pull request #448 from everclearorg/staging
preethamr Dec 19, 2025
ebe2665
Merge pull request #448 from everclearorg/staging
preethamr Dec 19, 2025
1d448df
fix: improve unit test coverage
preethamr Dec 19, 2025
5bffc8e
Merge pull request #447 from everclearorg/fix-ccip-accounts
preethamr Dec 19, 2025
aa9eb2a
chore: merge main into pendle-ptsusde
preethamr Dec 19, 2025
10d2ff0
chore: merge main into pendle-ptsusde
preethamr Dec 19, 2025
c0fcbd7
fix: resolve lint
preethamr Dec 19, 2025
8c9610c
fix: resolve unit test
preethamr Dec 19, 2025
315bd91
fix: stargate test
preethamr Dec 19, 2025
861fa8b
fix: add log
liu-zhipeng Dec 19, 2025
15195d3
fix: local dev works
liu-zhipeng Dec 19, 2025
26e0e98
Merge pull request #430 from everclearorg/pendle-ptsusde
prathmeshkhandelwal1 Dec 19, 2025
de48f41
Merge pull request #449 from everclearorg/main
prathmeshkhandelwal1 Dec 19, 2025
5b759ba
fix: select chainService
liu-zhipeng Dec 19, 2025
154cf3e
Merge branch 'staging' into fix/meth-rebalance
liu-zhipeng Dec 19, 2025
ad933a7
test: fix mantleEth unit
liu-zhipeng Dec 19, 2025
e137569
fix: lint
liu-zhipeng Dec 19, 2025
f075ff8
fix: build error
liu-zhipeng Dec 19, 2025
f5e9849
fix: lint error
liu-zhipeng Dec 19, 2025
f557d10
fix: ccip lint error
liu-zhipeng Dec 19, 2025
7749a16
Merge pull request #450 from everclearorg/fix/meth-rebalance
prathmeshkhandelwal1 Dec 19, 2025
f94821d
fix: duplicates
prathmeshkhandelwal1 Dec 19, 2025
e1819a1
Merge pull request #451 from everclearorg/fix-ops
prathmeshkhandelwal1 Dec 19, 2025
435885e
fix: terraform
liu-zhipeng Dec 19, 2025
b17754d
Merge pull request #452 from everclearorg/fix-terraform
preethamr Dec 19, 2025
a5d975f
feat: add TAC Rebalance configuration and Fill Service Web3Signer sup…
preethamr Dec 20, 2025
f8eed59
Merge pull request #453 from everclearorg/feat/add_tac_to_mandy
preethamr Dec 20, 2025
b5309b4
fix: hot fix terrraform deploy failure
preethamr Dec 20, 2025
be96611
feat: logging for run mode
prathmeshkhandelwal1 Dec 22, 2025
09fe3f0
Merge pull request #454 from everclearorg/staging
preethamr Dec 22, 2025
2b822f0
fix: logging
prathmeshkhandelwal1 Dec 22, 2025
538bd81
fix: debug signer param
prathmeshkhandelwal1 Dec 22, 2025
4ec0e3a
chore: debug ton balance check
liu-zhipeng Dec 22, 2025
6953b14
chore: debug url
liu-zhipeng Dec 22, 2025
6e774d6
Merge pull request #456 from everclearorg/debug-ton-balance
preethamr Dec 22, 2025
9f3ab25
feat: migrate solana rebalancer to threshold-based approach
jintukumardas Dec 23, 2025
38d9c73
fix: add threshold configs
jintukumardas Dec 23, 2025
190f703
fix: lint issues
jintukumardas Dec 23, 2025
880d373
chore: remove console
liu-zhipeng Dec 23, 2025
27614b7
fix: ton usdt decimal issue
liu-zhipeng Dec 23, 2025
275c793
fix: lint
liu-zhipeng Dec 23, 2025
876ab91
fix: ci
liu-zhipeng Dec 23, 2025
a7f28c9
Merge pull request #458 from everclearorg/fix-tac-rebalance
preethamr Dec 24, 2025
12adaf0
fix: get native token balance
liu-zhipeng Dec 24, 2025
a78453a
Merge pull request #459 from everclearorg/hotfix-tac
liu-zhipeng Dec 24, 2025
5afdbd1
Merge pull request #457 from everclearorg/feat/solana-threshold-rebal…
preethamr Dec 24, 2025
c485b2a
fix: update ccip send instruction discriminator
jintukumardas Dec 25, 2025
e204020
Merge pull request #460 from everclearorg/fix/ccip-instruction
prathmeshkhandelwal1 Jan 5, 2026
f2c096d
fix: target based logic
prathmeshkhandelwal1 Jan 5, 2026
d2427b3
fix: ccip build instruction
jintukumardas Jan 5, 2026
840d435
Merge pull request #461 from everclearorg/fix/ccip-router
prathmeshkhandelwal1 Jan 5, 2026
ca4bf57
fix: use versioned tx to reduce solana tx size below 1232 bytes
jintukumardas Jan 5, 2026
8eb569e
Merge pull request #462 from everclearorg/fix/versioned-tx-solana
prathmeshkhandelwal1 Jan 5, 2026
dc66975
fix: logging
prathmeshkhandelwal1 Jan 5, 2026
9ec21ac
fix: change rate for rebalancing
prathmeshkhandelwal1 Jan 5, 2026
3db3584
fix: custom lut
prathmeshkhandelwal1 Jan 5, 2026
55fbe50
fix: lint issues
prathmeshkhandelwal1 Jan 5, 2026
5644b2a
Merge pull request #463 from everclearorg/lookup-table
prathmeshkhandelwal1 Jan 5, 2026
4e7d641
fix: burn mint address
prathmeshkhandelwal1 Jan 5, 2026
304737a
feat: refactored ccip client
prathmeshkhandelwal1 Jan 6, 2026
066447c
fix: lint
prathmeshkhandelwal1 Jan 6, 2026
67f96b9
Merge pull request #464 from everclearorg/ccip-refactor
prathmeshkhandelwal1 Jan 6, 2026
69cae4e
fix: evm address conversion for ccip client
jintukumardas Jan 6, 2026
7bac5b5
Merge pull request #465 from everclearorg/fix/address-conv
prathmeshkhandelwal1 Jan 6, 2026
bf6bbd8
fix: ata logging
prathmeshkhandelwal1 Jan 6, 2026
1d29aec
fix: added approval
prathmeshkhandelwal1 Jan 6, 2026
beb2184
fix: lint
prathmeshkhandelwal1 Jan 6, 2026
24cdcbe
fix: ccip token pools signer
jintukumardas Jan 6, 2026
b0e040c
Merge pull request #466 from everclearorg/fix/ccip-signer
prathmeshkhandelwal1 Jan 7, 2026
68de31f
fix: update ccip seed
jintukumardas Jan 7, 2026
1827f1a
Merge pull request #467 from everclearorg/fix/ccip-signer
prathmeshkhandelwal1 Jan 7, 2026
70f7593
fix: remove sensitive vars
liu-zhipeng Jan 7, 2026
04bc074
fix: pdas
prathmeshkhandelwal1 Jan 7, 2026
43036a4
fix: build
prathmeshkhandelwal1 Jan 7, 2026
a9dbf41
fix: lint
prathmeshkhandelwal1 Jan 7, 2026
4705fbf
Merge branch 'staging' into fix-solana-ccip
liu-zhipeng Jan 7, 2026
99e381f
fix: remove external approval and use pool signer pda
jintukumardas Jan 7, 2026
b2cc500
Merge pull request #468 from everclearorg/fix/ccip-approval
prathmeshkhandelwal1 Jan 7, 2026
9e9263f
fix: changes reverted
prathmeshkhandelwal1 Jan 7, 2026
e79911c
feat: add "@chainlink/ccip-sdk"
liu-zhipeng Jan 7, 2026
49e344c
fix: remove ccipClient
liu-zhipeng Jan 7, 2026
dc24947
fix: build
liu-zhipeng Jan 7, 2026
7b916b5
fix: ccip send logic
liu-zhipeng Jan 7, 2026
c758d6e
fix: lint
liu-zhipeng Jan 7, 2026
23807e6
fix: lint issues
liu-zhipeng Jan 7, 2026
f9379b2
fix: lint
liu-zhipeng Jan 7, 2026
cb44573
Merge pull request #470 from everclearorg/fix-solana-ccip
liu-zhipeng Jan 7, 2026
9545d97
fix: ccip dynmaic import
jintukumardas Jan 8, 2026
3171d89
fix: lint
jintukumardas Jan 8, 2026
b1f87d4
fix: unit test
jintukumardas Jan 8, 2026
9e926aa
Merge pull request #471 from everclearorg/fix/ccip-import
prathmeshkhandelwal1 Jan 8, 2026
c61e83d
fix: updated mainnet USDC address in cowswap adapter
otsybizov Jan 8, 2026
f52a164
Merge pull request #473 from everclearorg/fix/cowswap-mainnet-usdc
liu-zhipeng Jan 8, 2026
838181b
Merge pull request #475 from everclearorg/staging
preethamr Jan 8, 2026
6b47d3d
fix: use ccip-sdk instead of ccip-js
liu-zhipeng Jan 8, 2026
30d4064
Merge pull request #476 from everclearorg/main
liu-zhipeng Jan 8, 2026
1a4d56e
fix: updated mainnet USDC address in cowswap adapter
otsybizov Jan 8, 2026
3a55cbe
Merge pull request #477 from everclearorg/fix/cowswap-mainnet-usdc-prod
liu-zhipeng Jan 8, 2026
aa49610
fix: pendle api
liu-zhipeng Jan 8, 2026
c52c440
feat: move ccip-sdk to ccip adapter
liu-zhipeng Jan 9, 2026
9e90a08
feat: ccip leg2 works
liu-zhipeng Jan 9, 2026
14c9304
fix: int
liu-zhipeng Jan 9, 2026
d920977
fix: ccip unit tests
liu-zhipeng Jan 9, 2026
7597bec
fix: ccip unit tests
liu-zhipeng Jan 9, 2026
ff94c43
test: ccip coverage
liu-zhipeng Jan 9, 2026
9297560
test: add ccip unit
liu-zhipeng Jan 9, 2026
acecebc
fix: to solana message status
liu-zhipeng Jan 9, 2026
487f767
fix: ccip unit tests coverage
liu-zhipeng Jan 9, 2026
ec7f9c3
Merge pull request #478 from everclearorg/refactor-ccip
liu-zhipeng Jan 9, 2026
c3fdbfd
fix: handle circular references when calling json stringify
jintukumardas Jan 12, 2026
1344b24
Merge pull request #479 from everclearorg/fix/circular-log-ref
liu-zhipeng Jan 12, 2026
0cd38be
fix: max retries to 2 for evm
liu-zhipeng Jan 12, 2026
b5ca9f0
Merge pull request #480 from everclearorg/fix-evm-retries
liu-zhipeng Jan 12, 2026
ccc5cc7
feat: use ccip api to check status
liu-zhipeng Jan 12, 2026
bd09cee
test: fix ccip unit
liu-zhipeng Jan 12, 2026
39b7b15
fix: lint
liu-zhipeng Jan 12, 2026
8a3bf13
Merge pull request #481 from everclearorg/use-ccip-api
liu-zhipeng Jan 12, 2026
02b4947
fix: pendle pricing and move configs
jintukumardas Jan 14, 2026
e26db21
fix: update env and variable namings
jintukumardas Jan 14, 2026
0170fc1
fix: rebalance operation status doesn't have FAILED
liu-zhipeng Jan 14, 2026
a6cb52e
Merge pull request #483 from everclearorg/refactor/solana-rebalance
liu-zhipeng Jan 14, 2026
95112a5
fix: check if solana rebalance enabled
liu-zhipeng Jan 14, 2026
8d36331
Merge pull request #484 from everclearorg/fix-solana-rebalance-enabled
liu-zhipeng Jan 14, 2026
70d6a0f
fix: filter operations by bridge type
liu-zhipeng Jan 14, 2026
e3fa625
fix: ccip unit
liu-zhipeng Jan 14, 2026
cb0c5da
Merge pull request #485 from everclearorg/filter-operations-bridge
liu-zhipeng Jan 15, 2026
83ca310
Merge pull request #486 from everclearorg/staging
liu-zhipeng Jan 15, 2026
e515051
fix: remove unused env
liu-zhipeng Jan 15, 2026
e91e920
Merge pull request #488 from everclearorg/fix-remove-unused-env
preethamr Jan 15, 2026
ccd63fb
Merge pull request #487 from everclearorg/main
preethamr Jan 15, 2026
d2f6823
fix: skip rebalance if inflight exist
liu-zhipeng Jan 16, 2026
964cf48
fix: log fill signer addresses
liu-zhipeng Jan 16, 2026
869bfe1
Merge pull request #489 from everclearorg/fix-meth-rebalance
liu-zhipeng Jan 16, 2026
43427cc
fix: bypass several times execute
liu-zhipeng Jan 16, 2026
bc14c33
fix: typo
liu-zhipeng Jan 16, 2026
26579a3
Merge pull request #490 from everclearorg/fix-meth-rebalance
preethamr Jan 16, 2026
4be09aa
Merge pull request #491 from everclearorg/prod
preethamr Jan 16, 2026
794cef2
feat: zksync structure
prathmeshkhandelwal1 Aug 25, 2025
0dcf904
feat: native bridges tested locally
0xHarbs Feb 16, 2026
bdce090
chore: update dependencies and improve code formatting in adapters
preethamr Feb 19, 2026
2f35cb1
refactor: remove unused simulate_prove script and improve error handl…
preethamr Feb 19, 2026
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
18 changes: 18 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
node_modules
dist
*.log
.git
.gitignore
.env
.env.*
coverage
.nyc_output
*.md
.DS_Store
.vscode
.idea
*.swp
*.swo
*~
tsconfig.tsbuildinfo
*.tsbuildinfo
36 changes: 33 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,19 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'

- name: Enable Corepack for Yarn 3
run: corepack enable

- name: Check Yarn version
run: yarn --version

- name: Install dependencies
run: yarn install
run: yarn install --immutable

- name: Build
run: yarn build
Expand Down Expand Up @@ -67,11 +70,14 @@ jobs:
node-version: 20.x
cache: 'yarn'

- name: Enable Corepack for Yarn 3
run: corepack enable

- name: Check Yarn version
run: yarn --version

- name: Install dependencies
run: yarn install
run: yarn install --immutable

- name: Lint workspaces
run: yarn lint
Expand Down Expand Up @@ -130,10 +136,22 @@ jobs:
docker build -f docker/poller/Dockerfile -t $REGISTRY/$POLLER_REPOSITORY:$POLLER_IMAGE_TAG .
docker push $REGISTRY/$POLLER_REPOSITORY:$POLLER_IMAGE_TAG

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'

- name: Install dependencies
run: yarn install
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5.7
terraform_wrapper: false

- name: Setup Sops
uses: mdgreenwald/mozilla-sops-action@v1.2.0
Expand Down Expand Up @@ -213,10 +231,22 @@ jobs:
docker build -f docker/poller/Dockerfile -t $REGISTRY/$POLLER_REPOSITORY:$POLLER_IMAGE_TAG .
docker push $REGISTRY/$POLLER_REPOSITORY:$POLLER_IMAGE_TAG

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'

- name: Install dependencies
run: yarn install
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5.7
terraform_wrapper: false

- name: Setup Sops
uses: mdgreenwald/mozilla-sops-action@v1.2.0
Expand Down
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ web_modules/

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
.env.*
!.env.example
!.env.dbmate
config.json
*.config.json

Expand Down Expand Up @@ -140,4 +139,8 @@ tf-vars.json

# Misc
.DS_Store
.idea
.idea
*.local.json

config-*.yaml
!config-*.example.yaml
134 changes: 134 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Poller: Dev Debug",
"cwd": "${workspaceFolder}/packages/poller",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"run",
"dev"
],
"envFile": "${workspaceFolder}/.env",
"env": {},
"sourceMaps": true,
"autoAttachChildProcesses": true,
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"outputCapture": "console",
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Rebal: Debug Bridge Adapter",
"cwd": "${workspaceFolder}/packages/adapters/rebalance",
"runtimeExecutable": "bash",
"runtimeArgs": [
"-c",
"cd ${workspaceFolder}/packages/adapters/rebalance && yarn run dev adapter ${input:bridgeAdapter} ${input:bridgedAssetChoice} -d ${input:destinationChain}"
],
"envFile": "${workspaceFolder}/.env",
"env": {},
"sourceMaps": true,
"autoAttachChildProcesses": true,
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"outputCapture": "console",
"internalConsoleOptions": "openOnSessionStart"
}
],
"inputs": [
{
"id": "bridgeAdapter",
"description": "Select Bridge Adapter",
"type": "pickString",
"options": [
{
"label": "Coinbase",
"value": "coinbase"
},
{
"label": "Across",
"value": "across"
},
]
},
{
"id": "bridgedAssetChoice",
"description": "Select Asset for Bridge Test",
"type": "pickString",
"options": [
{
"label": "WETH on Base (0.00015)",
"value": "-t 0x4200000000000000000000000000000000000006 -a 0.00015 -o 8453"
},
{
"label": "WETH on Optimism (0.00015)",
"value": "-t 0x4200000000000000000000000000000000000006 -a 0.00015 -o 10"
},
{
"label": "WETH on Unichain (0.00015)",
"value": "-t 0x4200000000000000000000000000000000000006 -a 0.00015 -o 130"
},
{
"label": "WETH on Ethereum (0.00015)",
"value": "-t 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 -a 0.00015 -o 1"
},
{
"label": "WETH on Polygon (0.00015)",
"value": "-t 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619 -a 0.00015 -o 137"
},
{
"label": "USDC on Ethereum (1.50)",
"value": "-t 0xA0b86a33E6441b8c4C8C0E4A8D0b4b8c4C8C0E4A -a 1.5 -o 1"
},
{
"label": "USDC on Polygon (1.50)",
"value": "-t 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 -a 1.5 -o 137"
},
{
"label": "USDC on Base (1.50)",
"value": "-t 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 -a 1.5 -o 8453"
},
{
"label": "USDC on Optimism (1.50)",
"value": "-t 0x0b2c639c533813f4aa9d7837caf62653d097ff85 -a 1.5 -o 10"
},
{
"label": "USDC on Arbitrum (1.50)",
"value": "-t 0xaf88d065e77c8cc2239327c5edb3a432268e5831 -a 1.5 -o 42161"
}
]
},
{
"id": "destinationChain",
"description": "Select Destination Chain",
"type": "pickString",
"options": [
{
"label": "Ethereum Mainnet",
"value": "1"
},
{
"label": "Polygon",
"value": "137"
},
{
"label": "Base",
"value": "8453"
},
{
"label": "Arbitrum",
"value": "42161"
},
{
"label": "Optimism",
"value": "10"
}
]
}
]
}
Loading