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.
Files changed (26) hide show
  1. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/PKG-INFO +1 -1
  2. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/pyproject.toml +1 -1
  3. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/__init__.py +1 -1
  4. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/config.py +6 -6
  5. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/utils.py +4 -4
  6. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/.gitignore +0 -0
  7. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/LICENSE +0 -0
  8. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/README.md +0 -0
  9. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/requirements.txt +0 -0
  10. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_auction.json +0 -0
  11. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_erc20.json +0 -0
  12. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_governance.json +0 -0
  13. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_oracle.json +0 -0
  14. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_treasury.json +0 -0
  15. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/abi/tusdt_vault.json +0 -0
  16. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/cli.py +0 -0
  17. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/client.py +0 -0
  18. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/__init__.py +0 -0
  19. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/auction.py +0 -0
  20. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/governance.py +0 -0
  21. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/oracle.py +0 -0
  22. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/token.py +0 -0
  23. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/treasury.py +0 -0
  24. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/commands/vault.py +0 -0
  25. {tusdt_cli-0.2.0 → tusdt_cli-0.2.1}/src/tusdt_cli/wallet.py +0 -0
  26. {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.0
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tusdt-cli"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "CLI for interacting with the TUSDT ink! smart contract system on subtensor(bittensor)"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,3 +1,3 @@
1
1
  """TUSDT CLI - Command-line interface for the TUSDT ink! smart contract system."""
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.1"
@@ -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": "5EjnJWrc9qUVtqjKNEttCzAWftfD9LWyXSaQmnG7U8HG3Z3S",
29
- "token_address": "5FANwuM2QLccDePx734KVKPcnZ97H5GbiKDAYLGSAGUeTA8B",
30
- "auction_address": "5HWSqEVpKGqV6uegiEepRbFmY7V5p4gAH8Xc1UAWYttY4vtf",
31
- "oracle_address": "5FATY6cWddvkTVqqrovukoNAjYCDUutVJ9Aw1SM4WSWkaJny",
32
- "governance_address": "5CEPPTnB2YtEv7Cf8TXrFkdr6BPkDAUhDJbiT38t1A1g83g5",
33
- "treasury_address": "5FcjwHj8NkAMbPzkqzYweeC7KW4LffLW7KEKAR62Dx2cft2f",
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 taostats_url(extrinsic_hash: str, network: str = "finney") -> str:
142
- """Build a Taostats explorer URL for a given extrinsic hash."""
143
- return f"https://taostats.io/hash/{extrinsic_hash}?network={network}"
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 = taostats_url(ex_hash, network)
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