tusdt-cli 0.2.0__tar.gz → 0.2.1__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.0 → tusdt_cli-0.2.1}/PKG-INFO +1 -1
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/pyproject.toml +1 -1
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/__init__.py +1 -1
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/config.py +6 -6
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/utils.py +4 -4
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/.gitignore +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/LICENSE +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/README.md +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/requirements.txt +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_auction.json +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_erc20.json +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_governance.json +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_oracle.json +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_treasury.json +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_vault.json +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/cli.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/client.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/__init__.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/auction.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/governance.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/oracle.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/token.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/treasury.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/vault.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/wallet.py +0 -0
- {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/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.1
|
|
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": "5FAACG9R4o2mcstDbqTkvm6MdqNdUgg2jtNbLkGsVrmcLnsf",
|
|
29
|
+
"token_address": "5CxK7Xzb7rPFJhpNrgrKGGPCJhUoqK5K5HXBzZvxSe33Aubc",
|
|
30
|
+
"auction_address": "5ELFbobLdXJymCeQAoy4mw78rHBjyzT9Z62K432vFtXkxhBc",
|
|
31
|
+
"oracle_address": "5G2SetMrYwiJHjDobgHVkMM2jcGsNsjABUWU2hxp8JFYQqaj",
|
|
32
|
+
"governance_address": "5EbtC6BFLSfwu9rLdRyjJ8KVuG8TdCeLXmmywqoVLYnTW9Tm",
|
|
33
|
+
"treasury_address": "5FAkjZdGRcpapaE9AYmdcLiBky7fYDFsRmHue6y33jiXaiMh",
|
|
34
34
|
},
|
|
35
35
|
}
|
|
36
36
|
DEFAULT_CONFIG: dict[str, Any] = {
|
|
@@ -138,15 +138,15 @@ def print_info(msg: str) -> None:
|
|
|
138
138
|
console.print(f"[dim]{msg}[/dim]")
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
def
|
|
142
|
-
"""Build a
|
|
143
|
-
return f"https://
|
|
141
|
+
def viewpallet_url(extrinsic_hash: str, network: str = "finney") -> str:
|
|
142
|
+
"""Build a ViewPallet explorer URL for a given extrinsic hash."""
|
|
143
|
+
return f"https://dev-node.tensorusd.com/explorer/transactions/{extrinsic_hash}"
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
def print_tx_result(result: dict[str, Any], network: str = "finney") -> None:
|
|
147
147
|
"""Print transaction result with taostats explorer link."""
|
|
148
148
|
ex_hash = result.get("extrinsic_hash", "")
|
|
149
|
-
url =
|
|
149
|
+
url = viewpallet_url(ex_hash, network)
|
|
150
150
|
print_dict(
|
|
151
151
|
"Transaction",
|
|
152
152
|
{
|
|
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
|