1. Token管理
1.1 Fee Token
1.2 User Token
1.3 LP Token
1.4 Governor Config
2. 賬戶管理
3. Fee模型
4. Pub Data of Transactions
4.1 Noop
4.2 Deposit
4.3 Transfer
4.4 TransferToNew
4.5 Withdraw
4.6 FullExit
4.7 ChangePubKey
4.8 CreatePair
4.9 AddLiquidity
4.10 RemoveLiquidity
4.11 Swap
5. Circuit Optimization
6. AMM Circuit Explanation
6.1 CreatePair Circuit
6.2 AddLiquidity Circuit
6.3 RemoveLiquidity Circuit
6.4 Swap Circuit
7. Withdrawal Optimization
7.1 checkWithdrawals
7.2 completeWithdrawals
8. Limitation
冷萃財經原創,作者:awing,轉載請註明出處:https://www.lccjd.top/2021/04/23/zkswap-v2%e7%89%88%e6%9c%ac%e9%a2%84%e8%ae%a1%e5%b0%86%e4%ba%8e6%e6%9c%88%e4%bb%bd%e4%b8%8a%e7%ba%bf%ef%bc%8c%e6%94%af%e6%8c%81layer2%e8%87%aa%e4%b8%bb%e6%97%a0%e9%99%90%e4%b8%8a%e5%b8%81/?variant=zh-tw
文章評論