-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Describe the feature
./simplicity-dex positions
Your Positions:
===============
Option Contract Locked Assets:
------------------------------
# | Locked Assets | Settlement | Expires | Contract
--------------------------------------------------------------------------------
1 | 100000 LBTC | (7198165d)... | [SOON] in 2 hours | tex1p6257...
Your Option/Grantor Tokens:
---------------------------
# | Type | Amount | Strike/Token | Expires | Contract
------------------------------------------------------------------------------------------
1 | option_token | 100 | 12 (7198165d)... | [SOON] in 2 hours | tex1p6257...
2 | grantor_token | 100 | 12 (7198165d)... | [SOON] in 2 hours | tex1p6257...
Pending Swaps:
--------------
(No tokens found)
Contract History:
-----------------
Option Contract tex1p6257...:
- option_created @ 5 minutes ago (tx: 45ad237536bc...)
- option_funded @ 5 minutes ago (tx: 0f6549940d18...)This issue is created for the extension of the dex positions command. After the refactor, I can't understand what kind of parameters are assigned to positions.
Maybe we can add such extensions:
./simplicity-dex positions all- to list all available positions (as it is currently used)./simplicity-dex positions options -i <optional or mandatory index>- to view a detailed review of the options contract arguments./simplicity-dex positions swap -i <optional or mandatory index>- to view a detailed review of the swap contract arguments
Metadata
Metadata
Assignees
Labels
No labels