46
46
47
47
48
48
Available Commands:
49
- create-liquidity- pool Create Liquidity pool with the specified pool-type, deposit coins
49
+ create-pool Create Liquidity pool with the specified pool-type, deposit coins
50
50
51
51
*WIP, More will soon be added.*
52
52
@@ -59,27 +59,27 @@ Global Flags:
59
59
--trace print out full stack trace on errors
60
60
```
61
61
62
- `$ liquidityd tx liquidity create-liquidity- pool --help`
62
+ `$ liquidityd tx liquidity create-pool --help`
63
63
```
64
64
Create Liquidity pool with the specified pool-type-index, deposit coins for reserve
65
65
66
66
Example:
67
- $ liquidity tx liquidity create-liquidity- pool 1 100000000acoin,100000000bcoin --from mykey
67
+ $ liquidity tx liquidity create-pool 1 100000000acoin,100000000bcoin --from mykey
68
68
69
69
Currently, only the default pool-type-index 1 is available
70
70
the number of deposit coins must be two in the pool-type-index 1
71
71
72
72
{"pool_type_index":1,"name":"ConstantProductLiquidityPool","min_reserve_coin_num":2,"max_reserve_coin_num":2,"description":""}
73
73
74
74
Usage:
75
- liquidityd tx liquidity create-liquidity- pool [pool-type-index] [deposit-coins] [flags]
75
+ liquidityd tx liquidity create-pool [pool-type-index] [deposit-coins] [flags]
76
76
```
77
77
78
- ### create-liquidity- pool
78
+ ### create-pool
79
79
80
80
example tx command with result
81
81
82
- `$ liquidityd tx liquidity create-liquidity- pool 1 100000000reservecoin1,100000000reservecoin2 --from node0 --home ./output/node0/liquidityd/ --fees 2stake --chain-id chain-3MYSLc`
82
+ `$ liquidityd tx liquidity create-pool 1 100000000reservecoin1,100000000reservecoin2 --from node0 --home ./output/node0/liquidityd/ --fees 2stake --chain-id chain-3MYSLc`
83
83
84
84
```json
85
85
{
@@ -252,7 +252,7 @@ Usage:
252
252
liquidityd query liquidity [command]
253
253
254
254
Available Commands:
255
- liquidity- pool Query details of a liquidity pool
255
+ pool Query details of a liquidity pool
256
256
params Query the current liquidity parameters information
257
257
*WIP, More will soon be added.*
258
258
@@ -267,18 +267,18 @@ Global Flags:
267
267
Use "liquidityd query liquidity [command] --help" for more information about a command.
268
268
```
269
269
270
- `$ ./liquidityd query liquidity liquidity- pool --help `
270
+ `$ ./liquidityd query liquidity pool --help `
271
271
```
272
272
Query details of a liquidity pool
273
273
Example:
274
- $ liquidity query liquidity liquidity- pool 1
274
+ $ liquidity query liquidity pool 1
275
275
276
276
Usage:
277
- liquidityd query liquidity liquidity- pool [pool-id] [flags]
277
+ liquidityd query liquidity pool [pool-id] [flags]
278
278
279
279
Flags:
280
280
--height int Use a specific height to query state at (this can error if the node is pruning state)
281
- -h, --help help for liquidity- pool
281
+ -h, --help help for pool
282
282
--node string <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
283
283
-o, --output string Output format (text|json) (default "text")
284
284
@@ -289,11 +289,11 @@ Global Flags:
289
289
--trace print out full stack trace on errors
290
290
291
291
```
292
- ### liquidity- pool
292
+ ### pool
293
293
294
294
example query command with result
295
295
296
- `./liquidityd query liquidity liquidity- pool 1`
296
+ `./liquidityd query liquidity pool 1`
297
297
298
298
```bash
299
299
pool_coin_denom: cosmos1qz38nymksetqd2d4qesrxpffzywuel82a4l0vs
@@ -388,7 +388,7 @@ swap_fee_rate: "0.003000000000000000"
388
388
389
389
`cat output/node0/liquidityd/config/genesis.json | grep chain_id`
390
390
391
- `./liquidityd tx liquidity create-liquidity- pool 1 100000000reservecoin1,100000000reservecoin2 --from node0 --home ./output/node0/liquidityd/ --fees 2stake --chain-id <CHAIN-ID>`
391
+ `./liquidityd tx liquidity create-pool 1 100000000reservecoin1,100000000reservecoin2 --from node0 --home ./output/node0/liquidityd/ --fees 2stake --chain-id <CHAIN-ID>`
392
392
393
393
`./liquidityd export --home ./output/node0/liquidityd/`
394
394
0 commit comments