Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Dec 16, 2024
1 parent 2aa6c3a commit 9431061
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions position/position.gno
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ func Mint(
fee uint32,
tickLower int32,
tickUpper int32,
amount0DesiredStr string,
amount1DesiredStr string,
amount0MinStr string,
amount1MinStr string,
amount0DesiredStr string,
amount1DesiredStr string,
amount0MinStr string,
amount1MinStr string,
deadline int64,
mintTo std.Address,
caller std.Address,
Expand Down Expand Up @@ -224,10 +224,10 @@ func mint(params MintParams) (uint64, *u256.Uint, *u256.Uint, *u256.Uint) {
// ref: https://docs.gnoswap.io/contracts/position/position.gno#increaseliquidity
func IncreaseLiquidity(
tokenId uint64,
amount0DesiredStr string,
amount1DesiredStr string,
amount0MinStr string,
amount1MinStr string,
amount0DesiredStr string,
amount1DesiredStr string,
amount0MinStr string,
amount1MinStr string,
deadline int64,
) (uint64, string, string, string, string) {
common.IsHalted()
Expand Down Expand Up @@ -367,8 +367,8 @@ func increaseLiquidity(params IncreaseLiquidityParams) (uint64, *u256.Uint, *u25
func DecreaseLiquidity(
tokenId uint64,
liquidityRatio uint64,
amount0MinStr string,
amount1MinStr string,
amount0MinStr string,
amount1MinStr string,
deadline int64,
unwrapResult bool,
) (uint64, string, string, string, string, string, string) {
Expand Down Expand Up @@ -602,7 +602,7 @@ func Reposition(
poolKey: position.poolKey,
tickLower: tickLower,
tickUpper: tickUpper,
amount0Desired: u256.MustFromDecimal(amount0Desired)Str,
amount0Desired: u256.MustFromDecimal(amount0DesiredStr),
amount1Desired: u256.MustFromDecimal(amount1DesiredStr),
amount0Min: u256.MustFromDecimal(amount0MinStr),
amount1Min: u256.MustFromDecimal(amount1MinStr),
Expand Down

0 comments on commit 9431061

Please sign in to comment.