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.
Files changed (26) hide show
  1. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/PKG-INFO +1 -1
  2. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/pyproject.toml +1 -1
  3. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/__init__.py +1 -1
  4. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/config.py +6 -6
  5. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/utils.py +4 -1
  6. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/.gitignore +0 -0
  7. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/LICENSE +0 -0
  8. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/README.md +0 -0
  9. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/requirements.txt +0 -0
  10. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_auction.json +0 -0
  11. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_erc20.json +0 -0
  12. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_governance.json +0 -0
  13. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_oracle.json +0 -0
  14. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_treasury.json +0 -0
  15. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/abi/tusdt_vault.json +0 -0
  16. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/cli.py +0 -0
  17. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/client.py +0 -0
  18. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/__init__.py +0 -0
  19. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/auction.py +0 -0
  20. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/governance.py +0 -0
  21. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/oracle.py +0 -0
  22. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/token.py +0 -0
  23. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/treasury.py +0 -0
  24. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/commands/vault.py +0 -0
  25. {tusdt_cli-0.2.6 → tusdt_cli-0.2.7}/src/tusdt_cli/wallet.py +0 -0
  26. {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.6
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tusdt-cli"
7
- version = "0.2.6"
7
+ version = "0.2.7"
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.6"
3
+ __version__ = "0.2.7"
@@ -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": "5FAACG9R4o2mcstDbqTkvm6MdqNdUgg2jtNbLkGsVrmcLnsf",
29
- "token_address": "5CxK7Xzb7rPFJhpNrgrKGGPCJhUoqK5K5HXBzZvxSe33Aubc",
30
- "auction_address": "5ELFbobLdXJymCeQAoy4mw78rHBjyzT9Z62K432vFtXkxhBc",
31
- "oracle_address": "5G2SetMrYwiJHjDobgHVkMM2jcGsNsjABUWU2hxp8JFYQqaj",
32
- "governance_address": "5EbtC6BFLSfwu9rLdRyjJ8KVuG8TdCeLXmmywqoVLYnTW9Tm",
33
- "treasury_address": "5FAkjZdGRcpapaE9AYmdcLiBky7fYDFsRmHue6y33jiXaiMh",
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
- return f"https://dev-node.tensorusd.com/explorer/transactions/{extrinsic_hash}"
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