Domenico
|
e484ea28ca
|
Sdk implementation: Sfrax adapter and substream (#91)
* feat: initial setup
* feat: implemented getCapabilities and getTokens
* chore: adjusted getPoolIds
* feat: Initial implementation of getLimits()
* feat: implemented getLimits, getTokens and internal functions for amounts
* feat: implemented price
* feat: implemented swap function
* fix and test: fixed minor issues on adapter and setup test
* debugging price function
* fix: debugged price function and fixed getPriceAt function
* test: testOneIncreasingPriceFoundFraxV3SFrax
* fix: debugging and fixing buy function
* fix: fixed getPriceAt
* test: testing post trade price
* fix: Fixed getPriceAt
* fix: Fixed getLimits
* fix: Fixed prices and improved readability
* fix: Fixed price and transfers in swap
* feat: Finished tests
* chore: Changed approve to safeIncreaseAllowance
* feat: created substream for staked frax
* feat: remove useless files
* feat: fixed dependencies in cargo.toml
* feat: rename folder
* feat: updated cargo.lock
* feat: changed lib.rs, added modules.rs
* feat: update modules.rs with corrects addresses
* feat: rename folder in ethereum-sfrax
* feat: remove useless comments, change locked asset address, rename
* feat: undo changes on mod.rs in ethereum-balancer
* feat: rename variable
* feat: update substreams/cargo.toml
* feat: modify ristfmt.toml
* feat: performed code formatting
* feat: modify src/abi
* feat: performed formatting with nightly
* feat: fix addition opeation
* feat: adjust code with for i, f
* feat: performed fmt inside ethereum-sfrax folder
* feat: performed clippy
* feat: fix with clippy warning suggests
* feat: undo any change in ethereum-balancer
* feat: change stakedfrax_contract.rs
* fix: stakedfrax_contract.rs
* feat: add blank line
* feat: add #[allow(clippy::all)] on ethereum-sfrax/src/abi/mod.rs
* feat: update comments on pool_factories.rs
* feat: update cargo.toml and substreams.yaml
* feat: add tycho evm in pb folder
* feat: add params to take contracts' addresses
* feat: add logic to map rewards_cycle
* feat: performed fmt and fix versioning
* feat: remove useless functions
* feat: add logic to track rewards_to_distribute
* feat: passing CI
* fix: substreams.yaml
* feat: fixed params in manifest
Co-authored-by: mrBovo <bovo.ignazio@proton.me>
* feat: fixed error in map_relative_balances function
* feat: passing CI checks
* fix: 🐛 hex-binary address encoding + refactoring vault-> underlying map
* style: 💄 fix formatting
* feat: Implemented testPoolBehaviour
* alignment with propeller main
* Update forge-std submodule reference to include ds-test
* files update to match propeller/main
* creating integration_test fir sfrax
* fixed FraxV3SFraxAdapter.sol import paths
* updated with correct addresses FraxV3SFraxAdapter manifest.yaml
* updated sfrax manifest.yaml
* updated to support sdk
* integration_test sfrax updated
* fix: 🐛 add reward processing
* chore: ♻️ minor cleanups
* fix: Fixed adapter limits
* fix: fix adapter and substream sdk tests
* fix: Fixed CI errors
* chore: fmt
* chore: Removed unused line
* fix: Fixed clippy warnings
* chore: formatted with rustup
* chore: Removed unused line
* chore: post-build formatting
* chore: Formatting using different toolchain vesion
* chore: 💄 format
* chore: 💄 format 2
* chore: Using static address for frax
* feat: Added second constructor param for sfrax
* fix: Fixed limits on frax sell
* chore: Fixed merge conflict with sfraxeth
* chore: Remove sfraxeth_contract changes
* chore: Fixed EOFs
* fix: Fixed fmt on stakedfrax contract
---------
Co-authored-by: mp-web3 <mp.web3.t@gmail.com>
Co-authored-by: gabrir99 <gabri.ruini@gmail.com>
Co-authored-by: mrBovo <bovo.ignazio@proton.me>
Co-authored-by: Ignazio Bovo <ignazio@jsgenesis.com>
Co-authored-by: mrBovo <bovoignazio.dev@gmail.com>
Co-authored-by: Mattia <mp.web3@gmail.com>
|
2024-10-25 18:53:06 +01:00 |
|
Pierre
|
b3e3672172
|
Revert "ENG-3406: Add new bytes parameter to swap"
|
2024-08-08 22:24:35 +02:00 |
|
PierreMkt
|
07ca52b2ff
|
chore(adapters): Address PR review
keep mock data as empty bytes
|
2024-08-05 13:56:28 -04:00 |
|
PierreMkt
|
034d5ac8c2
|
feat(adapters): Add new bytes parameter to swap
that allows arbitrary data to be passed
|
2024-08-02 11:55:00 -04:00 |
|
pistomat
|
dfa731a93d
|
Remove IERC20 from ISwapAdapter and use SafeERC20 for IERC20
|
2024-03-27 13:14:24 +01:00 |
|
pistomat
|
87c0c8baba
|
chore: forge fmt
|
2024-03-27 10:43:02 +01:00 |
|
domenicodev
|
7dca13f9e0
|
fix: fixed price type in price function
|
2024-01-25 11:53:40 +01:00 |
|
domenicodev
|
8001e22674
|
fix: Set amountOutMin
|
2024-01-25 11:51:04 +01:00 |
|
domenicodev
|
14ce015ac4
|
feat: Added comment about minLimits as requested
|
2024-01-19 11:54:11 +01:00 |
|
domenicodev
|
1cffd007ad
|
fix: Moved getPriceAt() to bottom
|
2024-01-18 11:06:13 +01:00 |
|
domenicodev
|
cf41c472c6
|
fix: Initial code review fixes
|
2024-01-17 15:24:18 +01:00 |
|
domenicodev
|
3d7d4f1a98
|
fix: Removed unused parameters from Contract
|
2024-01-08 18:05:07 +01:00 |
|
domenicodev
|
a7ea4d3604
|
fix: Fixed and Improved tests
|
2024-01-08 18:04:20 +01:00 |
|
domenicodev
|
46e9a3dd0e
|
feat: Added ConstantPrice capability
|
2024-01-08 16:53:55 +01:00 |
|
domenicodev
|
8798fc7313
|
fix: Removed internal _getLimits
|
2024-01-08 16:48:07 +01:00 |
|
domenicodev
|
af7b9cd9a6
|
feat: Integrated SafeERC20
|
2024-01-08 16:43:03 +01:00 |
|
domenicodev
|
37ea829592
|
fix: Fixed prices
|
2024-01-08 16:29:55 +01:00 |
|
domenicodev
|
3a2e620246
|
fix: Fixed Fractions
|
2024-01-06 17:27:36 +01:00 |
|
domenicodev
|
af196d6793
|
fix: Removed unused reverts and constants
|
2024-01-04 17:36:57 +01:00 |
|
mp-web3
|
bb28533951
|
fix: Fixed swap tests and limits calculations on IntegralSwapAdapter contract; feat: Added getTokens test
|
2023-12-27 17:58:03 +01:00 |
|
domenicodev
|
b46c662607
|
fix: Changed error code as per ISwapAdapter.sol definition
|
2023-12-22 11:17:12 +01:00 |
|
domenicodev
|
cc1a17c889
|
fix: Fixed getLimits and address conversions
|
2023-12-22 10:24:03 +01:00 |
|
mp-web3
|
6c3eeff329
|
testPriceFuzzIntegral
|
2023-12-21 18:29:02 +01:00 |
|
mp-web3
|
87193425a8
|
added IntegralSwapAdapterFix.sol and set up IntegralSwapAdapter.t.sol
|
2023-12-21 18:22:55 +01:00 |
|
domenicodev
|
c470b2a20e
|
fix: Fixed limits
|
2023-12-21 17:43:07 +01:00 |
|
domenicodev
|
5e7d39fa7a
|
fix: fixed submit deadline and transfers on sell and buy functions
|
2023-12-21 10:08:22 +01:00 |
|
domenicodev
|
2565b3eba5
|
Added missing desc in swap function
|
2023-12-19 16:35:41 +01:00 |
|
domenicodev
|
cd8e9c61b3
|
fix: Improved SWAP_DEADLINE_SEC comment text
|
2023-12-19 11:43:00 +01:00 |
|
domenicodev
|
5686e19402
|
feat: Implemented swap with buy and sell functions
|
2023-12-15 20:32:16 +01:00 |
|
domenicodev
|
878f788a50
|
feat: Implemented price
|
2023-12-15 10:02:13 +01:00 |
|
domenicodev
|
b08963ece0
|
fix: changed integral manifest address to Integral Relayer address
|
2023-12-14 17:23:40 +01:00 |
|
domenicodev
|
ed8166fc95
|
feat: Implemented getLimits
|
2023-12-14 16:59:40 +01:00 |
|
domenicodev
|
4e519cf213
|
feat: Added Relayer in constructor and as main target contract
|
2023-12-14 16:56:45 +01:00 |
|
domenicodev
|
d993e110d1
|
fix: typos, inheritance errors and missing overrides
|
2023-12-14 16:43:16 +01:00 |
|
domenicodev
|
2decec2bd3
|
feat: Implemented getCapabilities
|
2023-12-14 10:30:03 +01:00 |
|
domenicodev
|
54c8253371
|
feat: Implemented getTokens
|
2023-12-14 10:29:04 +01:00 |
|
domenicodev
|
d9a1102c32
|
feat: Implemented getPoolIds
|
2023-12-13 18:13:30 +01:00 |
|
domenicodev
|
b8794fd3a4
|
feat: added documentation, manifests and initial libraries for Integral support
|
2023-12-13 18:11:58 +01:00 |
|