@seedprotocol/publish 0.4.32 → 0.5.1

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 (193) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +64 -18
  3. package/dist/config-Q3y4Fab2.js +936 -0
  4. package/dist/config-Q3y4Fab2.js.map +1 -0
  5. package/dist/config-bUKEs4Uf.js +511 -0
  6. package/dist/config-bUKEs4Uf.js.map +1 -0
  7. package/dist/config.d.ts +42 -4
  8. package/dist/config.d.ts.map +1 -1
  9. package/dist/ensureManagedAccountEasConfigured-BXF7gQCi.js +1270 -0
  10. package/dist/ensureManagedAccountEasConfigured-BXF7gQCi.js.map +1 -0
  11. package/dist/ensureManagedAccountEasConfigured-BxdK_Vhf.js +1204 -0
  12. package/dist/ensureManagedAccountEasConfigured-BxdK_Vhf.js.map +1 -0
  13. package/dist/ensureManagedAccountEasConfigured-CZGguM7q.js +1177 -0
  14. package/dist/ensureManagedAccountEasConfigured-CZGguM7q.js.map +1 -0
  15. package/dist/ensureManagedAccountEasConfigured-CZS__-ha.js +1177 -0
  16. package/dist/ensureManagedAccountEasConfigured-CZS__-ha.js.map +1 -0
  17. package/dist/ensureManagedAccountEasConfigured-D2_Jjjxt.js +1192 -0
  18. package/dist/ensureManagedAccountEasConfigured-D2_Jjjxt.js.map +1 -0
  19. package/dist/ensureManagedAccountEasConfigured-DDFBEb-B.js +1192 -0
  20. package/dist/ensureManagedAccountEasConfigured-DDFBEb-B.js.map +1 -0
  21. package/dist/ensureManagedAccountEasConfigured-zcyqhWPe.js +1270 -0
  22. package/dist/ensureManagedAccountEasConfigured-zcyqhWPe.js.map +1 -0
  23. package/dist/ensureModularPublishBootstrap-2agkGdih.js +124 -0
  24. package/dist/ensureModularPublishBootstrap-2agkGdih.js.map +1 -0
  25. package/dist/ensureModularPublishBootstrap-B5i_dQrv.js +124 -0
  26. package/dist/ensureModularPublishBootstrap-B5i_dQrv.js.map +1 -0
  27. package/dist/ensureModularPublishBootstrap-BSXyZgld.js +124 -0
  28. package/dist/ensureModularPublishBootstrap-BSXyZgld.js.map +1 -0
  29. package/dist/ensureModularPublishBootstrap-C0gx7sbt.js +124 -0
  30. package/dist/ensureModularPublishBootstrap-C0gx7sbt.js.map +1 -0
  31. package/dist/ensureModularPublishBootstrap-DHNo4j6X.js +124 -0
  32. package/dist/ensureModularPublishBootstrap-DHNo4j6X.js.map +1 -0
  33. package/dist/ensureModularPublishBootstrap-DQ-oruO1.js +124 -0
  34. package/dist/ensureModularPublishBootstrap-DQ-oruO1.js.map +1 -0
  35. package/dist/ensureModularPublishBootstrap-QRGGgnkz.js +124 -0
  36. package/dist/ensureModularPublishBootstrap-QRGGgnkz.js.map +1 -0
  37. package/dist/ensureSmartWalletThenPublish-BmeIFGIX.js +47 -0
  38. package/dist/ensureSmartWalletThenPublish-BmeIFGIX.js.map +1 -0
  39. package/dist/ensureSmartWalletThenPublish-CR4N0M9S.js +47 -0
  40. package/dist/ensureSmartWalletThenPublish-CR4N0M9S.js.map +1 -0
  41. package/dist/ensureSmartWalletThenPublish-CRza0sML.js +47 -0
  42. package/dist/ensureSmartWalletThenPublish-CRza0sML.js.map +1 -0
  43. package/dist/ensureSmartWalletThenPublish-DzOnwM-9.js +47 -0
  44. package/dist/ensureSmartWalletThenPublish-DzOnwM-9.js.map +1 -0
  45. package/dist/ensureSmartWalletThenPublish-UFczP8th.js +47 -0
  46. package/dist/ensureSmartWalletThenPublish-UFczP8th.js.map +1 -0
  47. package/dist/ensureSmartWalletThenPublish-k085lqDO.js +47 -0
  48. package/dist/ensureSmartWalletThenPublish-k085lqDO.js.map +1 -0
  49. package/dist/ensureSmartWalletThenPublish-xcHGv06S.js +47 -0
  50. package/dist/ensureSmartWalletThenPublish-xcHGv06S.js.map +1 -0
  51. package/dist/helpers/abi/eas.d.ts +203 -0
  52. package/dist/helpers/abi/eas.d.ts.map +1 -0
  53. package/dist/helpers/abi/executor.d.ts +33 -0
  54. package/dist/helpers/abi/executor.d.ts.map +1 -0
  55. package/dist/helpers/abi/factory.d.ts +31 -0
  56. package/dist/helpers/abi/factory.d.ts.map +1 -0
  57. package/dist/helpers/abi/publisher.d.ts +199 -0
  58. package/dist/helpers/abi/publisher.d.ts.map +1 -0
  59. package/dist/helpers/abi/schemaRegistry.d.ts +45 -0
  60. package/dist/helpers/abi/schemaRegistry.d.ts.map +1 -0
  61. package/dist/helpers/adapters/eip1193.d.ts +17 -0
  62. package/dist/helpers/adapters/eip1193.d.ts.map +1 -0
  63. package/dist/helpers/adapters/permissionlessTxSender.d.ts +11 -0
  64. package/dist/helpers/adapters/permissionlessTxSender.d.ts.map +1 -0
  65. package/dist/helpers/adapters/thirdwebAccount.d.ts +13 -0
  66. package/dist/helpers/adapters/thirdwebAccount.d.ts.map +1 -0
  67. package/dist/helpers/arweave.d.ts +4 -4
  68. package/dist/helpers/arweave.d.ts.map +1 -1
  69. package/dist/helpers/chainClient.d.ts +15 -0
  70. package/dist/helpers/chainClient.d.ts.map +1 -0
  71. package/dist/helpers/chainConfig.d.ts +12 -0
  72. package/dist/helpers/chainConfig.d.ts.map +1 -0
  73. package/dist/helpers/constants.d.ts +1 -2
  74. package/dist/helpers/constants.d.ts.map +1 -1
  75. package/dist/helpers/contracts/index.d.ts +90 -0
  76. package/dist/helpers/contracts/index.d.ts.map +1 -0
  77. package/dist/helpers/defaultChain.d.ts +4 -0
  78. package/dist/helpers/defaultChain.d.ts.map +1 -0
  79. package/dist/helpers/easDirect.d.ts +7 -76
  80. package/dist/helpers/easDirect.d.ts.map +1 -1
  81. package/dist/helpers/ensureEip7702ModularAccountReady.d.ts +1 -4
  82. package/dist/helpers/ensureEip7702ModularAccountReady.d.ts.map +1 -1
  83. package/dist/helpers/ensureExecutorModule.d.ts +1 -9
  84. package/dist/helpers/ensureExecutorModule.d.ts.map +1 -1
  85. package/dist/helpers/ensureManagedAccountEasConfigured.d.ts +2 -5
  86. package/dist/helpers/ensureManagedAccountEasConfigured.d.ts.map +1 -1
  87. package/dist/helpers/ensureManagedAccountReady.d.ts.map +1 -1
  88. package/dist/helpers/ensureManagedSignerSessionKey.d.ts +1 -0
  89. package/dist/helpers/ensureManagedSignerSessionKey.d.ts.map +1 -1
  90. package/dist/helpers/ensureSmartWalletThenPublish.d.ts +3 -13
  91. package/dist/helpers/ensureSmartWalletThenPublish.d.ts.map +1 -1
  92. package/dist/helpers/ensureWalletThenPublish.d.ts +21 -0
  93. package/dist/helpers/ensureWalletThenPublish.d.ts.map +1 -0
  94. package/dist/helpers/nameSchemaAttestation.d.ts +7 -0
  95. package/dist/helpers/nameSchemaAttestation.d.ts.map +1 -0
  96. package/dist/helpers/publishWalletRegistry.d.ts +19 -0
  97. package/dist/helpers/publishWalletRegistry.d.ts.map +1 -0
  98. package/dist/helpers/resolvePublishWallet.d.ts +7 -0
  99. package/dist/helpers/resolvePublishWallet.d.ts.map +1 -0
  100. package/dist/helpers/schemaRegistry.d.ts +11 -0
  101. package/dist/helpers/schemaRegistry.d.ts.map +1 -0
  102. package/dist/helpers/seedSigner.d.ts +62 -0
  103. package/dist/helpers/seedSigner.d.ts.map +1 -0
  104. package/dist/helpers/thirdweb.d.ts +14 -2
  105. package/dist/helpers/thirdweb.d.ts.map +1 -1
  106. package/dist/index.d.ts +11 -11
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +283 -5171
  109. package/dist/index.js.map +1 -1
  110. package/dist/publishManager-1vLf1ZHv.js +3005 -0
  111. package/dist/publishManager-1vLf1ZHv.js.map +1 -0
  112. package/dist/publishManager-5hUL8Of5.js +3007 -0
  113. package/dist/publishManager-5hUL8Of5.js.map +1 -0
  114. package/dist/publishManager-BO4sSSvo.js +3007 -0
  115. package/dist/publishManager-BO4sSSvo.js.map +1 -0
  116. package/dist/publishManager-BOICv9Yl.js +3008 -0
  117. package/dist/publishManager-BOICv9Yl.js.map +1 -0
  118. package/dist/publishManager-CCXWxiT1.js +3008 -0
  119. package/dist/publishManager-CCXWxiT1.js.map +1 -0
  120. package/dist/publishManager-Ccot_poQ.js +3008 -0
  121. package/dist/publishManager-Ccot_poQ.js.map +1 -0
  122. package/dist/publishManager-De3uWE-p.js +3007 -0
  123. package/dist/publishManager-De3uWE-p.js.map +1 -0
  124. package/dist/react/ConnectButton.d.ts.map +1 -1
  125. package/dist/react/PublishConfigContext.d.ts +4 -0
  126. package/dist/react/PublishConfigContext.d.ts.map +1 -0
  127. package/dist/react/PublishProvider.d.ts +7 -1
  128. package/dist/react/PublishProvider.d.ts.map +1 -1
  129. package/dist/react/PublishProvider.thirdweb.d.ts +11 -0
  130. package/dist/react/PublishProvider.thirdweb.d.ts.map +1 -0
  131. package/dist/react/useSeedWallet.d.ts +17 -0
  132. package/dist/react/useSeedWallet.d.ts.map +1 -0
  133. package/dist/resolveRevokeAccount-BGVjf-kI.js +30 -0
  134. package/dist/resolveRevokeAccount-BGVjf-kI.js.map +1 -0
  135. package/dist/resolveRevokeAccount-BRwOBTJ4.js +30 -0
  136. package/dist/resolveRevokeAccount-BRwOBTJ4.js.map +1 -0
  137. package/dist/resolveRevokeAccount-C0ZWAcHX.js +30 -0
  138. package/dist/resolveRevokeAccount-C0ZWAcHX.js.map +1 -0
  139. package/dist/resolveRevokeAccount-CKcr55EY.js +30 -0
  140. package/dist/resolveRevokeAccount-CKcr55EY.js.map +1 -0
  141. package/dist/resolveRevokeAccount-DNvuOQ1c.js +30 -0
  142. package/dist/resolveRevokeAccount-DNvuOQ1c.js.map +1 -0
  143. package/dist/resolveRevokeAccount-DvEPXZKI.js +30 -0
  144. package/dist/resolveRevokeAccount-DvEPXZKI.js.map +1 -0
  145. package/dist/resolveRevokeAccount-rOof3dUA.js +30 -0
  146. package/dist/resolveRevokeAccount-rOof3dUA.js.map +1 -0
  147. package/dist/seedSigner-BvK5WjmV.js +66 -0
  148. package/dist/seedSigner-BvK5WjmV.js.map +1 -0
  149. package/dist/services/PublishManager/actions/createPublish.d.ts.map +1 -1
  150. package/dist/services/PublishManager/actions/retryAttestations.d.ts +3 -2
  151. package/dist/services/PublishManager/actions/retryAttestations.d.ts.map +1 -1
  152. package/dist/services/PublishManager/actors/restoreFromDb.d.ts.map +1 -1
  153. package/dist/services/PublishManager/index.d.ts +2 -2
  154. package/dist/services/PublishManager/index.d.ts.map +1 -1
  155. package/dist/services/publish/actors/checking.d.ts.map +1 -1
  156. package/dist/services/publish/actors/createArweaveDataItems.d.ts.map +1 -1
  157. package/dist/services/publish/actors/createAttestations.d.ts.map +1 -1
  158. package/dist/services/publish/actors/createAttestationsDirectToEas.d.ts.map +1 -1
  159. package/dist/services/publish/actors/seedUidHelpers.d.ts +1 -17
  160. package/dist/services/publish/actors/seedUidHelpers.d.ts.map +1 -1
  161. package/dist/services/publish/helpers/ensureEasSchemas.d.ts +2 -5
  162. package/dist/services/publish/helpers/ensureEasSchemas.d.ts.map +1 -1
  163. package/dist/services/publish/helpers/receiptAttestationMs.d.ts +1 -3
  164. package/dist/services/publish/helpers/receiptAttestationMs.d.ts.map +1 -1
  165. package/dist/services/publish/index.d.ts.map +1 -1
  166. package/dist/services/revoke/revokeAttestations.d.ts +1 -3
  167. package/dist/services/revoke/revokeAttestations.d.ts.map +1 -1
  168. package/dist/services/upload/uploadMachine.d.ts +1 -1
  169. package/dist/thirdweb.d.ts +17 -0
  170. package/dist/thirdweb.d.ts.map +1 -0
  171. package/dist/thirdweb.js +176 -0
  172. package/dist/thirdweb.js.map +1 -0
  173. package/dist/types.d.ts +9 -4
  174. package/dist/types.d.ts.map +1 -1
  175. package/dist/worker-B3R2zwxm.js +69 -0
  176. package/dist/worker-B3R2zwxm.js.map +1 -0
  177. package/dist/worker-BVc0OzNI.js +105 -0
  178. package/dist/worker-BVc0OzNI.js.map +1 -0
  179. package/dist/worker-BWERw2Le.js +69 -0
  180. package/dist/worker-BWERw2Le.js.map +1 -0
  181. package/dist/worker-Bb3a6nOf.js +69 -0
  182. package/dist/worker-Bb3a6nOf.js.map +1 -0
  183. package/dist/worker-BqeFFnN_.js +69 -0
  184. package/dist/worker-BqeFFnN_.js.map +1 -0
  185. package/dist/worker-CqCsdQeT.js +69 -0
  186. package/dist/worker-CqCsdQeT.js.map +1 -0
  187. package/dist/worker-QZN_HMAs.js +69 -0
  188. package/dist/worker-QZN_HMAs.js.map +1 -0
  189. package/dist/worker-VilzVQ8C.js +69 -0
  190. package/dist/worker-VilzVQ8C.js.map +1 -0
  191. package/dist/worker-j_9ajZZU.js +100 -0
  192. package/dist/worker-j_9ajZZU.js.map +1 -0
  193. package/package.json +20 -5
