tusdt-cli 0.2.6__tar.gz → 0.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/PKG-INFO +1 -1
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/pyproject.toml +1 -1
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/__init__.py +1 -1
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/config.py +6 -6
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/utils.py +4 -1
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/.gitignore +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/LICENSE +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/README.md +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/requirements.txt +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_auction.json +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_erc20.json +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_governance.json +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_oracle.json +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_treasury.json +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_vault.json +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/cli.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/client.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/__init__.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/auction.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/governance.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/oracle.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/token.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/treasury.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/vault.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/wallet.py +0 -0
- {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tusdt-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: CLI for interacting with the TUSDT ink! smart contract system on subtensor(bittensor)
|
|
5
5
|
Project-URL: Homepage, https://github.com/tensorusd/tusdt-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/tensorusd/tusdt-cli
|
|
@@ -25,12 +25,12 @@ NETWORKS: dict[str, dict[str, str]] = {
|
|
|
25
25
|
},
|
|
26
26
|
"testnet": {
|
|
27
27
|
"rpc": "wss://test.finney.opentensor.ai:443",
|
|
28
|
-
"vault_address": "
|
|
29
|
-
"token_address": "
|
|
30
|
-
"auction_address": "
|
|
31
|
-
"oracle_address": "
|
|
32
|
-
"governance_address": "
|
|
33
|
-
"treasury_address": "
|
|
28
|
+
"vault_address": "5H8nuGvHJdNXuSWtquddcGQDgAvK4vEvXmvKwU6o4cCmvfPu",
|
|
29
|
+
"token_address": "5DXy5zJ28txkfLQH8uUQSjQWJQQL5hrMVY5Wiv6BwLZX66Gi",
|
|
30
|
+
"auction_address": "5CqXrT8gkRx7EZrMRQjzAY6xUzPAk96GByM4N8wP889y5rju",
|
|
31
|
+
"oracle_address": "5FAwRfw6HcHFqrLEPbqy73UR1HGBxesS3oAtsFe6Z1P8ZKbS",
|
|
32
|
+
"governance_address": "5EvsJM6hkZruvVAAxnYLCtEkkBiWLWfA8fFC51kgwh5o2rYN",
|
|
33
|
+
"treasury_address": "5EhtUDuQnvNfWpjkakwr7prdZCgubQCgsCSSctZDFgtw1fNv",
|
|
34
34
|
},
|
|
35
35
|
}
|
|
36
36
|
DEFAULT_CONFIG: dict[str, Any] = {
|
|
@@ -140,7 +140,10 @@ def print_info(msg: str) -> None:
|
|
|
140
140
|
|
|
141
141
|
def viewpallet_url(extrinsic_hash: str, network: str = "finney") -> str:
|
|
142
142
|
"""Build a ViewPallet explorer URL for a given extrinsic hash."""
|
|
143
|
-
|
|
143
|
+
if network == "finney":
|
|
144
|
+
return f"https://viewpallet.com/explorer/transactions/{extrinsic_hash}"
|
|
145
|
+
else:
|
|
146
|
+
return f"https://dev.viewpallet.com/explorer/transactions/{extrinsic_hash}"
|
|
144
147
|
|
|
145
148
|
|
|
146
149
|
def print_tx_result(result: dict[str, Any], network: str = "finney") -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|