feat: Add builder pattern and registry for SwapEncoders

Save swap executor addresses in a config file
This commit is contained in:
Diana Carvalho
2025-01-15 11:40:04 +00:00
parent 6f8bbd89a5
commit 6d8cbcd80c
6 changed files with 135 additions and 27 deletions

View File

@@ -0,0 +1,6 @@
{
"executors": {
"uniswap_v2": "0x5C2F5a71f67c01775180ADc06909288B4C329308",
"vm:balancer_v2": "0x543778987b293C7E8Cf0722BB2e935ba6f4068D4"
}
}