@continuumdao/continuum-node-sdk 1.2.27 → 1.2.29
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/config/mpa-wallet.d.ts +141 -29
- package/dist/config/mpa-wallet.d.ts.map +1 -1
- package/dist/config/mpa-wallet.js +75 -17
- package/dist/config/mpa-wallet.js.map +1 -1
- package/dist/config/paths.d.ts +2 -0
- package/dist/config/paths.d.ts.map +1 -1
- package/dist/config/paths.js +12 -0
- package/dist/config/paths.js.map +1 -1
- package/dist/core/mpc/mpa-billing-ops.d.ts +29 -0
- package/dist/core/mpc/mpa-billing-ops.d.ts.map +1 -0
- package/dist/core/mpc/mpa-billing-ops.js +473 -0
- package/dist/core/mpc/mpa-billing-ops.js.map +1 -0
- package/dist/core/mpc/mpa-top-up.d.ts +2 -0
- package/dist/core/mpc/mpa-top-up.d.ts.map +1 -1
- package/dist/core/mpc/mpa-top-up.js +55 -43
- package/dist/core/mpc/mpa-top-up.js.map +1 -1
- package/dist/core/mpc/register-keygen.d.ts.map +1 -1
- package/dist/core/mpc/register-keygen.js +6 -3
- package/dist/core/mpc/register-keygen.js.map +1 -1
- package/dist/core/mpc/schemas.d.ts +47 -0
- package/dist/core/mpc/schemas.d.ts.map +1 -1
- package/dist/core/mpc/schemas.js +35 -0
- package/dist/core/mpc/schemas.js.map +1 -1
- package/dist/core/vpn/schemas.d.ts +181 -0
- package/dist/core/vpn/schemas.d.ts.map +1 -0
- package/dist/core/vpn/schemas.js +112 -0
- package/dist/core/vpn/schemas.js.map +1 -0
- package/dist/core/vpn/vpn-admin.d.ts +22 -0
- package/dist/core/vpn/vpn-admin.d.ts.map +1 -0
- package/dist/core/vpn/vpn-admin.js +88 -0
- package/dist/core/vpn/vpn-admin.js.map +1 -0
- package/dist/core/vpn/vpn-egress.d.ts +30 -0
- package/dist/core/vpn/vpn-egress.d.ts.map +1 -0
- package/dist/core/vpn/vpn-egress.js +91 -0
- package/dist/core/vpn/vpn-egress.js.map +1 -0
- package/dist/core/vpn/vpn-files.d.ts +14 -0
- package/dist/core/vpn/vpn-files.d.ts.map +1 -0
- package/dist/core/vpn/vpn-files.js +32 -0
- package/dist/core/vpn/vpn-files.js.map +1 -0
- package/dist/core/vpn/vpn-host-binding.d.ts +4 -0
- package/dist/core/vpn/vpn-host-binding.d.ts.map +1 -0
- package/dist/core/vpn/vpn-host-binding.js +6 -0
- package/dist/core/vpn/vpn-host-binding.js.map +1 -0
- package/dist/core/vpn/vpn-parse.d.ts +115 -0
- package/dist/core/vpn/vpn-parse.d.ts.map +1 -0
- package/dist/core/vpn/vpn-parse.js +238 -0
- package/dist/core/vpn/vpn-parse.js.map +1 -0
- package/dist/core/vpn/vpn-signed.d.ts +13 -0
- package/dist/core/vpn/vpn-signed.d.ts.map +1 -0
- package/dist/core/vpn/vpn-signed.js +39 -0
- package/dist/core/vpn/vpn-signed.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/mpc.d.ts.map +1 -1
- package/dist/mcp/mpc.js +33 -2
- package/dist/mcp/mpc.js.map +1 -1
- package/dist/mcp/register.d.ts +1 -0
- package/dist/mcp/register.d.ts.map +1 -1
- package/dist/mcp/register.js +4 -0
- package/dist/mcp/register.js.map +1 -1
- package/dist/mcp/vpn.d.ts +4 -0
- package/dist/mcp/vpn.d.ts.map +1 -0
- package/dist/mcp/vpn.js +107 -0
- package/dist/mcp/vpn.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
/** MultiSignAgentWallet on Linea Mainnet (59144). */
|
|
1
|
+
/** MultiSignAgentWallet on Linea Mainnet (59144). Must match mpc-auth fee_params.go and continuumdao-node-app. */
|
|
2
2
|
export declare const LINEA_MAINNET_DEFAULT_RPC: "https://linea-rpc.publicnode.com";
|
|
3
3
|
export declare const LINEA_MAINNET_DEFAULT_EXPLORER: "https://lineascan.build";
|
|
4
|
+
export declare const KEY_GEN_ADDRESS_KIND_ETHEREUM: "ethereum";
|
|
5
|
+
/** Deposit without month activation (contract sentinel). */
|
|
6
|
+
export declare const MPA_DEPOSIT_ONLY_NONCE: string;
|
|
4
7
|
export declare const MPA_WALLET_CONTRACT_CONFIG: {
|
|
5
8
|
readonly chainId: 59144;
|
|
6
|
-
readonly contractAddress: "
|
|
9
|
+
readonly contractAddress: "0x7B651B7a0fa2b0ae56B4A1099F1Ca19De849e39B";
|
|
7
10
|
readonly rpcUrl: "https://linea-rpc.publicnode.com";
|
|
8
11
|
readonly blockExplorerUrl: "https://lineascan.build";
|
|
9
12
|
};
|
|
13
|
+
/** MkII MultiSignAgentWallet read ABI (no billingAddress). */
|
|
10
14
|
export declare const MPA_WALLET_READ_ABI: readonly [{
|
|
11
15
|
readonly inputs: readonly [{
|
|
12
|
-
readonly name: "
|
|
13
|
-
readonly type: "
|
|
14
|
-
readonly internalType: "
|
|
16
|
+
readonly name: "keyGenId";
|
|
17
|
+
readonly type: "string";
|
|
18
|
+
readonly internalType: "string";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "addressKind";
|
|
21
|
+
readonly type: "string";
|
|
22
|
+
readonly internalType: "string";
|
|
15
23
|
}];
|
|
16
|
-
readonly name: "
|
|
24
|
+
readonly name: "isKeyGenRegistered";
|
|
17
25
|
readonly outputs: readonly [{
|
|
18
26
|
readonly name: "";
|
|
19
27
|
readonly type: "bool";
|
|
@@ -23,45 +31,69 @@ export declare const MPA_WALLET_READ_ABI: readonly [{
|
|
|
23
31
|
readonly type: "function";
|
|
24
32
|
}, {
|
|
25
33
|
readonly inputs: readonly [{
|
|
26
|
-
readonly name: "
|
|
27
|
-
readonly type: "
|
|
28
|
-
readonly internalType: "
|
|
34
|
+
readonly name: "keyGenId";
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
readonly internalType: "string";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "addressKind";
|
|
39
|
+
readonly type: "string";
|
|
40
|
+
readonly internalType: "string";
|
|
29
41
|
}];
|
|
30
|
-
readonly name: "
|
|
42
|
+
readonly name: "getSubscriptionStatus";
|
|
31
43
|
readonly outputs: readonly [{
|
|
32
|
-
readonly name: "
|
|
33
|
-
readonly type: "
|
|
34
|
-
readonly internalType: "
|
|
44
|
+
readonly name: "registered";
|
|
45
|
+
readonly type: "bool";
|
|
46
|
+
readonly internalType: "bool";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "paidThroughMonth";
|
|
49
|
+
readonly type: "uint32";
|
|
50
|
+
readonly internalType: "uint32";
|
|
35
51
|
}, {
|
|
36
|
-
readonly name: "
|
|
52
|
+
readonly name: "signatureCountAtMonthStart";
|
|
37
53
|
readonly type: "uint256";
|
|
38
54
|
readonly internalType: "uint256";
|
|
39
55
|
}, {
|
|
40
|
-
readonly name: "
|
|
56
|
+
readonly name: "keyGenCreditBalance_";
|
|
41
57
|
readonly type: "uint256";
|
|
42
58
|
readonly internalType: "uint256";
|
|
43
59
|
}, {
|
|
44
|
-
readonly name: "
|
|
60
|
+
readonly name: "monthlyFee";
|
|
45
61
|
readonly type: "uint256";
|
|
46
62
|
readonly internalType: "uint256";
|
|
47
63
|
}, {
|
|
48
|
-
readonly name: "
|
|
49
|
-
readonly type: "
|
|
50
|
-
readonly internalType: "
|
|
64
|
+
readonly name: "freeSignaturesPerMonth";
|
|
65
|
+
readonly type: "uint256";
|
|
66
|
+
readonly internalType: "uint256";
|
|
67
|
+
}, {
|
|
68
|
+
readonly name: "overageFeePerSignature";
|
|
69
|
+
readonly type: "uint256";
|
|
70
|
+
readonly internalType: "uint256";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "fundedForCurrentMonth";
|
|
73
|
+
readonly type: "bool";
|
|
74
|
+
readonly internalType: "bool";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "purchasedOverageSignatures";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
readonly internalType: "uint256";
|
|
51
79
|
}];
|
|
52
80
|
readonly stateMutability: "view";
|
|
53
81
|
readonly type: "function";
|
|
54
82
|
}, {
|
|
55
83
|
readonly inputs: readonly [{
|
|
56
|
-
readonly name: "
|
|
57
|
-
readonly type: "
|
|
58
|
-
readonly internalType: "
|
|
84
|
+
readonly name: "keyGenId";
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
readonly internalType: "string";
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "addressKind";
|
|
89
|
+
readonly type: "string";
|
|
90
|
+
readonly internalType: "string";
|
|
59
91
|
}, {
|
|
60
|
-
readonly name: "
|
|
92
|
+
readonly name: "currentSignatureCount";
|
|
61
93
|
readonly type: "uint256";
|
|
62
94
|
readonly internalType: "uint256";
|
|
63
95
|
}];
|
|
64
|
-
readonly name: "
|
|
96
|
+
readonly name: "getRemainingNonces";
|
|
65
97
|
readonly outputs: readonly [{
|
|
66
98
|
readonly name: "";
|
|
67
99
|
readonly type: "uint256";
|
|
@@ -71,19 +103,99 @@ export declare const MPA_WALLET_READ_ABI: readonly [{
|
|
|
71
103
|
readonly type: "function";
|
|
72
104
|
}, {
|
|
73
105
|
readonly inputs: readonly [{
|
|
74
|
-
readonly name: "
|
|
75
|
-
readonly type: "
|
|
76
|
-
readonly internalType: "
|
|
106
|
+
readonly name: "keyGenId";
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
readonly internalType: "string";
|
|
77
109
|
}, {
|
|
78
|
-
readonly name: "
|
|
110
|
+
readonly name: "addressKind";
|
|
111
|
+
readonly type: "string";
|
|
112
|
+
readonly internalType: "string";
|
|
113
|
+
}];
|
|
114
|
+
readonly name: "getRequiredMinimumTopUp";
|
|
115
|
+
readonly outputs: readonly [{
|
|
116
|
+
readonly name: "";
|
|
79
117
|
readonly type: "uint256";
|
|
80
118
|
readonly internalType: "uint256";
|
|
81
119
|
}];
|
|
82
|
-
readonly
|
|
120
|
+
readonly stateMutability: "view";
|
|
121
|
+
readonly type: "function";
|
|
122
|
+
}, {
|
|
123
|
+
readonly inputs: readonly [{
|
|
124
|
+
readonly name: "keyGenId";
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly internalType: "string";
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "addressKind";
|
|
129
|
+
readonly type: "string";
|
|
130
|
+
readonly internalType: "string";
|
|
131
|
+
}];
|
|
132
|
+
readonly name: "getKeyGenWithdrawAuthority";
|
|
83
133
|
readonly outputs: readonly [{
|
|
84
134
|
readonly name: "";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
readonly internalType: "address";
|
|
137
|
+
}];
|
|
138
|
+
readonly stateMutability: "view";
|
|
139
|
+
readonly type: "function";
|
|
140
|
+
}, {
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly name: "nodeKey";
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly internalType: "string";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "hostBinding";
|
|
147
|
+
readonly type: "bytes32";
|
|
148
|
+
readonly internalType: "bytes32";
|
|
149
|
+
}];
|
|
150
|
+
readonly name: "getVpnSubscriptionStatus";
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly name: "registered";
|
|
153
|
+
readonly type: "bool";
|
|
154
|
+
readonly internalType: "bool";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "paidThroughMonth";
|
|
157
|
+
readonly type: "uint32";
|
|
158
|
+
readonly internalType: "uint32";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "vpnCreditBalance_";
|
|
161
|
+
readonly type: "uint256";
|
|
162
|
+
readonly internalType: "uint256";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "vpnMonthlyFee";
|
|
85
165
|
readonly type: "uint256";
|
|
86
166
|
readonly internalType: "uint256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "fundedForCurrentMonth";
|
|
169
|
+
readonly type: "bool";
|
|
170
|
+
readonly internalType: "bool";
|
|
171
|
+
}];
|
|
172
|
+
readonly stateMutability: "view";
|
|
173
|
+
readonly type: "function";
|
|
174
|
+
}, {
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly name: "nodeKey";
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
readonly internalType: "string";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "hostBinding";
|
|
181
|
+
readonly type: "bytes32";
|
|
182
|
+
readonly internalType: "bytes32";
|
|
183
|
+
}];
|
|
184
|
+
readonly name: "getVpnWithdrawAuthority";
|
|
185
|
+
readonly outputs: readonly [{
|
|
186
|
+
readonly name: "";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
}];
|
|
190
|
+
readonly stateMutability: "view";
|
|
191
|
+
readonly type: "function";
|
|
192
|
+
}, {
|
|
193
|
+
readonly inputs: readonly [];
|
|
194
|
+
readonly name: "FEE_TOKEN";
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly name: "";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
readonly internalType: "address";
|
|
87
199
|
}];
|
|
88
200
|
readonly stateMutability: "view";
|
|
89
201
|
readonly type: "function";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mpa-wallet.d.ts","sourceRoot":"","sources":["../../src/config/mpa-wallet.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"mpa-wallet.d.ts","sourceRoot":"","sources":["../../src/config/mpa-wallet.ts"],"names":[],"mappings":"AAAA,kHAAkH;AAClH,eAAO,MAAM,yBAAyB,EAAG,kCAA2C,CAAC;AAErF,eAAO,MAAM,8BAA8B,EAAG,yBAAkC,CAAC;AAEjF,eAAO,MAAM,6BAA6B,EAAG,UAAmB,CAAC;AAEjE,4DAA4D;AAC5D,eAAO,MAAM,sBAAsB,QAA+B,CAAC;AAEnE,eAAO,MAAM,0BAA0B;;;;;CAK7B,CAAC;AAEX,8DAA8D;AAC9D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+FtB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAWtB,CAAC"}
|
|
@@ -1,53 +1,111 @@
|
|
|
1
|
-
/** MultiSignAgentWallet on Linea Mainnet (59144). */
|
|
1
|
+
/** MultiSignAgentWallet on Linea Mainnet (59144). Must match mpc-auth fee_params.go and continuumdao-node-app. */
|
|
2
2
|
export const LINEA_MAINNET_DEFAULT_RPC = 'https://linea-rpc.publicnode.com';
|
|
3
3
|
export const LINEA_MAINNET_DEFAULT_EXPLORER = 'https://lineascan.build';
|
|
4
|
+
export const KEY_GEN_ADDRESS_KIND_ETHEREUM = 'ethereum';
|
|
5
|
+
/** Deposit without month activation (contract sentinel). */
|
|
6
|
+
export const MPA_DEPOSIT_ONLY_NONCE = (2n ** 256n - 1n).toString();
|
|
4
7
|
export const MPA_WALLET_CONTRACT_CONFIG = {
|
|
5
8
|
chainId: 59144,
|
|
6
|
-
contractAddress: '
|
|
9
|
+
contractAddress: '0x7B651B7a0fa2b0ae56B4A1099F1Ca19De849e39B',
|
|
7
10
|
rpcUrl: LINEA_MAINNET_DEFAULT_RPC,
|
|
8
11
|
blockExplorerUrl: LINEA_MAINNET_DEFAULT_EXPLORER,
|
|
9
12
|
};
|
|
13
|
+
/** MkII MultiSignAgentWallet read ABI (no billingAddress). */
|
|
10
14
|
export const MPA_WALLET_READ_ABI = [
|
|
11
15
|
{
|
|
12
|
-
inputs: [
|
|
13
|
-
|
|
16
|
+
inputs: [
|
|
17
|
+
{ name: 'keyGenId', type: 'string', internalType: 'string' },
|
|
18
|
+
{ name: 'addressKind', type: 'string', internalType: 'string' },
|
|
19
|
+
],
|
|
20
|
+
name: 'isKeyGenRegistered',
|
|
14
21
|
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
15
22
|
stateMutability: 'view',
|
|
16
23
|
type: 'function',
|
|
17
24
|
},
|
|
18
25
|
{
|
|
19
|
-
inputs: [
|
|
20
|
-
|
|
26
|
+
inputs: [
|
|
27
|
+
{ name: 'keyGenId', type: 'string', internalType: 'string' },
|
|
28
|
+
{ name: 'addressKind', type: 'string', internalType: 'string' },
|
|
29
|
+
],
|
|
30
|
+
name: 'getSubscriptionStatus',
|
|
21
31
|
outputs: [
|
|
22
|
-
{ name: '
|
|
23
|
-
{ name: '
|
|
24
|
-
{ name: '
|
|
25
|
-
{ name: '
|
|
26
|
-
{ name: '
|
|
32
|
+
{ name: 'registered', type: 'bool', internalType: 'bool' },
|
|
33
|
+
{ name: 'paidThroughMonth', type: 'uint32', internalType: 'uint32' },
|
|
34
|
+
{ name: 'signatureCountAtMonthStart', type: 'uint256', internalType: 'uint256' },
|
|
35
|
+
{ name: 'keyGenCreditBalance_', type: 'uint256', internalType: 'uint256' },
|
|
36
|
+
{ name: 'monthlyFee', type: 'uint256', internalType: 'uint256' },
|
|
37
|
+
{ name: 'freeSignaturesPerMonth', type: 'uint256', internalType: 'uint256' },
|
|
38
|
+
{ name: 'overageFeePerSignature', type: 'uint256', internalType: 'uint256' },
|
|
39
|
+
{ name: 'fundedForCurrentMonth', type: 'bool', internalType: 'bool' },
|
|
40
|
+
{ name: 'purchasedOverageSignatures', type: 'uint256', internalType: 'uint256' },
|
|
27
41
|
],
|
|
28
42
|
stateMutability: 'view',
|
|
29
43
|
type: 'function',
|
|
30
44
|
},
|
|
31
45
|
{
|
|
32
46
|
inputs: [
|
|
33
|
-
{ name: '
|
|
34
|
-
{ name: '
|
|
47
|
+
{ name: 'keyGenId', type: 'string', internalType: 'string' },
|
|
48
|
+
{ name: 'addressKind', type: 'string', internalType: 'string' },
|
|
49
|
+
{ name: 'currentSignatureCount', type: 'uint256', internalType: 'uint256' },
|
|
35
50
|
],
|
|
36
|
-
name: '
|
|
51
|
+
name: 'getRemainingNonces',
|
|
37
52
|
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
38
53
|
stateMutability: 'view',
|
|
39
54
|
type: 'function',
|
|
40
55
|
},
|
|
41
56
|
{
|
|
42
57
|
inputs: [
|
|
43
|
-
{ name: '
|
|
44
|
-
{ name: '
|
|
58
|
+
{ name: 'keyGenId', type: 'string', internalType: 'string' },
|
|
59
|
+
{ name: 'addressKind', type: 'string', internalType: 'string' },
|
|
45
60
|
],
|
|
46
|
-
name: '
|
|
61
|
+
name: 'getRequiredMinimumTopUp',
|
|
47
62
|
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
48
63
|
stateMutability: 'view',
|
|
49
64
|
type: 'function',
|
|
50
65
|
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [
|
|
68
|
+
{ name: 'keyGenId', type: 'string', internalType: 'string' },
|
|
69
|
+
{ name: 'addressKind', type: 'string', internalType: 'string' },
|
|
70
|
+
],
|
|
71
|
+
name: 'getKeyGenWithdrawAuthority',
|
|
72
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
73
|
+
stateMutability: 'view',
|
|
74
|
+
type: 'function',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [
|
|
78
|
+
{ name: 'nodeKey', type: 'string', internalType: 'string' },
|
|
79
|
+
{ name: 'hostBinding', type: 'bytes32', internalType: 'bytes32' },
|
|
80
|
+
],
|
|
81
|
+
name: 'getVpnSubscriptionStatus',
|
|
82
|
+
outputs: [
|
|
83
|
+
{ name: 'registered', type: 'bool', internalType: 'bool' },
|
|
84
|
+
{ name: 'paidThroughMonth', type: 'uint32', internalType: 'uint32' },
|
|
85
|
+
{ name: 'vpnCreditBalance_', type: 'uint256', internalType: 'uint256' },
|
|
86
|
+
{ name: 'vpnMonthlyFee', type: 'uint256', internalType: 'uint256' },
|
|
87
|
+
{ name: 'fundedForCurrentMonth', type: 'bool', internalType: 'bool' },
|
|
88
|
+
],
|
|
89
|
+
stateMutability: 'view',
|
|
90
|
+
type: 'function',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [
|
|
94
|
+
{ name: 'nodeKey', type: 'string', internalType: 'string' },
|
|
95
|
+
{ name: 'hostBinding', type: 'bytes32', internalType: 'bytes32' },
|
|
96
|
+
],
|
|
97
|
+
name: 'getVpnWithdrawAuthority',
|
|
98
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
99
|
+
stateMutability: 'view',
|
|
100
|
+
type: 'function',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
inputs: [],
|
|
104
|
+
name: 'FEE_TOKEN',
|
|
105
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
106
|
+
stateMutability: 'view',
|
|
107
|
+
type: 'function',
|
|
108
|
+
},
|
|
51
109
|
];
|
|
52
110
|
export const ERC20_ALLOWANCE_ABI = [
|
|
53
111
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mpa-wallet.js","sourceRoot":"","sources":["../../src/config/mpa-wallet.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"mpa-wallet.js","sourceRoot":"","sources":["../../src/config/mpa-wallet.ts"],"names":[],"mappings":"AAAA,kHAAkH;AAClH,MAAM,CAAC,MAAM,yBAAyB,GAAG,kCAA2C,CAAC;AAErF,MAAM,CAAC,MAAM,8BAA8B,GAAG,yBAAkC,CAAC;AAEjF,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAmB,CAAC;AAEjE,4DAA4D;AAC5D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,QAAQ,EA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;QACC,MAAM,EAAE;YACP,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAC;YACzD,EAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAC;SAC/D;QACD,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAC,CAAC;QAC/D,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KAChB;IACD;QACC,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAC,CAAC;QAC/D,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KAChB;CACQ,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;QACC,MAAM,EAAE;YACP,EAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAC;YACzD,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAC;SAC3D;QACD,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAC,CAAC;QAC/D,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KAChB;CACQ,CAAC"}
|
package/dist/config/paths.d.ts
CHANGED
|
@@ -7,5 +7,7 @@ export declare function addedKeysDir(mpcConfigPath: string): string;
|
|
|
7
7
|
export declare function expandHome(filePath: string): string;
|
|
8
8
|
export declare function resolveMpcConfigPath(configPath: string): string;
|
|
9
9
|
export declare function bootstrapKeyDir(mpcConfigPath: string): string;
|
|
10
|
+
/** Writable agent folder (Docker: `/app/user_folder`, host bind mount). */
|
|
11
|
+
export declare function resolveUserFolderPath(override?: string): string;
|
|
10
12
|
export declare function buildManagementBaseUrl(baseUrl: string, managementPort: number): string;
|
|
11
13
|
//# sourceMappingURL=paths.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":"AAGA,0GAA0G;AAC1G,eAAO,MAAM,QAAQ,SAAS,CAAC;AAC/B,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAChD,eAAO,MAAM,mBAAmB,QAA2C,CAAC;AAE5E,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAUnD;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAO/D;AAED,wBAAgB,eAAe,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,GACpB,MAAM,CAGR"}
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":"AAGA,0GAA0G;AAC1G,eAAO,MAAM,QAAQ,SAAS,CAAC;AAC/B,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAChD,eAAO,MAAM,mBAAmB,QAA2C,CAAC;AAE5E,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAUnD;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAO/D;AAED,wBAAgB,eAAe,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,2EAA2E;AAC3E,wBAAgB,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAU/D;AAED,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,GACpB,MAAM,CAGR"}
|
package/dist/config/paths.js
CHANGED
|
@@ -27,6 +27,18 @@ export function resolveMpcConfigPath(configPath) {
|
|
|
27
27
|
export function bootstrapKeyDir(mpcConfigPath) {
|
|
28
28
|
return path.join(resolveMpcConfigPath(mpcConfigPath), 'bootstrap_key');
|
|
29
29
|
}
|
|
30
|
+
/** Writable agent folder (Docker: `/app/user_folder`, host bind mount). */
|
|
31
|
+
export function resolveUserFolderPath(override) {
|
|
32
|
+
const trimmed = override?.trim();
|
|
33
|
+
if (trimmed) {
|
|
34
|
+
return expandHome(trimmed);
|
|
35
|
+
}
|
|
36
|
+
const fromEnv = process.env['MPC_AUTH_USER_FOLDER']?.trim();
|
|
37
|
+
if (fromEnv) {
|
|
38
|
+
return expandHome(fromEnv);
|
|
39
|
+
}
|
|
40
|
+
return '/app/user_folder';
|
|
41
|
+
}
|
|
30
42
|
export function buildManagementBaseUrl(baseUrl, managementPort) {
|
|
31
43
|
const trimmed = baseUrl.replace(/\/+$/, '');
|
|
32
44
|
return `${trimmed}:${managementPort}`;
|
package/dist/config/paths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../src/config/paths.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,0GAA0G;AAC1G,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC;AAC/B,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC,IAAI,CAAC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AA2E;AAC3E,MAAM,UAAU,qBAAqB,CAAC,QAAiB;IACtD,MAAM,OAAO,GAAG,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjC,IAAI,OAAO,EAAE,CAAC;QACb,OAAO,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;IACD,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,EAAE,IAAI,EAAE,CAAC;IAC5D,IAAI,OAAO,EAAE,CAAC;QACb,OAAO,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,kBAAkB,CAAC;AAC3B,CAAC;AAED,MAAM,UAAU,sBAAsB,CACrC,OAAe,EACf,cAAsB;IAEtB,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAC5C,OAAO,GAAG,OAAO,IAAI,cAAc,EAAE,CAAC;AACvC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { NodeSdkConfig } from '../../config/schema.js';
|
|
2
|
+
import type { SdkResult } from '../result.js';
|
|
3
|
+
export declare function createMpaSyncBillingMultiSignRequest(config: NodeSdkConfig, input: unknown): Promise<SdkResult<{
|
|
4
|
+
requestId: string;
|
|
5
|
+
}>>;
|
|
6
|
+
export declare function createMpaOveragePurchaseMultiSignRequest(config: NodeSdkConfig, input: unknown): Promise<SdkResult<{
|
|
7
|
+
requestId: string;
|
|
8
|
+
}>>;
|
|
9
|
+
export declare function registerVpnOnLinea(config: NodeSdkConfig, input: unknown): Promise<SdkResult<{
|
|
10
|
+
requestId: string;
|
|
11
|
+
}>>;
|
|
12
|
+
export declare function createMpaVpnDepositMultiSignRequest(config: NodeSdkConfig, input: unknown): Promise<SdkResult<{
|
|
13
|
+
requestId: string;
|
|
14
|
+
}>>;
|
|
15
|
+
export declare function createMpaSyncVpnBillingMultiSignRequest(config: NodeSdkConfig, input: unknown): Promise<SdkResult<{
|
|
16
|
+
requestId: string;
|
|
17
|
+
}>>;
|
|
18
|
+
export declare function getMpaVpnStatus(config: NodeSdkConfig, input: unknown): Promise<SdkResult<{
|
|
19
|
+
registered: boolean;
|
|
20
|
+
nodeKey?: string;
|
|
21
|
+
hostBinding?: string;
|
|
22
|
+
fundedForCurrentMonth?: boolean;
|
|
23
|
+
paidThroughMonth?: number;
|
|
24
|
+
vpnCreditBalance?: string;
|
|
25
|
+
vpnMonthlyFee?: string;
|
|
26
|
+
feeTokenSymbol?: string;
|
|
27
|
+
error?: string;
|
|
28
|
+
}>>;
|
|
29
|
+
//# sourceMappingURL=mpa-billing-ops.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mpa-billing-ops.d.ts","sourceRoot":"","sources":["../../../src/core/mpc/mpa-billing-ops.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAO1D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,cAAc,CAAC;AAsM5C,wBAAsB,oCAAoC,CACzD,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,OAAO,GACZ,OAAO,CAAC,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CAqEzC;AAED,wBAAsB,wCAAwC,CAC7D,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,OAAO,GACZ,OAAO,CAAC,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CAkGzC;AAED,wBAAsB,kBAAkB,CACvC,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,OAAO,GACZ,OAAO,CAAC,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CA8BzC;AAED,wBAAsB,mCAAmC,CACxD,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,OAAO,GACZ,OAAO,CAAC,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA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