@dynamic-labs/sdk-api-core 0.0.743 → 0.0.745
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/package.json +1 -1
- package/src/index.cjs +24 -12
- package/src/index.js +6 -3
- package/src/models/SignMessageAuthorizationSignature.cjs +45 -0
- package/src/models/SignMessageAuthorizationSignature.d.ts +63 -0
- package/src/models/SignMessageAuthorizationSignature.js +39 -0
- package/src/models/SignMessageContext.cjs +40 -0
- package/src/models/SignMessageContext.d.ts +42 -0
- package/src/models/SignMessageContext.js +34 -0
- package/src/models/{SignMessageWithWaasRequestContextTransaction.cjs → SignMessageEvmTransaction.cjs} +7 -7
- package/src/models/{SignMessageWithWaasRequestContextTransaction.d.ts → SignMessageEvmTransaction.d.ts} +15 -15
- package/src/models/{SignMessageWithWaasRequestContextTransaction.js → SignMessageEvmTransaction.js} +5 -5
- package/src/models/SignMessageEvmUserOperation.cjs +38 -0
- package/src/models/SignMessageEvmUserOperation.d.ts +40 -0
- package/src/models/SignMessageEvmUserOperation.js +32 -0
- package/src/models/SignMessageSvmTransaction.cjs +47 -0
- package/src/models/SignMessageSvmTransaction.d.ts +39 -0
- package/src/models/SignMessageSvmTransaction.js +41 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperation.cjs → SignMessageUserOperationData.cjs} +10 -9
- package/src/models/{SignMessageWithWaasRequestContextUserOperation.d.ts → SignMessageUserOperationData.d.ts} +26 -25
- package/src/models/{SignMessageWithWaasRequestContextUserOperation.js → SignMessageUserOperationData.js} +8 -7
- package/src/models/SignMessageWithWaasRequest.cjs +3 -3
- package/src/models/SignMessageWithWaasRequest.d.ts +3 -3
- package/src/models/SignMessageWithWaasRequest.js +3 -3
- package/src/models/index.d.ts +6 -3
- package/src/models/SignMessageWithWaasRequestContext.cjs +0 -37
- package/src/models/SignMessageWithWaasRequestContext.d.ts +0 -35
- package/src/models/SignMessageWithWaasRequestContext.js +0 -31
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -256,10 +256,13 @@ var SdkViewType = require('./models/SdkViewType.cjs');
|
|
|
256
256
|
var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
|
|
257
257
|
var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
258
258
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
259
|
+
var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
|
|
260
|
+
var SignMessageContext = require('./models/SignMessageContext.cjs');
|
|
261
|
+
var SignMessageEvmTransaction = require('./models/SignMessageEvmTransaction.cjs');
|
|
262
|
+
var SignMessageEvmUserOperation = require('./models/SignMessageEvmUserOperation.cjs');
|
|
263
|
+
var SignMessageSvmTransaction = require('./models/SignMessageSvmTransaction.cjs');
|
|
264
|
+
var SignMessageUserOperationData = require('./models/SignMessageUserOperationData.cjs');
|
|
259
265
|
var SignMessageWithWaasRequest = require('./models/SignMessageWithWaasRequest.cjs');
|
|
260
|
-
var SignMessageWithWaasRequestContext = require('./models/SignMessageWithWaasRequestContext.cjs');
|
|
261
|
-
var SignMessageWithWaasRequestContextTransaction = require('./models/SignMessageWithWaasRequestContextTransaction.cjs');
|
|
262
|
-
var SignMessageWithWaasRequestContextUserOperation = require('./models/SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
263
266
|
var SignTransactionWithWaasRequest = require('./models/SignTransactionWithWaasRequest.cjs');
|
|
264
267
|
var SimulateEVMTransactionRequest = require('./models/SimulateEVMTransactionRequest.cjs');
|
|
265
268
|
var SimulateSVMTransactionRequest = require('./models/SimulateSVMTransactionRequest.cjs');
|
|
@@ -1282,18 +1285,27 @@ Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
|
1282
1285
|
exports.SignInProviderEnumFromJSON = SignInProviderEnum.SignInProviderEnumFromJSON;
|
|
1283
1286
|
exports.SignInProviderEnumFromJSONTyped = SignInProviderEnum.SignInProviderEnumFromJSONTyped;
|
|
1284
1287
|
exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
1288
|
+
exports.SignMessageAuthorizationSignatureFromJSON = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSON;
|
|
1289
|
+
exports.SignMessageAuthorizationSignatureFromJSONTyped = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSONTyped;
|
|
1290
|
+
exports.SignMessageAuthorizationSignatureToJSON = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureToJSON;
|
|
1291
|
+
exports.SignMessageContextFromJSON = SignMessageContext.SignMessageContextFromJSON;
|
|
1292
|
+
exports.SignMessageContextFromJSONTyped = SignMessageContext.SignMessageContextFromJSONTyped;
|
|
1293
|
+
exports.SignMessageContextToJSON = SignMessageContext.SignMessageContextToJSON;
|
|
1294
|
+
exports.SignMessageEvmTransactionFromJSON = SignMessageEvmTransaction.SignMessageEvmTransactionFromJSON;
|
|
1295
|
+
exports.SignMessageEvmTransactionFromJSONTyped = SignMessageEvmTransaction.SignMessageEvmTransactionFromJSONTyped;
|
|
1296
|
+
exports.SignMessageEvmTransactionToJSON = SignMessageEvmTransaction.SignMessageEvmTransactionToJSON;
|
|
1297
|
+
exports.SignMessageEvmUserOperationFromJSON = SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSON;
|
|
1298
|
+
exports.SignMessageEvmUserOperationFromJSONTyped = SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSONTyped;
|
|
1299
|
+
exports.SignMessageEvmUserOperationToJSON = SignMessageEvmUserOperation.SignMessageEvmUserOperationToJSON;
|
|
1300
|
+
exports.SignMessageSvmTransactionFromJSON = SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON;
|
|
1301
|
+
exports.SignMessageSvmTransactionFromJSONTyped = SignMessageSvmTransaction.SignMessageSvmTransactionFromJSONTyped;
|
|
1302
|
+
exports.SignMessageSvmTransactionToJSON = SignMessageSvmTransaction.SignMessageSvmTransactionToJSON;
|
|
1303
|
+
exports.SignMessageUserOperationDataFromJSON = SignMessageUserOperationData.SignMessageUserOperationDataFromJSON;
|
|
1304
|
+
exports.SignMessageUserOperationDataFromJSONTyped = SignMessageUserOperationData.SignMessageUserOperationDataFromJSONTyped;
|
|
1305
|
+
exports.SignMessageUserOperationDataToJSON = SignMessageUserOperationData.SignMessageUserOperationDataToJSON;
|
|
1285
1306
|
exports.SignMessageWithWaasRequestFromJSON = SignMessageWithWaasRequest.SignMessageWithWaasRequestFromJSON;
|
|
1286
1307
|
exports.SignMessageWithWaasRequestFromJSONTyped = SignMessageWithWaasRequest.SignMessageWithWaasRequestFromJSONTyped;
|
|
1287
1308
|
exports.SignMessageWithWaasRequestToJSON = SignMessageWithWaasRequest.SignMessageWithWaasRequestToJSON;
|
|
1288
|
-
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSON;
|
|
1289
|
-
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSONTyped;
|
|
1290
|
-
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextToJSON;
|
|
1291
|
-
exports.SignMessageWithWaasRequestContextTransactionFromJSON = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON;
|
|
1292
|
-
exports.SignMessageWithWaasRequestContextTransactionFromJSONTyped = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSONTyped;
|
|
1293
|
-
exports.SignMessageWithWaasRequestContextTransactionToJSON = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON;
|
|
1294
|
-
exports.SignMessageWithWaasRequestContextUserOperationFromJSON = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON;
|
|
1295
|
-
exports.SignMessageWithWaasRequestContextUserOperationFromJSONTyped = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSONTyped;
|
|
1296
|
-
exports.SignMessageWithWaasRequestContextUserOperationToJSON = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON;
|
|
1297
1309
|
exports.SignTransactionWithWaasRequestFromJSON = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestFromJSON;
|
|
1298
1310
|
exports.SignTransactionWithWaasRequestFromJSONTyped = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestFromJSONTyped;
|
|
1299
1311
|
exports.SignTransactionWithWaasRequestToJSON = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -252,10 +252,13 @@ export { SdkViewType, SdkViewTypeFromJSON, SdkViewTypeFromJSONTyped, SdkViewType
|
|
|
252
252
|
export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkViewUpdateRequestToJSON } from './models/SdkViewUpdateRequest.js';
|
|
253
253
|
export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
|
|
254
254
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
255
|
+
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
|
|
256
|
+
export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
|
|
257
|
+
export { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionFromJSONTyped, SignMessageEvmTransactionToJSON } from './models/SignMessageEvmTransaction.js';
|
|
258
|
+
export { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationFromJSONTyped, SignMessageEvmUserOperationToJSON } from './models/SignMessageEvmUserOperation.js';
|
|
259
|
+
export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyped, SignMessageSvmTransactionToJSON } from './models/SignMessageSvmTransaction.js';
|
|
260
|
+
export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON } from './models/SignMessageUserOperationData.js';
|
|
255
261
|
export { SignMessageWithWaasRequestFromJSON, SignMessageWithWaasRequestFromJSONTyped, SignMessageWithWaasRequestToJSON } from './models/SignMessageWithWaasRequest.js';
|
|
256
|
-
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON } from './models/SignMessageWithWaasRequestContext.js';
|
|
257
|
-
export { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionFromJSONTyped, SignMessageWithWaasRequestContextTransactionToJSON } from './models/SignMessageWithWaasRequestContextTransaction.js';
|
|
258
|
-
export { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationFromJSONTyped, SignMessageWithWaasRequestContextUserOperationToJSON } from './models/SignMessageWithWaasRequestContextUserOperation.js';
|
|
259
262
|
export { SignTransactionWithWaasRequestFromJSON, SignTransactionWithWaasRequestFromJSONTyped, SignTransactionWithWaasRequestToJSON } from './models/SignTransactionWithWaasRequest.js';
|
|
260
263
|
export { SimulateEVMTransactionRequestFromJSON, SimulateEVMTransactionRequestFromJSONTyped, SimulateEVMTransactionRequestToJSON } from './models/SimulateEVMTransactionRequest.js';
|
|
261
264
|
export { SimulateSVMTransactionRequestFromJSON, SimulateSVMTransactionRequestFromJSONTyped, SimulateSVMTransactionRequestToJSON } from './models/SimulateSVMTransactionRequest.js';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SignMessageAuthorizationSignatureFromJSON(json) {
|
|
9
|
+
return SignMessageAuthorizationSignatureFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SignMessageAuthorizationSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'address': !runtime.exists(json, 'address') ? undefined : json['address'],
|
|
17
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
18
|
+
'nonce': !runtime.exists(json, 'nonce') ? undefined : json['nonce'],
|
|
19
|
+
'r': !runtime.exists(json, 'r') ? undefined : json['r'],
|
|
20
|
+
's': !runtime.exists(json, 's') ? undefined : json['s'],
|
|
21
|
+
'v': !runtime.exists(json, 'v') ? undefined : json['v'],
|
|
22
|
+
'yParity': !runtime.exists(json, 'yParity') ? undefined : json['yParity'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function SignMessageAuthorizationSignatureToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'address': value.address,
|
|
34
|
+
'chainId': value.chainId,
|
|
35
|
+
'nonce': value.nonce,
|
|
36
|
+
'r': value.r,
|
|
37
|
+
's': value.s,
|
|
38
|
+
'v': value.v,
|
|
39
|
+
'yParity': value.yParity,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.SignMessageAuthorizationSignatureFromJSON = SignMessageAuthorizationSignatureFromJSON;
|
|
44
|
+
exports.SignMessageAuthorizationSignatureFromJSONTyped = SignMessageAuthorizationSignatureFromJSONTyped;
|
|
45
|
+
exports.SignMessageAuthorizationSignatureToJSON = SignMessageAuthorizationSignatureToJSON;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Authorization signature data (optional)
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageAuthorizationSignature
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageAuthorizationSignature {
|
|
18
|
+
/**
|
|
19
|
+
* Address that signed the authorization
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageAuthorizationSignature
|
|
22
|
+
*/
|
|
23
|
+
address?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Chain ID for the authorization signature
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SignMessageAuthorizationSignature
|
|
28
|
+
*/
|
|
29
|
+
chainId?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Nonce used in the authorization signature
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SignMessageAuthorizationSignature
|
|
34
|
+
*/
|
|
35
|
+
nonce?: number;
|
|
36
|
+
/**
|
|
37
|
+
* R component of the ECDSA signature
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SignMessageAuthorizationSignature
|
|
40
|
+
*/
|
|
41
|
+
r?: string;
|
|
42
|
+
/**
|
|
43
|
+
* S component of the ECDSA signature
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignMessageAuthorizationSignature
|
|
46
|
+
*/
|
|
47
|
+
s?: string;
|
|
48
|
+
/**
|
|
49
|
+
* V component of the ECDSA signature
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SignMessageAuthorizationSignature
|
|
52
|
+
*/
|
|
53
|
+
v?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Y parity of the signature (0 or 1)
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SignMessageAuthorizationSignature
|
|
58
|
+
*/
|
|
59
|
+
yParity?: number;
|
|
60
|
+
}
|
|
61
|
+
export declare function SignMessageAuthorizationSignatureFromJSON(json: any): SignMessageAuthorizationSignature;
|
|
62
|
+
export declare function SignMessageAuthorizationSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageAuthorizationSignature;
|
|
63
|
+
export declare function SignMessageAuthorizationSignatureToJSON(value?: SignMessageAuthorizationSignature | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SignMessageAuthorizationSignatureFromJSON(json) {
|
|
5
|
+
return SignMessageAuthorizationSignatureFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SignMessageAuthorizationSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'address': !exists(json, 'address') ? undefined : json['address'],
|
|
13
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
14
|
+
'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
|
|
15
|
+
'r': !exists(json, 'r') ? undefined : json['r'],
|
|
16
|
+
's': !exists(json, 's') ? undefined : json['s'],
|
|
17
|
+
'v': !exists(json, 'v') ? undefined : json['v'],
|
|
18
|
+
'yParity': !exists(json, 'yParity') ? undefined : json['yParity'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function SignMessageAuthorizationSignatureToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'address': value.address,
|
|
30
|
+
'chainId': value.chainId,
|
|
31
|
+
'nonce': value.nonce,
|
|
32
|
+
'r': value.r,
|
|
33
|
+
's': value.s,
|
|
34
|
+
'v': value.v,
|
|
35
|
+
'yParity': value.yParity,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageEvmTransaction = require('./SignMessageEvmTransaction.cjs');
|
|
7
|
+
var SignMessageEvmUserOperation = require('./SignMessageEvmUserOperation.cjs');
|
|
8
|
+
var SignMessageSvmTransaction = require('./SignMessageSvmTransaction.cjs');
|
|
9
|
+
|
|
10
|
+
/* tslint:disable */
|
|
11
|
+
function SignMessageContextFromJSON(json) {
|
|
12
|
+
return SignMessageContextFromJSONTyped(json);
|
|
13
|
+
}
|
|
14
|
+
function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if ((json === undefined) || (json === null)) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
'evmTransaction': !runtime.exists(json, 'evmTransaction') ? undefined : SignMessageEvmTransaction.SignMessageEvmTransactionFromJSON(json['evmTransaction']),
|
|
20
|
+
'evmUserOperation': !runtime.exists(json, 'evmUserOperation') ? undefined : SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSON(json['evmUserOperation']),
|
|
21
|
+
'svmTransaction': !runtime.exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function SignMessageContextToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'evmTransaction': SignMessageEvmTransaction.SignMessageEvmTransactionToJSON(value.evmTransaction),
|
|
33
|
+
'evmUserOperation': SignMessageEvmUserOperation.SignMessageEvmUserOperationToJSON(value.evmUserOperation),
|
|
34
|
+
'svmTransaction': SignMessageSvmTransaction.SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.SignMessageContextFromJSON = SignMessageContextFromJSON;
|
|
39
|
+
exports.SignMessageContextFromJSONTyped = SignMessageContextFromJSONTyped;
|
|
40
|
+
exports.SignMessageContextToJSON = SignMessageContextToJSON;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SignMessageEvmTransaction } from './SignMessageEvmTransaction';
|
|
13
|
+
import { SignMessageEvmUserOperation } from './SignMessageEvmUserOperation';
|
|
14
|
+
import { SignMessageSvmTransaction } from './SignMessageSvmTransaction';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SignMessageContext
|
|
19
|
+
*/
|
|
20
|
+
export interface SignMessageContext {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {SignMessageEvmTransaction}
|
|
24
|
+
* @memberof SignMessageContext
|
|
25
|
+
*/
|
|
26
|
+
evmTransaction?: SignMessageEvmTransaction;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {SignMessageEvmUserOperation}
|
|
30
|
+
* @memberof SignMessageContext
|
|
31
|
+
*/
|
|
32
|
+
evmUserOperation?: SignMessageEvmUserOperation;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {SignMessageSvmTransaction}
|
|
36
|
+
* @memberof SignMessageContext
|
|
37
|
+
*/
|
|
38
|
+
svmTransaction?: SignMessageSvmTransaction;
|
|
39
|
+
}
|
|
40
|
+
export declare function SignMessageContextFromJSON(json: any): SignMessageContext;
|
|
41
|
+
export declare function SignMessageContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageContext;
|
|
42
|
+
export declare function SignMessageContextToJSON(value?: SignMessageContext | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionToJSON } from './SignMessageEvmTransaction.js';
|
|
3
|
+
import { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationToJSON } from './SignMessageEvmUserOperation.js';
|
|
4
|
+
import { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionToJSON } from './SignMessageSvmTransaction.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function SignMessageContextFromJSON(json) {
|
|
8
|
+
return SignMessageContextFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'evmTransaction': !exists(json, 'evmTransaction') ? undefined : SignMessageEvmTransactionFromJSON(json['evmTransaction']),
|
|
16
|
+
'evmUserOperation': !exists(json, 'evmUserOperation') ? undefined : SignMessageEvmUserOperationFromJSON(json['evmUserOperation']),
|
|
17
|
+
'svmTransaction': !exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SignMessageContextToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'evmTransaction': SignMessageEvmTransactionToJSON(value.evmTransaction),
|
|
29
|
+
'evmUserOperation': SignMessageEvmUserOperationToJSON(value.evmUserOperation),
|
|
30
|
+
'svmTransaction': SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON };
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
|
|
7
7
|
/* tslint:disable */
|
|
8
|
-
function
|
|
9
|
-
return
|
|
8
|
+
function SignMessageEvmTransactionFromJSON(json) {
|
|
9
|
+
return SignMessageEvmTransactionFromJSONTyped(json);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function SignMessageEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
12
|
if ((json === undefined) || (json === null)) {
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
@@ -24,7 +24,7 @@ function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreD
|
|
|
24
24
|
'value': !runtime.exists(json, 'value') ? undefined : json['value'],
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function SignMessageEvmTransactionToJSON(value) {
|
|
28
28
|
if (value === undefined) {
|
|
29
29
|
return undefined;
|
|
30
30
|
}
|
|
@@ -44,6 +44,6 @@ function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
47
|
+
exports.SignMessageEvmTransactionFromJSON = SignMessageEvmTransactionFromJSON;
|
|
48
|
+
exports.SignMessageEvmTransactionFromJSONTyped = SignMessageEvmTransactionFromJSONTyped;
|
|
49
|
+
exports.SignMessageEvmTransactionToJSON = SignMessageEvmTransactionToJSON;
|
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Standard EVM transaction
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SignMessageEvmTransaction
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SignMessageEvmTransaction {
|
|
18
18
|
/**
|
|
19
19
|
* Recipient address
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SignMessageEvmTransaction
|
|
22
22
|
*/
|
|
23
23
|
to?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Chain identifier
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SignMessageEvmTransaction
|
|
28
28
|
*/
|
|
29
29
|
chain?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Transaction data as hex string
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof SignMessageEvmTransaction
|
|
34
34
|
*/
|
|
35
35
|
data?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Gas limit as hex string
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof SignMessageEvmTransaction
|
|
40
40
|
*/
|
|
41
41
|
gas?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Gas price as hex string
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof SignMessageEvmTransaction
|
|
46
46
|
*/
|
|
47
47
|
gasPrice?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Maximum fee per gas as hex string
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof SignMessageEvmTransaction
|
|
52
52
|
*/
|
|
53
53
|
maxFeePerGas?: string;
|
|
54
54
|
/**
|
|
55
55
|
* Maximum priority fee per gas as hex string
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof SignMessageEvmTransaction
|
|
58
58
|
*/
|
|
59
59
|
maxPriorityFeePerGas?: string;
|
|
60
60
|
/**
|
|
61
61
|
* Transaction nonce
|
|
62
62
|
* @type {number}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof SignMessageEvmTransaction
|
|
64
64
|
*/
|
|
65
65
|
nonce?: number;
|
|
66
66
|
/**
|
|
67
67
|
* Transaction value as hex string
|
|
68
68
|
* @type {string}
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof SignMessageEvmTransaction
|
|
70
70
|
*/
|
|
71
71
|
value?: string;
|
|
72
72
|
}
|
|
73
|
-
export declare function
|
|
74
|
-
export declare function
|
|
75
|
-
export declare function
|
|
73
|
+
export declare function SignMessageEvmTransactionFromJSON(json: any): SignMessageEvmTransaction;
|
|
74
|
+
export declare function SignMessageEvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageEvmTransaction;
|
|
75
|
+
export declare function SignMessageEvmTransactionToJSON(value?: SignMessageEvmTransaction | null): any;
|
package/src/models/{SignMessageWithWaasRequestContextTransaction.js → SignMessageEvmTransaction.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function SignMessageEvmTransactionFromJSON(json) {
|
|
5
|
+
return SignMessageEvmTransactionFromJSONTyped(json);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function SignMessageEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
8
|
if ((json === undefined) || (json === null)) {
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
@@ -20,7 +20,7 @@ function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreD
|
|
|
20
20
|
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function SignMessageEvmTransactionToJSON(value) {
|
|
24
24
|
if (value === undefined) {
|
|
25
25
|
return undefined;
|
|
26
26
|
}
|
|
@@ -40,4 +40,4 @@ function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionFromJSONTyped, SignMessageEvmTransactionToJSON };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageUserOperationData = require('./SignMessageUserOperationData.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function SignMessageEvmUserOperationFromJSON(json) {
|
|
10
|
+
return SignMessageEvmUserOperationFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function SignMessageEvmUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
18
|
+
'entryPoint': !runtime.exists(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
19
|
+
'operation': !runtime.exists(json, 'operation') ? undefined : SignMessageUserOperationData.SignMessageUserOperationDataFromJSON(json['operation']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SignMessageEvmUserOperationToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'chainId': value.chainId,
|
|
31
|
+
'entryPoint': value.entryPoint,
|
|
32
|
+
'operation': SignMessageUserOperationData.SignMessageUserOperationDataToJSON(value.operation),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.SignMessageEvmUserOperationFromJSON = SignMessageEvmUserOperationFromJSON;
|
|
37
|
+
exports.SignMessageEvmUserOperationFromJSONTyped = SignMessageEvmUserOperationFromJSONTyped;
|
|
38
|
+
exports.SignMessageEvmUserOperationToJSON = SignMessageEvmUserOperationToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SignMessageUserOperationData } from './SignMessageUserOperationData';
|
|
13
|
+
/**
|
|
14
|
+
* User Operation (ERC-4337)
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SignMessageEvmUserOperation
|
|
17
|
+
*/
|
|
18
|
+
export interface SignMessageEvmUserOperation {
|
|
19
|
+
/**
|
|
20
|
+
* Chain identifier needed for user operation hash calculation
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SignMessageEvmUserOperation
|
|
23
|
+
*/
|
|
24
|
+
chainId?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Address of the entry point contract
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SignMessageEvmUserOperation
|
|
29
|
+
*/
|
|
30
|
+
entryPoint?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SignMessageUserOperationData}
|
|
34
|
+
* @memberof SignMessageEvmUserOperation
|
|
35
|
+
*/
|
|
36
|
+
operation?: SignMessageUserOperationData;
|
|
37
|
+
}
|
|
38
|
+
export declare function SignMessageEvmUserOperationFromJSON(json: any): SignMessageEvmUserOperation;
|
|
39
|
+
export declare function SignMessageEvmUserOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageEvmUserOperation;
|
|
40
|
+
export declare function SignMessageEvmUserOperationToJSON(value?: SignMessageEvmUserOperation | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataToJSON } from './SignMessageUserOperationData.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SignMessageEvmUserOperationFromJSON(json) {
|
|
6
|
+
return SignMessageEvmUserOperationFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SignMessageEvmUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
14
|
+
'entryPoint': !exists(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
15
|
+
'operation': !exists(json, 'operation') ? undefined : SignMessageUserOperationDataFromJSON(json['operation']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SignMessageEvmUserOperationToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': value.chainId,
|
|
27
|
+
'entryPoint': value.entryPoint,
|
|
28
|
+
'operation': SignMessageUserOperationDataToJSON(value.operation),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationFromJSONTyped, SignMessageEvmUserOperationToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function SignMessageSvmTransactionFromJSON(json) {
|
|
19
|
+
return SignMessageSvmTransactionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SignMessageSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': json['chainId'],
|
|
27
|
+
'method': json['method'],
|
|
28
|
+
'serializedTransactions': json['serializedTransactions'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function SignMessageSvmTransactionToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'chainId': value.chainId,
|
|
40
|
+
'method': value.method,
|
|
41
|
+
'serializedTransactions': value.serializedTransactions,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.SignMessageSvmTransactionFromJSON = SignMessageSvmTransactionFromJSON;
|
|
46
|
+
exports.SignMessageSvmTransactionFromJSONTyped = SignMessageSvmTransactionFromJSONTyped;
|
|
47
|
+
exports.SignMessageSvmTransactionToJSON = SignMessageSvmTransactionToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Solana serialized transactions
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageSvmTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageSvmTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Chain identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageSvmTransaction
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Method identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageSvmTransaction
|
|
28
|
+
*/
|
|
29
|
+
method: string;
|
|
30
|
+
/**
|
|
31
|
+
* Array of serialized transaction strings
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SignMessageSvmTransaction
|
|
34
|
+
*/
|
|
35
|
+
serializedTransactions: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
export declare function SignMessageSvmTransactionFromJSON(json: any): SignMessageSvmTransaction;
|
|
38
|
+
export declare function SignMessageSvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageSvmTransaction;
|
|
39
|
+
export declare function SignMessageSvmTransactionToJSON(value?: SignMessageSvmTransaction | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function SignMessageSvmTransactionFromJSON(json) {
|
|
15
|
+
return SignMessageSvmTransactionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SignMessageSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'chainId': json['chainId'],
|
|
23
|
+
'method': json['method'],
|
|
24
|
+
'serializedTransactions': json['serializedTransactions'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SignMessageSvmTransactionToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'chainId': value.chainId,
|
|
36
|
+
'method': value.method,
|
|
37
|
+
'serializedTransactions': value.serializedTransactions,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyped, SignMessageSvmTransactionToJSON };
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageAuthorizationSignature = require('./SignMessageAuthorizationSignature.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
|
-
function
|
|
9
|
-
return
|
|
9
|
+
function SignMessageUserOperationDataFromJSON(json) {
|
|
10
|
+
return SignMessageUserOperationDataFromJSONTyped(json);
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
+
function SignMessageUserOperationDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
13
|
if ((json === undefined) || (json === null)) {
|
|
13
14
|
return json;
|
|
14
15
|
}
|
|
15
16
|
return {
|
|
16
|
-
'authorization': !runtime.exists(json, 'authorization') ? undefined : json['authorization'],
|
|
17
|
+
'authorization': !runtime.exists(json, 'authorization') ? undefined : SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSON(json['authorization']),
|
|
17
18
|
'callData': !runtime.exists(json, 'callData') ? undefined : json['callData'],
|
|
18
19
|
'callGasLimit': !runtime.exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
19
20
|
'factory': !runtime.exists(json, 'factory') ? undefined : json['factory'],
|
|
@@ -31,7 +32,7 @@ function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json, ignor
|
|
|
31
32
|
'verificationGasLimit': !runtime.exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function SignMessageUserOperationDataToJSON(value) {
|
|
35
36
|
if (value === undefined) {
|
|
36
37
|
return undefined;
|
|
37
38
|
}
|
|
@@ -39,7 +40,7 @@ function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
|
39
40
|
return null;
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
|
-
'authorization': value.authorization,
|
|
43
|
+
'authorization': SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureToJSON(value.authorization),
|
|
43
44
|
'callData': value.callData,
|
|
44
45
|
'callGasLimit': value.callGasLimit,
|
|
45
46
|
'factory': value.factory,
|
|
@@ -58,6 +59,6 @@ function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
62
|
+
exports.SignMessageUserOperationDataFromJSON = SignMessageUserOperationDataFromJSON;
|
|
63
|
+
exports.SignMessageUserOperationDataFromJSONTyped = SignMessageUserOperationDataFromJSONTyped;
|
|
64
|
+
exports.SignMessageUserOperationDataToJSON = SignMessageUserOperationDataToJSON;
|
|
@@ -9,109 +9,110 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SignMessageAuthorizationSignature } from './SignMessageAuthorizationSignature';
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* The actual user operation data
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface SignMessageUserOperationData
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface SignMessageUserOperationData {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
*
|
|
21
|
+
* @type {SignMessageAuthorizationSignature}
|
|
22
|
+
* @memberof SignMessageUserOperationData
|
|
22
23
|
*/
|
|
23
|
-
authorization?:
|
|
24
|
+
authorization?: SignMessageAuthorizationSignature;
|
|
24
25
|
/**
|
|
25
26
|
* The data to pass to the sender during the main execution call
|
|
26
27
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
28
|
+
* @memberof SignMessageUserOperationData
|
|
28
29
|
*/
|
|
29
30
|
callData?: string;
|
|
30
31
|
/**
|
|
31
32
|
* The amount of gas to allocate the main execution call
|
|
32
33
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
34
|
+
* @memberof SignMessageUserOperationData
|
|
34
35
|
*/
|
|
35
36
|
callGasLimit?: string;
|
|
36
37
|
/**
|
|
37
38
|
* Account factory address (optional, only for new accounts)
|
|
38
39
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
40
|
+
* @memberof SignMessageUserOperationData
|
|
40
41
|
*/
|
|
41
42
|
factory?: string;
|
|
42
43
|
/**
|
|
43
44
|
* Data for account factory (optional)
|
|
44
45
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
46
|
+
* @memberof SignMessageUserOperationData
|
|
46
47
|
*/
|
|
47
48
|
factoryData?: string;
|
|
48
49
|
/**
|
|
49
50
|
* Maximum fee per gas
|
|
50
51
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
52
|
+
* @memberof SignMessageUserOperationData
|
|
52
53
|
*/
|
|
53
54
|
maxFeePerGas?: string;
|
|
54
55
|
/**
|
|
55
56
|
* Maximum priority fee per gas
|
|
56
57
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
58
|
+
* @memberof SignMessageUserOperationData
|
|
58
59
|
*/
|
|
59
60
|
maxPriorityFeePerGas?: string;
|
|
60
61
|
/**
|
|
61
62
|
* Anti-replay parameter
|
|
62
63
|
* @type {string}
|
|
63
|
-
* @memberof
|
|
64
|
+
* @memberof SignMessageUserOperationData
|
|
64
65
|
*/
|
|
65
66
|
nonce?: string;
|
|
66
67
|
/**
|
|
67
68
|
* Address of paymaster contract (optional)
|
|
68
69
|
* @type {string}
|
|
69
|
-
* @memberof
|
|
70
|
+
* @memberof SignMessageUserOperationData
|
|
70
71
|
*/
|
|
71
72
|
paymaster?: string;
|
|
72
73
|
/**
|
|
73
74
|
* Data for paymaster (optional)
|
|
74
75
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
76
|
+
* @memberof SignMessageUserOperationData
|
|
76
77
|
*/
|
|
77
78
|
paymasterData?: string;
|
|
78
79
|
/**
|
|
79
80
|
* The amount of gas to allocate for the paymaster post-operation code (optional)
|
|
80
81
|
* @type {string}
|
|
81
|
-
* @memberof
|
|
82
|
+
* @memberof SignMessageUserOperationData
|
|
82
83
|
*/
|
|
83
84
|
paymasterPostOpGasLimit?: string;
|
|
84
85
|
/**
|
|
85
86
|
* The amount of gas to allocate for the paymaster validation code (optional)
|
|
86
87
|
* @type {string}
|
|
87
|
-
* @memberof
|
|
88
|
+
* @memberof SignMessageUserOperationData
|
|
88
89
|
*/
|
|
89
90
|
paymasterVerificationGasLimit?: string;
|
|
90
91
|
/**
|
|
91
92
|
* Extra gas to pay the Bundler
|
|
92
93
|
* @type {string}
|
|
93
|
-
* @memberof
|
|
94
|
+
* @memberof SignMessageUserOperationData
|
|
94
95
|
*/
|
|
95
96
|
preVerificationGas?: string;
|
|
96
97
|
/**
|
|
97
98
|
* The account making the operation
|
|
98
99
|
* @type {string}
|
|
99
|
-
* @memberof
|
|
100
|
+
* @memberof SignMessageUserOperationData
|
|
100
101
|
*/
|
|
101
102
|
sender?: string;
|
|
102
103
|
/**
|
|
103
104
|
* Data passed into the account to verify authorization
|
|
104
105
|
* @type {string}
|
|
105
|
-
* @memberof
|
|
106
|
+
* @memberof SignMessageUserOperationData
|
|
106
107
|
*/
|
|
107
108
|
signature?: string;
|
|
108
109
|
/**
|
|
109
110
|
* The amount of gas to allocate for the verification step
|
|
110
111
|
* @type {string}
|
|
111
|
-
* @memberof
|
|
112
|
+
* @memberof SignMessageUserOperationData
|
|
112
113
|
*/
|
|
113
114
|
verificationGasLimit?: string;
|
|
114
115
|
}
|
|
115
|
-
export declare function
|
|
116
|
-
export declare function
|
|
117
|
-
export declare function
|
|
116
|
+
export declare function SignMessageUserOperationDataFromJSON(json: any): SignMessageUserOperationData;
|
|
117
|
+
export declare function SignMessageUserOperationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageUserOperationData;
|
|
118
|
+
export declare function SignMessageUserOperationDataToJSON(value?: SignMessageUserOperationData | null): any;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureToJSON } from './SignMessageAuthorizationSignature.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
|
-
function
|
|
5
|
-
return
|
|
5
|
+
function SignMessageUserOperationDataFromJSON(json) {
|
|
6
|
+
return SignMessageUserOperationDataFromJSONTyped(json);
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
+
function SignMessageUserOperationDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
9
|
if ((json === undefined) || (json === null)) {
|
|
9
10
|
return json;
|
|
10
11
|
}
|
|
11
12
|
return {
|
|
12
|
-
'authorization': !exists(json, 'authorization') ? undefined : json['authorization'],
|
|
13
|
+
'authorization': !exists(json, 'authorization') ? undefined : SignMessageAuthorizationSignatureFromJSON(json['authorization']),
|
|
13
14
|
'callData': !exists(json, 'callData') ? undefined : json['callData'],
|
|
14
15
|
'callGasLimit': !exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
15
16
|
'factory': !exists(json, 'factory') ? undefined : json['factory'],
|
|
@@ -27,7 +28,7 @@ function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json, ignor
|
|
|
27
28
|
'verificationGasLimit': !exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
|
-
function
|
|
31
|
+
function SignMessageUserOperationDataToJSON(value) {
|
|
31
32
|
if (value === undefined) {
|
|
32
33
|
return undefined;
|
|
33
34
|
}
|
|
@@ -35,7 +36,7 @@ function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
|
35
36
|
return null;
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
|
-
'authorization': value.authorization,
|
|
39
|
+
'authorization': SignMessageAuthorizationSignatureToJSON(value.authorization),
|
|
39
40
|
'callData': value.callData,
|
|
40
41
|
'callGasLimit': value.callGasLimit,
|
|
41
42
|
'factory': value.factory,
|
|
@@ -54,4 +55,4 @@ function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
|
|
57
|
-
export {
|
|
58
|
+
export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var SignMessageContext = require('./SignMessageContext.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -17,7 +17,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'message': json['message'],
|
|
18
18
|
'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
19
19
|
'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
|
|
20
|
-
'context': !runtime.exists(json, 'context') ? undefined :
|
|
20
|
+
'context': !runtime.exists(json, 'context') ? undefined : SignMessageContext.SignMessageContextFromJSON(json['context']),
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -31,7 +31,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
31
31
|
'message': value.message,
|
|
32
32
|
'isFormatted': value.isFormatted,
|
|
33
33
|
'roomId': value.roomId,
|
|
34
|
-
'context':
|
|
34
|
+
'context': SignMessageContext.SignMessageContextToJSON(value.context),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { SignMessageContext } from './SignMessageContext';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -36,10 +36,10 @@ export interface SignMessageWithWaasRequest {
|
|
|
36
36
|
roomId?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {SignMessageContext}
|
|
40
40
|
* @memberof SignMessageWithWaasRequest
|
|
41
41
|
*/
|
|
42
|
-
context?:
|
|
42
|
+
context?: SignMessageContext;
|
|
43
43
|
}
|
|
44
44
|
export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
|
|
45
45
|
export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { SignMessageContextFromJSON, SignMessageContextToJSON } from './SignMessageContext.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -13,7 +13,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'message': json['message'],
|
|
14
14
|
'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
15
15
|
'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
|
|
16
|
-
'context': !exists(json, 'context') ? undefined :
|
|
16
|
+
'context': !exists(json, 'context') ? undefined : SignMessageContextFromJSON(json['context']),
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -27,7 +27,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
27
27
|
'message': value.message,
|
|
28
28
|
'isFormatted': value.isFormatted,
|
|
29
29
|
'roomId': value.roomId,
|
|
30
|
-
'context':
|
|
30
|
+
'context': SignMessageContextToJSON(value.context),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -250,10 +250,13 @@ export * from './SdkViewType';
|
|
|
250
250
|
export * from './SdkViewUpdateRequest';
|
|
251
251
|
export * from './SdkViewsResponse';
|
|
252
252
|
export * from './SignInProviderEnum';
|
|
253
|
+
export * from './SignMessageAuthorizationSignature';
|
|
254
|
+
export * from './SignMessageContext';
|
|
255
|
+
export * from './SignMessageEvmTransaction';
|
|
256
|
+
export * from './SignMessageEvmUserOperation';
|
|
257
|
+
export * from './SignMessageSvmTransaction';
|
|
258
|
+
export * from './SignMessageUserOperationData';
|
|
253
259
|
export * from './SignMessageWithWaasRequest';
|
|
254
|
-
export * from './SignMessageWithWaasRequestContext';
|
|
255
|
-
export * from './SignMessageWithWaasRequestContextTransaction';
|
|
256
|
-
export * from './SignMessageWithWaasRequestContextUserOperation';
|
|
257
260
|
export * from './SignTransactionWithWaasRequest';
|
|
258
261
|
export * from './SimulateEVMTransactionRequest';
|
|
259
262
|
export * from './SimulateSVMTransactionRequest';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var SignMessageWithWaasRequestContextTransaction = require('./SignMessageWithWaasRequestContextTransaction.cjs');
|
|
7
|
-
var SignMessageWithWaasRequestContextUserOperation = require('./SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
8
|
-
|
|
9
|
-
/* tslint:disable */
|
|
10
|
-
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
11
|
-
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
12
|
-
}
|
|
13
|
-
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
-
if ((json === undefined) || (json === null)) {
|
|
15
|
-
return json;
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
'transaction': !runtime.exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
19
|
-
'userOperation': !runtime.exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
23
|
-
if (value === undefined) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
if (value === null) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'transaction': SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
31
|
-
'userOperation': SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContextFromJSON;
|
|
36
|
-
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContextFromJSONTyped;
|
|
37
|
-
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContextToJSON;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard API
|
|
3
|
-
* Dashboard API documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { SignMessageWithWaasRequestContextTransaction } from './SignMessageWithWaasRequestContextTransaction';
|
|
13
|
-
import { SignMessageWithWaasRequestContextUserOperation } from './SignMessageWithWaasRequestContextUserOperation';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface SignMessageWithWaasRequestContext
|
|
18
|
-
*/
|
|
19
|
-
export interface SignMessageWithWaasRequestContext {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {SignMessageWithWaasRequestContextTransaction}
|
|
23
|
-
* @memberof SignMessageWithWaasRequestContext
|
|
24
|
-
*/
|
|
25
|
-
transaction?: SignMessageWithWaasRequestContextTransaction;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {SignMessageWithWaasRequestContextUserOperation}
|
|
29
|
-
* @memberof SignMessageWithWaasRequestContext
|
|
30
|
-
*/
|
|
31
|
-
userOperation?: SignMessageWithWaasRequestContextUserOperation;
|
|
32
|
-
}
|
|
33
|
-
export declare function SignMessageWithWaasRequestContextFromJSON(json: any): SignMessageWithWaasRequestContext;
|
|
34
|
-
export declare function SignMessageWithWaasRequestContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContext;
|
|
35
|
-
export declare function SignMessageWithWaasRequestContextToJSON(value?: SignMessageWithWaasRequestContext | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { exists } from '../runtime.js';
|
|
2
|
-
import { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionToJSON } from './SignMessageWithWaasRequestContextTransaction.js';
|
|
3
|
-
import { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationToJSON } from './SignMessageWithWaasRequestContextUserOperation.js';
|
|
4
|
-
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
7
|
-
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
8
|
-
}
|
|
9
|
-
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
-
if ((json === undefined) || (json === null)) {
|
|
11
|
-
return json;
|
|
12
|
-
}
|
|
13
|
-
return {
|
|
14
|
-
'transaction': !exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
15
|
-
'userOperation': !exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
19
|
-
if (value === undefined) {
|
|
20
|
-
return undefined;
|
|
21
|
-
}
|
|
22
|
-
if (value === null) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'transaction': SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
27
|
-
'userOperation': SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON };
|