Ownership #739
Creator 0xE6DA…7a17
Update Twocryptong amm and math implementation from v2.0.0 to v2.1.0 in the TwocryptoFactory. This applies only to newer pools deployed from the factory. Vote Simulation: https://colab.research.google.com/drive/184O9hLB2p0SXgE-BbvwJDV08tFxD24iD?usp=sharing 1. Restore max gamma to MAX_GAMMA_SMALL 0.02 (as before) and even allow to go as far as MAX_GAMMA 0.199 with some more restrictive checks on convergence. 2. newton_D convergence limits are now symmetric. 3. Removal of xcp_oracle due to low usage and gas consumption. 4. More precise ramping condition (before there was some delay before you could start a new ramp).
What this vote does
This vote changes contract code.
If the vote passes, these 2 things happen, in this order.
- 01
New pools or markets from Twocrypto-NG pool factory will use new code
Only things created from now on use this code. Existing ones keep working exactly as before.
Upgradesset_pool_implementation() - 02
New pools or markets from Twocrypto-NG pool factory will use new code
Only things created from now on use this code. Existing ones keep working exactly as before.
Upgradesset_math_implementation()
Our translation is a guide. The script below is what actually runs.
Execution script
Call via agent (0x40907540d8a6C65c637785e8f8B742ae6b0b9968):
├─ To: 0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F
├─ Function: set_pool_implementation
└─ Inputs: [('address', '_pool_implementation', '0x934791f7F391727db92BFF94cd789c4623d14c52'), ('uint256', '_implementation_index', 0)]
Call via agent (0x40907540d8a6C65c637785e8f8B742ae6b0b9968):
├─ To: 0x98EE851a00abeE0d95D08cF4CA2BdCE32aeaAF7F
├─ Function: set_math_implementation
└─ Inputs: [('address', '_math_implementation', '0x1Fd8Af16DC4BEBd950521308D55d0543b6cDF4A1')]
- Open for voting
- 5 Jun 2024, 10:57 UTC
- Voting closed
- 12 Jun 2024, 10:57 UTC
- Snapshot block
- 20025176
- Execution
- 0x6679…8a49 · 12 Jun 2024, 20:35 UTC
- Creation tx
- 0x3adc…3c98
Discussion
Signed with a wallet · free, no gasLoading comments…

