feat(curve): add coins in static attributes (#205)
* feat(curve): add coins in static attributes This will be used by tycho-execution when executing swaps on the pool. It is needed because the `exchange` function takes token indexes and not addresses as input. * style: make clippy happy with `format!` --------- Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
This commit is contained in:
@@ -51,7 +51,7 @@ def encode_json_to_query_params(params: list[dict[str, Any]]):
|
||||
f"Index `{i}` object missing parameters.\n\n" + err.args[0]
|
||||
)
|
||||
|
||||
return ",".join(encoded_params)
|
||||
return "#".join(encoded_params)
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user