yeref 0.24.13__py3-none-any.whl → 0.24.15__py3-none-any.whl
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.
yeref/yeref.py
CHANGED
@@ -7623,7 +7623,7 @@ async def get_smc_info(address, KEYS_JSON, is_test_only=False):
|
|
7623
7623
|
}
|
7624
7624
|
])
|
7625
7625
|
elif provider == "toncenter":
|
7626
|
-
key = it
|
7626
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
7627
7627
|
if key:
|
7628
7628
|
items.append([
|
7629
7629
|
'toncenter',
|
@@ -7717,7 +7717,7 @@ async def get_wallet_address(address, master, KEYS_JSON, is_test_only=False, is_
|
|
7717
7717
|
}
|
7718
7718
|
])
|
7719
7719
|
elif provider == "toncenter":
|
7720
|
-
key = it
|
7720
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
7721
7721
|
if key:
|
7722
7722
|
items.append([
|
7723
7723
|
'toncenter',
|
@@ -7827,7 +7827,7 @@ async def get_nft_data(address, KEYS_JSON, is_test_only=False, help_link=None):
|
|
7827
7827
|
}
|
7828
7828
|
])
|
7829
7829
|
elif provider == "toncenter":
|
7830
|
-
key = it
|
7830
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
7831
7831
|
if key:
|
7832
7832
|
items.append([
|
7833
7833
|
'toncenter',
|
@@ -7998,7 +7998,7 @@ async def get_collection_data(address, KEYS_JSON, is_test_only=False):
|
|
7998
7998
|
}
|
7999
7999
|
])
|
8000
8000
|
elif provider == "toncenter":
|
8001
|
-
key = it
|
8001
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8002
8002
|
if key:
|
8003
8003
|
items.append([
|
8004
8004
|
'toncenter',
|
@@ -8126,7 +8126,7 @@ async def get_nft_in_account(address, collection, KEYS_JSON, is_test_only=False,
|
|
8126
8126
|
}
|
8127
8127
|
])
|
8128
8128
|
elif provider == "toncenter":
|
8129
|
-
key = it
|
8129
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8130
8130
|
if key:
|
8131
8131
|
items.append([
|
8132
8132
|
'toncenter',
|
@@ -8198,7 +8198,7 @@ async def get_any_activity(address, KEYS_JSON, is_test_only=False):
|
|
8198
8198
|
}
|
8199
8199
|
])
|
8200
8200
|
elif provider == "toncenter":
|
8201
|
-
key = it
|
8201
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8202
8202
|
if key:
|
8203
8203
|
items.append([
|
8204
8204
|
'toncenter',
|
@@ -8277,7 +8277,7 @@ async def get_any_nfts(address, KEYS_JSON, is_test_only=False):
|
|
8277
8277
|
}
|
8278
8278
|
])
|
8279
8279
|
elif provider == "toncenter":
|
8280
|
-
key = it
|
8280
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8281
8281
|
if key:
|
8282
8282
|
items.append([
|
8283
8283
|
'toncenter',
|
@@ -8355,7 +8355,7 @@ async def get_any_jettons(address, KEYS_JSON, is_test_only=False):
|
|
8355
8355
|
}
|
8356
8356
|
])
|
8357
8357
|
elif provider == "toncenter":
|
8358
|
-
key = it
|
8358
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8359
8359
|
if key:
|
8360
8360
|
items.append([
|
8361
8361
|
'toncenter',
|
@@ -8444,13 +8444,12 @@ async def calculate_wallet_address(owner, master, KEYS_JSON, is_test_only=False)
|
|
8444
8444
|
# }
|
8445
8445
|
# ])
|
8446
8446
|
elif provider == "toncenter":
|
8447
|
-
key = next((it['testnet'] if is_test_only else it['mainnet']
|
8448
|
-
|
8449
|
-
print(f"{key=}")
|
8450
|
-
if key:
|
8447
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8448
|
+
if key:
|
8451
8449
|
items.append([
|
8452
8450
|
'toncenter',
|
8453
|
-
f'https://{pfx_testnet}toncenter.com/api/v3/jetton/wallets
|
8451
|
+
f'https://{pfx_testnet}toncenter.com/api/v3/jetton/wallets'
|
8452
|
+
f'?owner_address={owner}&jetton_address={master}&limit=1&offset=0',
|
8454
8453
|
{'accept': 'application/json', 'X-API-Key': key}
|
8455
8454
|
])
|
8456
8455
|
|
@@ -8519,7 +8518,7 @@ async def get_method_data(address, KEYS_JSON, is_test_only=False, method_name='g
|
|
8519
8518
|
}
|
8520
8519
|
])
|
8521
8520
|
elif provider == "toncenter":
|
8522
|
-
key = it
|
8521
|
+
key = next((it['testnet'] if is_test_only else it['mainnet'] for it in keys if (is_test_only and 'testnet' in it) or (not is_test_only and 'mainnet' in it)), None)
|
8523
8522
|
if key:
|
8524
8523
|
items.append([
|
8525
8524
|
'toncenter',
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=7SgEs9hcn0b-AKW3BeE6DTY1Mo-ZtNCTPAKVv7RE5PM,1178681
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=1rpCFJhTKNSfjDd8jCwuSvvbiOK1dZ94IRZEZ4Vcr8k,1012306
|
5
|
+
yeref-0.24.15.dist-info/METADATA,sha256=DKy1eBT51Eb0B4_L0NBqkdj6E1htYCqLAHMITm5mIEI,119
|
6
|
+
yeref-0.24.15.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
7
|
+
yeref-0.24.15.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.24.15.dist-info/RECORD,,
|
yeref-0.24.13.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=7SgEs9hcn0b-AKW3BeE6DTY1Mo-ZtNCTPAKVv7RE5PM,1178681
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=AAUaqN3p5B4NontIrpm7RLRtGUUHE9UCEyGnVmKy928,1011613
|
5
|
-
yeref-0.24.13.dist-info/METADATA,sha256=3s-qOpIP6hFP8d9lZ4SU16w7J0xyB9Wdc2F_FoQRJ3g,119
|
6
|
-
yeref-0.24.13.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
7
|
-
yeref-0.24.13.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.24.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|