wan-ton-sdk 0.0.7 → 0.0.9
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.
- package/dist/Bridge.compile.d.ts +2 -0
- package/dist/Bridge.compile.js +9 -0
- package/dist/Bridge.d.ts +208 -0
- package/dist/Bridge.js +468 -0
- package/dist/Fake.compile.d.ts +2 -0
- package/dist/Fake.compile.js +9 -0
- package/dist/GroupApprove.compile.d.ts +2 -0
- package/dist/GroupApprove.compile.js +7 -0
- package/dist/GroupApprove.d.ts +124 -0
- package/dist/GroupApprove.js +181 -0
- package/dist/JettonMinter.compile.d.ts +2 -0
- package/dist/JettonMinter.compile.js +6 -0
- package/dist/JettonMinter.d.ts +45 -0
- package/dist/JettonMinter.js +124 -0
- package/dist/JettonWallet.compile.d.ts +2 -0
- package/dist/JettonWallet.compile.js +6 -0
- package/dist/JettonWallet.d.ts +26 -0
- package/dist/JettonWallet.js +103 -0
- package/dist/Signature.compile.d.ts +2 -0
- package/dist/Signature.compile.js +7 -0
- package/dist/Signature.d.ts +44 -0
- package/dist/Signature.js +106 -0
- package/dist/address.compile.d.ts +2 -0
- package/dist/address.compile.js +9 -0
- package/dist/client/client-interface.d.ts +35 -0
- package/dist/client/client-interface.js +9 -0
- package/dist/client/client.d.ts +22 -0
- package/dist/client/client.js +86 -0
- package/dist/client/tonapi-client.d.ts +4630 -0
- package/dist/client/tonapi-client.js +5376 -0
- package/dist/code/encode-decode.d.ts +132 -0
- package/dist/code/encode-decode.js +645 -0
- package/dist/code/userLock.d.ts +39 -0
- package/dist/code/userLock.js +284 -0
- package/dist/common.d.ts +9 -0
- package/dist/common.js +45 -0
- package/dist/config/config-ex.d.ts +7 -0
- package/dist/config/config-ex.js +73 -0
- package/dist/const/const-value.d.ts +21 -0
- package/dist/const/const-value.js +26 -0
- package/dist/contractAccess/bridgeAccess.d.ts +10 -0
- package/dist/contractAccess/bridgeAccess.js +55 -0
- package/dist/contractAccess/groupApproveAccess.d.ts +10 -0
- package/dist/contractAccess/groupApproveAccess.js +54 -0
- package/dist/db/Db.d.ts +24 -0
- package/dist/db/Db.js +739 -0
- package/dist/db/DbAccess.d.ts +24 -0
- package/dist/db/DbAccess.js +211 -0
- package/dist/db/common.d.ts +5 -0
- package/dist/db/common.js +114 -0
- package/dist/event/getEvents.d.ts +17 -0
- package/dist/event/getEvents.js +387 -0
- package/dist/example/db/createDb-ex.d.ts +1 -0
- package/{example/createDb-ex.ts → dist/example/db/createDb-ex.js} +3 -4
- package/dist/example/db/dbFeedTrans-ex.d.ts +1 -0
- package/{example/dbFeedTrans-ex.ts → dist/example/db/dbFeedTrans-ex.js} +9 -11
- package/dist/example/event/getAllEvents-ex.d.ts +1 -0
- package/dist/example/event/getAllEvents-ex.js +70 -0
- package/dist/example/event/getEventByHash-ex.d.ts +1 -0
- package/{example/getEventByHash-ex.ts → dist/example/event/getEventByHash-ex.js} +21 -25
- package/dist/example/event/getEventsByRange-ex.d.ts +1 -0
- package/dist/example/event/getEventsByRange-ex.js +58 -0
- package/dist/example/getAllTrans.d.ts +1 -0
- package/dist/example/getAllTrans.js +30 -0
- package/dist/example/jetton/getJettonInfo-ex.d.ts +1 -0
- package/dist/example/jetton/getJettonInfo-ex.js +32 -0
- package/dist/example/lock-release/smgRelease-ex.d.ts +1 -0
- package/dist/example/lock-release/smgRelease-ex.js +134 -0
- package/dist/example/lock-release/userLock-ex.d.ts +1 -0
- package/dist/example/lock-release/userLock-ex.js +69 -0
- package/dist/example/manage/addSmg-ex.d.ts +1 -0
- package/dist/example/manage/addSmg-ex.js +59 -0
- package/dist/example/manage/compileContract-ex.d.ts +1 -0
- package/dist/example/manage/compileContract-ex.js +11 -0
- package/dist/example/manage/deploy-ex.d.ts +1 -0
- package/dist/example/manage/deploy-ex.js +58 -0
- package/dist/example/manage/setFee-ex.d.ts +1 -0
- package/dist/example/manage/setFee-ex.js +61 -0
- package/dist/example/manage/setFeeProxy.d.ts +1 -0
- package/dist/example/manage/setFeeProxy.js +47 -0
- package/dist/example/manage/upgradeBridgeSc-ex.d.ts +1 -0
- package/dist/example/manage/upgradeBridgeSc-ex.js +44 -0
- package/dist/example/token/AddToken-ex.d.ts +1 -0
- package/dist/example/token/AddToken-ex.js +113 -0
- package/dist/example/token/addTokenPair-ex.d.ts +1 -0
- package/dist/example/token/addTokenPair-ex.js +59 -0
- package/dist/example/token/delTokenPair-ex.d.ts +1 -0
- package/dist/example/token/delTokenPair-ex.js +49 -0
- package/dist/example/token/getTokenPair-ex.d.ts +1 -0
- package/dist/example/token/getTokenPair-ex.js +39 -0
- package/dist/example/token/mintToken-ex.d.ts +1 -0
- package/dist/example/token/mintToken-ex.js +56 -0
- package/dist/example/tran/converTranToTonTran.d.ts +1 -0
- package/dist/example/tran/converTranToTonTran.js +32 -0
- package/dist/example/tran/getTransByRange-ex.d.ts +1 -0
- package/{example/getTransByRange-ex.ts → dist/example/tran/getTransByRange-ex.js} +26 -40
- package/dist/example/tran/getTransaction-ex.d.ts +1 -0
- package/dist/example/tran/getTransaction-ex.js +47 -0
- package/dist/example/tran/isTranSuccess-ex.d.ts +1 -0
- package/dist/example/tran/isTranSuccess-ex.js +27 -0
- package/dist/fee/fee.d.ts +12 -0
- package/dist/fee/fee.js +21 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +95 -0
- package/dist/jest.config.d.ts +3 -0
- package/dist/jest.config.js +8 -0
- package/dist/opcodes.d.ts +55 -0
- package/dist/opcodes.js +59 -0
- package/dist/sign/buildHash.d.ts +6 -0
- package/dist/sign/buildHash.js +39 -0
- package/dist/sign/rawTrans.d.ts +36 -0
- package/dist/sign/rawTrans.js +89 -0
- package/dist/sign/tools-secp256k1.d.ts +21 -0
- package/{sign → dist/sign}/tools-secp256k1.js +18 -44
- package/dist/testData/JettonMinter.compile.func.d.ts +2 -0
- package/dist/testData/JettonMinter.compile.func.js +13 -0
- package/dist/testData/JettonWallet.compile.func.d.ts +2 -0
- package/dist/testData/JettonWallet.compile.func.js +13 -0
- package/dist/testData/bridge.compile.func.d.ts +2 -0
- package/dist/testData/bridge.compile.func.js +13 -0
- package/dist/transResult/transResult.d.ts +29 -0
- package/dist/transResult/transResult.js +528 -0
- package/dist/utils/compileContract.d.ts +13 -0
- package/dist/utils/compileContract.js +54 -0
- package/dist/utils/logger.d.ts +16 -0
- package/dist/utils/logger.js +94 -0
- package/dist/utils/utils.d.ts +26 -0
- package/dist/utils/utils.js +330 -0
- package/dist/wallet/balance.d.ts +5 -0
- package/dist/wallet/balance.js +29 -0
- package/dist/wallet/jetton.d.ts +16 -0
- package/dist/wallet/jetton.js +171 -0
- package/dist/wallet/walletContract.d.ts +31 -0
- package/dist/wallet/walletContract.js +106 -0
- package/package.json +8 -6
- package/Bridge.compile.ts +0 -8
- package/Bridge.ts +0 -645
- package/Bridge.ts.org +0 -647
- package/Fake.compile.ts +0 -8
- package/GroupApprove.compile.ts +0 -6
- package/GroupApprove.ts +0 -274
- package/JettonMinter.compile.ts +0 -5
- package/JettonMinter.ts +0 -135
- package/JettonWallet.compile.ts +0 -5
- package/JettonWallet.ts +0 -127
- package/Signature.compile.ts +0 -6
- package/Signature.ts +0 -105
- package/address.compile.ts +0 -8
- package/client/1.json +0 -1730
- package/client/client.ts +0 -73
- package/client/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -15
- package/code/decode.spec.ts +0 -81
- package/code/encode-decode.ts +0 -622
- package/code/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -20
- package/code/log/wan-ton-sdk.out.2025-01-20 +0 -0
- package/code/userLock.ts +0 -291
- package/common.ts +0 -62
- package/config/config-ex.ts +0 -25
- package/config/config.ts +0 -1
- package/const/const-value.ts +0 -33
- package/contractAccess/bridgeAccess.ts +0 -60
- package/contractAccess/groupApproveAccess.ts +0 -59
- package/data/EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs.json +0 -7348
- package/db/Db.spec.ts +0 -193
- package/db/Db.ts +0 -736
- package/db/DbAccess.spec.ts +0 -23
- package/db/DbAccess.ts +0 -186
- package/db/common.ts +0 -94
- package/db/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -15
- package/db/log/wan-ton-sdk.out.2025-04-21 +0 -0
- package/event/getEvents.ts +0 -441
- package/event/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -15
- package/event/log/wan-ton-sdk.out.2024-12-19 +0 -0
- package/example/0:1.txt +0 -1
- package/example/AddToken-ex.ts +0 -148
- package/example/README.md +0 -21
- package/example/addSmg-ex.ts +0 -78
- package/example/addTokenPair-ex.ts +0 -73
- package/example/compileContract-ex.ts +0 -10
- package/example/converTranToTonTran.ts +0 -43
- package/example/delTokenPair-ex.ts +0 -63
- package/example/deploy-ex.ts +0 -68
- package/example/getAllEvents-ex.ts +0 -61
- package/example/getAllTrans.ts +0 -32
- package/example/getContractState-ex.ts +0 -33
- package/example/getEvents-ex.ts +0 -55
- package/example/getJettonInfo-ex.ts +0 -44
- package/example/getTokenPair-ex.ts +0 -47
- package/example/getTransaction-ex.ts +0 -62
- package/example/isTranSuccess-ex.ts +0 -33
- package/example/locateTx-ex.ts +0 -44
- package/example/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -55
- package/example/log/wan-ton-sdk.out.2025-04-21 +0 -447
- package/example/log/wan-ton-sdk.out.2025-04-22 +0 -1918
- package/example/log/wan-ton-sdk.out.2025-04-23 +0 -4216
- package/example/log/wan-ton-sdk.out.2025-04-24.gz +0 -0
- package/example/log/wan-ton-sdk.out.2025-04-25 +0 -46814
- package/example/log/wan-ton-sdk.out.2025-04-27.gz +0 -0
- package/example/log/wan-ton-sdk.out.2025-04-28 +0 -4966
- package/example/log/wan-ton-sdk.out.2025-04-29 +0 -1328
- package/example/log/wan-ton-sdk.out.2025-04-30 +0 -9
- package/example/mintToken-ex.ts +0 -82
- package/example/setFee-ex.ts +0 -82
- package/example/setFeeProxy.ts +0 -70
- package/example/smgRelease-ex.ts +0 -173
- package/example/upgradeBridgeSc-ex.ts +0 -49
- package/example/userLock-ex.ts +0 -78
- package/fee/fee.ts +0 -23
- package/index.ts +0 -76
- package/jest.config.ts +0 -9
- package/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -20
- package/log/wan-ton-sdk.out.2025-04-21 +0 -0
- package/log/wan-ton-sdk.out.2025-04-30 +0 -10
- package/opcodes.ts +0 -58
- package/publish.sh +0 -78
- package/sign/buildHash.ts +0 -47
- package/sign/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -15
- package/sign/log/wan-ton-sdk.out.2025-04-14 +0 -3
- package/sign/rawTrans.spec.ts +0 -117
- package/sign/rawTrans.ts +0 -122
- package/testData/JettonMinter.compile.func.ts +0 -8
- package/testData/JettonWallet.compile.func.ts +0 -8
- package/testData/addressList.json +0 -6
- package/testData/bridge.compile.func.ts +0 -8
- package/testData/bridge.compiled.json +0 -1
- package/testData/contractAddress.json +0 -7
- package/testData/jettonTokenInfo.json +0 -14
- package/testData/prvlist.json +0 -6
- package/testData/smg.json +0 -5
- package/testData/tokenInfo.json +0 -23
- package/transResult/transResult.ts +0 -608
- package/tsconfig.json +0 -19
- package/utils/.compiled.json +0 -1
- package/utils/compileContract.ts +0 -60
- package/utils/log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json +0 -15
- package/utils/log/wan-ton-sdk.out.2025-01-08 +0 -0
- package/utils/logger.spec.ts +0 -14
- package/utils/logger.ts +0 -96
- package/utils/utils.spec.ts +0 -21
- package/utils/utils.ts +0 -295
- package/wallet/balance.ts +0 -29
- package/wallet/jetton.spec.ts +0 -27
- package/wallet/jetton.ts +0 -159
- package/wallet/walletContract.spec.ts +0 -111
- package/wallet/walletContract.ts +0 -105
- /package/{client/log/wan-ton-sdk.out.2024-12-19 → dist/config/config.d.ts} +0 -0
- /package/{code/log/wan-ton-sdk.out.2025-01-15 → dist/config/config.js} +0 -0
@@ -1,33 +0,0 @@
|
|
1
|
-
import {sleep} from "../utils/utils";
|
2
|
-
|
3
|
-
import {configTestnet,configMainnet} from "../config/config-ex";
|
4
|
-
import {getClient, TonClientConfig, wanTonSdkInit} from "../client/client";
|
5
|
-
import {getEventByTranHash, getEvents, getTransaction} from "../event/getEvents";
|
6
|
-
import { logger } from "../utils/logger";
|
7
|
-
import {isTranSuccess} from "../transResult/transResult";
|
8
|
-
|
9
|
-
const args = process.argv.slice(2);
|
10
|
-
|
11
|
-
async function main(){
|
12
|
-
try{
|
13
|
-
await wanTonSdkInit(configMainnet);
|
14
|
-
await wanTonSdkInit(configTestnet);
|
15
|
-
let client = await getClient();
|
16
|
-
let scBridgeAddr = args[0];
|
17
|
-
let lt = args[1];
|
18
|
-
let tranHash = Buffer.from(args[2],'hex').toString('base64');
|
19
|
-
|
20
|
-
console.log("scBridgeAddr",scBridgeAddr,"lt",lt,"tranHash",tranHash);
|
21
|
-
let tran = await getTransaction(client,scBridgeAddr,lt,tranHash);
|
22
|
-
let ret = await isTranSuccess(tran);
|
23
|
-
console.log("ret = ",ret);
|
24
|
-
client = null;
|
25
|
-
}catch(err){
|
26
|
-
console.error(err.code,err.response?.data?.error)
|
27
|
-
}
|
28
|
-
|
29
|
-
}
|
30
|
-
|
31
|
-
main();
|
32
|
-
|
33
|
-
// ts-node isTranSuccess-ex.ts EQCABVjsQnmRELMK6vjwGbYNRzHXoTd2hvSX6v_VmVrrJNjW 33028013000001 f0f311fecb1775047c741a25b6b714026cd4336d987a956fa7363ad7bec7cab4
|
package/example/locateTx-ex.ts
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
import {sleep} from "../utils/utils";
|
2
|
-
|
3
|
-
import {configTestnet,configMainnet} from "../config/config-ex";
|
4
|
-
import {getClient, TonClientConfig, wanTonSdkInit} from "../client/client";
|
5
|
-
import {getEventByTranHash, getEvents, getTransaction} from "../event/getEvents";
|
6
|
-
import { logger } from "../utils/logger";
|
7
|
-
import {Address} from "@ton/core";
|
8
|
-
import {CommonMessageInfoInternal} from "@ton/core/src/types/CommonMessageInfo";
|
9
|
-
|
10
|
-
const args = process.argv.slice(2);
|
11
|
-
|
12
|
-
async function main(){
|
13
|
-
try{
|
14
|
-
await wanTonSdkInit(configMainnet);
|
15
|
-
await wanTonSdkInit(configTestnet);
|
16
|
-
let client = await getClient();
|
17
|
-
let scBridgeAddr = args[0];
|
18
|
-
let lt = args[1];
|
19
|
-
let tranHash = Buffer.from(args[2],'hex').toString('base64');
|
20
|
-
|
21
|
-
console.log("scBridgeAddr",scBridgeAddr,"lt",lt,"tranHash",tranHash);
|
22
|
-
let tran = await getTransaction(client,scBridgeAddr,lt,tranHash);
|
23
|
-
console.log("tran=>",tran);
|
24
|
-
|
25
|
-
for(let key of tran.outMessages.keys()){
|
26
|
-
let outMsg = tran.outMessages[key];
|
27
|
-
let resultTx = await client.tryLocateResultTx(outMsg.info.src,outMsg.info.dest,outMsg.info.createdLt.toString(10));
|
28
|
-
console.log("=======resultTx",resultTx);
|
29
|
-
}
|
30
|
-
|
31
|
-
let inMsg = tran.inMessage;
|
32
|
-
let srcTx = await client.tryLocateSourceTx(inMsg.info.src as unknown as Address,inMsg.info.dest as unknown as Address,(inMsg.info as unknown as CommonMessageInfoInternal).createdLt.toString(10))
|
33
|
-
console.log("=======source tx",srcTx);
|
34
|
-
|
35
|
-
client = null;
|
36
|
-
}catch(err){
|
37
|
-
console.error(err.code,err.response?.data?.error)
|
38
|
-
}
|
39
|
-
|
40
|
-
}
|
41
|
-
|
42
|
-
main();
|
43
|
-
|
44
|
-
// ts-node locateTx-ex.ts kQDlYDH0PmST2okwTluXJ2mUDMDCzPzXF1gGz24U6H2tE9Wr 33315399000001 dd22c46a31a348d5ff0b77bb0191b915549af7c450ab905390b3e7d8e6981c32
|
@@ -1,55 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"keep": {
|
3
|
-
"days": true,
|
4
|
-
"amount": 10
|
5
|
-
},
|
6
|
-
"auditLog": "log/.ba8901062aebb86bf525b42c65ff84f9485419e4-audit.json",
|
7
|
-
"files": [
|
8
|
-
{
|
9
|
-
"date": 1745205069363,
|
10
|
-
"name": "log/wan-ton-sdk.out.2025-04-21",
|
11
|
-
"hash": "ffb0670de5def8313bd46e219be4e46cf03485f8f7efe3b369d2625961020ce2"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"date": 1745288116035,
|
15
|
-
"name": "log/wan-ton-sdk.out.2025-04-22",
|
16
|
-
"hash": "1ad3d7e92d176e913f2a104b3a0507e2dacf84b585f55d923bbc344d8f443d48"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"date": 1745378268756,
|
20
|
-
"name": "log/wan-ton-sdk.out.2025-04-23",
|
21
|
-
"hash": "82eeac32aba20882c1bfb396d6390ee1149f006510ee4cf65f218d76c33a3b64"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"date": 1745461531949,
|
25
|
-
"name": "log/wan-ton-sdk.out.2025-04-24",
|
26
|
-
"hash": "24d47e045e7291db54b365223a70ddb5fcdb71995f0f9e2c413776eb66835fe9"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"date": 1745510400488,
|
30
|
-
"name": "log/wan-ton-sdk.out.2025-04-25",
|
31
|
-
"hash": "5fffed31a28543804de97b6347bb5c50ab017a62ea7f38c6c074207e540609f2"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"date": 1745720387193,
|
35
|
-
"name": "log/wan-ton-sdk.out.2025-04-27",
|
36
|
-
"hash": "c81ce09355283d373d5ce8ff3e0a7ce8d9ff7a0852af93806b197acd24032c0e"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"date": 1745769605827,
|
40
|
-
"name": "log/wan-ton-sdk.out.2025-04-28",
|
41
|
-
"hash": "7401705078143c8bc19b131d7d875298f23441552ccc85715ad739751e36206a"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"date": 1745894247963,
|
45
|
-
"name": "log/wan-ton-sdk.out.2025-04-29",
|
46
|
-
"hash": "f8b632baad9901690098678419843734f62166e7ec71d2a5e06b9c71e0b759df"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"date": 1745984594845,
|
50
|
-
"name": "log/wan-ton-sdk.out.2025-04-30",
|
51
|
-
"hash": "16007dfc4b90a77595eed88a5b3b860fef5eada8539eac35675d48d0e47f8f36"
|
52
|
-
}
|
53
|
-
],
|
54
|
-
"hashType": "sha256"
|
55
|
-
}
|
@@ -1,447 +0,0 @@
|
|
1
|
-
2025-04-21T03:11:09.374Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
2
|
-
2025-04-21T03:11:11.055Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
3
|
-
2025-04-21T03:12:14.967Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
4
|
-
2025-04-21T03:12:16.963Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
5
|
-
2025-04-21T03:16:38.930Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
6
|
-
2025-04-21T03:16:40.535Z [info]: http endpoint is => https://ton.access.orbs.network/4411c0ff5Bd3F8B62C092Ab4D238bEE463E64411/1/testnet/toncenter-api-v2/jsonRPC
|
7
|
-
2025-04-21T03:20:56.972Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
8
|
-
2025-04-21T03:20:59.803Z [info]: http endpoint is => https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/testnet/toncenter-api-v2/jsonRPC
|
9
|
-
2025-04-21T03:21:45.344Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
10
|
-
2025-04-21T03:21:48.381Z [info]: http endpoint is => https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/testnet/toncenter-api-v2/jsonRPC
|
11
|
-
2025-04-21T03:26:17.323Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
12
|
-
2025-04-21T03:26:18.905Z [info]: http endpoint is => https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/testnet/toncenter-api-v2/jsonRPC
|
13
|
-
2025-04-21T03:27:48.603Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
14
|
-
2025-04-21T03:27:52.471Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
15
|
-
2025-04-21T03:30:40.715Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
16
|
-
2025-04-21T03:30:43.689Z [info]: http endpoint is => https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/testnet/toncenter-api-v2/jsonRPC
|
17
|
-
2025-04-21T03:36:12.770Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
18
|
-
2025-04-21T03:36:16.855Z [info]: http endpoint is => https://ton.access.orbs.network/4411c0ff5Bd3F8B62C092Ab4D238bEE463E64411/1/testnet/toncenter-api-v2/jsonRPC
|
19
|
-
2025-04-21T03:37:44.428Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
20
|
-
2025-04-21T03:37:46.106Z [info]: http endpoint is => https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/testnet/toncenter-api-v2/jsonRPC
|
21
|
-
2025-04-21T03:40:18.727Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
22
|
-
2025-04-21T03:40:20.840Z [info]: http endpoint is => https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/testnet/toncenter-api-v2/jsonRPC
|
23
|
-
2025-04-21T03:43:21.237Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
24
|
-
2025-04-21T03:43:22.353Z [info]: http endpoint is => https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/testnet/toncenter-api-v2/jsonRPC
|
25
|
-
2025-04-21T03:47:42.696Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
26
|
-
2025-04-21T03:47:46.059Z [info]: http endpoint is => https://ton.access.orbs.network/55023c0ff5Bd3F8B62C092Ab4D238bEE463E5502/1/testnet/toncenter-api-v2/jsonRPC
|
27
|
-
2025-04-21T03:50:37.134Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
28
|
-
2025-04-21T03:50:39.250Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
29
|
-
2025-04-21T03:53:40.970Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
30
|
-
2025-04-21T03:53:43.823Z [info]: http endpoint is => https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/testnet/toncenter-api-v2/jsonRPC
|
31
|
-
2025-04-21T03:55:46.421Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
32
|
-
2025-04-21T03:55:48.985Z [info]: http endpoint is => https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/testnet/toncenter-api-v2/jsonRPC
|
33
|
-
2025-04-21T03:59:27.695Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
34
|
-
2025-04-21T03:59:28.992Z [info]: http endpoint is => https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/testnet/toncenter-api-v2/jsonRPC
|
35
|
-
2025-04-21T04:00:14.977Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
36
|
-
2025-04-21T04:00:19.116Z [info]: http endpoint is => https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/testnet/toncenter-api-v2/jsonRPC
|
37
|
-
2025-04-21T04:01:37.424Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
38
|
-
2025-04-21T04:01:42.072Z [info]: http endpoint is => https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/testnet/toncenter-api-v2/jsonRPC
|
39
|
-
2025-04-21T04:02:09.513Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
40
|
-
2025-04-21T04:02:12.182Z [info]: http endpoint is => https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/testnet/toncenter-api-v2/jsonRPC
|
41
|
-
2025-04-21T04:04:19.393Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
42
|
-
2025-04-21T04:04:21.403Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
43
|
-
2025-04-21T04:09:11.211Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
44
|
-
2025-04-21T04:09:16.322Z [info]: http endpoint is => https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/testnet/toncenter-api-v2/jsonRPC
|
45
|
-
2025-04-21T04:11:21.076Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
46
|
-
2025-04-21T04:11:22.707Z [info]: http endpoint is => https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/testnet/toncenter-api-v2/jsonRPC
|
47
|
-
2025-04-21T04:14:58.293Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
48
|
-
2025-04-21T04:14:59.802Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
49
|
-
2025-04-21T04:16:01.559Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
50
|
-
2025-04-21T04:16:03.500Z [info]: http endpoint is => https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/testnet/toncenter-api-v2/jsonRPC
|
51
|
-
2025-04-21T10:09:25.296Z [info]: getClient config {"network":"testnet","tonClientTimeout":60000000}
|
52
|
-
2025-04-21T10:09:28.865Z [info]: http endpoint is => https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/testnet/toncenter-api-v2/jsonRPC
|
53
|
-
2025-04-21T10:09:28.878Z [info]: writeContract contractAddress EQDlYDH0PmST2okwTluXJ2mUDMDCzPzXF1gGz24U6H2tE24h
|
54
|
-
2025-04-21T10:09:36.009Z [info]: writeContract contractAddress EQDlYDH0PmST2okwTluXJ2mUDMDCzPzXF1gGz24U6H2tE24h
|
55
|
-
2025-04-21T10:09:36.011Z [info]: Entering enCode Function OP_CROSS_SmgRelease
|
56
|
-
2025-04-21T10:09:44.319Z [info]: err=> AxiosError: Request failed with status code 500
|
57
|
-
at settle (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/axios@1.8.4/node_modules/axios/lib/core/settle.js:19:12)
|
58
|
-
at IncomingMessage.handleStreamEnd (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/axios@1.8.4/node_modules/axios/lib/adapters/http.js:599:11)
|
59
|
-
at IncomingMessage.emit (node:events:529:35)
|
60
|
-
at IncomingMessage.emit (node:domain:489:12)
|
61
|
-
at endReadableNT (node:internal/streams/readable:1368:12)
|
62
|
-
at processTicksAndRejections (node:internal/process/task_queues:82:21)
|
63
|
-
at Axios.request (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/axios@1.8.4/node_modules/axios/lib/core/Axios.js:45:41)
|
64
|
-
at processTicksAndRejections (node:internal/process/task_queues:95:5)
|
65
|
-
at async HttpApi.doCall (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/client/api/HttpApi.js:263:19)
|
66
|
-
at async HttpApi.sendBoc (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/client/api/HttpApi.js:238:9)
|
67
|
-
at async TonClient.sendFile (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/client/TonClient.js:188:9)
|
68
|
-
at async Object.external (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/client/TonClient.js:387:13)
|
69
|
-
at async WalletContractV4.send (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/wallets/WalletContractV4.js:62:9)
|
70
|
-
at async Object.send (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/wallets/WalletContractV4.js:107:17)
|
71
|
-
at async Object.internal (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/node_modules/.store/@ton+ton@13.11.2/node_modules/@ton/ton/dist/client/TonClient.js:417:13)
|
72
|
-
at async Bridge.sendSetTokenPairFee (/home/jacob/wanchain/two-way-bridge-contracts-opBnb/ton-bridge/wrappers/Bridge.ts:108:9) {
|
73
|
-
code: 'ERR_BAD_RESPONSE',
|
74
|
-
config: {
|
75
|
-
transitional: {
|
76
|
-
silentJSONParsing: true,
|
77
|
-
forcedJSONParsing: true,
|
78
|
-
clarifyTimeoutError: false
|
79
|
-
},
|
80
|
-
adapter: [ 'xhr', 'http', 'fetch' ],
|
81
|
-
transformRequest: [ [Function: transformRequest] ],
|
82
|
-
transformResponse: [ [Function: transformResponse] ],
|
83
|
-
timeout: 60000000,
|
84
|
-
xsrfCookieName: 'XSRF-TOKEN',
|
85
|
-
xsrfHeaderName: 'X-XSRF-TOKEN',
|
86
|
-
maxContentLength: -1,
|
87
|
-
maxBodyLength: -1,
|
88
|
-
env: { FormData: [Function [FormData]], Blob: [class Blob] },
|
89
|
-
validateStatus: [Function: validateStatus],
|
90
|
-
headers: Object [AxiosHeaders] {
|
91
|
-
Accept: 'application/json, text/plain, */*',
|
92
|
-
'Content-Type': 'application/json',
|
93
|
-
'X-Ton-Client-Version': '13.11.2',
|
94
|
-
'X-API-Key': '73ee18f6b52a360e9db390f146a8c6af161549495d6e9794ae3efd2e412fa7a2',
|
95
|
-
'User-Agent': 'axios/1.8.4',
|
96
|
-
'Content-Length': '341',
|
97
|
-
'Accept-Encoding': 'gzip, compress, deflate, br'
|
98
|
-
},
|
99
|
-
method: 'post',
|
100
|
-
url: 'https://testnet.toncenter.com/api/v2/jsonRPC',
|
101
|
-
data: '{"id":"1","jsonrpc":"2.0","method":"sendBoc","params":{"boc":"te6cckEBAgEAvgAB4YgBJ91mOd9lOHuRHS4q/OvwsLFdoxWA9yiAOjZvbP6fXqAFrOcyZdOmYRHGkgCPSuSKfW5tTL5TRnGmfQbMEeXgqZYw67wq6ApLAJBpQS8Gy0gfTsEzL6S1khb9vU9MlYDgYU1NGLtAMMz4AAAHsAAMAQCQYgBysBj6HzJJ7USYJy3Lk7TKBmBhZn5ri6wDZ7cKdD7WiaAvrwgAAAAAAAAAAAAAAAAAADAAAAUAAAAAJOxZjwAAA6wBMS0Aq2gOVA=="}}',
|
102
|
-
allowAbsoluteUrls: true
|
103
|
-
},
|
104
|
-
request: <ref *1> ClientRequest {
|
105
|
-
_events: [Object: null prototype] {
|
106
|
-
abort: [Function (anonymous)],
|
107
|
-
aborted: [Function (anonymous)],
|
108
|
-
connect: [Function (anonymous)],
|
109
|
-
error: [Function (anonymous)],
|
110
|
-
socket: [Function (anonymous)],
|
111
|
-
timeout: [Function (anonymous)],
|
112
|
-
finish: [Function: requestOnFinish]
|
113
|
-
},
|
114
|
-
_eventsCount: 7,
|
115
|
-
_maxListeners: undefined,
|
116
|
-
outputData: [],
|
117
|
-
outputSize: 0,
|
118
|
-
writable: true,
|
119
|
-
destroyed: false,
|
120
|
-
_last: true,
|
121
|
-
chunkedEncoding: false,
|
122
|
-
shouldKeepAlive: false,
|
123
|
-
maxRequestsOnConnectionReached: false,
|
124
|
-
_defaultKeepAlive: true,
|
125
|
-
useChunkedEncodingByDefault: true,
|
126
|
-
sendDate: false,
|
127
|
-
_removedConnection: false,
|
128
|
-
_removedContLen: false,
|
129
|
-
_removedTE: false,
|
130
|
-
strictContentLength: false,
|
131
|
-
_contentLength: '341',
|
132
|
-
_hasBody: true,
|
133
|
-
_trailer: '',
|
134
|
-
finished: true,
|
135
|
-
_headerSent: true,
|
136
|
-
_closed: false,
|
137
|
-
socket: TLSSocket {
|
138
|
-
_tlsOptions: [Object],
|
139
|
-
_secureEstablished: true,
|
140
|
-
_securePending: false,
|
141
|
-
_newSessionPending: false,
|
142
|
-
_controlReleased: true,
|
143
|
-
secureConnecting: false,
|
144
|
-
_SNICallback: null,
|
145
|
-
servername: 'testnet.toncenter.com',
|
146
|
-
alpnProtocol: false,
|
147
|
-
authorized: true,
|
148
|
-
authorizationError: null,
|
149
|
-
encrypted: true,
|
150
|
-
_events: [Object: null prototype],
|
151
|
-
_eventsCount: 10,
|
152
|
-
connecting: false,
|
153
|
-
_hadError: false,
|
154
|
-
_parent: null,
|
155
|
-
_host: 'testnet.toncenter.com',
|
156
|
-
_closeAfterHandlingError: false,
|
157
|
-
_readableState: [ReadableState],
|
158
|
-
_maxListeners: undefined,
|
159
|
-
_writableState: [WritableState],
|
160
|
-
allowHalfOpen: false,
|
161
|
-
_sockname: null,
|
162
|
-
_pendingData: null,
|
163
|
-
_pendingEncoding: '',
|
164
|
-
server: undefined,
|
165
|
-
_server: null,
|
166
|
-
ssl: [TLSWrap],
|
167
|
-
_requestCert: true,
|
168
|
-
_rejectUnauthorized: true,
|
169
|
-
parser: null,
|
170
|
-
_httpMessage: [Circular *1],
|
171
|
-
timeout: 60000000,
|
172
|
-
[Symbol(res)]: [TLSWrap],
|
173
|
-
[Symbol(verified)]: true,
|
174
|
-
[Symbol(pendingSession)]: null,
|
175
|
-
[Symbol(async_id_symbol)]: 314,
|
176
|
-
[Symbol(kHandle)]: [TLSWrap],
|
177
|
-
[Symbol(lastWriteQueueSize)]: 0,
|
178
|
-
[Symbol(timeout)]: Timeout {
|
179
|
-
_idleTimeout: 60000000,
|
180
|
-
_idlePrev: [TimersList],
|
181
|
-
_idleNext: [TimersList],
|
182
|
-
_idleStart: 22138,
|
183
|
-
_onTimeout: [Function: bound ],
|
184
|
-
_timerArgs: undefined,
|
185
|
-
_repeat: null,
|
186
|
-
_destroyed: false,
|
187
|
-
[Symbol(refed)]: false,
|
188
|
-
[Symbol(kHasPrimitive)]: false,
|
189
|
-
[Symbol(asyncId)]: 322,
|
190
|
-
[Symbol(triggerId)]: 317
|
191
|
-
},
|
192
|
-
[Symbol(kBuffer)]: null,
|
193
|
-
[Symbol(kBufferCb)]: null,
|
194
|
-
[Symbol(kBufferGen)]: null,
|
195
|
-
[Symbol(kCapture)]: false,
|
196
|
-
[Symbol(kSetNoDelay)]: false,
|
197
|
-
[Symbol(kSetKeepAlive)]: true,
|
198
|
-
[Symbol(kSetKeepAliveInitialDelay)]: 60,
|
199
|
-
[Symbol(kBytesRead)]: 0,
|
200
|
-
[Symbol(kBytesWritten)]: 0,
|
201
|
-
[Symbol(connect-options)]: [Object]
|
202
|
-
},
|
203
|
-
_header: 'POST /api/v2/jsonRPC HTTP/1.1\r\n' +
|
204
|
-
'Accept: application/json, text/plain, */*\r\n' +
|
205
|
-
'Content-Type: application/json\r\n' +
|
206
|
-
'X-Ton-Client-Version: 13.11.2\r\n' +
|
207
|
-
'X-API-Key: 73ee18f6b52a360e9db390f146a8c6af161549495d6e9794ae3efd2e412fa7a2\r\n' +
|
208
|
-
'User-Agent: axios/1.8.4\r\n' +
|
209
|
-
'Content-Length: 341\r\n' +
|
210
|
-
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
|
211
|
-
'Host: testnet.toncenter.com\r\n' +
|
212
|
-
'Connection: close\r\n' +
|
213
|
-
'\r\n',
|
214
|
-
_keepAliveTimeout: 0,
|
215
|
-
_onPendingData: [Function: nop],
|
216
|
-
agent: Agent {
|
217
|
-
_events: [Object: null prototype],
|
218
|
-
_eventsCount: 2,
|
219
|
-
_maxListeners: undefined,
|
220
|
-
defaultPort: 443,
|
221
|
-
protocol: 'https:',
|
222
|
-
options: [Object: null prototype],
|
223
|
-
requests: [Object: null prototype] {},
|
224
|
-
sockets: [Object: null prototype],
|
225
|
-
freeSockets: [Object: null prototype] {},
|
226
|
-
keepAliveMsecs: 1000,
|
227
|
-
keepAlive: false,
|
228
|
-
maxSockets: Infinity,
|
229
|
-
maxFreeSockets: 256,
|
230
|
-
scheduling: 'lifo',
|
231
|
-
maxTotalSockets: Infinity,
|
232
|
-
totalSocketCount: 1,
|
233
|
-
maxCachedSessions: 100,
|
234
|
-
_sessionCache: [Object],
|
235
|
-
[Symbol(kCapture)]: false
|
236
|
-
},
|
237
|
-
socketPath: undefined,
|
238
|
-
method: 'POST',
|
239
|
-
maxHeaderSize: undefined,
|
240
|
-
insecureHTTPParser: undefined,
|
241
|
-
joinDuplicateHeaders: undefined,
|
242
|
-
path: '/api/v2/jsonRPC',
|
243
|
-
_ended: true,
|
244
|
-
res: IncomingMessage {
|
245
|
-
_readableState: [ReadableState],
|
246
|
-
_events: [Object: null prototype],
|
247
|
-
_eventsCount: 4,
|
248
|
-
_maxListeners: undefined,
|
249
|
-
socket: [TLSSocket],
|
250
|
-
httpVersionMajor: 1,
|
251
|
-
httpVersionMinor: 1,
|
252
|
-
httpVersion: '1.1',
|
253
|
-
complete: true,
|
254
|
-
rawHeaders: [Array],
|
255
|
-
rawTrailers: [],
|
256
|
-
joinDuplicateHeaders: undefined,
|
257
|
-
aborted: false,
|
258
|
-
upgrade: false,
|
259
|
-
url: '',
|
260
|
-
method: null,
|
261
|
-
statusCode: 500,
|
262
|
-
statusMessage: 'Internal Server Error',
|
263
|
-
client: [TLSSocket],
|
264
|
-
_consuming: true,
|
265
|
-
_dumped: false,
|
266
|
-
req: [Circular *1],
|
267
|
-
responseUrl: 'https://testnet.toncenter.com/api/v2/jsonRPC',
|
268
|
-
redirects: [],
|
269
|
-
[Symbol(kCapture)]: false,
|
270
|
-
[Symbol(kHeaders)]: [Object],
|
271
|
-
[Symbol(kHeadersCount)]: 26,
|
272
|
-
[Symbol(kTrailers)]: null,
|
273
|
-
[Symbol(kTrailersCount)]: 0
|
274
|
-
},
|
275
|
-
aborted: false,
|
276
|
-
timeoutCb: null,
|
277
|
-
upgradeOrConnect: false,
|
278
|
-
parser: null,
|
279
|
-
maxHeadersCount: null,
|
280
|
-
reusedSocket: false,
|
281
|
-
host: 'testnet.toncenter.com',
|
282
|
-
protocol: 'https:',
|
283
|
-
_redirectable: Writable {
|
284
|
-
_writableState: [WritableState],
|
285
|
-
_events: [Object: null prototype],
|
286
|
-
_eventsCount: 3,
|
287
|
-
_maxListeners: undefined,
|
288
|
-
_options: [Object],
|
289
|
-
_ended: true,
|
290
|
-
_ending: true,
|
291
|
-
_redirectCount: 0,
|
292
|
-
_redirects: [],
|
293
|
-
_requestBodyLength: 341,
|
294
|
-
_requestBodyBuffers: [],
|
295
|
-
_onNativeResponse: [Function (anonymous)],
|
296
|
-
_currentRequest: [Circular *1],
|
297
|
-
_currentUrl: 'https://testnet.toncenter.com/api/v2/jsonRPC',
|
298
|
-
_timeout: null,
|
299
|
-
[Symbol(kCapture)]: false
|
300
|
-
},
|
301
|
-
[Symbol(kCapture)]: false,
|
302
|
-
[Symbol(kBytesWritten)]: 0,
|
303
|
-
[Symbol(kNeedDrain)]: false,
|
304
|
-
[Symbol(corked)]: 0,
|
305
|
-
[Symbol(kOutHeaders)]: [Object: null prototype] {
|
306
|
-
accept: [Array],
|
307
|
-
'content-type': [Array],
|
308
|
-
'x-ton-client-version': [Array],
|
309
|
-
'x-api-key': [Array],
|
310
|
-
'user-agent': [Array],
|
311
|
-
'content-length': [Array],
|
312
|
-
'accept-encoding': [Array],
|
313
|
-
host: [Array]
|
314
|
-
},
|
315
|
-
[Symbol(errored)]: null,
|
316
|
-
[Symbol(kHighWaterMark)]: 16384,
|
317
|
-
[Symbol(kRejectNonStandardBodyWrites)]: false,
|
318
|
-
[Symbol(kUniqueHeaders)]: null
|
319
|
-
},
|
320
|
-
response: {
|
321
|
-
status: 500,
|
322
|
-
statusText: 'Internal Server Error',
|
323
|
-
headers: Object [AxiosHeaders] {
|
324
|
-
date: 'Mon, 21 Apr 2025 10:09:43 GMT',
|
325
|
-
'content-type': 'application/json',
|
326
|
-
'content-length': '615',
|
327
|
-
connection: 'close',
|
328
|
-
'access-control-allow-origin': '*',
|
329
|
-
'access-control-allow-methods': 'GET, POST, OPTIONS',
|
330
|
-
'access-control-allow-headers': 'User-Agent,Keep-Alive,Content-Type,X-API-Key,X-Ton-Client-Version',
|
331
|
-
'cf-cache-status': 'DYNAMIC',
|
332
|
-
'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=YVLASGJzeD3SZS1ZLO%2FppX2%2BU8mq6WES9eOgPVH0S7y7EpfKgpQtw7WIpMz3c6ev8GJufa67WLOLrsvKzMwBeF%2FbgqJWMDtUGUhPjYNrvoIuQIoZHktHnH%2FnlQiuqulZamih9mjvtA%3D%3D"}],"group":"cf-nel","max_age":604800}',
|
333
|
-
nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
|
334
|
-
server: 'cloudflare',
|
335
|
-
'cf-ray': '933c16652fce9666-KIX',
|
336
|
-
'server-timing': 'cfL4;desc="?proto=TCP&rtt=203127&min_rtt=1249&rtt_var=119568&sent=3&recv=6&lost=0&retrans=0&sent_bytes=219&recv_bytes=1433&delivery_rate=1146517&cwnd=250&unsent_bytes=0&cid=fa82a441b8e09ee4&ts=1003&x=0"'
|
337
|
-
},
|
338
|
-
config: {
|
339
|
-
transitional: [Object],
|
340
|
-
adapter: [Array],
|
341
|
-
transformRequest: [Array],
|
342
|
-
transformResponse: [Array],
|
343
|
-
timeout: 60000000,
|
344
|
-
xsrfCookieName: 'XSRF-TOKEN',
|
345
|
-
xsrfHeaderName: 'X-XSRF-TOKEN',
|
346
|
-
maxContentLength: -1,
|
347
|
-
maxBodyLength: -1,
|
348
|
-
env: [Object],
|
349
|
-
validateStatus: [Function: validateStatus],
|
350
|
-
headers: [Object [AxiosHeaders]],
|
351
|
-
method: 'post',
|
352
|
-
url: 'https://testnet.toncenter.com/api/v2/jsonRPC',
|
353
|
-
data: '{"id":"1","jsonrpc":"2.0","method":"sendBoc","params":{"boc":"te6cckEBAgEAvgAB4YgBJ91mOd9lOHuRHS4q/OvwsLFdoxWA9yiAOjZvbP6fXqAFrOcyZdOmYRHGkgCPSuSKfW5tTL5TRnGmfQbMEeXgqZYw67wq6ApLAJBpQS8Gy0gfTsEzL6S1khb9vU9MlYDgYU1NGLtAMMz4AAAHsAAMAQCQYgBysBj6HzJJ7USYJy3Lk7TKBmBhZn5ri6wDZ7cKdD7WiaAvrwgAAAAAAAAAAAAAAAAAADAAAAUAAAAAJOxZjwAAA6wBMS0Aq2gOVA=="}}',
|
354
|
-
allowAbsoluteUrls: true
|
355
|
-
},
|
356
|
-
request: <ref *1> ClientRequest {
|
357
|
-
_events: [Object: null prototype],
|
358
|
-
_eventsCount: 7,
|
359
|
-
_maxListeners: undefined,
|
360
|
-
outputData: [],
|
361
|
-
outputSize: 0,
|
362
|
-
writable: true,
|
363
|
-
destroyed: false,
|
364
|
-
_last: true,
|
365
|
-
chunkedEncoding: false,
|
366
|
-
shouldKeepAlive: false,
|
367
|
-
maxRequestsOnConnectionReached: false,
|
368
|
-
_defaultKeepAlive: true,
|
369
|
-
useChunkedEncodingByDefault: true,
|
370
|
-
sendDate: false,
|
371
|
-
_removedConnection: false,
|
372
|
-
_removedContLen: false,
|
373
|
-
_removedTE: false,
|
374
|
-
strictContentLength: false,
|
375
|
-
_contentLength: '341',
|
376
|
-
_hasBody: true,
|
377
|
-
_trailer: '',
|
378
|
-
finished: true,
|
379
|
-
_headerSent: true,
|
380
|
-
_closed: false,
|
381
|
-
socket: [TLSSocket],
|
382
|
-
_header: 'POST /api/v2/jsonRPC HTTP/1.1\r\n' +
|
383
|
-
'Accept: application/json, text/plain, */*\r\n' +
|
384
|
-
'Content-Type: application/json\r\n' +
|
385
|
-
'X-Ton-Client-Version: 13.11.2\r\n' +
|
386
|
-
'X-API-Key: 73ee18f6b52a360e9db390f146a8c6af161549495d6e9794ae3efd2e412fa7a2\r\n' +
|
387
|
-
'User-Agent: axios/1.8.4\r\n' +
|
388
|
-
'Content-Length: 341\r\n' +
|
389
|
-
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
|
390
|
-
'Host: testnet.toncenter.com\r\n' +
|
391
|
-
'Connection: close\r\n' +
|
392
|
-
'\r\n',
|
393
|
-
_keepAliveTimeout: 0,
|
394
|
-
_onPendingData: [Function: nop],
|
395
|
-
agent: [Agent],
|
396
|
-
socketPath: undefined,
|
397
|
-
method: 'POST',
|
398
|
-
maxHeaderSize: undefined,
|
399
|
-
insecureHTTPParser: undefined,
|
400
|
-
joinDuplicateHeaders: undefined,
|
401
|
-
path: '/api/v2/jsonRPC',
|
402
|
-
_ended: true,
|
403
|
-
res: [IncomingMessage],
|
404
|
-
aborted: false,
|
405
|
-
timeoutCb: null,
|
406
|
-
upgradeOrConnect: false,
|
407
|
-
parser: null,
|
408
|
-
maxHeadersCount: null,
|
409
|
-
reusedSocket: false,
|
410
|
-
host: 'testnet.toncenter.com',
|
411
|
-
protocol: 'https:',
|
412
|
-
_redirectable: [Writable],
|
413
|
-
[Symbol(kCapture)]: false,
|
414
|
-
[Symbol(kBytesWritten)]: 0,
|
415
|
-
[Symbol(kNeedDrain)]: false,
|
416
|
-
[Symbol(corked)]: 0,
|
417
|
-
[Symbol(kOutHeaders)]: [Object: null prototype],
|
418
|
-
[Symbol(errored)]: null,
|
419
|
-
[Symbol(kHighWaterMark)]: 16384,
|
420
|
-
[Symbol(kRejectNonStandardBodyWrites)]: false,
|
421
|
-
[Symbol(kUniqueHeaders)]: null
|
422
|
-
},
|
423
|
-
data: {
|
424
|
-
ok: false,
|
425
|
-
error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\n' +
|
426
|
-
'Cannot run message on account: inbound external message rejected by transaction 93EEB31CEFB29C3DC88E97157E75F85858AED18AC07B94401D1B37B67F4FAF50:\n' +
|
427
|
-
'exitcode=33, steps=23, gas_used=0\n' +
|
428
|
-
'VM Log (truncated):\n' +
|
429
|
-
'...te NOW\n' +
|
430
|
-
'execute LEQ\n' +
|
431
|
-
'execute THROWIF 36\n' +
|
432
|
-
'execute PUSH c4\n' +
|
433
|
-
'execute CTOS\n' +
|
434
|
-
'execute LDU 32\n' +
|
435
|
-
'execute LDU 32\n' +
|
436
|
-
'execute LDU 256\n' +
|
437
|
-
'execute LDDICT\n' +
|
438
|
-
'execute ENDS\n' +
|
439
|
-
'execute XCPU s4,s3\n' +
|
440
|
-
'execute EQUAL\n' +
|
441
|
-
'execute THROWIFNOT 33\n' +
|
442
|
-
'default exception handler, terminating vm with exit code 33\n',
|
443
|
-
code: 500
|
444
|
-
}
|
445
|
-
},
|
446
|
-
status: 500
|
447
|
-
}
|