chore: .gitignore and README updates
Made-with: Cursor
This commit is contained in:
@@ -95,6 +95,14 @@ contract ImportProviderPoolsToIntegration is Script {
|
||||
_importIfNeeded(json, providerSource, integration, explicitBase, explicitQuote, lpFeeRate, initialPrice, kFactor, enableTwap);
|
||||
}
|
||||
|
||||
for (uint256 i = 0; json.keyExists(string.concat(".plannedPairs[", vm.toString(i), "]")); i++) {
|
||||
string memory baseKey = string.concat(".plannedPairs[", vm.toString(i), "].baseSymbol");
|
||||
string memory quoteKey = string.concat(".plannedPairs[", vm.toString(i), "].quoteSymbol");
|
||||
string memory plannedBase = json.readString(baseKey);
|
||||
string memory plannedQuote = json.readString(quoteKey);
|
||||
_importIfNeeded(json, providerSource, integration, plannedBase, plannedQuote, lpFeeRate, initialPrice, kFactor, enableTwap);
|
||||
}
|
||||
|
||||
vm.stopBroadcast();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user