@@ -0,0 +1,203 @@
1
+ /**
2
+ * EAS contract ABI fragments + custom errors for revert decoding.
3
+ */
4
+ export declare const EAS_ERRORS_ABI: readonly [{
5
+ readonly type: "error";
6
+ readonly name: "AccessDenied";
7
+ readonly inputs: readonly [];
8
+ }, {
9
+ readonly type: "error";
10
+ readonly name: "AlreadyRevoked";
11
+ readonly inputs: readonly [];
12
+ }, {
13
+ readonly type: "error";
14
+ readonly name: "InvalidRevocation";
15
+ readonly inputs: readonly [];
16
+ }, {
17
+ readonly type: "error";
18
+ readonly name: "InvalidRevocations";
19
+ readonly inputs: readonly [];
20
+ }, {
21
+ readonly type: "error";
22
+ readonly name: "InvalidSchema";
23
+ readonly inputs: readonly [];
24
+ }, {
25
+ readonly type: "error";
26
+ readonly name: "Irrevocable";
27
+ readonly inputs: readonly [];
28
+ }, {
29
+ readonly type: "error";
30
+ readonly name: "NotFound";
31
+ readonly inputs: readonly [];
32
+ }, {
33
+ readonly type: "error";
34
+ readonly name: "NotPayable";
35
+ readonly inputs: readonly [];
36
+ }, {
37
+ readonly type: "error";
38
+ readonly name: "InsufficientValue";
39
+ readonly inputs: readonly [];
40
+ }, {
41
+ readonly type: "error";
42
+ readonly name: "InvalidLength";
43
+ readonly inputs: readonly [];
44
+ }];
45
+ export declare const easAbi: readonly [{
46
+ readonly type: "function";
47
+ readonly name: "attest";
48
+ readonly stateMutability: "payable";
49
+ readonly inputs: readonly [{
50
+ readonly name: "request";
51
+ readonly type: "tuple";
52
+ readonly components: readonly [{
53
+ readonly name: "schema";
54
+ readonly type: "bytes32";
55
+ }, {
56
+ readonly name: "data";
57
+ readonly type: "tuple";
58
+ readonly components: readonly [{
59
+ readonly name: "recipient";
60
+ readonly type: "address";
61
+ }, {
62
+ readonly name: "expirationTime";
63
+ readonly type: "uint64";
64
+ }, {
65
+ readonly name: "revocable";
66
+ readonly type: "bool";
67
+ }, {
68
+ readonly name: "refUID";
69
+ readonly type: "bytes32";
70
+ }, {
71
+ readonly name: "data";
72
+ readonly type: "bytes";
73
+ }, {
74
+ readonly name: "value";
75
+ readonly type: "uint256";
76
+ }];
77
+ }];
78
+ }];
79
+ readonly outputs: readonly [{
80
+ readonly type: "bytes32";
81
+ }];
82
+ }, {
83
+ readonly type: "function";
84
+ readonly name: "multiAttest";
85
+ readonly stateMutability: "payable";
86
+ readonly inputs: readonly [{
87
+ readonly name: "requests";
88
+ readonly type: "tuple[]";
89
+ readonly components: readonly [{
90
+ readonly name: "schema";
91
+ readonly type: "bytes32";
92
+ }, {
93
+ readonly name: "data";
94
+ readonly type: "tuple[]";
95
+ readonly components: readonly [{
96
+ readonly name: "recipient";
97
+ readonly type: "address";
98
+ }, {
99
+ readonly name: "expirationTime";
100
+ readonly type: "uint64";
101
+ }, {
102
+ readonly name: "revocable";
103
+ readonly type: "bool";
104
+ }, {
105
+ readonly name: "refUID";
106
+ readonly type: "bytes32";
107
+ }, {
108
+ readonly name: "data";
109
+ readonly type: "bytes";
110
+ }, {
111
+ readonly name: "value";
112
+ readonly type: "uint256";
113
+ }];
114
+ }];
115
+ }];
116
+ readonly outputs: readonly [{
117
+ readonly type: "bytes32[]";
118
+ }];
119
+ }, {
120
+ readonly type: "function";
121
+ readonly name: "multiRevoke";
122
+ readonly stateMutability: "payable";
123
+ readonly inputs: readonly [{
124
+ readonly name: "multiRequests";
125
+ readonly type: "tuple[]";
126
+ readonly components: readonly [{
127
+ readonly name: "schema";
128
+ readonly type: "bytes32";
129
+ }, {
130
+ readonly name: "data";
131
+ readonly type: "tuple[]";
132
+ readonly components: readonly [{
133
+ readonly name: "uid";
134
+ readonly type: "bytes32";
135
+ }, {
136
+ readonly name: "value";
137
+ readonly type: "uint256";
138
+ }];
139
+ }];
140
+ }];
141
+ readonly outputs: readonly [];
142
+ }, {
143
+ readonly type: "event";
144
+ readonly name: "Attested";
145
+ readonly inputs: readonly [{
146
+ readonly name: "recipient";
147
+ readonly type: "address";
148
+ readonly indexed: true;
149
+ }, {
150
+ readonly name: "attester";
151
+ readonly type: "address";
152
+ readonly indexed: true;
153
+ }, {
154
+ readonly name: "uid";
155
+ readonly type: "bytes32";
156
+ readonly indexed: false;
157
+ }, {
158
+ readonly name: "schemaUID";
159
+ readonly type: "bytes32";
160
+ readonly indexed: true;
161
+ }];
162
+ }, {
163
+ readonly type: "error";
164
+ readonly name: "AccessDenied";
165
+ readonly inputs: readonly [];
166
+ }, {
167
+ readonly type: "error";
168
+ readonly name: "AlreadyRevoked";
169
+ readonly inputs: readonly [];
170
+ }, {
171
+ readonly type: "error";
172
+ readonly name: "InvalidRevocation";
173
+ readonly inputs: readonly [];
174
+ }, {
175
+ readonly type: "error";
176
+ readonly name: "InvalidRevocations";
177
+ readonly inputs: readonly [];
178
+ }, {
179
+ readonly type: "error";
180
+ readonly name: "InvalidSchema";
181
+ readonly inputs: readonly [];
182
+ }, {
183
+ readonly type: "error";
184
+ readonly name: "Irrevocable";
185
+ readonly inputs: readonly [];
186
+ }, {
187
+ readonly type: "error";
188
+ readonly name: "NotFound";
189
+ readonly inputs: readonly [];
190
+ }, {
191
+ readonly type: "error";
192
+ readonly name: "NotPayable";
193
+ readonly inputs: readonly [];
194
+ }, {
195
+ readonly type: "error";
196
+ readonly name: "InsufficientValue";
197
+ readonly inputs: readonly [];
198
+ }, {
199
+ readonly type: "error";
200
+ readonly name: "InvalidLength";
201
+ readonly inputs: readonly [];
202
+ }];
203
+ //# sourceMappingURL=eas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eas.d.ts","sourceRoot":"","sources":["../../../src/helpers/abi/eas.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWjB,CAAA;AAWV,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ET,CAAA"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Modular executor module events (0x043462…).
3
+ * CreatedAttestation matches publisher; SeedPublished uses typed bytes32 args.
4
+ */
5
+ export declare const executorEventsAbi: readonly [{
6
+ readonly type: "event";
7
+ readonly name: "CreatedAttestation";
8
+ readonly inputs: readonly [{
9
+ readonly name: "result";
10
+ readonly type: "tuple";
11
+ readonly indexed: false;
12
+ readonly components: readonly [{
13
+ readonly name: "schemaUid";
14
+ readonly type: "bytes32";
15
+ }, {
16
+ readonly name: "attestationUid";
17
+ readonly type: "bytes32";
18
+ }];
19
+ }];
20
+ }, {
21
+ readonly type: "event";
22
+ readonly name: "SeedPublished";
23
+ readonly inputs: readonly [{
24
+ readonly name: "seedUid";
25
+ readonly type: "bytes32";
26
+ readonly indexed: false;
27
+ }, {
28
+ readonly name: "versionUid";
29
+ readonly type: "bytes32";
30
+ readonly indexed: false;
31
+ }];
32
+ }];
33
+ //# sourceMappingURL=executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.d.ts","sourceRoot":"","sources":["../../../src/helpers/abi/executor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBpB,CAAA"}
@@ -0,0 +1,31 @@
1
+ /** Thirdweb ManagedAccount factory (0x76f47…) on Optimism Sepolia. */
2
+ export declare const managedAccountFactoryAbi: readonly [{
3
+ readonly type: "function";
4
+ readonly name: "getAddress";
5
+ readonly stateMutability: "view";
6
+ readonly inputs: readonly [{
7
+ readonly name: "_adminSigner";
8
+ readonly type: "address";
9
+ }, {
10
+ readonly name: "_data";
11
+ readonly type: "bytes";
12
+ }];
13
+ readonly outputs: readonly [{
14
+ readonly type: "address";
15
+ }];
16
+ }, {
17
+ readonly type: "function";
18
+ readonly name: "createAccount";
19
+ readonly stateMutability: "nonpayable";
20
+ readonly inputs: readonly [{
21
+ readonly name: "_admin";
22
+ readonly type: "address";
23
+ }, {
24
+ readonly name: "_data";
25
+ readonly type: "bytes";
26
+ }];
27
+ readonly outputs: readonly [{
28
+ readonly type: "address";
29
+ }];
30
+ }];
31
+ //# sourceMappingURL=factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/helpers/abi/factory.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB3B,CAAA"}
@@ -0,0 +1,199 @@
1
+ /** multiPublish with string localIds (selector 0x31e19cb8). */
2
+ export declare const multiPublishAbi: readonly [{
3
+ readonly type: "function";
4
+ readonly name: "multiPublish";
5
+ readonly stateMutability: "nonpayable";
6
+ readonly inputs: readonly [{
7
+ readonly name: "requests";
8
+ readonly type: "tuple[]";
9
+ readonly components: readonly [{
10
+ readonly name: "localId";
11
+ readonly type: "string";
12
+ }, {
13
+ readonly name: "seedUid";
14
+ readonly type: "bytes32";
15
+ }, {
16
+ readonly name: "seedSchemaUid";
17
+ readonly type: "bytes32";
18
+ }, {
19
+ readonly name: "versionUid";
20
+ readonly type: "bytes32";
21
+ }, {
22
+ readonly name: "versionSchemaUid";
23
+ readonly type: "bytes32";
24
+ }, {
25
+ readonly name: "seedIsRevocable";
26
+ readonly type: "bool";
27
+ }, {
28
+ readonly name: "listOfAttestations";
29
+ readonly type: "tuple[]";
30
+ readonly components: readonly [{
31
+ readonly name: "schema";
32
+ readonly type: "bytes32";
33
+ }, {
34
+ readonly name: "data";
35
+ readonly type: "tuple[]";
36
+ readonly components: readonly [{
37
+ readonly name: "recipient";
38
+ readonly type: "address";
39
+ }, {
40
+ readonly name: "expirationTime";
41
+ readonly type: "uint64";
42
+ }, {
43
+ readonly name: "revocable";
44
+ readonly type: "bool";
45
+ }, {
46
+ readonly name: "refUID";
47
+ readonly type: "bytes32";
48
+ }, {
49
+ readonly name: "data";
50
+ readonly type: "bytes";
51
+ }, {
52
+ readonly name: "value";
53
+ readonly type: "uint256";
54
+ }];
55
+ }];
56
+ }, {
57
+ readonly name: "propertiesToUpdate";
58
+ readonly type: "tuple[]";
59
+ readonly components: readonly [{
60
+ readonly name: "publishLocalId";
61
+ readonly type: "string";
62
+ }, {
63
+ readonly name: "propertySchemaUid";
64
+ readonly type: "bytes32";
65
+ }];
66
+ }];
67
+ }];
68
+ readonly outputs: readonly [{
69
+ readonly type: "bytes32[]";
70
+ }];
71
+ }];
72
+ /** multiPublish with uint256 localId indices (selector 0xd688e801). */
73
+ export declare const multiPublishIntegerAbi: readonly [{
74
+ readonly type: "function";
75
+ readonly name: "multiPublish";
76
+ readonly stateMutability: "nonpayable";
77
+ readonly inputs: readonly [{
78
+ readonly name: "requests";
79
+ readonly type: "tuple[]";
80
+ readonly components: readonly [{
81
+ readonly name: "localIdIndex";
82
+ readonly type: "uint256";
83
+ }, {
84
+ readonly name: "seedUid";
85
+ readonly type: "bytes32";
86
+ }, {
87
+ readonly name: "seedSchemaUid";
88
+ readonly type: "bytes32";
89
+ }, {
90
+ readonly name: "versionUid";
91
+ readonly type: "bytes32";
92
+ }, {
93
+ readonly name: "versionSchemaUid";
94
+ readonly type: "bytes32";
95
+ }, {
96
+ readonly name: "seedIsRevocable";
97
+ readonly type: "bool";
98
+ }, {
99
+ readonly name: "listOfAttestations";
100
+ readonly type: "tuple[]";
101
+ readonly components: readonly [{
102
+ readonly name: "schema";
103
+ readonly type: "bytes32";
104
+ }, {
105
+ readonly name: "data";
106
+ readonly type: "tuple[]";
107
+ readonly components: readonly [{
108
+ readonly name: "recipient";
109
+ readonly type: "address";
110
+ }, {
111
+ readonly name: "expirationTime";
112
+ readonly type: "uint64";
113
+ }, {
114
+ readonly name: "revocable";
115
+ readonly type: "bool";
116
+ }, {
117
+ readonly name: "refUID";
118
+ readonly type: "bytes32";
119
+ }, {
120
+ readonly name: "data";
121
+ readonly type: "bytes";
122
+ }, {
123
+ readonly name: "value";
124
+ readonly type: "uint256";
125
+ }];
126
+ }];
127
+ }, {
128
+ readonly name: "propertiesToUpdate";
129
+ readonly type: "tuple[]";
130
+ readonly components: readonly [{
131
+ readonly name: "publishLocalIdIndex";
132
+ readonly type: "uint256";
133
+ }, {
134
+ readonly name: "propertySchemaUid";
135
+ readonly type: "bytes32";
136
+ }];
137
+ }];
138
+ }];
139
+ readonly outputs: readonly [{
140
+ readonly type: "bytes32[]";
141
+ }];
142
+ }];
143
+ export declare const publisherReadWriteAbi: readonly [{
144
+ readonly type: "function";
145
+ readonly name: "getEas";
146
+ readonly stateMutability: "view";
147
+ readonly inputs: readonly [];
148
+ readonly outputs: readonly [{
149
+ readonly type: "address";
150
+ }];
151
+ }, {
152
+ readonly type: "function";
153
+ readonly name: "setEas";
154
+ readonly stateMutability: "nonpayable";
155
+ readonly inputs: readonly [{
156
+ readonly name: "_eas";
157
+ readonly type: "address";
158
+ }];
159
+ readonly outputs: readonly [{
160
+ readonly type: "string";
161
+ }];
162
+ }, {
163
+ readonly type: "function";
164
+ readonly name: "isActiveSigner";
165
+ readonly stateMutability: "view";
166
+ readonly inputs: readonly [{
167
+ readonly name: "signer";
168
+ readonly type: "address";
169
+ }];
170
+ readonly outputs: readonly [{
171
+ readonly type: "bool";
172
+ }];
173
+ }];
174
+ /** Extension / ManagedAccount publisher events. */
175
+ export declare const publisherEventsAbi: readonly [{
176
+ readonly type: "event";
177
+ readonly name: "CreatedAttestation";
178
+ readonly inputs: readonly [{
179
+ readonly name: "result";
180
+ readonly type: "tuple";
181
+ readonly indexed: false;
182
+ readonly components: readonly [{
183
+ readonly name: "schemaUid";
184
+ readonly type: "bytes32";
185
+ }, {
186
+ readonly name: "attestationUid";
187
+ readonly type: "bytes32";
188
+ }];
189
+ }];
190
+ }, {
191
+ readonly type: "event";
192
+ readonly name: "SeedPublished";
193
+ readonly inputs: readonly [{
194
+ readonly name: "returnedDataFromEAS";
195
+ readonly type: "bytes";
196
+ readonly indexed: false;
197
+ }];
198
+ }];
199
+ //# sourceMappingURL=publisher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publisher.d.ts","sourceRoot":"","sources":["../../../src/helpers/abi/publisher.ts"],"names":[],"mappings":"AAmBA,+DAA+D;AAC/D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkClB,CAAA;AAEV,uEAAuE;AACvE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCzB,CAAA;AAEV,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBxB,CAAA;AAEV,mDAAmD;AACnD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;EAqBrB,CAAA"}
@@ -0,0 +1,45 @@
1
+ /** EAS Schema Registry on OP Stack predeploy. */
2
+ export declare const schemaRegistryAbi: readonly [{
3
+ readonly type: "function";
4
+ readonly name: "getSchema";
5
+ readonly stateMutability: "view";
6
+ readonly inputs: readonly [{
7
+ readonly name: "uid";
8
+ readonly type: "bytes32";
9
+ }];
10
+ readonly outputs: readonly [{
11
+ readonly name: "";
12
+ readonly type: "tuple";
13
+ readonly components: readonly [{
14
+ readonly name: "uid";
15
+ readonly type: "bytes32";
16
+ }, {
17
+ readonly name: "resolver";
18
+ readonly type: "address";
19
+ }, {
20
+ readonly name: "revocable";
21
+ readonly type: "bool";
22
+ }, {
23
+ readonly name: "schema";
24
+ readonly type: "string";
25
+ }];
26
+ }];
27
+ }, {
28
+ readonly type: "function";
29
+ readonly name: "register";
30
+ readonly stateMutability: "nonpayable";
31
+ readonly inputs: readonly [{
32
+ readonly name: "schema";
33
+ readonly type: "string";
34
+ }, {
35
+ readonly name: "resolver";
36
+ readonly type: "address";
37
+ }, {
38
+ readonly name: "revocable";
39
+ readonly type: "bool";
40
+ }];
41
+ readonly outputs: readonly [{
42
+ readonly type: "bytes32";
43
+ }];
44
+ }];
45
+ //# sourceMappingURL=schemaRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemaRegistry.d.ts","sourceRoot":"","sources":["../../../src/helpers/abi/schemaRegistry.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BpB,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { type Address, type Chain, type EIP1193Provider } from 'viem';
2
+ import { type PublishWallet, type SeedSigner, type SeedTxSender } from '../seedSigner';
3
+ export type FromEip1193Options = {
4
+ chain?: Chain;
5
+ /** If omitted, uses the first account from eth_requestAccounts / eth_accounts. */
6
+ address?: Address;
7
+ };
8
+ /**
9
+ * Build a PublishWallet from an EIP-1193 provider (MetaMask, Rabby, injected wallets, etc.).
10
+ * Transaction sends are EOA (user pays gas). Pair with permissionless for sponsored EIP-7702.
11
+ */
12
+ export declare function fromEip1193Provider(provider: EIP1193Provider, options?: FromEip1193Options): Promise<PublishWallet>;
13
+ /** Convenience: wrap window.ethereum when present. */
14
+ export declare function fromWindowEthereum(options?: FromEip1193Options): Promise<PublishWallet>;
15
+ /** Expose branded helpers for composing custom EIP-1193 senders. */
16
+ export declare function brandEip1193Parts(signer: SeedSigner, txSender: SeedTxSender): PublishWallet;
17
+ //# sourceMappingURL=eip1193.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eip1193.d.ts","sourceRoot":"","sources":["../../../src/helpers/adapters/eip1193.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,eAAe,EAErB,MAAM,MAAM,CAAA;AACb,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,YAAY,EAClB,MAAM,eAAe,CAAA;AAGtB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,eAAe,EACzB,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,aAAa,CAAC,CA8CxB;AAED,sDAAsD;AACtD,wBAAsB,kBAAkB,CACtC,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,aAAa,CAAC,CAMxB;AAED,oEAAoE;AACpE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,GAAG,aAAa,CAK3F"}
@@ -0,0 +1,11 @@
1
+ import { type SeedSigner, type SeedTxSender } from '../seedSigner';
2
+ export type CreatePermissionlessTxSenderOptions = {
3
+ signer: SeedSigner;
4
+ bundlerUrl: string;
5
+ paymasterUrl?: string;
6
+ };
7
+ /**
8
+ * Sponsored EIP-7702 `SeedTxSender` via permissionless `to7702SimpleSmartAccount`.
9
+ */
10
+ export declare function createPermissionlessTxSender(options: CreatePermissionlessTxSenderOptions): Promise<SeedTxSender>;
11
+ //# sourceMappingURL=permissionlessTxSender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissionlessTxSender.d.ts","sourceRoot":"","sources":["../../../src/helpers/adapters/permissionlessTxSender.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,UAAU,EAEf,KAAK,YAAY,EAClB,MAAM,eAAe,CAAA;AAGtB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,UAAU,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAuBD;;GAEG;AACH,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,mCAAmC,GAC3C,OAAO,CAAC,YAAY,CAAC,CA6DvB"}
@@ -0,0 +1,13 @@
1
+ import type { Account } from 'thirdweb/wallets';
2
+ import { type PublishWallet, type SeedSigner } from '../seedSigner';
3
+ /**
4
+ * Wrap a Thirdweb Account so AA gas sponsorship still flows through thirdweb `sendTransaction`.
5
+ */
6
+ export declare function fromThirdwebAccount(account: Account): PublishWallet;
7
+ /**
8
+ * Coerce Thirdweb Account, SeedSigner, or PublishWallet to PublishWallet.
9
+ */
10
+ export declare function asThirdwebPublishWallet(accountOrWallet: Account | SeedSigner | PublishWallet): PublishWallet;
11
+ /** @deprecated Prefer {@link asThirdwebPublishWallet}; kept for call-site migration. */
12
+ export declare function asSeedSignerFromThirdweb(accountOrWallet: Account | SeedSigner | PublishWallet): SeedSigner;
13
+ //# sourceMappingURL=thirdwebAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thirdwebAccount.d.ts","sourceRoot":"","sources":["../../../src/helpers/adapters/thirdwebAccount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG/C,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,eAAe,CAAA;AAgBtB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CA2BnE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GACpD,aAAa,CAQf;AAED,wFAAwF;AACxF,wBAAgB,wBAAwB,CACtC,eAAe,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GACpD,UAAU,CAIZ"}
@@ -1,12 +1,12 @@
1
1
  import { ethers } from 'ethers';
