Closed Senna46 closed 9 months ago
This is the initial share amount for the initial pool deposit.
var ( // OneShare represents the amount of subshares in a single pool share. OneShare = sdk.NewIntFromBigInt(sdk.OneDec().BigInt()) )
10^12 LP is sent to the initial deposit user.
This is too large and introduces many calculation errors. The initial value should be about 10^6 or equal to the amount of Deposited UT or PT.
Temp ~Set 1_000_000 utoken for initial deposit~
Revert to use sdk.OneDec() to match Osmosis implements
sdk.OneDec()
This is the initial share amount for the initial pool deposit.
10^12 LP is sent to the initial deposit user.
This is too large and introduces many calculation errors. The initial value should be about 10^6 or equal to the amount of Deposited UT or PT.