-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed, rebased composable stable pool v2 deployment (#2065)
* Prevent invariant overflow (#1690) * Add check to prevent invariant overflow * Update pkg/pool-stable/contracts/ComposableStablePoolProtocolFees.sol Co-authored-by: Tom French <[email protected]> Co-authored-by: Tom French <[email protected]> * Composable stable pool versioning (#2034) * WIP: version for ComposableStablePool. * Fix stack too deep error and adjust tests. * ComposableStablePoolFactory test. * Remove unused var. * Add factory version / pool version. * Fix benchmarks. * Remove IVersionProvider. * feat: add proportional joins/exits * Deployment preparation: Composable stable pool v2 (#2028) * feat: add proportional joins/exits to ComposableStablePool * deprecate 20220906-composable-stable-pool task * add new task * add artifacts * checkpoint * refactor: finish fork test * refactor: remove weighted encoder name change (extraneous for this deployment) * feat: add deprecations section to stable pool, and update deployments readme * fix: deprecated paths * Update README.md Co-authored-by: Nicolás Venturo <[email protected]> * fix: re-add _computeProportionalAmountsOut * test: update test to remove use of deprecated function Co-authored-by: Nicolás Venturo <[email protected]> Co-authored-by: Juan Ignacio Ubeira <[email protected]>
- Loading branch information
1 parent
0f434b5
commit 3251913
Showing
35 changed files
with
242,300 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
278 changes: 278 additions & 0 deletions
278
...deployments/tasks/20221122-composable-stable-pool-v2/abi/ComposableStablePoolFactory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,278 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "contract IVault", | ||
"name": "vault", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "contract IProtocolFeePercentagesProvider", | ||
"name": "protocolFeeProvider", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "factoryVersion", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "poolVersion", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [], | ||
"name": "FactoryDisabled", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "pool", | ||
"type": "address" | ||
} | ||
], | ||
"name": "PoolCreated", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "name", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "symbol", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "contract IERC20[]", | ||
"name": "tokens", | ||
"type": "address[]" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amplificationParameter", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "contract IRateProvider[]", | ||
"name": "rateProviders", | ||
"type": "address[]" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "tokenRateCacheDurations", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"internalType": "bool[]", | ||
"name": "exemptFromYieldProtocolFeeFlags", | ||
"type": "bool[]" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "swapFeePercentage", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "owner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "create", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract ComposableStablePool", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "disable", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "bytes4", | ||
"name": "selector", | ||
"type": "bytes4" | ||
} | ||
], | ||
"name": "getActionId", | ||
"outputs": [ | ||
{ | ||
"internalType": "bytes32", | ||
"name": "", | ||
"type": "bytes32" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getAuthorizer", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IAuthorizer", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getCreationCode", | ||
"outputs": [ | ||
{ | ||
"internalType": "bytes", | ||
"name": "", | ||
"type": "bytes" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getCreationCodeContracts", | ||
"outputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "contractA", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "contractB", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getPauseConfiguration", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "pauseWindowDuration", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "bufferPeriodDuration", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getPoolVersion", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getProtocolFeePercentagesProvider", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IProtocolFeePercentagesProvider", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getVault", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IVault", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "isDisabled", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "pool", | ||
"type": "address" | ||
} | ||
], | ||
"name": "isPoolFromFactory", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "version", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.