2
- import type { Account } from 'thirdweb/wallets';
2
+ import type { SeedSigner } from './seedSigner';
3
3
  interface Tag {
4
4
  name: string;
5
5
  value: string;
6
6
  }
7
7
  export declare function buildPublishAnchorBytes(walletAddress: string, timestampMs: number, uniqueness: bigint): Uint8Array;
8
8
  /**
9
- * Type guard: true if signer is ethers.Wallet (has privateKey). Thirdweb Account does not.
9
+ * Type guard: true if signer is ethers.Wallet (has privateKey). SeedSigner / Thirdweb Account do not.
10
10
  */
11
11
  export declare function isEthersWallet(signer: unknown): signer is ethers.Wallet;
12
12
  /**
@@ -27,10 +27,10 @@ export declare const createSignedDataItem: (data: Uint8Array, signer: ethers.Wal
27
27
  raw: Uint8Array;
28
28
  }>;
29
29
  /**
30
- * Create a signed ANS-104 DataItem using a Thirdweb Account (EOA, ManagedAccount, Modular Account).
30
+ * Create a signed ANS-104 DataItem using a SeedSigner (EOA, ManagedAccount, Modular Account).
31
31
  * Uses deep-hash for the message to sign (per arbundles/Irys).
32
32
  */
33
- export declare const createSignedDataItemWithAccount: (data: Uint8Array, account: Account, tags: Tag[], rawAnchor?: Uint8Array) => Promise<{
33
+ export declare const createSignedDataItemWithAccount: (data: Uint8Array, account: SeedSigner, tags: Tag[], rawAnchor?: Uint8Array) => Promise<{
34
34
  id: string;
35
35
  raw: Uint8Array;
36
36
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"arweave.d.ts","sourceRoot":"","sources":["../../src/helpers/arweave.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAsB/C,UAAU,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAUD,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,UAAU,CAMZ;AAaD;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,MAAM,CAAC,MAAM,CAOvE;AAkBD;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,GAAG,EAAE,KAAG,UA+B3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,UAO7C,CAAA;AAkHD;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAC/B,MAAM,UAAU,EAChB,QAAQ,MAAM,CAAC,MAAM,EACrB,MAAM,GAAG,EAAE,EACX,YAAW,UAA8B,KACxC,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,CAiBzC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,GAC1C,MAAM,UAAU,EAChB,SAAS,OAAO,EAChB,MAAM,GAAG,EAAE,EACX,YAAW,UAA8B,KACxC,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,CA6BzC,CAAA;AAsCD;;;GAGG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,CA0CtE;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,UAAU,KAAG,MAM7C,CAAA"}
1
+ {"version":3,"file":"arweave.d.ts","sourceRoot":"","sources":["../../src/helpers/arweave.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAsB9C,UAAU,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAUD,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB,UAAU,CAMZ;AAaD;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,MAAM,CAAC,MAAM,CAOvE;AAkBD;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,GAAG,EAAE,KAAG,UA+B3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,UAO7C,CAAA;AAkHD;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAC/B,MAAM,UAAU,EAChB,QAAQ,MAAM,CAAC,MAAM,EACrB,MAAM,GAAG,EAAE,EACX,YAAW,UAA8B,KACxC,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,CAiBzC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,+BAA+B,GAC1C,MAAM,UAAU,EAChB,SAAS,UAAU,EACnB,MAAM,GAAG,EAAE,EACX,YAAW,UAA8B,KACxC,OAAO,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,UAAU,CAAA;CAAE,CA6BzC,CAAA;AAsCD;;;GAGG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,CA0CtE;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,UAAU,KAAG,MAM7C,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { type Hex, type PublicClient } from 'viem';
2
+ type PublishPublicClient = PublicClient;
3
+ /**
4
+ * Viem public client for reads / receipts on the configured publish chain.
5
+ */
6
+ export declare function getPublishPublicClient(): PublishPublicClient;
7
+ /** Reset cached client (tests). */
8
+ export declare function resetPublishPublicClient(): void;
9
+ export declare function waitForPublishReceipt(transactionHash: Hex): Promise<import("viem").TransactionReceipt>;
10
+ export declare function isContractDeployed(address: string): Promise<boolean>;
11
+ export declare function getBlockTimestampMs(blockNumber: bigint): Promise<number | null>;
12
+ /** Polls chain bytecode until the smart account is deployed or attempts are exhausted. */
13
+ export declare function pollSmartWalletDeployed(smartWalletAddress: string, attempts?: number, intervalMs?: number): Promise<boolean>;
14
+ export {};
15
+ //# sourceMappingURL=chainClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chainClient.d.ts","sourceRoot":"","sources":["../../src/helpers/chainClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,GAAG,EAAE,KAAK,YAAY,EAAE,MAAM,MAAM,CAAA;AAG1F,KAAK,mBAAmB,GAAG,YAAY,CAAA;AAcvC;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,mBAAmB,CAS5D;AAED,mCAAmC;AACnC,wBAAgB,wBAAwB,IAAI,IAAI,CAG/C;AAED,wBAAsB,qBAAqB,CAAC,eAAe,EAAE,GAAG,8CAE/D;AAED,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAK1E;AAED,wBAAsB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQrF;AAKD,0FAA0F;AAC1F,wBAAsB,uBAAuB,CAC3C,kBAAkB,EAAE,MAAM,EAC1B,QAAQ,GAAE,MAAqC,EAC/C,UAAU,GAAE,MAAwC,GACnD,OAAO,CAAC,OAAO,CAAC,CAYlB"}
@@ -0,0 +1,12 @@
1
+ import type { Chain } from 'viem';
2
+ import { DEFAULT_PUBLISH_CHAIN } from './defaultChain';
3
+ export { DEFAULT_PUBLISH_CHAIN };
4
+ /**
5
+ * Resolved viem chain for public client + adapters.
6
+ */
7
+ export declare function getPublishViemChain(): Chain;
8
+ /**
9
+ * Resolved RPC URL. Prefer explicit `rpcUrl`; fall back to Thirdweb edge URL when client id is set.
10
+ */
11
+ export declare function getPublishRpcUrl(): string;
12
+ //# sourceMappingURL=chainConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chainConfig.d.ts","sourceRoot":"","sources":["../../src/helpers/chainConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAEhC;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,KAAK,CAM3C;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAUzC"}