ox 1.7.0 → 1.7.2

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.
Files changed (126) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/core/Hash.js +1 -1
  3. package/dist/core/Hash.js.map +1 -1
  4. package/dist/core/Siwe.d.ts.map +1 -1
  5. package/dist/core/Siwe.js +45 -6
  6. package/dist/core/Siwe.js.map +1 -1
  7. package/dist/tempo/KeyAuthorization.d.ts +1 -1
  8. package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
  9. package/dist/tempo/MultisigConfig.d.ts +151 -83
  10. package/dist/tempo/MultisigConfig.d.ts.map +1 -1
  11. package/dist/tempo/MultisigConfig.js +164 -86
  12. package/dist/tempo/MultisigConfig.js.map +1 -1
  13. package/dist/tempo/MultisigOperation.d.ts +324 -0
  14. package/dist/tempo/MultisigOperation.d.ts.map +1 -0
  15. package/dist/tempo/MultisigOperation.js +809 -0
  16. package/dist/tempo/MultisigOperation.js.map +1 -0
  17. package/dist/tempo/MultisigWitness.d.ts +106 -0
  18. package/dist/tempo/MultisigWitness.d.ts.map +1 -0
  19. package/dist/tempo/MultisigWitness.js +118 -0
  20. package/dist/tempo/MultisigWitness.js.map +1 -0
  21. package/dist/tempo/RpcSchemaTempo.d.ts +35 -0
  22. package/dist/tempo/RpcSchemaTempo.d.ts.map +1 -1
  23. package/dist/tempo/SignatureEnvelope.d.ts +60 -80
  24. package/dist/tempo/SignatureEnvelope.d.ts.map +1 -1
  25. package/dist/tempo/SignatureEnvelope.js +87 -146
  26. package/dist/tempo/SignatureEnvelope.js.map +1 -1
  27. package/dist/tempo/TransactionRequest.d.ts +9 -17
  28. package/dist/tempo/TransactionRequest.d.ts.map +1 -1
  29. package/dist/tempo/TransactionRequest.js +7 -7
  30. package/dist/tempo/TransactionRequest.js.map +1 -1
  31. package/dist/tempo/TxEnvelopeTempo.d.ts +3 -2
  32. package/dist/tempo/TxEnvelopeTempo.d.ts.map +1 -1
  33. package/dist/tempo/TxEnvelopeTempo.js +3 -2
  34. package/dist/tempo/TxEnvelopeTempo.js.map +1 -1
  35. package/dist/tempo/index.d.ts +22 -2
  36. package/dist/tempo/index.d.ts.map +1 -1
  37. package/dist/tempo/index.js +22 -2
  38. package/dist/tempo/index.js.map +1 -1
  39. package/dist/zod/tempo/AuthorizationTempo.d.ts +110 -110
  40. package/dist/zod/tempo/AuthorizationTempo.d.ts.map +1 -1
  41. package/dist/zod/tempo/KeyAuthorization.d.ts +90 -83
  42. package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
  43. package/dist/zod/tempo/MultisigConfig.d.ts +31 -2
  44. package/dist/zod/tempo/MultisigConfig.d.ts.map +1 -1
  45. package/dist/zod/tempo/MultisigConfig.js +26 -3
  46. package/dist/zod/tempo/MultisigConfig.js.map +1 -1
  47. package/dist/zod/tempo/MultisigOperation.d.ts +168 -0
  48. package/dist/zod/tempo/MultisigOperation.d.ts.map +1 -0
  49. package/dist/zod/tempo/MultisigOperation.js +65 -0
  50. package/dist/zod/tempo/MultisigOperation.js.map +1 -0
  51. package/dist/zod/tempo/MultisigWitness.d.ts +152 -0
  52. package/dist/zod/tempo/MultisigWitness.d.ts.map +1 -0
  53. package/dist/zod/tempo/MultisigWitness.js +76 -0
  54. package/dist/zod/tempo/MultisigWitness.js.map +1 -0
  55. package/dist/zod/tempo/RpcSchemaTempo.d.ts +607 -102
  56. package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
  57. package/dist/zod/tempo/RpcSchemaTempo.js +38 -0
  58. package/dist/zod/tempo/RpcSchemaTempo.js.map +1 -1
  59. package/dist/zod/tempo/SignatureEnvelope.d.ts +33 -33
  60. package/dist/zod/tempo/SignatureEnvelope.d.ts.map +1 -1
  61. package/dist/zod/tempo/SignatureEnvelope.js +9 -16
  62. package/dist/zod/tempo/SignatureEnvelope.js.map +1 -1
  63. package/dist/zod/tempo/Transaction.d.ts +228 -222
  64. package/dist/zod/tempo/Transaction.d.ts.map +1 -1
  65. package/dist/zod/tempo/TransactionRequest.d.ts +379 -176
  66. package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
  67. package/dist/zod/tempo/TransactionRequest.js +11 -22
  68. package/dist/zod/tempo/TransactionRequest.js.map +1 -1
  69. package/dist/zod/tempo/TxEnvelopeTempo.d.ts +60 -48
  70. package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
  71. package/dist/zod/tempo/ZoneRpcAuthentication.d.ts +15 -12
  72. package/dist/zod/tempo/ZoneRpcAuthentication.d.ts.map +1 -1
  73. package/dist/zod/tempo/z.d.ts +2 -0
  74. package/dist/zod/tempo/z.d.ts.map +1 -1
  75. package/dist/zod/tempo/z.js +2 -0
  76. package/dist/zod/tempo/z.js.map +1 -1
  77. package/package.json +21 -1
  78. package/src/core/Hash.ts +1 -1
  79. package/src/core/Siwe.ts +45 -5
  80. package/src/core/_test/Hash.test.ts +15 -0
  81. package/src/core/_test/Siwe.test.ts +98 -0
  82. package/src/tempo/KeyAuthorization.test-d.ts +13 -1
  83. package/src/tempo/KeyAuthorization.test.ts +65 -0
  84. package/src/tempo/KeyAuthorization.ts +1 -1
  85. package/src/tempo/MultisigConfig.test-d.ts +52 -0
  86. package/src/tempo/MultisigConfig.test.ts +288 -227
  87. package/src/tempo/MultisigConfig.ts +275 -104
  88. package/src/tempo/MultisigOperation.test-d.ts +77 -0
  89. package/src/tempo/MultisigOperation.test.ts +1883 -0
  90. package/src/tempo/MultisigOperation.ts +1254 -0
  91. package/src/tempo/MultisigWitness.test-d.ts +42 -0
  92. package/src/tempo/MultisigWitness.test.ts +288 -0
  93. package/src/tempo/MultisigWitness.ts +210 -0
  94. package/src/tempo/RpcSchemaTempo.test-d.ts +56 -0
  95. package/src/tempo/RpcSchemaTempo.ts +37 -0
  96. package/src/tempo/SignatureEnvelope.test-d.ts +63 -46
  97. package/src/tempo/SignatureEnvelope.test.ts +523 -500
  98. package/src/tempo/SignatureEnvelope.ts +172 -242
  99. package/src/tempo/TransactionRequest.test-d.ts +11 -0
  100. package/src/tempo/TransactionRequest.test.ts +285 -33
  101. package/src/tempo/TransactionRequest.ts +15 -20
  102. package/src/tempo/TxEnvelopeTempo.test-d.ts +7 -0
  103. package/src/tempo/TxEnvelopeTempo.test.ts +25 -0
  104. package/src/tempo/TxEnvelopeTempo.ts +5 -3
  105. package/src/tempo/index.ts +22 -2
  106. package/src/tempo/multisig.e2e.test.ts +113 -86
  107. package/src/version.ts +1 -1
  108. package/src/zod/tempo/MultisigConfig.ts +29 -3
  109. package/src/zod/tempo/MultisigOperation.ts +69 -0
  110. package/src/zod/tempo/MultisigWitness.ts +101 -0
  111. package/src/zod/tempo/RpcSchemaTempo.ts +43 -0
  112. package/src/zod/tempo/SignatureEnvelope.ts +20 -38
  113. package/src/zod/tempo/TransactionRequest.ts +17 -26
  114. package/src/zod/tempo/_test/KeyAuthorization.test.ts +11 -0
  115. package/src/zod/tempo/_test/MultisigConfig.test-d.ts +13 -0
  116. package/src/zod/tempo/_test/MultisigConfig.test.ts +13 -2
  117. package/src/zod/tempo/_test/MultisigOperation.test-d.ts +27 -0
  118. package/src/zod/tempo/_test/MultisigOperation.test.ts +68 -0
  119. package/src/zod/tempo/_test/MultisigWitness.test-d.ts +13 -0
  120. package/src/zod/tempo/_test/MultisigWitness.test.ts +149 -0
  121. package/src/zod/tempo/_test/RpcSchemaTempo.test-d.ts +31 -0
  122. package/src/zod/tempo/_test/RpcSchemaTempo.test.ts +41 -0
  123. package/src/zod/tempo/_test/SignatureEnvelope.test-d.ts +1 -1
  124. package/src/zod/tempo/_test/SignatureEnvelope.test.ts +25 -34
  125. package/src/zod/tempo/_test/TransactionRequest.test.ts +176 -8
  126. package/src/zod/tempo/z.ts +2 -0
