shadowPaySDK 16.7.2025.258__tar.gz → 16.7.2025.512__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.
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/PKG-INFO +1 -1
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/setup.py +1 -1
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/types/EVMcheque.py +13 -2
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/PKG-INFO +1 -1
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/LICENSE +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/README.md +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/setup.cfg +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/__init__.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/const.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/interface/__init__.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/interface/erc20.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/interface/erc721.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/interface/sol.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/types/SOLcheque.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/types/__init__.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/utils/__init__.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/utils/utils.py +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/SOURCES.txt +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/dependency_links.txt +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/requires.txt +0 -0
- {shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/top_level.txt +0 -0
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='shadowPaySDK',
|
5
|
-
version='16.7.2025.
|
5
|
+
version='16.7.2025.512',
|
6
6
|
description='ShadowPay SDK for ERC20/ERC721 and P2P smart contract interaction',
|
7
7
|
long_description=open('README.md').read(),
|
8
8
|
long_description_content_type='text/markdown',
|
@@ -429,7 +429,11 @@ class Cheque:
|
|
429
429
|
address or self.address
|
430
430
|
).call()
|
431
431
|
|
432
|
-
return
|
432
|
+
return {
|
433
|
+
"sender": cheque_info[0],
|
434
|
+
"receiver": cheque_info[1],
|
435
|
+
"status": "claimed" if cheque_info[2] else "unclaimed",
|
436
|
+
}
|
433
437
|
def getTokenChequeInfo(self, cheque_id: str):
|
434
438
|
# f = EVMcheque.getTokenChequeInfo(
|
435
439
|
# cheque_id=chequeId,
|
@@ -443,7 +447,11 @@ class Cheque:
|
|
443
447
|
|
444
448
|
cheque_id_bytes32 = Web3.to_bytes(hexstr=cheque_id).rjust(32, b'\x00')
|
445
449
|
cheque_info = self.contract.functions.getTokenChequeDetail(cheque_id_bytes32).call()
|
446
|
-
return
|
450
|
+
return {
|
451
|
+
"sender": cheque_info[0],
|
452
|
+
"receivers": cheque_info[1],
|
453
|
+
"status": "claimed" if cheque_info[2] else "unclaimed",
|
454
|
+
}
|
447
455
|
async def getSwaoDetail(self, cheque_id: str):
|
448
456
|
# f = EVMcheque.getSwaoDetail(
|
449
457
|
# cheque_id=chequeId,
|
@@ -458,6 +466,9 @@ class Cheque:
|
|
458
466
|
return {
|
459
467
|
"tokenOut": s[0],
|
460
468
|
"amountOut": s[1],
|
469
|
+
"spender": s[2],
|
470
|
+
"receiver": s[3],
|
471
|
+
"status": "claimed" if s[4] else "unclaimed"
|
461
472
|
}
|
462
473
|
|
463
474
|
class NFTcheque:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK/interface/__init__.py
RENAMED
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
|
{shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/dependency_links.txt
RENAMED
File without changes
|
{shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/requires.txt
RENAMED
File without changes
|
{shadowpaysdk-16.7.2025.258 → shadowpaysdk-16.7.2025.512}/shadowPaySDK.egg-info/top_level.txt
RENAMED
File without changes
|