@inco/js 0.7.4 → 0.7.6-demonet
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/cjs/attesteddecrypt/attested-decrypt.js +7 -2
- package/dist/cjs/generated/abis/add-two.d.ts +31 -0
- package/dist/cjs/generated/abis/add-two.js +20 -1
- package/dist/cjs/generated/lightning.d.ts +60 -0
- package/dist/cjs/generated/lightning.js +64 -1
- package/dist/cjs/generated/local-node.d.ts +5 -5
- package/dist/cjs/generated/local-node.js +5 -5
- package/dist/cjs/lite/lightning.js +21 -2
- package/dist/cjs/local/local-node.d.ts +0 -2
- package/dist/cjs/local/local-node.js +1 -3
- package/dist/esm/attesteddecrypt/attested-decrypt.js +7 -2
- package/dist/esm/generated/abis/add-two.d.ts +31 -0
- package/dist/esm/generated/abis/add-two.js +20 -1
- package/dist/esm/generated/lightning.d.ts +60 -0
- package/dist/esm/generated/lightning.js +64 -1
- package/dist/esm/generated/local-node.d.ts +5 -5
- package/dist/esm/generated/local-node.js +5 -5
- package/dist/esm/lite/lightning.js +21 -2
- package/dist/esm/local/local-node.d.ts +0 -2
- package/dist/esm/local/local-node.js +1 -3
- package/dist/types/generated/abis/add-two.d.ts +31 -0
- package/dist/types/generated/lightning.d.ts +60 -0
- package/dist/types/generated/local-node.d.ts +5 -5
- package/dist/types/local/local-node.d.ts +0 -2
- package/package.json +1 -1
|
@@ -85,6 +85,37 @@ export declare const addTwoAbi: readonly [{
|
|
|
85
85
|
readonly type: "uint256";
|
|
86
86
|
}];
|
|
87
87
|
readonly stateMutability: "view";
|
|
88
|
+
}, {
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly name: "resultHandle";
|
|
92
|
+
readonly internalType: "bytes32";
|
|
93
|
+
readonly type: "bytes32";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "p";
|
|
96
|
+
readonly internalType: "uint256";
|
|
97
|
+
readonly type: "uint256";
|
|
98
|
+
}, {
|
|
99
|
+
readonly name: "decryption";
|
|
100
|
+
readonly internalType: "struct DecryptionAttestation";
|
|
101
|
+
readonly type: "tuple";
|
|
102
|
+
readonly components: readonly [{
|
|
103
|
+
readonly name: "handle";
|
|
104
|
+
readonly internalType: "bytes32";
|
|
105
|
+
readonly type: "bytes32";
|
|
106
|
+
}, {
|
|
107
|
+
readonly name: "value";
|
|
108
|
+
readonly internalType: "bytes32";
|
|
109
|
+
readonly type: "bytes32";
|
|
110
|
+
}];
|
|
111
|
+
}];
|
|
112
|
+
readonly name: "verifyAttestedComputeResultHandle";
|
|
113
|
+
readonly outputs: readonly [{
|
|
114
|
+
readonly name: "";
|
|
115
|
+
readonly internalType: "bool";
|
|
116
|
+
readonly type: "bool";
|
|
117
|
+
}];
|
|
118
|
+
readonly stateMutability: "payable";
|
|
88
119
|
}, {
|
|
89
120
|
readonly type: "error";
|
|
90
121
|
readonly inputs: readonly [];
|
|
@@ -1,4 +1,44 @@
|
|
|
1
1
|
export declare const lightningDeployments: readonly [{
|
|
2
|
+
readonly name: "incoLightningPreview_2_0_0__889158349";
|
|
3
|
+
readonly majorVersion: 2;
|
|
4
|
+
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
|
5
|
+
readonly pepper: "testnet";
|
|
6
|
+
readonly executorAddress: "0x168FDc3Ae19A5d5b03614578C58974FF30FCBe92";
|
|
7
|
+
readonly salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc005e0f44aac1a914b715cecd";
|
|
8
|
+
readonly chainId: 84532;
|
|
9
|
+
readonly chainName: "Base Sepolia";
|
|
10
|
+
readonly version: {
|
|
11
|
+
readonly major: 2;
|
|
12
|
+
readonly minor: 0;
|
|
13
|
+
readonly patch: 0;
|
|
14
|
+
readonly shortSalt: "889158349";
|
|
15
|
+
};
|
|
16
|
+
readonly blockNumber: 35063463;
|
|
17
|
+
readonly deployDate: "2025-12-16T14:26:58.303Z";
|
|
18
|
+
readonly commit: "v0.7.5-1-g770d7d08-dirty";
|
|
19
|
+
readonly active: true;
|
|
20
|
+
readonly includesPreviewFeatures: true;
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "incoLightningPreview_2_0_0__467437523";
|
|
23
|
+
readonly majorVersion: 2;
|
|
24
|
+
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
|
25
|
+
readonly pepper: "demonet";
|
|
26
|
+
readonly executorAddress: "0xA95EAbCE575f5f1e52605358Ee893F6536166378";
|
|
27
|
+
readonly salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc0071f74686446f14c7b469d3";
|
|
28
|
+
readonly chainId: 84532;
|
|
29
|
+
readonly chainName: "Base Sepolia";
|
|
30
|
+
readonly version: {
|
|
31
|
+
readonly major: 2;
|
|
32
|
+
readonly minor: 0;
|
|
33
|
+
readonly patch: 0;
|
|
34
|
+
readonly shortSalt: "467437523";
|
|
35
|
+
};
|
|
36
|
+
readonly blockNumber: 35796550;
|
|
37
|
+
readonly deployDate: "2026-01-02T13:43:12.741Z";
|
|
38
|
+
readonly commit: "v0.7.6-testnet-1-dirty";
|
|
39
|
+
readonly active: true;
|
|
40
|
+
readonly includesPreviewFeatures: true;
|
|
41
|
+
}, {
|
|
2
42
|
readonly name: "incoLightningPreview_2_0_0__976644394";
|
|
3
43
|
readonly majorVersion: 2;
|
|
4
44
|
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
|
@@ -18,6 +58,26 @@ export declare const lightningDeployments: readonly [{
|
|
|
18
58
|
readonly commit: "v0.6.9-17-g217794f3-dirty";
|
|
19
59
|
readonly active: true;
|
|
20
60
|
readonly includesPreviewFeatures: true;
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "incoLightningPreview_2_0_0__295237520";
|
|
63
|
+
readonly majorVersion: 2;
|
|
64
|
+
readonly deployer: "0x8202D2D747784Cb7D48868E44C42C4bf162a70BC";
|
|
65
|
+
readonly pepper: "devnet";
|
|
66
|
+
readonly executorAddress: "0xC64BB070D6F5aa796e79fA19c1008647ffF736ED";
|
|
67
|
+
readonly salt: "0x8202d2d747784cb7d48868e44c42c4bf162a70bc008d5a963bd519d8493f5190";
|
|
68
|
+
readonly chainId: 9746;
|
|
69
|
+
readonly chainName: "Plasma Testnet";
|
|
70
|
+
readonly version: {
|
|
71
|
+
readonly major: 2;
|
|
72
|
+
readonly minor: 0;
|
|
73
|
+
readonly patch: 0;
|
|
74
|
+
readonly shortSalt: "295237520";
|
|
75
|
+
};
|
|
76
|
+
readonly blockNumber: 9978173;
|
|
77
|
+
readonly deployDate: "2025-12-15T09:08:41.845Z";
|
|
78
|
+
readonly commit: "v0.7.4-dirty";
|
|
79
|
+
readonly active: true;
|
|
80
|
+
readonly includesPreviewFeatures: true;
|
|
21
81
|
}, {
|
|
22
82
|
readonly name: "incoLightningPreview_2_0_0__295237520";
|
|
23
83
|
readonly majorVersion: 2;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const localNodeLightningConfig: {
|
|
2
2
|
readonly testnet: {
|
|
3
|
-
readonly executorAddress: "
|
|
3
|
+
readonly executorAddress: "0x168FDc3Ae19A5d5b03614578C58974FF30FCBe92";
|
|
4
4
|
readonly chainId: 31337;
|
|
5
5
|
readonly covalidatorUrls: readonly ["http://localhost:50055"];
|
|
6
|
-
readonly signers: readonly ["
|
|
6
|
+
readonly signers: readonly ["0x8586714c02340Dc28935977d8E864f1F8E1c30B2"];
|
|
7
7
|
readonly hostChainRpcUrl: "http://localhost:8545";
|
|
8
|
-
readonly senderPrivateKey: "
|
|
8
|
+
readonly senderPrivateKey: "0x3ff395b755c4dc09837d0672dd421915e9b9835a4733edf63d8fd12b3fe4475c";
|
|
9
9
|
};
|
|
10
10
|
readonly devnet: {
|
|
11
11
|
readonly executorAddress: "0xC64BB070D6F5aa796e79fA19c1008647ffF736ED";
|
|
12
12
|
readonly chainId: 31337;
|
|
13
13
|
readonly covalidatorUrls: readonly ["http://localhost:50055"];
|
|
14
|
-
readonly signers: readonly ["
|
|
14
|
+
readonly signers: readonly ["0xe615dc3628F1cff966707A902104f8D96e19B7A2"];
|
|
15
15
|
readonly hostChainRpcUrl: "http://localhost:8545";
|
|
16
|
-
readonly senderPrivateKey: "
|
|
16
|
+
readonly senderPrivateKey: "0x8505bef7355f09a839822de30d48ab50d466303e61553a2df00e3efeff64a79f";
|
|
17
17
|
};
|
|
18
18
|
readonly alphanet: {
|
|
19
19
|
readonly executorAddress: "0xc0d693DeEF0A91CE39208676b6da09B822abd199";
|
|
@@ -10,9 +10,7 @@ export declare const LocalNodeEnv: Schema.Struct<{
|
|
|
10
10
|
PEPPER: typeof Schema.String;
|
|
11
11
|
COVALIDATOR_ECIES_PRIVATE_KEY: Schema.TemplateLiteral<`0x${string}`>;
|
|
12
12
|
COVALIDATOR_EIP712_PRIVATE_SIGNING_KEY: Schema.TemplateLiteral<`0x${string}`>;
|
|
13
|
-
COVALIDATOR_ACL_ADDR: Schema.brand<Schema.filter<Schema.TemplateLiteral<`0x${string}`>>, "Address">;
|
|
14
13
|
COVALIDATOR_INCO_EXECUTOR_ADDR: Schema.brand<Schema.filter<Schema.TemplateLiteral<`0x${string}`>>, "Address">;
|
|
15
|
-
COVALIDATOR_DECRYPTION_HANDLER_ADDR: Schema.brand<Schema.filter<Schema.TemplateLiteral<`0x${string}`>>, "Address">;
|
|
16
14
|
COVALIDATOR_HOST_CHAIN_ID: Schema.optional<typeof Schema.String>;
|
|
17
15
|
COVALIDATOR_URL: Schema.optional<typeof Schema.String>;
|
|
18
16
|
COVALIDATOR_HOST_CHAIN_RPC_URL: Schema.optional<typeof Schema.String>;
|