@@ -0,0 +1,168 @@
1
+ import * as z from 'zod/mini';
2
+ /** Fields shared by every multisig operation schema. */
3
+ export declare const Base: z.ZodMiniObject<{
4
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
5
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
6
+ config: z.ZodMiniCodec<z.ZodMiniObject<{
7
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
8
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
9
+ weight: z.ZodMiniNumber<number>;
10
+ }, z.core.$strip>>>;
11
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
12
+ threshold: z.ZodMiniNumber<number>;
13
+ version: z.ZodMiniTemplateLiteral<`0x${string}`>;
14
+ }, z.core.$strip>, z.ZodMiniObject<{
15
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
16
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
17
+ weight: z.ZodMiniNumber<number>;
18
+ }, z.core.$strip>>>;
19
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
20
+ threshold: z.ZodMiniNumber<number>;
21
+ version: z.ZodMiniBigInt<bigint>;
22
+ }, z.core.$strip>>;
23
+ configVersion: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
24
+ createdAt: z.ZodMiniNumber<number>;
25
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
26
+ init: z.ZodMiniBoolean<boolean>;
27
+ signatureCount: z.ZodMiniNumber<number>;
28
+ threshold: z.ZodMiniNumber<number>;
29
+ updatedAt: z.ZodMiniNumber<number>;
30
+ weight: z.ZodMiniNumber<number>;
31
+ }, z.core.$strip>;
32
+ /** Multisig transaction approval operation schema. */
33
+ export declare const TransactionOperation: z.ZodMiniObject<{
34
+ expiresAt: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
35
+ status: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"pending">, z.ZodMiniLiteral<"submitting">, z.ZodMiniLiteral<"success">]>;
36
+ submissionId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
37
+ transaction: z.ZodMiniTemplateLiteral<`0x${string}`>;
38
+ transactionHash: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
39
+ type: z.ZodMiniLiteral<"transaction">;
40
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
41
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
42
+ config: z.ZodMiniCodec<z.ZodMiniObject<{
43
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
44
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
45
+ weight: z.ZodMiniNumber<number>;
46
+ }, z.core.$strip>>>;
47
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
48
+ threshold: z.ZodMiniNumber<number>;
49
+ version: z.ZodMiniTemplateLiteral<`0x${string}`>;
50
+ }, z.core.$strip>, z.ZodMiniObject<{
51
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
52
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
53
+ weight: z.ZodMiniNumber<number>;
54
+ }, z.core.$strip>>>;
55
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
56
+ threshold: z.ZodMiniNumber<number>;
57
+ version: z.ZodMiniBigInt<bigint>;
58
+ }, z.core.$strip>>;
59
+ configVersion: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
60
+ createdAt: z.ZodMiniNumber<number>;
61
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
62
+ init: z.ZodMiniBoolean<boolean>;
63
+ signatureCount: z.ZodMiniNumber<number>;
64
+ threshold: z.ZodMiniNumber<number>;
65
+ updatedAt: z.ZodMiniNumber<number>;
66
+ weight: z.ZodMiniNumber<number>;
67
+ }, z.core.$strip>;
68
+ /** Multisig key authorization approval operation schema. */
69
+ export declare const KeyAuthorizationOperation: z.ZodMiniObject<{
70
+ keyAuthorization: z.ZodMiniTemplateLiteral<`0x${string}`>;
71
+ status: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"pending">, z.ZodMiniLiteral<"success">]>;
72
+ type: z.ZodMiniLiteral<"keyAuthorization">;
73
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
74
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
75
+ config: z.ZodMiniCodec<z.ZodMiniObject<{
76
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
77
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
78
+ weight: z.ZodMiniNumber<number>;
79
+ }, z.core.$strip>>>;
80
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
81
+ threshold: z.ZodMiniNumber<number>;
82
+ version: z.ZodMiniTemplateLiteral<`0x${string}`>;
83
+ }, z.core.$strip>, z.ZodMiniObject<{
84
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
85
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
86
+ weight: z.ZodMiniNumber<number>;
87
+ }, z.core.$strip>>>;
88
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
89
+ threshold: z.ZodMiniNumber<number>;
90
+ version: z.ZodMiniBigInt<bigint>;
91
+ }, z.core.$strip>>;
92
+ configVersion: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
93
+ createdAt: z.ZodMiniNumber<number>;
94
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
95
+ init: z.ZodMiniBoolean<boolean>;
96
+ signatureCount: z.ZodMiniNumber<number>;
97
+ threshold: z.ZodMiniNumber<number>;
98
+ updatedAt: z.ZodMiniNumber<number>;
99
+ weight: z.ZodMiniNumber<number>;
100
+ }, z.core.$strip>;
101
+ /** Transaction or key authorization multisig operation schema. */
102
+ export declare const Operation: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
103
+ expiresAt: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
104
+ status: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"pending">, z.ZodMiniLiteral<"submitting">, z.ZodMiniLiteral<"success">]>;
105
+ submissionId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
106
+ transaction: z.ZodMiniTemplateLiteral<`0x${string}`>;
107
+ transactionHash: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
108
+ type: z.ZodMiniLiteral<"transaction">;
109
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
110
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
111
+ config: z.ZodMiniCodec<z.ZodMiniObject<{
112
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
113
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
114
+ weight: z.ZodMiniNumber<number>;
115
+ }, z.core.$strip>>>;
116
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
117
+ threshold: z.ZodMiniNumber<number>;
118
+ version: z.ZodMiniTemplateLiteral<`0x${string}`>;
119
+ }, z.core.$strip>, z.ZodMiniObject<{
120
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
121
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
122
+ weight: z.ZodMiniNumber<number>;
123
+ }, z.core.$strip>>>;
124
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
125
+ threshold: z.ZodMiniNumber<number>;
126
+ version: z.ZodMiniBigInt<bigint>;
127
+ }, z.core.$strip>>;
128
+ configVersion: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
129
+ createdAt: z.ZodMiniNumber<number>;
130
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
131
+ init: z.ZodMiniBoolean<boolean>;
132
+ signatureCount: z.ZodMiniNumber<number>;
133
+ threshold: z.ZodMiniNumber<number>;
134
+ updatedAt: z.ZodMiniNumber<number>;
135
+ weight: z.ZodMiniNumber<number>;
136
+ }, z.core.$strip>, z.ZodMiniObject<{
137
+ keyAuthorization: z.ZodMiniTemplateLiteral<`0x${string}`>;
138
+ status: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"pending">, z.ZodMiniLiteral<"success">]>;
139
+ type: z.ZodMiniLiteral<"keyAuthorization">;
140
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
141
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
142
+ config: z.ZodMiniCodec<z.ZodMiniObject<{
143
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
144
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
145
+ weight: z.ZodMiniNumber<number>;
146
+ }, z.core.$strip>>>;
147
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
148
+ threshold: z.ZodMiniNumber<number>;
149
+ version: z.ZodMiniTemplateLiteral<`0x${string}`>;
150
+ }, z.core.$strip>, z.ZodMiniObject<{
151
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
152
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
153
+ weight: z.ZodMiniNumber<number>;
154
+ }, z.core.$strip>>>;
155
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
156
+ threshold: z.ZodMiniNumber<number>;
157
+ version: z.ZodMiniBigInt<bigint>;
158
+ }, z.core.$strip>>;
159
+ configVersion: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
160
+ createdAt: z.ZodMiniNumber<number>;
161
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
162
+ init: z.ZodMiniBoolean<boolean>;
163
+ signatureCount: z.ZodMiniNumber<number>;
164
+ threshold: z.ZodMiniNumber<number>;
165
+ updatedAt: z.ZodMiniNumber<number>;
166
+ weight: z.ZodMiniNumber<number>;
167
+ }, z.core.$strip>]>;
168
+ //# sourceMappingURL=MultisigOperation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultisigOperation.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/MultisigOperation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AA4B7B,wDAAwD;AACxD,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyB,CAAA;AAE1C,sDAAsD;AACtD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAclB,CAAA;AAEf,4DAA4D;AAC5D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOvB,CAAA;AAEf,kEAAkE;AAClE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAGpB,CAAA"}
@@ -0,0 +1,65 @@
1
+ /* eslint-disable jsdoc-js/require-jsdoc, jsdoc-js/require-description, jsdoc-js/require-example */
2
+ import * as core_MultisigOperation from '../../tempo/MultisigOperation.js';
3
+ import * as z_Address from '../Address.js';
4
+ import * as z_Hash from '../Hash.js';
5
+ import * as z_Hex from '../Hex.js';
6
+ import * as z_Uint from '../Uint.js';
7
+ import * as z from 'zod/mini';
8
+ import * as z_MultisigConfig from './MultisigConfig.js';
9
+ function baseFields() {
10
+ return {
11
+ account: z_Address.Address,
12
+ approvals: z.readonly(z.array(z_Hex.Hex)),
13
+ config: z_MultisigConfig.MultisigConfig,
14
+ configVersion: z_Uint.Uint64,
15
+ createdAt: z.number(),
16
+ hash: z_Hash.Hash,
17
+ init: z.boolean(),
18
+ signatureCount: z.number(),
19
+ threshold: z.number(),
20
+ updatedAt: z.number(),
21
+ weight: z.number(),
22
+ };
23
+ }
24
+ const valid = z.refine((value) => {
25
+ try {
26
+ core_MultisigOperation.from(value);
27
+ return true;
28
+ }
29
+ catch {
30
+ return false;
31
+ }
32
+ }, 'expected valid multisig operation');
33
+ /** Fields shared by every multisig operation schema. */
34
+ export const Base = z.object(baseFields());
35
+ /** Multisig transaction approval operation schema. */
36
+ export const TransactionOperation = z
37
+ .object({
38
+ ...baseFields(),
39
+ expiresAt: z.optional(z.number()),
40
+ status: z.union([
41
+ z.literal('pending'),
42
+ z.literal('submitting'),
43
+ z.literal('success'),
44
+ ]),
45
+ submissionId: z.optional(z_Hash.Hash),
46
+ transaction: z_Hex.Hex,
47
+ transactionHash: z.optional(z_Hash.Hash),
48
+ type: z.literal('transaction'),
49
+ })
50
+ .check(valid);
51
+ /** Multisig key authorization approval operation schema. */
52
+ export const KeyAuthorizationOperation = z
53
+ .object({
54
+ ...baseFields(),
55
+ keyAuthorization: z_Hex.Hex,
56
+ status: z.union([z.literal('pending'), z.literal('success')]),
57
+ type: z.literal('keyAuthorization'),
58
+ })
59
+ .check(valid);
60
+ /** Transaction or key authorization multisig operation schema. */
61
+ export const Operation = z.union([
62
+ TransactionOperation,
63
+ KeyAuthorizationOperation,
64
+ ]);
65
+ //# sourceMappingURL=MultisigOperation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultisigOperation.js","sourceRoot":"","sources":["../../../src/zod/tempo/MultisigOperation.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,sBAAsB,MAAM,kCAAkC,CAAA;AAC1E,OAAO,KAAK,SAAS,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,MAAM,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,KAAK,MAAM,WAAW,CAAA;AAClC,OAAO,KAAK,MAAM,MAAM,YAAY,CAAA;AACpC,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,KAAK,gBAAgB,MAAM,qBAAqB,CAAA;AAE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AAO,CAAC,SAAS,CAAC;KACrB,CAAC;IACF,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;IACrC,WAAW,EAAE,KAAK,CAAC,GAAG;IACtB,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC;IACxC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;CAC/B,CAAC;KACD,KAAK,CAAC,KAAK,CAAC,CAAA;AAEf,4DAA4D;AAC5D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,GAAG,UAAU,EAAE;IACf,gBAAgB,EAAE,KAAK,CAAC,GAAG;IAC3B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CACpC,CAAC;KACD,KAAK,CAAC,KAAK,CAAC,CAAA;AAEf,kEAAkE;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC;IAC/B,oBAAoB;IACpB,yBAAyB;CAC1B,CAAC,CAAA"}
@@ -0,0 +1,152 @@
1
+ import * as z from 'zod/mini';
2
+ /** Native multisig simulation witness schema. */
3
+ export declare const Domain: z.ZodMiniObject<{
4
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
5
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
6
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
7
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
8
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
9
+ type: z.ZodMiniLiteral<"primitive">;
10
+ }, z.core.$strip>, z.ZodMiniObject<{
11
+ type: z.ZodMiniLiteral<"multisig">;
12
+ witness: z.ZodMiniObject<{
13
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
14
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
15
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
16
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
17
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
18
+ }, z.core.$strip>>>;
19
+ config: z.ZodMiniObject<{
20
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
21
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
22
+ weight: z.ZodMiniNumber<number>;
23
+ }, z.core.$strip>>>;
24
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
25
+ threshold: z.ZodMiniNumber<number>;
26
+ version: z.ZodMiniBigInt<bigint>;
27
+ }, z.core.$strip>;
28
+ }, z.core.$strip>;
29
+ }, z.core.$strip>]>>>;
30
+ config: z.ZodMiniObject<{
31
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
32
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
33
+ weight: z.ZodMiniNumber<number>;
34
+ }, z.core.$strip>>>;
35
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
36
+ threshold: z.ZodMiniNumber<number>;
37
+ version: z.ZodMiniBigInt<bigint>;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+ /** Codec decoding an RPC multisig witness into its domain representation. */
41
+ export declare const MultisigWitness: z.ZodMiniCodec<z.ZodMiniObject<{
42
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
43
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
44
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
45
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
46
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
47
+ type: z.ZodMiniLiteral<"primitive">;
48
+ }, z.core.$strip>, z.ZodMiniObject<{
49
+ type: z.ZodMiniLiteral<"multisig">;
50
+ witness: z.ZodMiniObject<{
51
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
52
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
53
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
54
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
55
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
56
+ }, z.core.$strip>>>;
57
+ config: z.ZodMiniObject<{
58
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
59
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
60
+ weight: z.ZodMiniNumber<number>;
61
+ }, z.core.$strip>>>;
62
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
63
+ threshold: z.ZodMiniNumber<number>;
64
+ version: z.ZodMiniNumber<number>;
65
+ }, z.core.$strip>;
66
+ }, z.core.$strip>;
67
+ }, z.core.$strip>]>>>;
68
+ config: z.ZodMiniObject<{
69
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
70
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
71
+ weight: z.ZodMiniNumber<number>;
72
+ }, z.core.$strip>>>;
73
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
74
+ threshold: z.ZodMiniNumber<number>;
75
+ version: z.ZodMiniNumber<number>;
76
+ }, z.core.$strip>;
77
+ }, z.core.$strip>, z.ZodMiniObject<{
78
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
79
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
80
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
81
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
82
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
83
+ type: z.ZodMiniLiteral<"primitive">;
84
+ }, z.core.$strip>, z.ZodMiniObject<{
85
+ type: z.ZodMiniLiteral<"multisig">;
86
+ witness: z.ZodMiniObject<{
87
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
88
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
89
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
90
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
91
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
92
+ }, z.core.$strip>>>;
93
+ config: z.ZodMiniObject<{
94
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
95
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
96
+ weight: z.ZodMiniNumber<number>;
97
+ }, z.core.$strip>>>;
98
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
99
+ threshold: z.ZodMiniNumber<number>;
100
+ version: z.ZodMiniBigInt<bigint>;
101
+ }, z.core.$strip>;
102
+ }, z.core.$strip>;
103
+ }, z.core.$strip>]>>>;
104
+ config: z.ZodMiniObject<{
105
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
106
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
107
+ weight: z.ZodMiniNumber<number>;
108
+ }, z.core.$strip>>>;
109
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
110
+ threshold: z.ZodMiniNumber<number>;
111
+ version: z.ZodMiniBigInt<bigint>;
112
+ }, z.core.$strip>;
113
+ }, z.core.$strip>>;
114
+ /** RPC native multisig simulation witness schema. */
115
+ export declare const Rpc: z.ZodMiniObject<{
116
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
117
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
118
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
119
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
120
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
121
+ type: z.ZodMiniLiteral<"primitive">;
122
+ }, z.core.$strip>, z.ZodMiniObject<{
123
+ type: z.ZodMiniLiteral<"multisig">;
124
+ witness: z.ZodMiniObject<{
125
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
126
+ approvals: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
127
+ keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
128
+ keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
129
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
130
+ }, z.core.$strip>>>;
131
+ config: z.ZodMiniObject<{
132
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
133
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
134
+ weight: z.ZodMiniNumber<number>;
135
+ }, z.core.$strip>>>;
136
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
137
+ threshold: z.ZodMiniNumber<number>;
138
+ version: z.ZodMiniNumber<number>;
139
+ }, z.core.$strip>;
140
+ }, z.core.$strip>;
141
+ }, z.core.$strip>]>>>;
142
+ config: z.ZodMiniObject<{
143
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
144
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
145
+ weight: z.ZodMiniNumber<number>;
146
+ }, z.core.$strip>>>;
147
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
148
+ threshold: z.ZodMiniNumber<number>;
149
+ version: z.ZodMiniNumber<number>;
150
+ }, z.core.$strip>;
151
+ }, z.core.$strip>;
152
+ //# sourceMappingURL=MultisigWitness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultisigWitness.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/MultisigWitness.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAmD7B,iDAAiD;AACjD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBjB,CAAA;AAoBF,6EAA6E;AAC7E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG1B,CAAA;AAEF,qDAAqD;AACrD,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAO,CAAA"}
@@ -0,0 +1,76 @@
1
+ /* eslint-disable jsdoc-js/require-jsdoc, jsdoc-js/require-description, jsdoc-js/require-example */
2
+ import * as core_MultisigConfig from '../../tempo/MultisigConfig.js';
3
+ import * as core_MultisigWitness from '../../tempo/MultisigWitness.js';
4
+ import * as z_Address from '../Address.js';
5
+ import * as z_Hex from '../Hex.js';
6
+ import * as z from 'zod/mini';
7
+ import * as z_MultisigConfig from './MultisigConfig.js';
8
+ import * as z_SignatureEnvelope from './SignatureEnvelope.js';
9
+ const ConfigRpc = z
10
+ .object({
11
+ owners: z.readonly(z.array(z_MultisigConfig.Owner)),
12
+ salt: z_Hex.Hex,
13
+ threshold: z.number(),
14
+ version: z.number(),
15
+ })
16
+ .check(z.refine((value) => core_MultisigConfig.validate(value), 'expected valid native multisig configuration'));
17
+ const NestedPrimitiveApproval = z.object({
18
+ keyData: z.optional(z_Hex.Hex),
19
+ keyType: z.optional(z_SignatureEnvelope.Type),
20
+ owner: z_Address.Address,
21
+ });
22
+ const PrimitiveApproval = z.object({
23
+ keyData: z.optional(z_Hex.Hex),
24
+ keyType: z.optional(z_SignatureEnvelope.Type),
25
+ owner: z_Address.Address,
26
+ type: z.literal('primitive'),
27
+ });
28
+ const NestedWitness = z.object({
29
+ account: z_Address.Address,
30
+ approvals: z.readonly(z
31
+ .array(NestedPrimitiveApproval)
32
+ .check(z.maxLength(core_MultisigConfig.maxSignatures))),
33
+ config: z_MultisigConfig.Config,
34
+ });
35
+ const NestedWitnessRpc = z.object({
36
+ account: z_Address.Address,
37
+ approvals: z.readonly(z
38
+ .array(NestedPrimitiveApproval)
39
+ .check(z.maxLength(core_MultisigConfig.maxSignatures))),
40
+ config: ConfigRpc,
41
+ });
42
+ /** Native multisig simulation witness schema. */
43
+ export const Domain = z.object({
44
+ account: z_Address.Address,
45
+ approvals: z.readonly(z
46
+ .array(z.union([
47
+ PrimitiveApproval,
48
+ z.object({
49
+ type: z.literal('multisig'),
50
+ witness: NestedWitness,
51
+ }),
52
+ ]))
53
+ .check(z.maxLength(core_MultisigConfig.maxSignatures))),
54
+ config: z_MultisigConfig.Config,
55
+ });
56
+ const Rpc_ = z.object({
57
+ account: z_Address.Address,
58
+ approvals: z.readonly(z
59
+ .array(z.union([
60
+ PrimitiveApproval,
61
+ z.object({
62
+ type: z.literal('multisig'),
63
+ witness: NestedWitnessRpc,
64
+ }),
65
+ ]))
66
+ .check(z.maxLength(core_MultisigConfig.maxSignatures))),
67
+ config: ConfigRpc,
68
+ });
69
+ /** Codec decoding an RPC multisig witness into its domain representation. */
70
+ export const MultisigWitness = z.codec(Rpc_, Domain, {
71
+ decode: (value) => core_MultisigWitness.fromRpc(value),
72
+ encode: (value) => core_MultisigWitness.toRpc(value),
73
+ });
74
+ /** RPC native multisig simulation witness schema. */
75
+ export const Rpc = Rpc_;
76
+ //# sourceMappingURL=MultisigWitness.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultisigWitness.js","sourceRoot":"","sources":["../../../src/zod/tempo/MultisigWitness.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,mBAAmB,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAA;AACtE,OAAO,KAAK,SAAS,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,KAAK,MAAM,WAAW,CAAA;AAClC,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,KAAK,gBAAgB,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,mBAAmB,MAAM,wBAAwB,CAAA;AAE7D,MAAM,SAAS,GAAG,CAAC;KAChB,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACnD,IAAI,EAAE,KAAK,CAAC,GAAG;IACf,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC;KACD,KAAK,CACJ,CAAC,CAAC,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CAAC,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC9C,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