From 4ca46b977daa7dd4fa4c472e08c59163e1b3a228 Mon Sep 17 00:00:00 2001 From: markolazic01 <80317369+markolazic01@users.noreply.github.com> Date: Sat, 17 Dec 2022 17:42:34 +0100 Subject: [PATCH] Fix misleading _A argument description Current description of _A does not comply to invariant math used in contract. Typo is present in multiple pool contracts, I'm pushing this just as an example typo fix. --- contracts/pool-templates/base/SwapTemplateBase.vy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/pool-templates/base/SwapTemplateBase.vy b/contracts/pool-templates/base/SwapTemplateBase.vy index d1d4f1e2..08f75f9c 100644 --- a/contracts/pool-templates/base/SwapTemplateBase.vy +++ b/contracts/pool-templates/base/SwapTemplateBase.vy @@ -133,7 +133,7 @@ def __init__( @param _owner Contract owner address @param _coins Addresses of ERC20 conracts of coins @param _pool_token Address of the token representing LP share - @param _A Amplification coefficient multiplied by n * (n - 1) + @param _A Amplification coefficient multiplied by n ** (n - 1) @param _fee Fee to charge for exchanges @param _admin_fee Admin fee """