Commit 591e986
Hotfix/curve wap (#28)
* feat: add SFApproveTokens action, permit flow recipe and tests (#24)
* test: expand RecipeExecutor tests to support DSA accounts
* feat: read recipeExecutor from registry inside StrategyExecutor
* feat: make FLAction to fetch RecipeExecutor from registry
* fix: remove hardcoded RecipeExecutor from core tests
* feat: add DSA support to StrategyExecutor tests
* chore: add fluid dex deployment on base
* bump sdk and automation-sdk versions and add test for FLBoost
* test: remove console logs
* feat: adapt and test Permission contract with dsa wallets
* fix: compiler warning
* feat: make permission contracts functions internal
* feat: add DSAAuth test
* feat: make CheckWalletType functions internal and expand tests
* feat: improve FLHelper code quality
* docs: generalize dsproxy/safe references to wallet
* feat: rename CheckWalletType to SmartWalletUtils
* test: add test for new fetchOwnerOrWallet
* feat: use generic fetchOwnerOrWallet on all places
* test: add DSA support to core hardhat tests
* fix: auth tests
* fix: remove pragma abicoder v2 from interfaces
* chore: add DSAAuth deployment on arbitrum
* test: make core recipeExecutor test to work on L2s also
* docs: expand the diagram to include DSA wallets
* feat: generalize IInstaAccount interface for v1 and v2
* feat: add support to V1 dsa accounts in DefiSaverConnector
* chore: add new test deployment for DSAAuth
* feat: add DSA utils to abstract dsa cast call for v1 and v2 versions
* feat: adapt foundry tests for dsa v1 support
* test: adapt core tests to support v1 accounts
* chore: add test deployment for DSAAuth on arbitrum
* feat: abstract connector ID for all networks
* docs: update github template for PRs
* chore: run forge format
* chore: run forge fmt
* chore: remove deprecated lint config
* chore: update package json
* chore: run js format
* fix: unused var in SkyView.js
* chore: run forge format
* chore: run forge format
* chore: run js format
* refactor: create deprecated folder
* refactor: reorder and remove unused interfaces
* refactor: make DS contracts as interfaces
* feat: add _vendor folder
* refactor: reorder utils contract and simplify interfaces
* refactor: import dfs registry as interface instead or contract
* chore: inline one history entries in json after contracts deployments
* fix: merge conflict errors
* refactor: use IAdminVault inside AdminAuth
* refactor: add RecipeExecutor interface and change functions visibility
* refactor: add DFSIds lib and move hardcoded Ids constants
* refactor: remove selfdestruct from AdminAuth
* feat: use storage interfaces
* refactor: add common contract for StrategyExecutors
* fix: token utils path for change network repo script
* fix: use correct ds proxy registry interface
* chore: set forge format max line length to 100
* chore: temporarly run forge fmt with line length of 100
* feat: remove unnecessary isAuth call
* feat: add fetchDSAProxyAccounts to GeneralView
* chore: add plasma feed addresses
* refactor: move IVaultMain interface location
* test: fix fl tests for BalancerV3
* feat: remove Linea & Insta connector addresses
* feat: remove DSAProxy factory for linea and plasma
* fix: wront token for wrsETH in plasma feeds
* feat: remove '&eoa' usage for DSA Proxy accounts
* test: remove console.log(error)
* test: set default config for dsa proxy version 2 accounts
* test: fix linting error in GeneralView test and console.log from Strategy executor test
* fix: remove payable from kyber proxy interface
* fix: fix path for TokenUtils when changing repo network
* chore: add morpho deployment on arbitrum
* feat: add morpho blue addresses contract
* feat: use cancun transient storage on new arbitrum deployment
* fix: add cancun flag for verification script
* chore: sync arbitrum strategies
* fix: change regex for network change script
* feat: add strategy specification
* test: add call for switch strategy
* refactor: rename give and remove auth contract permission functions
* fix: pr comments
* refactor: remove DSA support from fetchOwnerOrWallet function
* feat: remove auth contract permission logic for DSA
* feat(sparkview.sol): add spark emode fetch functions
* feat: remove dsa strategy support
* chore: add new address for spark view
* fix: core tests
* test: add tests for aave v3 collateral switch strategy
* feat: add SKY_FARM in SkyView and update tests
* test: add SKY farm in SkyView test
* chore: add new SkyView deployment
* feat: remove fetching dsa proxy accounts from general view
* feat: refactor getGeneralInfo to accept dynamic array of farms
* test: add basic vnet deployment script for DSA
* feat: add spark referral code for fl action
* test: make test_skyView_GetGeneralInfo as view
* chore: add new SkyView deployment
* feat: add spark view small
* test: add test for disabled as collateral
* chore: add SparkViewSmall deployment address
* chore: add morpho fl source on arbitrum inside FLAction
* feat: use public constant name instead of function
* feat: remove v1 DSA support
* feat: add support for summerfi wallets
* feat: simplify DefiSaverConnector
* feat: remove DSAUtils contract
* fix: deployment script for UtilAddresses
* feat: remove public constants for sentinel module and execute selector
* test: setup SmartWallet test utils
* fix: use optimism as network name when updating json addresses file
* chore: add recipeExecutor deployment
* feat: use hardcoded recipeExecutor inside connector
* test: reorg Addresses for tests
* test: recipe executor tests
* test: update SmartWalletUtils tests and add Permission tests
* feat: update connectV2DefiSaver to follow instadapp connectors convention
* chore: add connectV2DefiSaver addresses
* chore: add core redeployment addresses
* chore: redeploy FLAction with morpho fl source on arbitrum
* chore: sync strategies
* feat: add SparkQuotePriceRangeTrigger
* feat: add spark close strategies spec
* test: add hardhat support for summerfi accounts
* feat: remove old spark close strategies code
* test: remove extra prank logic
* test: add spark close tests
* feat: add morpho blue price range trigger
* feat: add morpho blue close strategy spec
* test: add strategy calls for morpho blue close
* feat: add FL inside morpho blue close strategies names
* feat: add comments explaining why max uint can't be used
* test: add tests for morpho close strategies
* test: move isCloseToDebtType check to utils and replace repaySubId name
* test: move isCloseToDebtType check to utils and replace repaySubId name
* chore: add summerfi addrs for arbi
* fix: fix PR comments
* fix: interfaces fix
* feat: add method for fetchin owner to GeneralView.sol
* fix: add codehash for arbi and base
* feat: add OP addresses and codehash
* test: aave FL close to debt test
* test: fix tests with DFSSell action for L2s
* test: hardcode block for SparkViewMini tests
* test: move init logic into helper function
* style: rename SummerfiAcc -> SFProxy
* test: small test refactor
* feat: add deploy script
* chore: add SparkQuotePriceRangeTrigger address
* chore: add deployed spark close strategy
* test: add deployment script
* feat: fix comments for max uint in L2 spec for morpho withdraw action
* chore: add MorphoBluePriceRangeTrigger address
* chore: sync strategies
* fix: tenderly sync script for one contract
* chore: sync morpho close strategies
* test: small test changes
* chore: add deployment addresses
* feat: apply aave v3.6 e-mode changes
* feat: make label fetching future proof
* feat: add middle-layer contract that delegatecalls
* test: fix hardhat tests
* fix: pR comments
* fix: fix failing forge tests and husky
* chore: add new AaveV3 view address
* refactor: etherscan url fetching
* chore: add missing timelock entries in jsons
* feat: add support for linea and plasma for finding missing timelock entries inside script
* style: name change
* feat: add summerfi unsub action and fix naming to sfProxyEntryPoint
* style: remove comment
* feat: hardcode SERVICE_REGISTRY
* fix: remove data from fallback in SFProxyEntryPoint
* feat: add SummerfiUnsubV2 action
* chore: add new sf deployment addresses
* feat: add AdminAuth to SFProxyEntryPoint
* chore: add unsub deployment actions for summerfi
* feat: change SummerfiUnsub action to remove triggers too
* docs: natspec
* chore: add new SummerfiUnsub deployment address
* test: fix failing test
* test: insta dsa cleanup
* feat: periphery tweeks
* feat: add missing core interfaces and adapt tests
* feat: add DFSIds
* feat: rename checkWalletType, isDSProxy and giveWalletPermission
* feat: default to 0 fee type if no TxSaverExecutor is registered
* docs: improve comments for plasma linea placeholder factory addresses
* chore: add new FLAction addresses for Linea and Plasma
* test: fix summerfi unsub test by hardcoding block number
* fix: aave v2 view REN price
* feat: rename ren token address constant and move to addresses file
* chore: add AaveView deployment address
* test: fix tests
* chore: bump dfs/sdk version
---------
Co-authored-by: Rajko Zagorac <57317299+rajko-z@users.noreply.github.com>
Co-authored-by: Milos Djurica <milosdjurica.work@gmail.com>
Co-authored-by: Nikola Sreckovic <sreckonikola@gmail.com>
* Circleci project setup (#27)
* Add .circleci/config.yml
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Rajko Zagorac <57317299+rajko-z@users.noreply.github.com>
Co-authored-by: Milos Djurica <milosdjurica.work@gmail.com>
Co-authored-by: Nikola Sreckovic <sreckonikola@gmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>1 parent 40ee9ea commit 591e986
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments