Skip to content

Conversation

lastperson
Copy link
Collaborator

Closes: #94 #95

Other changes:
Updated RepayerCaller in the config to reflect recent onchain changes made through an admin multisig.
Updated repayment/rebalance route configs to include new pools. Still requires onchain update through an admin multisig.

Below are the list of needed onchain actions:

Rebalancing:
To allow missing routes execute the following transaction.
To: 0xA85Cf46c150db2600b1D03E437bedD5513869888
Function: setRoute
Params:
isAllowed: true

BASE, ARBITRUM_ONE, OP_MAINNET (same for each chain):
┌─────────┬──────────────────────────────────────────────┬─────────┬───────────┐
│ (index) │ pools                                        │ domains │ providers │
├─────────┼──────────────────────────────────────────────┼─────────┼───────────┤
│ 0       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 1n        │
│ 1       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 1n        │
└─────────┴──────────────────────────────────────────────┴─────────┴───────────┘

Repaying:
To allow missing routes execute the following transaction.
To: 0x36364Acc7B9c67692CA215af09A41CBd10439511
Function: setRoute
Params:
isAllowed: true

BASE:
┌─────────┬──────────────────────────────────────────────┬─────────┬───────────┬───────────────────┐
│ (index) │ pools                                        │ domains │ providers │ supportsAllTokens │
├─────────┼──────────────────────────────────────────────┼─────────┼───────────┼───────────────────┤
│ 0       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 2n        │ true              │
│ 1       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 1n        │ true              │
│ 2       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 4n        │ true              │
│ 3       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 3n        │ true              │
│ 4       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 2n        │ true              │
│ 5       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 1n        │ true              │
│ 6       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 4n        │ true              │
│ 7       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 3n        │ true              │
│ 8       │ '0x7C255279c098fdF6c3116D2BecD9978002c09f4b' │ 3n      │ 3n        │ true              │
│ 9       │ '0x7C255279c098fdF6c3116D2BecD9978002c09f4b' │ 2n      │ 3n        │ true              │
└─────────┴──────────────────────────────────────────────┴─────────┴───────────┴───────────────────┘

ARBITRUM_ONE:
┌─────────┬──────────────────────────────────────────────┬─────────┬───────────┬───────────────────┐
│ (index) │ pools                                        │ domains │ providers │ supportsAllTokens │
├─────────┼──────────────────────────────────────────────┼─────────┼───────────┼───────────────────┤
│ 0       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 2n        │ true              │
│ 1       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 1n        │ true              │
│ 2       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 4n        │ true              │
│ 3       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 3n        │ true              │
│ 4       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 2n        │ true              │
│ 5       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 1n        │ true              │
│ 6       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 4n        │ true              │
│ 7       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 3n        │ true              │
│ 8       │ '0x7C255279c098fdF6c3116D2BecD9978002c09f4b' │ 4n      │ 3n        │ true              │
│ 9       │ '0x7C255279c098fdF6c3116D2BecD9978002c09f4b' │ 2n      │ 3n        │ true              │
└─────────┴──────────────────────────────────────────────┴─────────┴───────────┴───────────────────┘

OP_MAINNET:
┌─────────┬──────────────────────────────────────────────┬─────────┬───────────┬───────────────────┐
│ (index) │ pools                                        │ domains │ providers │ supportsAllTokens │
├─────────┼──────────────────────────────────────────────┼─────────┼───────────┼───────────────────┤
│ 0       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 2n        │ true              │
│ 1       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 1n        │ true              │
│ 2       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 4n        │ true              │
│ 3       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 0n      │ 3n        │ true              │
│ 4       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 2n        │ true              │
│ 5       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 1n        │ true              │
│ 6       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 4n        │ true              │
│ 7       │ '0x2781650E1d76b56b3BCD9836e4d16E04c86d3D07' │ 12n     │ 3n        │ true              │
│ 8       │ '0x7C255279c098fdF6c3116D2BecD9978002c09f4b' │ 3n      │ 3n        │ true              │
│ 9       │ '0x7C255279c098fdF6c3116D2BecD9978002c09f4b' │ 4n      │ 3n        │ true              │
└─────────┴──────────────────────────────────────────────┴─────────┴───────────┴───────────────────┘

@lastperson lastperson requested review from viatrix and MakMuftic August 8, 2025 12:28
@lastperson lastperson self-assigned this Aug 8, 2025
viatrix
viatrix previously approved these changes Aug 8, 2025
* Add Aave Long Term borrow pool

* Add tests, fix implementation

* Update scripts

* Tolerate rounding error in Aave tests

* Add Aave long term deploy script

* Tolerate Aave rounding errors in long term tests

* Tolerate Aave rounding errors in all tests

* Fix Stargate test

* Chore documentation (#102)

* Expand readme and example env

* Only use predict() for what is about to be deployed

* Apply suggestions from code review

Co-authored-by: Tanya Bushenyova <[email protected]>

* Update README.md

---------

Co-authored-by: Tanya Bushenyova <[email protected]>

---------

Co-authored-by: viatrix <[email protected]>
MakMuftic
MakMuftic previously approved these changes Sep 11, 2025
@lastperson lastperson merged commit 1d8ae30 into main Sep 12, 2025
3 checks passed
@lastperson lastperson deleted the deploy-uni-eth branch September 12, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy dedicated USDC pool to Unichain
3 participants