Skip to content

Commit 638e25f

Browse files
committed
fix: #149 fix comment in create LP - commitment amount should use asset DP
1 parent 4766c35 commit 638e25f

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

submit-create-liquidity-provision/submit-create-liquidity-provision-order-with-Vega-API-client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129
# S U B M I T L I Q U I D I T Y C O M M I T M E N T #
130130
#####################################################################################
131131

132-
# Note: commitment_amount is an integer. For example 123456 is a price of 1.23456,
133-
# for a market which is configured to have a precision of 5 decimal places.
132+
# Note: commitment_amount is an integer. For example 1234567891234567890 is a price of 1.234567891234567890,
133+
# for a settlement asset (ERC20) which is configured to have a precision of 18 decimal places.
134134

135135
# __prepare_liquidity_order:
136136
# Prepare a liquidity commitment transaction message

submit-create-liquidity-provision/submit-create-liquidity-provision-order.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ response="$(curl -s "$url")"
8787
echo "Liquidity provisions: $response"
8888
# :get_liquidity_provisions__
8989

90-
91-
9290
### Submit liquidity commitment for the selected market
93-
# Note: commitment_amount is an integer. For example 123456 is a price of 1.23456,
94-
# for a market which is configured to have a precision of 5 decimal places.
91+
# Note: commitment_amount is an integer. For example 1234567891234567890 is a price of 1.234567891234567890,
92+
# for a settlement asset (ERC20) which is configured to have a precision of 18 decimal places.
9593

9694
# __prepare_liquidity_order:
9795
# Compose a submit liquidity provision command

0 commit comments

Comments
 (0)