@usesigil/kit 0.16.0 → 0.17.0

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 (629) hide show
  1. package/README.md +56 -0
  2. package/dist/advanced-analytics.d.ts +3 -2
  3. package/dist/advanced-analytics.d.ts.map +1 -1
  4. package/dist/advanced-analytics.js +9 -42
  5. package/dist/advanced-analytics.js.map +1 -1
  6. package/dist/agent-bootstrap.d.ts +1 -2
  7. package/dist/agent-bootstrap.d.ts.map +1 -1
  8. package/dist/agent-bootstrap.js.map +1 -1
  9. package/dist/agent-errors.d.ts +20 -4
  10. package/dist/agent-errors.d.ts.map +1 -1
  11. package/dist/agent-errors.js +854 -369
  12. package/dist/agent-errors.js.map +1 -1
  13. package/dist/audit-log.d.ts +101 -0
  14. package/dist/audit-log.d.ts.map +1 -0
  15. package/dist/audit-log.js +145 -0
  16. package/dist/audit-log.js.map +1 -0
  17. package/dist/caip2-network.d.ts +171 -0
  18. package/dist/caip2-network.d.ts.map +1 -0
  19. package/dist/caip2-network.js +202 -0
  20. package/dist/caip2-network.js.map +1 -0
  21. package/dist/canonical-encode.d.ts +59 -0
  22. package/dist/canonical-encode.d.ts.map +1 -0
  23. package/dist/canonical-encode.js +141 -0
  24. package/dist/canonical-encode.js.map +1 -0
  25. package/dist/cosign-helper.d.ts +264 -0
  26. package/dist/cosign-helper.d.ts.map +1 -0
  27. package/dist/cosign-helper.js +147 -0
  28. package/dist/cosign-helper.js.map +1 -0
  29. package/dist/create-vault.d.ts +92 -0
  30. package/dist/create-vault.d.ts.map +1 -1
  31. package/dist/create-vault.js +98 -7
  32. package/dist/create-vault.js.map +1 -1
  33. package/dist/dashboard/close-vault.d.ts +110 -0
  34. package/dist/dashboard/close-vault.d.ts.map +1 -0
  35. package/dist/dashboard/close-vault.js +165 -0
  36. package/dist/dashboard/close-vault.js.map +1 -0
  37. package/dist/dashboard/errors.d.ts +2 -2
  38. package/dist/dashboard/errors.d.ts.map +1 -1
  39. package/dist/dashboard/errors.js +11 -7
  40. package/dist/dashboard/errors.js.map +1 -1
  41. package/dist/dashboard/index.d.ts +181 -34
  42. package/dist/dashboard/index.d.ts.map +1 -1
  43. package/dist/dashboard/index.js +258 -52
  44. package/dist/dashboard/index.js.map +1 -1
  45. package/dist/dashboard/mutations.d.ts +117 -26
  46. package/dist/dashboard/mutations.d.ts.map +1 -1
  47. package/dist/dashboard/mutations.js +521 -110
  48. package/dist/dashboard/mutations.js.map +1 -1
  49. package/dist/dashboard/post-assertion-validation.d.ts +1 -1
  50. package/dist/dashboard/post-assertion-validation.d.ts.map +1 -1
  51. package/dist/dashboard/post-assertion-validation.js +169 -48
  52. package/dist/dashboard/post-assertion-validation.js.map +1 -1
  53. package/dist/dashboard/reads.d.ts +3 -4
  54. package/dist/dashboard/reads.d.ts.map +1 -1
  55. package/dist/dashboard/reads.js +11 -22
  56. package/dist/dashboard/reads.js.map +1 -1
  57. package/dist/dashboard/types.d.ts +32 -17
  58. package/dist/dashboard/types.d.ts.map +1 -1
  59. package/dist/errors/agent-errors.generated.d.ts +21 -0
  60. package/dist/errors/agent-errors.generated.d.ts.map +1 -0
  61. package/dist/errors/agent-errors.generated.js +133 -0
  62. package/dist/errors/agent-errors.generated.js.map +1 -0
  63. package/dist/errors/codes.d.ts +21 -2
  64. package/dist/errors/codes.d.ts.map +1 -1
  65. package/dist/errors/codes.js +19 -0
  66. package/dist/errors/codes.js.map +1 -1
  67. package/dist/errors/context.d.ts +9 -1
  68. package/dist/errors/context.d.ts.map +1 -1
  69. package/dist/event-analytics.d.ts +1 -3
  70. package/dist/event-analytics.d.ts.map +1 -1
  71. package/dist/event-analytics.js +28 -81
  72. package/dist/event-analytics.js.map +1 -1
  73. package/dist/events.d.ts.map +1 -1
  74. package/dist/events.js +23 -14
  75. package/dist/events.js.map +1 -1
  76. package/dist/generated/accounts/agentSpendOverlay.d.ts +60 -0
  77. package/dist/generated/accounts/agentSpendOverlay.d.ts.map +1 -1
  78. package/dist/generated/accounts/agentSpendOverlay.js +6 -2
  79. package/dist/generated/accounts/agentSpendOverlay.js.map +1 -1
  80. package/dist/generated/accounts/agentVault.d.ts +168 -4
  81. package/dist/generated/accounts/agentVault.d.ts.map +1 -1
  82. package/dist/generated/accounts/agentVault.js +11 -3
  83. package/dist/generated/accounts/agentVault.js.map +1 -1
  84. package/dist/generated/accounts/auditLogRejected.d.ts +66 -0
  85. package/dist/generated/accounts/auditLogRejected.d.ts.map +1 -0
  86. package/dist/generated/accounts/auditLogRejected.js +68 -0
  87. package/dist/generated/accounts/auditLogRejected.js.map +1 -0
  88. package/dist/generated/accounts/auditLogSuccess.d.ts +78 -0
  89. package/dist/generated/accounts/auditLogSuccess.d.ts.map +1 -0
  90. package/dist/generated/accounts/auditLogSuccess.js +68 -0
  91. package/dist/generated/accounts/auditLogSuccess.js.map +1 -0
  92. package/dist/generated/accounts/index.d.ts +4 -4
  93. package/dist/generated/accounts/index.d.ts.map +1 -1
  94. package/dist/generated/accounts/index.js +4 -4
  95. package/dist/generated/accounts/index.js.map +1 -1
  96. package/dist/generated/accounts/pendingAgentGrant.d.ts +199 -0
  97. package/dist/generated/accounts/pendingAgentGrant.d.ts.map +1 -0
  98. package/dist/generated/accounts/pendingAgentGrant.js +75 -0
  99. package/dist/generated/accounts/pendingAgentGrant.js.map +1 -0
  100. package/dist/generated/accounts/pendingAgentPermissionsUpdate.d.ts +64 -0
  101. package/dist/generated/accounts/pendingAgentPermissionsUpdate.d.ts.map +1 -1
  102. package/dist/generated/accounts/pendingAgentPermissionsUpdate.js +7 -1
  103. package/dist/generated/accounts/pendingAgentPermissionsUpdate.js.map +1 -1
  104. package/dist/generated/accounts/pendingOwnershipTransfer.d.ts +131 -0
  105. package/dist/generated/accounts/pendingOwnershipTransfer.d.ts.map +1 -0
  106. package/dist/generated/accounts/pendingOwnershipTransfer.js +76 -0
  107. package/dist/generated/accounts/pendingOwnershipTransfer.js.map +1 -0
  108. package/dist/generated/accounts/pendingPolicyUpdate.d.ts +200 -4
  109. package/dist/generated/accounts/pendingPolicyUpdate.d.ts.map +1 -1
  110. package/dist/generated/accounts/pendingPolicyUpdate.js +19 -1
  111. package/dist/generated/accounts/pendingPolicyUpdate.js.map +1 -1
  112. package/dist/generated/accounts/policyConfig.d.ts +479 -36
  113. package/dist/generated/accounts/policyConfig.d.ts.map +1 -1
  114. package/dist/generated/accounts/policyConfig.js +30 -3
  115. package/dist/generated/accounts/policyConfig.js.map +1 -1
  116. package/dist/generated/accounts/postExecutionAssertions.d.ts +2 -2
  117. package/dist/generated/accounts/postExecutionAssertions.d.ts.map +1 -1
  118. package/dist/generated/accounts/postExecutionAssertions.js +3 -3
  119. package/dist/generated/accounts/sessionAuthority.d.ts +140 -12
  120. package/dist/generated/accounts/sessionAuthority.d.ts.map +1 -1
  121. package/dist/generated/accounts/sessionAuthority.js +9 -7
  122. package/dist/generated/accounts/sessionAuthority.js.map +1 -1
  123. package/dist/generated/accounts/spendTracker.d.ts +83 -3
  124. package/dist/generated/accounts/spendTracker.d.ts.map +1 -1
  125. package/dist/generated/accounts/spendTracker.js +14 -2
  126. package/dist/generated/accounts/spendTracker.js.map +1 -1
  127. package/dist/generated/errors/sigil.d.ts +129 -83
  128. package/dist/generated/errors/sigil.d.ts.map +1 -1
  129. package/dist/generated/errors/sigil.js +175 -106
  130. package/dist/generated/errors/sigil.js.map +1 -1
  131. package/dist/generated/event-discriminators.d.ts.map +1 -1
  132. package/dist/generated/event-discriminators.js +11 -14
  133. package/dist/generated/event-discriminators.js.map +1 -1
  134. package/dist/generated/instructions/acceptOwnershipTransfer.d.ts +142 -0
  135. package/dist/generated/instructions/acceptOwnershipTransfer.d.ts.map +1 -0
  136. package/dist/generated/instructions/acceptOwnershipTransfer.js +171 -0
  137. package/dist/generated/instructions/acceptOwnershipTransfer.js.map +1 -0
  138. package/dist/generated/instructions/acceptOwnershipTransferMultisig.d.ts +142 -0
  139. package/dist/generated/instructions/acceptOwnershipTransferMultisig.d.ts.map +1 -0
  140. package/dist/generated/instructions/acceptOwnershipTransferMultisig.js +171 -0
  141. package/dist/generated/instructions/acceptOwnershipTransferMultisig.js.map +1 -0
  142. package/dist/generated/instructions/applyAgentGrant.d.ts +100 -0
  143. package/dist/generated/instructions/applyAgentGrant.d.ts.map +1 -0
  144. package/dist/generated/instructions/{applyConstraintsUpdate.js → applyAgentGrant.js} +66 -42
  145. package/dist/generated/instructions/applyAgentGrant.js.map +1 -0
  146. package/dist/generated/instructions/applyAgentPermissionsUpdate.d.ts +31 -8
  147. package/dist/generated/instructions/applyAgentPermissionsUpdate.d.ts.map +1 -1
  148. package/dist/generated/instructions/applyAgentPermissionsUpdate.js +38 -2
  149. package/dist/generated/instructions/applyAgentPermissionsUpdate.js.map +1 -1
  150. package/dist/generated/instructions/applyPendingPolicy.d.ts +18 -7
  151. package/dist/generated/instructions/applyPendingPolicy.d.ts.map +1 -1
  152. package/dist/generated/instructions/applyPendingPolicy.js +38 -2
  153. package/dist/generated/instructions/applyPendingPolicy.js.map +1 -1
  154. package/dist/generated/instructions/cancelAgentGrant.d.ts +106 -0
  155. package/dist/generated/instructions/cancelAgentGrant.d.ts.map +1 -0
  156. package/dist/generated/instructions/{allocatePendingConstraintsPda.js → cancelAgentGrant.js} +54 -42
  157. package/dist/generated/instructions/cancelAgentGrant.js.map +1 -0
  158. package/dist/generated/instructions/cancelOwnershipTransfer.d.ts +121 -0
  159. package/dist/generated/instructions/cancelOwnershipTransfer.d.ts.map +1 -0
  160. package/dist/generated/instructions/{queueCloseConstraints.js → cancelOwnershipTransfer.js} +58 -44
  161. package/dist/generated/instructions/cancelOwnershipTransfer.js.map +1 -0
  162. package/dist/generated/instructions/closePostAssertions.d.ts +6 -1
  163. package/dist/generated/instructions/closePostAssertions.d.ts.map +1 -1
  164. package/dist/generated/instructions/closePostAssertions.js +11 -3
  165. package/dist/generated/instructions/closePostAssertions.js.map +1 -1
  166. package/dist/generated/instructions/closeVault.d.ts +40 -8
  167. package/dist/generated/instructions/closeVault.d.ts.map +1 -1
  168. package/dist/generated/instructions/closeVault.js +40 -2
  169. package/dist/generated/instructions/closeVault.js.map +1 -1
  170. package/dist/generated/instructions/createPostAssertions.d.ts +4 -0
  171. package/dist/generated/instructions/createPostAssertions.d.ts.map +1 -1
  172. package/dist/generated/instructions/createPostAssertions.js +2 -0
  173. package/dist/generated/instructions/createPostAssertions.js.map +1 -1
  174. package/dist/generated/instructions/depositFunds.d.ts +21 -10
  175. package/dist/generated/instructions/depositFunds.d.ts.map +1 -1
  176. package/dist/generated/instructions/depositFunds.js +37 -2
  177. package/dist/generated/instructions/depositFunds.js.map +1 -1
  178. package/dist/generated/instructions/finalizeSession.d.ts +49 -7
  179. package/dist/generated/instructions/finalizeSession.d.ts.map +1 -1
  180. package/dist/generated/instructions/finalizeSession.js +59 -2
  181. package/dist/generated/instructions/finalizeSession.js.map +1 -1
  182. package/dist/generated/instructions/freezeVault.d.ts +36 -5
  183. package/dist/generated/instructions/freezeVault.d.ts.map +1 -1
  184. package/dist/generated/instructions/freezeVault.js +65 -4
  185. package/dist/generated/instructions/freezeVault.js.map +1 -1
  186. package/dist/generated/instructions/index.d.ts +10 -15
  187. package/dist/generated/instructions/index.d.ts.map +1 -1
  188. package/dist/generated/instructions/index.js +10 -15
  189. package/dist/generated/instructions/index.js.map +1 -1
  190. package/dist/generated/instructions/initializeVault.d.ts +79 -9
  191. package/dist/generated/instructions/initializeVault.d.ts.map +1 -1
  192. package/dist/generated/instructions/initializeVault.js +57 -3
  193. package/dist/generated/instructions/initializeVault.js.map +1 -1
  194. package/dist/generated/instructions/initiateOwnershipTransfer.d.ts +106 -0
  195. package/dist/generated/instructions/initiateOwnershipTransfer.d.ts.map +1 -0
  196. package/dist/generated/instructions/initiateOwnershipTransfer.js +181 -0
  197. package/dist/generated/instructions/initiateOwnershipTransfer.js.map +1 -0
  198. package/dist/generated/instructions/pauseAgent.d.ts +49 -5
  199. package/dist/generated/instructions/pauseAgent.d.ts.map +1 -1
  200. package/dist/generated/instructions/pauseAgent.js +80 -5
  201. package/dist/generated/instructions/pauseAgent.js.map +1 -1
  202. package/dist/generated/instructions/promoteGraylistDestination.d.ts +56 -0
  203. package/dist/generated/instructions/promoteGraylistDestination.d.ts.map +1 -0
  204. package/dist/generated/instructions/{createInstructionConstraints.js → promoteGraylistDestination.js} +23 -40
  205. package/dist/generated/instructions/promoteGraylistDestination.js.map +1 -0
  206. package/dist/generated/instructions/queueAgentGrant.d.ts +113 -0
  207. package/dist/generated/instructions/queueAgentGrant.d.ts.map +1 -0
  208. package/dist/generated/instructions/queueAgentGrant.js +181 -0
  209. package/dist/generated/instructions/queueAgentGrant.js.map +1 -0
  210. package/dist/generated/instructions/queueAgentPermissionsUpdate.d.ts +8 -0
  211. package/dist/generated/instructions/queueAgentPermissionsUpdate.d.ts.map +1 -1
  212. package/dist/generated/instructions/queueAgentPermissionsUpdate.js +4 -0
  213. package/dist/generated/instructions/queueAgentPermissionsUpdate.js.map +1 -1
  214. package/dist/generated/instructions/queuePolicyUpdate.d.ts +32 -0
  215. package/dist/generated/instructions/queuePolicyUpdate.d.ts.map +1 -1
  216. package/dist/generated/instructions/queuePolicyUpdate.js +17 -1
  217. package/dist/generated/instructions/queuePolicyUpdate.js.map +1 -1
  218. package/dist/generated/instructions/reactivateVault.d.ts +71 -5
  219. package/dist/generated/instructions/reactivateVault.d.ts.map +1 -1
  220. package/dist/generated/instructions/reactivateVault.js +80 -5
  221. package/dist/generated/instructions/reactivateVault.js.map +1 -1
  222. package/dist/generated/instructions/recordAgentViolation.d.ts +89 -0
  223. package/dist/generated/instructions/recordAgentViolation.d.ts.map +1 -0
  224. package/dist/generated/instructions/recordAgentViolation.js +152 -0
  225. package/dist/generated/instructions/recordAgentViolation.js.map +1 -0
  226. package/dist/generated/instructions/registerAgent.d.ts +84 -6
  227. package/dist/generated/instructions/registerAgent.d.ts.map +1 -1
  228. package/dist/generated/instructions/registerAgent.js +81 -4
  229. package/dist/generated/instructions/registerAgent.js.map +1 -1
  230. package/dist/generated/instructions/revokeAgent.d.ts +49 -6
  231. package/dist/generated/instructions/revokeAgent.d.ts.map +1 -1
  232. package/dist/generated/instructions/revokeAgent.js +81 -4
  233. package/dist/generated/instructions/revokeAgent.js.map +1 -1
  234. package/dist/generated/instructions/setObserveOnly.d.ts +56 -0
  235. package/dist/generated/instructions/setObserveOnly.d.ts.map +1 -0
  236. package/dist/generated/instructions/setObserveOnly.js +111 -0
  237. package/dist/generated/instructions/setObserveOnly.js.map +1 -0
  238. package/dist/generated/instructions/unpauseAgent.d.ts +46 -5
  239. package/dist/generated/instructions/unpauseAgent.d.ts.map +1 -1
  240. package/dist/generated/instructions/unpauseAgent.js +80 -5
  241. package/dist/generated/instructions/unpauseAgent.js.map +1 -1
  242. package/dist/generated/instructions/validateAndAuthorize.d.ts +29 -0
  243. package/dist/generated/instructions/validateAndAuthorize.d.ts.map +1 -1
  244. package/dist/generated/instructions/validateAndAuthorize.js +4 -0
  245. package/dist/generated/instructions/validateAndAuthorize.js.map +1 -1
  246. package/dist/generated/instructions/withdrawFunds.d.ts +53 -11
  247. package/dist/generated/instructions/withdrawFunds.d.ts.map +1 -1
  248. package/dist/generated/instructions/withdrawFunds.js +51 -2
  249. package/dist/generated/instructions/withdrawFunds.js.map +1 -1
  250. package/dist/generated/programs/sigil.d.ts +79 -99
  251. package/dist/generated/programs/sigil.d.ts.map +1 -1
  252. package/dist/generated/programs/sigil.js +139 -199
  253. package/dist/generated/programs/sigil.js.map +1 -1
  254. package/dist/generated/types/actionAuthorized.d.ts +0 -2
  255. package/dist/generated/types/actionAuthorized.d.ts.map +1 -1
  256. package/dist/generated/types/actionAuthorized.js +0 -2
  257. package/dist/generated/types/actionAuthorized.js.map +1 -1
  258. package/dist/generated/types/agentAutoRevoked.d.ts +31 -0
  259. package/dist/generated/types/agentAutoRevoked.d.ts.map +1 -0
  260. package/dist/generated/types/{orphanConstraintsPdaCleaned.js → agentAutoRevoked.js} +12 -8
  261. package/dist/generated/types/agentAutoRevoked.js.map +1 -0
  262. package/dist/generated/types/agentEntry.d.ts +48 -0
  263. package/dist/generated/types/agentEntry.d.ts.map +1 -1
  264. package/dist/generated/types/agentEntry.js +4 -2
  265. package/dist/generated/types/agentEntry.js.map +1 -1
  266. package/dist/generated/types/agentGrantApplied.d.ts +38 -0
  267. package/dist/generated/types/agentGrantApplied.d.ts.map +1 -0
  268. package/dist/generated/types/agentGrantApplied.js +34 -0
  269. package/dist/generated/types/agentGrantApplied.js.map +1 -0
  270. package/dist/generated/types/agentGrantCancelled.d.ts +33 -0
  271. package/dist/generated/types/agentGrantCancelled.d.ts.map +1 -0
  272. package/dist/generated/types/agentGrantCancelled.js +28 -0
  273. package/dist/generated/types/agentGrantCancelled.js.map +1 -0
  274. package/dist/generated/types/agentGrantQueued.d.ts +38 -0
  275. package/dist/generated/types/agentGrantQueued.d.ts.map +1 -0
  276. package/dist/generated/types/agentGrantQueued.js +32 -0
  277. package/dist/generated/types/agentGrantQueued.js.map +1 -0
  278. package/dist/generated/types/auditEntry.d.ts +120 -0
  279. package/dist/generated/types/auditEntry.d.ts.map +1 -0
  280. package/dist/generated/types/auditEntry.js +34 -0
  281. package/dist/generated/types/auditEntry.js.map +1 -0
  282. package/dist/generated/types/destinationGraylistEntry.d.ts +32 -0
  283. package/dist/generated/types/destinationGraylistEntry.d.ts.map +1 -0
  284. package/dist/generated/types/destinationGraylistEntry.js +24 -0
  285. package/dist/generated/types/destinationGraylistEntry.js.map +1 -0
  286. package/dist/generated/types/graylistEntered.d.ts +31 -0
  287. package/dist/generated/types/graylistEntered.d.ts.map +1 -0
  288. package/dist/generated/types/graylistEntered.js +30 -0
  289. package/dist/generated/types/graylistEntered.js.map +1 -0
  290. package/dist/generated/types/graylistPromoted.d.ts +29 -0
  291. package/dist/generated/types/graylistPromoted.d.ts.map +1 -0
  292. package/dist/generated/types/graylistPromoted.js +28 -0
  293. package/dist/generated/types/graylistPromoted.js.map +1 -0
  294. package/dist/generated/types/index.d.ts +13 -22
  295. package/dist/generated/types/index.d.ts.map +1 -1
  296. package/dist/generated/types/index.js +13 -22
  297. package/dist/generated/types/index.js.map +1 -1
  298. package/dist/generated/types/observeOnlyChanged.d.ts +33 -0
  299. package/dist/generated/types/observeOnlyChanged.d.ts.map +1 -0
  300. package/dist/generated/types/observeOnlyChanged.js +32 -0
  301. package/dist/generated/types/observeOnlyChanged.js.map +1 -0
  302. package/dist/generated/types/ownershipTransferAccepted.d.ts +32 -0
  303. package/dist/generated/types/ownershipTransferAccepted.d.ts.map +1 -0
  304. package/dist/generated/types/ownershipTransferAccepted.js +30 -0
  305. package/dist/generated/types/ownershipTransferAccepted.js.map +1 -0
  306. package/dist/generated/types/ownershipTransferCancelled.d.ts +29 -0
  307. package/dist/generated/types/ownershipTransferCancelled.d.ts.map +1 -0
  308. package/dist/generated/types/ownershipTransferCancelled.js +28 -0
  309. package/dist/generated/types/ownershipTransferCancelled.js.map +1 -0
  310. package/dist/generated/types/ownershipTransferInitiated.d.ts +33 -0
  311. package/dist/generated/types/ownershipTransferInitiated.d.ts.map +1 -0
  312. package/dist/generated/types/ownershipTransferInitiated.js +30 -0
  313. package/dist/generated/types/ownershipTransferInitiated.js.map +1 -0
  314. package/dist/generated/types/perRecipientCounter.d.ts +61 -0
  315. package/dist/generated/types/perRecipientCounter.d.ts.map +1 -0
  316. package/dist/generated/types/perRecipientCounter.js +26 -0
  317. package/dist/generated/types/perRecipientCounter.js.map +1 -0
  318. package/dist/generated/types/postAssertionEntry.d.ts +14 -7
  319. package/dist/generated/types/postAssertionEntry.d.ts.map +1 -1
  320. package/dist/generated/types/postAssertionEntry.js +5 -7
  321. package/dist/generated/types/postAssertionEntry.js.map +1 -1
  322. package/dist/generated/types/postAssertionEntryZC.d.ts +53 -22
  323. package/dist/generated/types/postAssertionEntryZC.d.ts.map +1 -1
  324. package/dist/generated/types/postAssertionEntryZC.js +4 -6
  325. package/dist/generated/types/postAssertionEntryZC.js.map +1 -1
  326. package/dist/generated/types/sessionFinalized.d.ts +0 -4
  327. package/dist/generated/types/sessionFinalized.d.ts.map +1 -1
  328. package/dist/generated/types/sessionFinalized.js +0 -2
  329. package/dist/generated/types/sessionFinalized.js.map +1 -1
  330. package/dist/generated/types/vaultFrozen.d.ts +14 -0
  331. package/dist/generated/types/vaultFrozen.d.ts.map +1 -1
  332. package/dist/generated/types/vaultFrozen.js +2 -0
  333. package/dist/generated/types/vaultFrozen.js.map +1 -1
  334. package/dist/index.d.ts +28 -9
  335. package/dist/index.d.ts.map +1 -1
  336. package/dist/index.js +64 -11
  337. package/dist/index.js.map +1 -1
  338. package/dist/inspector.d.ts +0 -23
  339. package/dist/inspector.d.ts.map +1 -1
  340. package/dist/inspector.js +0 -52
  341. package/dist/inspector.js.map +1 -1
  342. package/dist/kit-adapter.d.ts +1 -1
  343. package/dist/kit-adapter.d.ts.map +1 -1
  344. package/dist/kit-adapter.js +1 -1
  345. package/dist/kit-adapter.js.map +1 -1
  346. package/dist/multisig-detection.d.ts +83 -0
  347. package/dist/multisig-detection.d.ts.map +1 -0
  348. package/dist/multisig-detection.js +128 -0
  349. package/dist/multisig-detection.js.map +1 -0
  350. package/dist/ownership-transfer.d.ts +79 -0
  351. package/dist/ownership-transfer.d.ts.map +1 -0
  352. package/dist/ownership-transfer.js +66 -0
  353. package/dist/ownership-transfer.js.map +1 -0
  354. package/dist/policy/compute-cosign-digest.d.ts +193 -0
  355. package/dist/policy/compute-cosign-digest.d.ts.map +1 -0
  356. package/dist/policy/compute-cosign-digest.js +318 -0
  357. package/dist/policy/compute-cosign-digest.js.map +1 -0
  358. package/dist/policy/compute-policy-preview-digest.d.ts +258 -0
  359. package/dist/policy/compute-policy-preview-digest.d.ts.map +1 -0
  360. package/dist/policy/compute-policy-preview-digest.js +351 -0
  361. package/dist/policy/compute-policy-preview-digest.js.map +1 -0
  362. package/dist/policy-attestation.d.ts +51 -0
  363. package/dist/policy-attestation.d.ts.map +1 -0
  364. package/dist/policy-attestation.js +43 -0
  365. package/dist/policy-attestation.js.map +1 -0
  366. package/dist/preview-create-vault.d.ts.map +1 -1
  367. package/dist/preview-create-vault.js +37 -16
  368. package/dist/preview-create-vault.js.map +1 -1
  369. package/dist/resolve-accounts.d.ts +75 -10
  370. package/dist/resolve-accounts.d.ts.map +1 -1
  371. package/dist/resolve-accounts.js +68 -32
  372. package/dist/resolve-accounts.js.map +1 -1
  373. package/dist/rpc-helpers.d.ts +29 -3
  374. package/dist/rpc-helpers.d.ts.map +1 -1
  375. package/dist/rpc-helpers.js +51 -12
  376. package/dist/rpc-helpers.js.map +1 -1
  377. package/dist/seal/intent-digest.d.ts +195 -0
  378. package/dist/seal/intent-digest.d.ts.map +1 -0
  379. package/dist/seal/intent-digest.js +372 -0
  380. package/dist/seal/intent-digest.js.map +1 -0
  381. package/dist/seal.d.ts +166 -3
  382. package/dist/seal.d.ts.map +1 -1
  383. package/dist/seal.js +428 -32
  384. package/dist/seal.js.map +1 -1
  385. package/dist/security-analytics.d.ts +3 -3
  386. package/dist/security-analytics.d.ts.map +1 -1
  387. package/dist/security-analytics.js +13 -128
  388. package/dist/security-analytics.js.map +1 -1
  389. package/dist/session-mint.d.ts +72 -0
  390. package/dist/session-mint.d.ts.map +1 -0
  391. package/dist/session-mint.js +59 -0
  392. package/dist/session-mint.js.map +1 -0
  393. package/dist/simulation.d.ts +19 -0
  394. package/dist/simulation.d.ts.map +1 -1
  395. package/dist/simulation.js +187 -95
  396. package/dist/simulation.js.map +1 -1
  397. package/dist/squads-detection.d.ts +135 -0
  398. package/dist/squads-detection.d.ts.map +1 -0
  399. package/dist/squads-detection.js +124 -0
  400. package/dist/squads-detection.js.map +1 -0
  401. package/dist/state-resolver.d.ts +0 -16
  402. package/dist/state-resolver.d.ts.map +1 -1
  403. package/dist/state-resolver.js +162 -97
  404. package/dist/state-resolver.js.map +1 -1
  405. package/dist/testing/devnet.d.ts +40 -1
  406. package/dist/testing/devnet.d.ts.map +1 -1
  407. package/dist/testing/devnet.js +333 -44
  408. package/dist/testing/devnet.js.map +1 -1
  409. package/dist/testing/errors/expect.d.ts +1 -1
  410. package/dist/testing/errors/expect.js +1 -1
  411. package/dist/testing/errors/names.generated.d.ts +81 -58
  412. package/dist/testing/errors/names.generated.d.ts.map +1 -1
  413. package/dist/testing/errors/names.generated.js +82 -59
  414. package/dist/testing/errors/names.generated.js.map +1 -1
  415. package/dist/testing/mock-rpc.d.ts +8 -0
  416. package/dist/testing/mock-rpc.d.ts.map +1 -1
  417. package/dist/testing/mock-rpc.js +13 -0
  418. package/dist/testing/mock-rpc.js.map +1 -1
  419. package/dist/testing/mock-state.d.ts +2 -0
  420. package/dist/testing/mock-state.d.ts.map +1 -1
  421. package/dist/testing/mock-state.js +43 -4
  422. package/dist/testing/mock-state.js.map +1 -1
  423. package/dist/types.d.ts +5 -15
  424. package/dist/types.d.ts.map +1 -1
  425. package/dist/types.js +11 -69
  426. package/dist/types.js.map +1 -1
  427. package/dist/vault-analytics.d.ts +0 -2
  428. package/dist/vault-analytics.d.ts.map +1 -1
  429. package/dist/vault-analytics.js +1 -9
  430. package/dist/vault-analytics.js.map +1 -1
  431. package/package.json +7 -12
  432. package/dist/constraints/index.d.ts +0 -23
  433. package/dist/constraints/index.d.ts.map +0 -1
  434. package/dist/constraints/index.js +0 -24
  435. package/dist/constraints/index.js.map +0 -1
  436. package/dist/dashboard/constraint-builders.d.ts +0 -82
  437. package/dist/dashboard/constraint-builders.d.ts.map +0 -1
  438. package/dist/dashboard/constraint-builders.js +0 -204
  439. package/dist/dashboard/constraint-builders.js.map +0 -1
  440. package/dist/dashboard/constraint-reads.d.ts +0 -50
  441. package/dist/dashboard/constraint-reads.d.ts.map +0 -1
  442. package/dist/dashboard/constraint-reads.js +0 -119
  443. package/dist/dashboard/constraint-reads.js.map +0 -1
  444. package/dist/generated/accounts/escrowDeposit.d.ts +0 -50
  445. package/dist/generated/accounts/escrowDeposit.d.ts.map +0 -1
  446. package/dist/generated/accounts/escrowDeposit.js +0 -76
  447. package/dist/generated/accounts/escrowDeposit.js.map +0 -1
  448. package/dist/generated/accounts/instructionConstraints.d.ts +0 -46
  449. package/dist/generated/accounts/instructionConstraints.d.ts.map +0 -1
  450. package/dist/generated/accounts/instructionConstraints.js +0 -73
  451. package/dist/generated/accounts/instructionConstraints.js.map +0 -1
  452. package/dist/generated/accounts/pendingCloseConstraints.d.ts +0 -49
  453. package/dist/generated/accounts/pendingCloseConstraints.d.ts.map +0 -1
  454. package/dist/generated/accounts/pendingCloseConstraints.js +0 -68
  455. package/dist/generated/accounts/pendingCloseConstraints.js.map +0 -1
  456. package/dist/generated/accounts/pendingConstraintsUpdate.d.ts +0 -76
  457. package/dist/generated/accounts/pendingConstraintsUpdate.d.ts.map +0 -1
  458. package/dist/generated/accounts/pendingConstraintsUpdate.js +0 -77
  459. package/dist/generated/accounts/pendingConstraintsUpdate.js.map +0 -1
  460. package/dist/generated/instructions/allocateConstraintsPda.d.ts +0 -62
  461. package/dist/generated/instructions/allocateConstraintsPda.d.ts.map +0 -1
  462. package/dist/generated/instructions/allocateConstraintsPda.js +0 -134
  463. package/dist/generated/instructions/allocateConstraintsPda.js.map +0 -1
  464. package/dist/generated/instructions/allocatePendingConstraintsPda.d.ts +0 -66
  465. package/dist/generated/instructions/allocatePendingConstraintsPda.d.ts.map +0 -1
  466. package/dist/generated/instructions/allocatePendingConstraintsPda.js.map +0 -1
  467. package/dist/generated/instructions/applyCloseConstraints.d.ts +0 -59
  468. package/dist/generated/instructions/applyCloseConstraints.d.ts.map +0 -1
  469. package/dist/generated/instructions/applyCloseConstraints.js +0 -143
  470. package/dist/generated/instructions/applyCloseConstraints.js.map +0 -1
  471. package/dist/generated/instructions/applyConstraintsUpdate.d.ts +0 -62
  472. package/dist/generated/instructions/applyConstraintsUpdate.d.ts.map +0 -1
  473. package/dist/generated/instructions/applyConstraintsUpdate.js.map +0 -1
  474. package/dist/generated/instructions/cancelCloseConstraints.d.ts +0 -51
  475. package/dist/generated/instructions/cancelCloseConstraints.d.ts.map +0 -1
  476. package/dist/generated/instructions/cancelCloseConstraints.js +0 -115
  477. package/dist/generated/instructions/cancelCloseConstraints.js.map +0 -1
  478. package/dist/generated/instructions/cancelConstraintsUpdate.d.ts +0 -51
  479. package/dist/generated/instructions/cancelConstraintsUpdate.d.ts.map +0 -1
  480. package/dist/generated/instructions/cancelConstraintsUpdate.js +0 -115
  481. package/dist/generated/instructions/cancelConstraintsUpdate.js.map +0 -1
  482. package/dist/generated/instructions/cleanupOrphanConstraintsPda.d.ts +0 -67
  483. package/dist/generated/instructions/cleanupOrphanConstraintsPda.d.ts.map +0 -1
  484. package/dist/generated/instructions/cleanupOrphanConstraintsPda.js +0 -120
  485. package/dist/generated/instructions/cleanupOrphanConstraintsPda.js.map +0 -1
  486. package/dist/generated/instructions/closeSettledEscrow.d.ts +0 -72
  487. package/dist/generated/instructions/closeSettledEscrow.d.ts.map +0 -1
  488. package/dist/generated/instructions/closeSettledEscrow.js +0 -127
  489. package/dist/generated/instructions/closeSettledEscrow.js.map +0 -1
  490. package/dist/generated/instructions/createEscrow.d.ts +0 -131
  491. package/dist/generated/instructions/createEscrow.d.ts.map +0 -1
  492. package/dist/generated/instructions/createEscrow.js +0 -272
  493. package/dist/generated/instructions/createEscrow.js.map +0 -1
  494. package/dist/generated/instructions/createInstructionConstraints.d.ts +0 -68
  495. package/dist/generated/instructions/createInstructionConstraints.d.ts.map +0 -1
  496. package/dist/generated/instructions/createInstructionConstraints.js.map +0 -1
  497. package/dist/generated/instructions/extendPda.d.ts +0 -52
  498. package/dist/generated/instructions/extendPda.d.ts.map +0 -1
  499. package/dist/generated/instructions/extendPda.js +0 -86
  500. package/dist/generated/instructions/extendPda.js.map +0 -1
  501. package/dist/generated/instructions/queueCloseConstraints.d.ts +0 -66
  502. package/dist/generated/instructions/queueCloseConstraints.d.ts.map +0 -1
  503. package/dist/generated/instructions/queueCloseConstraints.js.map +0 -1
  504. package/dist/generated/instructions/queueConstraintsUpdate.d.ts +0 -75
  505. package/dist/generated/instructions/queueConstraintsUpdate.d.ts.map +0 -1
  506. package/dist/generated/instructions/queueConstraintsUpdate.js +0 -154
  507. package/dist/generated/instructions/queueConstraintsUpdate.js.map +0 -1
  508. package/dist/generated/instructions/refundEscrow.d.ts +0 -74
  509. package/dist/generated/instructions/refundEscrow.d.ts.map +0 -1
  510. package/dist/generated/instructions/refundEscrow.js +0 -142
  511. package/dist/generated/instructions/refundEscrow.js.map +0 -1
  512. package/dist/generated/instructions/settleEscrow.d.ts +0 -80
  513. package/dist/generated/instructions/settleEscrow.d.ts.map +0 -1
  514. package/dist/generated/instructions/settleEscrow.js +0 -173
  515. package/dist/generated/instructions/settleEscrow.js.map +0 -1
  516. package/dist/generated/types/accountConstraint.d.ts +0 -33
  517. package/dist/generated/types/accountConstraint.d.ts.map +0 -1
  518. package/dist/generated/types/accountConstraint.js +0 -26
  519. package/dist/generated/types/accountConstraint.js.map +0 -1
  520. package/dist/generated/types/accountConstraintZC.d.ts +0 -25
  521. package/dist/generated/types/accountConstraintZC.d.ts.map +0 -1
  522. package/dist/generated/types/accountConstraintZC.js +0 -28
  523. package/dist/generated/types/accountConstraintZC.js.map +0 -1
  524. package/dist/generated/types/closeConstraintsApplied.d.ts +0 -20
  525. package/dist/generated/types/closeConstraintsApplied.d.ts.map +0 -1
  526. package/dist/generated/types/closeConstraintsApplied.js +0 -24
  527. package/dist/generated/types/closeConstraintsApplied.js.map +0 -1
  528. package/dist/generated/types/closeConstraintsCancelled.d.ts +0 -16
  529. package/dist/generated/types/closeConstraintsCancelled.d.ts.map +0 -1
  530. package/dist/generated/types/closeConstraintsCancelled.js +0 -18
  531. package/dist/generated/types/closeConstraintsCancelled.js.map +0 -1
  532. package/dist/generated/types/closeConstraintsQueued.d.ts +0 -20
  533. package/dist/generated/types/closeConstraintsQueued.d.ts.map +0 -1
  534. package/dist/generated/types/closeConstraintsQueued.js +0 -24
  535. package/dist/generated/types/closeConstraintsQueued.js.map +0 -1
  536. package/dist/generated/types/constraintEntry.d.ts +0 -35
  537. package/dist/generated/types/constraintEntry.d.ts.map +0 -1
  538. package/dist/generated/types/constraintEntry.js +0 -29
  539. package/dist/generated/types/constraintEntry.js.map +0 -1
  540. package/dist/generated/types/constraintEntryZC.d.ts +0 -73
  541. package/dist/generated/types/constraintEntryZC.d.ts.map +0 -1
  542. package/dist/generated/types/constraintEntryZC.js +0 -49
  543. package/dist/generated/types/constraintEntryZC.js.map +0 -1
  544. package/dist/generated/types/constraintOperator.d.ts +0 -22
  545. package/dist/generated/types/constraintOperator.d.ts.map +0 -1
  546. package/dist/generated/types/constraintOperator.js +0 -28
  547. package/dist/generated/types/constraintOperator.js.map +0 -1
  548. package/dist/generated/types/constraintsChangeApplied.d.ts +0 -30
  549. package/dist/generated/types/constraintsChangeApplied.d.ts.map +0 -1
  550. package/dist/generated/types/constraintsChangeApplied.js +0 -32
  551. package/dist/generated/types/constraintsChangeApplied.js.map +0 -1
  552. package/dist/generated/types/constraintsChangeCancelled.d.ts +0 -16
  553. package/dist/generated/types/constraintsChangeCancelled.d.ts.map +0 -1
  554. package/dist/generated/types/constraintsChangeCancelled.js +0 -18
  555. package/dist/generated/types/constraintsChangeCancelled.js.map +0 -1
  556. package/dist/generated/types/constraintsChangeQueued.d.ts +0 -30
  557. package/dist/generated/types/constraintsChangeQueued.d.ts.map +0 -1
  558. package/dist/generated/types/constraintsChangeQueued.js +0 -32
  559. package/dist/generated/types/constraintsChangeQueued.js.map +0 -1
  560. package/dist/generated/types/dataConstraint.d.ts +0 -23
  561. package/dist/generated/types/dataConstraint.d.ts.map +0 -1
  562. package/dist/generated/types/dataConstraint.js +0 -27
  563. package/dist/generated/types/dataConstraint.js.map +0 -1
  564. package/dist/generated/types/dataConstraintZC.d.ts +0 -20
  565. package/dist/generated/types/dataConstraintZC.d.ts.map +0 -1
  566. package/dist/generated/types/dataConstraintZC.js +0 -30
  567. package/dist/generated/types/dataConstraintZC.js.map +0 -1
  568. package/dist/generated/types/discriminatorFormat.d.ts +0 -25
  569. package/dist/generated/types/discriminatorFormat.d.ts.map +0 -1
  570. package/dist/generated/types/discriminatorFormat.js +0 -31
  571. package/dist/generated/types/discriminatorFormat.js.map +0 -1
  572. package/dist/generated/types/escrowCreated.d.ts +0 -30
  573. package/dist/generated/types/escrowCreated.d.ts.map +0 -1
  574. package/dist/generated/types/escrowCreated.js +0 -34
  575. package/dist/generated/types/escrowCreated.js.map +0 -1
  576. package/dist/generated/types/escrowRefunded.d.ts +0 -26
  577. package/dist/generated/types/escrowRefunded.d.ts.map +0 -1
  578. package/dist/generated/types/escrowRefunded.js +0 -30
  579. package/dist/generated/types/escrowRefunded.js.map +0 -1
  580. package/dist/generated/types/escrowSettled.d.ts +0 -26
  581. package/dist/generated/types/escrowSettled.d.ts.map +0 -1
  582. package/dist/generated/types/escrowSettled.js +0 -30
  583. package/dist/generated/types/escrowSettled.js.map +0 -1
  584. package/dist/generated/types/escrowStatus.d.ts +0 -18
  585. package/dist/generated/types/escrowStatus.d.ts.map +0 -1
  586. package/dist/generated/types/escrowStatus.js +0 -24
  587. package/dist/generated/types/escrowStatus.js.map +0 -1
  588. package/dist/generated/types/instructionConstraintsCreated.d.ts +0 -34
  589. package/dist/generated/types/instructionConstraintsCreated.d.ts.map +0 -1
  590. package/dist/generated/types/instructionConstraintsCreated.js +0 -36
  591. package/dist/generated/types/instructionConstraintsCreated.js.map +0 -1
  592. package/dist/generated/types/orphanConstraintsPdaCleaned.d.ts +0 -22
  593. package/dist/generated/types/orphanConstraintsPdaCleaned.d.ts.map +0 -1
  594. package/dist/generated/types/orphanConstraintsPdaCleaned.js.map +0 -1
  595. package/dist/generated/types/pdaAllocated.d.ts +0 -24
  596. package/dist/generated/types/pdaAllocated.d.ts.map +0 -1
  597. package/dist/generated/types/pdaAllocated.js +0 -28
  598. package/dist/generated/types/pdaAllocated.js.map +0 -1
  599. package/dist/generated/types/pdaExtended.d.ts +0 -24
  600. package/dist/generated/types/pdaExtended.d.ts.map +0 -1
  601. package/dist/generated/types/pdaExtended.js +0 -28
  602. package/dist/generated/types/pdaExtended.js.map +0 -1
  603. package/dist/post-assertions/cross-field-lte.d.ts +0 -134
  604. package/dist/post-assertions/cross-field-lte.d.ts.map +0 -1
  605. package/dist/post-assertions/cross-field-lte.js +0 -129
  606. package/dist/post-assertions/cross-field-lte.js.map +0 -1
  607. package/dist/post-assertions/index.d.ts +0 -28
  608. package/dist/post-assertions/index.d.ts.map +0 -1
  609. package/dist/post-assertions/index.js +0 -28
  610. package/dist/post-assertions/index.js.map +0 -1
  611. package/dist/post-assertions/presets/flash-trade.d.ts +0 -139
  612. package/dist/post-assertions/presets/flash-trade.d.ts.map +0 -1
  613. package/dist/post-assertions/presets/flash-trade.js +0 -154
  614. package/dist/post-assertions/presets/flash-trade.js.map +0 -1
  615. package/dist/protocol-registry/annotations/drift.json +0 -7
  616. package/dist/protocol-registry/annotations/flash-trade.json +0 -7
  617. package/dist/protocol-registry/annotations/jupiter-borrow.json +0 -7
  618. package/dist/protocol-registry/annotations/jupiter-earn.json +0 -7
  619. package/dist/protocol-registry/annotations/jupiter-lend.json +0 -7
  620. package/dist/protocol-registry/annotations/jupiter.json +0 -7
  621. package/dist/protocol-registry/annotations/kamino.json +0 -7
  622. package/dist/protocol-registry/index.d.ts +0 -45
  623. package/dist/protocol-registry/index.d.ts.map +0 -1
  624. package/dist/protocol-registry/index.js +0 -76
  625. package/dist/protocol-registry/index.js.map +0 -1
  626. package/dist/protocol-tier.d.ts +0 -157
  627. package/dist/protocol-tier.d.ts.map +0 -1
  628. package/dist/protocol-tier.js +0 -104
  629. package/dist/protocol-tier.js.map +0 -1
@@ -7,18 +7,18 @@
7
7
  */
8
8
  import { assertIsInstructionWithAccounts, containsBytes, fixEncoderSize, getBytesEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_ACCOUNT, SOLANA_ERROR__PROGRAM_CLIENTS__FAILED_TO_IDENTIFY_INSTRUCTION, SOLANA_ERROR__PROGRAM_CLIENTS__UNRECOGNIZED_INSTRUCTION_TYPE, SolanaError, } from "@solana/kit";
9
9
  import { addSelfFetchFunctions, addSelfPlanAndSendFunctions, } from "@solana/program-client-core";
10
- import { getAgentSpendOverlayCodec, getAgentVaultCodec, getEscrowDepositCodec, getInstructionConstraintsCodec, getPendingAgentPermissionsUpdateCodec, getPendingCloseConstraintsCodec, getPendingConstraintsUpdateCodec, getPendingPolicyUpdateCodec, getPolicyConfigCodec, getPostExecutionAssertionsCodec, getSessionAuthorityCodec, getSpendTrackerCodec, } from "../accounts/index.js";
11
- import { getAgentTransferInstructionAsync, getAllocateConstraintsPdaInstructionAsync, getAllocatePendingConstraintsPdaInstructionAsync, getApplyAgentPermissionsUpdateInstructionAsync, getApplyCloseConstraintsInstructionAsync, getApplyConstraintsUpdateInstructionAsync, getApplyPendingPolicyInstructionAsync, getCancelAgentPermissionsUpdateInstruction, getCancelCloseConstraintsInstructionAsync, getCancelConstraintsUpdateInstructionAsync, getCancelPendingPolicyInstructionAsync, getCleanupOrphanConstraintsPdaInstructionAsync, getClosePostAssertionsInstructionAsync, getCloseSettledEscrowInstructionAsync, getCloseVaultInstructionAsync, getCreateEscrowInstructionAsync, getCreateInstructionConstraintsInstructionAsync, getCreatePostAssertionsInstructionAsync, getDepositFundsInstructionAsync, getExtendPdaInstruction, getFinalizeSessionInstructionAsync, getFreezeVaultInstruction, getInitializeVaultInstructionAsync, getPauseAgentInstruction, getQueueAgentPermissionsUpdateInstructionAsync, getQueueCloseConstraintsInstructionAsync, getQueueConstraintsUpdateInstructionAsync, getQueuePolicyUpdateInstructionAsync, getReactivateVaultInstruction, getRefundEscrowInstructionAsync, getRegisterAgentInstruction, getRevokeAgentInstruction, getSettleEscrowInstructionAsync, getUnpauseAgentInstruction, getValidateAndAuthorizeInstructionAsync, getWithdrawFundsInstructionAsync, parseAgentTransferInstruction, parseAllocateConstraintsPdaInstruction, parseAllocatePendingConstraintsPdaInstruction, parseApplyAgentPermissionsUpdateInstruction, parseApplyCloseConstraintsInstruction, parseApplyConstraintsUpdateInstruction, parseApplyPendingPolicyInstruction, parseCancelAgentPermissionsUpdateInstruction, parseCancelCloseConstraintsInstruction, parseCancelConstraintsUpdateInstruction, parseCancelPendingPolicyInstruction, parseCleanupOrphanConstraintsPdaInstruction, parseClosePostAssertionsInstruction, parseCloseSettledEscrowInstruction, parseCloseVaultInstruction, parseCreateEscrowInstruction, parseCreateInstructionConstraintsInstruction, parseCreatePostAssertionsInstruction, parseDepositFundsInstruction, parseExtendPdaInstruction, parseFinalizeSessionInstruction, parseFreezeVaultInstruction, parseInitializeVaultInstruction, parsePauseAgentInstruction, parseQueueAgentPermissionsUpdateInstruction, parseQueueCloseConstraintsInstruction, parseQueueConstraintsUpdateInstruction, parseQueuePolicyUpdateInstruction, parseReactivateVaultInstruction, parseRefundEscrowInstruction, parseRegisterAgentInstruction, parseRevokeAgentInstruction, parseSettleEscrowInstruction, parseUnpauseAgentInstruction, parseValidateAndAuthorizeInstruction, parseWithdrawFundsInstruction, } from "../instructions/index.js";
12
- export const SIGIL_PROGRAM_ADDRESS = "4ZeVCqnjUgUtFrHHPG7jELUxvJeoVGHhGNgPrhBPwrHL";
10
+ import { getAgentSpendOverlayCodec, getAgentVaultCodec, getAuditLogRejectedCodec, getAuditLogSuccessCodec, getPendingAgentGrantCodec, getPendingAgentPermissionsUpdateCodec, getPendingOwnershipTransferCodec, getPendingPolicyUpdateCodec, getPolicyConfigCodec, getPostExecutionAssertionsCodec, getSessionAuthorityCodec, getSpendTrackerCodec, } from "../accounts/index.js";
11
+ import { getAcceptOwnershipTransferInstructionAsync, getAcceptOwnershipTransferMultisigInstructionAsync, getAgentTransferInstructionAsync, getApplyAgentGrantInstructionAsync, getApplyAgentPermissionsUpdateInstructionAsync, getApplyPendingPolicyInstructionAsync, getCancelAgentGrantInstructionAsync, getCancelAgentPermissionsUpdateInstruction, getCancelOwnershipTransferInstructionAsync, getCancelPendingPolicyInstructionAsync, getClosePostAssertionsInstructionAsync, getCloseVaultInstructionAsync, getCreatePostAssertionsInstructionAsync, getDepositFundsInstructionAsync, getFinalizeSessionInstructionAsync, getFreezeVaultInstructionAsync, getInitializeVaultInstructionAsync, getInitiateOwnershipTransferInstructionAsync, getPauseAgentInstructionAsync, getPromoteGraylistDestinationInstructionAsync, getQueueAgentGrantInstructionAsync, getQueueAgentPermissionsUpdateInstructionAsync, getQueuePolicyUpdateInstructionAsync, getReactivateVaultInstructionAsync, getRecordAgentViolationInstructionAsync, getRegisterAgentInstructionAsync, getRevokeAgentInstructionAsync, getSetObserveOnlyInstructionAsync, getUnpauseAgentInstructionAsync, getValidateAndAuthorizeInstructionAsync, getWithdrawFundsInstructionAsync, parseAcceptOwnershipTransferInstruction, parseAcceptOwnershipTransferMultisigInstruction, parseAgentTransferInstruction, parseApplyAgentGrantInstruction, parseApplyAgentPermissionsUpdateInstruction, parseApplyPendingPolicyInstruction, parseCancelAgentGrantInstruction, parseCancelAgentPermissionsUpdateInstruction, parseCancelOwnershipTransferInstruction, parseCancelPendingPolicyInstruction, parseClosePostAssertionsInstruction, parseCloseVaultInstruction, parseCreatePostAssertionsInstruction, parseDepositFundsInstruction, parseFinalizeSessionInstruction, parseFreezeVaultInstruction, parseInitializeVaultInstruction, parseInitiateOwnershipTransferInstruction, parsePauseAgentInstruction, parsePromoteGraylistDestinationInstruction, parseQueueAgentGrantInstruction, parseQueueAgentPermissionsUpdateInstruction, parseQueuePolicyUpdateInstruction, parseReactivateVaultInstruction, parseRecordAgentViolationInstruction, parseRegisterAgentInstruction, parseRevokeAgentInstruction, parseSetObserveOnlyInstruction, parseUnpauseAgentInstruction, parseValidateAndAuthorizeInstruction, parseWithdrawFundsInstruction, } from "../instructions/index.js";
12
+ export const SIGIL_PROGRAM_ADDRESS = "7FtAXUcrann7P5HoLG7vnWcVpozwj9nqcNm6bPwA1wuK";
13
13
  export var SigilAccount;
14
14
  (function (SigilAccount) {
15
15
  SigilAccount[SigilAccount["AgentSpendOverlay"] = 0] = "AgentSpendOverlay";
16
16
  SigilAccount[SigilAccount["AgentVault"] = 1] = "AgentVault";
17
- SigilAccount[SigilAccount["EscrowDeposit"] = 2] = "EscrowDeposit";
18
- SigilAccount[SigilAccount["InstructionConstraints"] = 3] = "InstructionConstraints";
19
- SigilAccount[SigilAccount["PendingAgentPermissionsUpdate"] = 4] = "PendingAgentPermissionsUpdate";
20
- SigilAccount[SigilAccount["PendingCloseConstraints"] = 5] = "PendingCloseConstraints";
21
- SigilAccount[SigilAccount["PendingConstraintsUpdate"] = 6] = "PendingConstraintsUpdate";
17
+ SigilAccount[SigilAccount["AuditLogRejected"] = 2] = "AuditLogRejected";
18
+ SigilAccount[SigilAccount["AuditLogSuccess"] = 3] = "AuditLogSuccess";
19
+ SigilAccount[SigilAccount["PendingAgentGrant"] = 4] = "PendingAgentGrant";
20
+ SigilAccount[SigilAccount["PendingAgentPermissionsUpdate"] = 5] = "PendingAgentPermissionsUpdate";
21
+ SigilAccount[SigilAccount["PendingOwnershipTransfer"] = 6] = "PendingOwnershipTransfer";
22
22
  SigilAccount[SigilAccount["PendingPolicyUpdate"] = 7] = "PendingPolicyUpdate";
23
23
  SigilAccount[SigilAccount["PolicyConfig"] = 8] = "PolicyConfig";
24
24
  SigilAccount[SigilAccount["PostExecutionAssertions"] = 9] = "PostExecutionAssertions";
@@ -33,20 +33,20 @@ export function identifySigilAccount(account) {
33
33
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([232, 220, 237, 164, 157, 9, 215, 194])), 0)) {
34
34
  return SigilAccount.AgentVault;
35
35
  }
36
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([56, 152, 208, 160, 159, 83, 6, 17])), 0)) {
37
- return SigilAccount.EscrowDeposit;
36
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([211, 117, 26, 31, 160, 74, 242, 204])), 0)) {
37
+ return SigilAccount.AuditLogRejected;
38
38
  }
39
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([183, 235, 149, 166, 174, 58, 98, 218])), 0)) {
40
- return SigilAccount.InstructionConstraints;
39
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([225, 112, 129, 30, 0, 111, 84, 75])), 0)) {
40
+ return SigilAccount.AuditLogSuccess;
41
+ }
42
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([164, 188, 119, 39, 18, 133, 78, 66])), 0)) {
43
+ return SigilAccount.PendingAgentGrant;
41
44
  }
42
45
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([137, 132, 60, 184, 171, 184, 194, 56])), 0)) {
43
46
  return SigilAccount.PendingAgentPermissionsUpdate;
44
47
  }
45
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([128, 154, 58, 181, 85, 163, 243, 233])), 0)) {
46
- return SigilAccount.PendingCloseConstraints;
47
- }
48
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([22, 206, 77, 208, 147, 121, 53, 174])), 0)) {
49
- return SigilAccount.PendingConstraintsUpdate;
48
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([205, 223, 35, 217, 245, 217, 152, 38])), 0)) {
49
+ return SigilAccount.PendingOwnershipTransfer;
50
50
  }
51
51
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([77, 255, 2, 51, 79, 237, 183, 239])), 0)) {
52
52
  return SigilAccount.PendingPolicyUpdate;
@@ -67,105 +67,82 @@ export function identifySigilAccount(account) {
67
67
  }
68
68
  export var SigilInstruction;
69
69
  (function (SigilInstruction) {
70
- SigilInstruction[SigilInstruction["AgentTransfer"] = 0] = "AgentTransfer";
71
- SigilInstruction[SigilInstruction["AllocateConstraintsPda"] = 1] = "AllocateConstraintsPda";
72
- SigilInstruction[SigilInstruction["AllocatePendingConstraintsPda"] = 2] = "AllocatePendingConstraintsPda";
73
- SigilInstruction[SigilInstruction["ApplyAgentPermissionsUpdate"] = 3] = "ApplyAgentPermissionsUpdate";
74
- SigilInstruction[SigilInstruction["ApplyCloseConstraints"] = 4] = "ApplyCloseConstraints";
75
- SigilInstruction[SigilInstruction["ApplyConstraintsUpdate"] = 5] = "ApplyConstraintsUpdate";
76
- SigilInstruction[SigilInstruction["ApplyPendingPolicy"] = 6] = "ApplyPendingPolicy";
70
+ SigilInstruction[SigilInstruction["AcceptOwnershipTransfer"] = 0] = "AcceptOwnershipTransfer";
71
+ SigilInstruction[SigilInstruction["AcceptOwnershipTransferMultisig"] = 1] = "AcceptOwnershipTransferMultisig";
72
+ SigilInstruction[SigilInstruction["AgentTransfer"] = 2] = "AgentTransfer";
73
+ SigilInstruction[SigilInstruction["ApplyAgentGrant"] = 3] = "ApplyAgentGrant";
74
+ SigilInstruction[SigilInstruction["ApplyAgentPermissionsUpdate"] = 4] = "ApplyAgentPermissionsUpdate";
75
+ SigilInstruction[SigilInstruction["ApplyPendingPolicy"] = 5] = "ApplyPendingPolicy";
76
+ SigilInstruction[SigilInstruction["CancelAgentGrant"] = 6] = "CancelAgentGrant";
77
77
  SigilInstruction[SigilInstruction["CancelAgentPermissionsUpdate"] = 7] = "CancelAgentPermissionsUpdate";
78
- SigilInstruction[SigilInstruction["CancelCloseConstraints"] = 8] = "CancelCloseConstraints";
79
- SigilInstruction[SigilInstruction["CancelConstraintsUpdate"] = 9] = "CancelConstraintsUpdate";
80
- SigilInstruction[SigilInstruction["CancelPendingPolicy"] = 10] = "CancelPendingPolicy";
81
- SigilInstruction[SigilInstruction["CleanupOrphanConstraintsPda"] = 11] = "CleanupOrphanConstraintsPda";
82
- SigilInstruction[SigilInstruction["ClosePostAssertions"] = 12] = "ClosePostAssertions";
83
- SigilInstruction[SigilInstruction["CloseSettledEscrow"] = 13] = "CloseSettledEscrow";
84
- SigilInstruction[SigilInstruction["CloseVault"] = 14] = "CloseVault";
85
- SigilInstruction[SigilInstruction["CreateEscrow"] = 15] = "CreateEscrow";
86
- SigilInstruction[SigilInstruction["CreateInstructionConstraints"] = 16] = "CreateInstructionConstraints";
87
- SigilInstruction[SigilInstruction["CreatePostAssertions"] = 17] = "CreatePostAssertions";
88
- SigilInstruction[SigilInstruction["DepositFunds"] = 18] = "DepositFunds";
89
- SigilInstruction[SigilInstruction["ExtendPda"] = 19] = "ExtendPda";
90
- SigilInstruction[SigilInstruction["FinalizeSession"] = 20] = "FinalizeSession";
91
- SigilInstruction[SigilInstruction["FreezeVault"] = 21] = "FreezeVault";
92
- SigilInstruction[SigilInstruction["InitializeVault"] = 22] = "InitializeVault";
93
- SigilInstruction[SigilInstruction["PauseAgent"] = 23] = "PauseAgent";
94
- SigilInstruction[SigilInstruction["QueueAgentPermissionsUpdate"] = 24] = "QueueAgentPermissionsUpdate";
95
- SigilInstruction[SigilInstruction["QueueCloseConstraints"] = 25] = "QueueCloseConstraints";
96
- SigilInstruction[SigilInstruction["QueueConstraintsUpdate"] = 26] = "QueueConstraintsUpdate";
97
- SigilInstruction[SigilInstruction["QueuePolicyUpdate"] = 27] = "QueuePolicyUpdate";
98
- SigilInstruction[SigilInstruction["ReactivateVault"] = 28] = "ReactivateVault";
99
- SigilInstruction[SigilInstruction["RefundEscrow"] = 29] = "RefundEscrow";
100
- SigilInstruction[SigilInstruction["RegisterAgent"] = 30] = "RegisterAgent";
101
- SigilInstruction[SigilInstruction["RevokeAgent"] = 31] = "RevokeAgent";
102
- SigilInstruction[SigilInstruction["SettleEscrow"] = 32] = "SettleEscrow";
103
- SigilInstruction[SigilInstruction["UnpauseAgent"] = 33] = "UnpauseAgent";
104
- SigilInstruction[SigilInstruction["ValidateAndAuthorize"] = 34] = "ValidateAndAuthorize";
105
- SigilInstruction[SigilInstruction["WithdrawFunds"] = 35] = "WithdrawFunds";
78
+ SigilInstruction[SigilInstruction["CancelOwnershipTransfer"] = 8] = "CancelOwnershipTransfer";
79
+ SigilInstruction[SigilInstruction["CancelPendingPolicy"] = 9] = "CancelPendingPolicy";
80
+ SigilInstruction[SigilInstruction["ClosePostAssertions"] = 10] = "ClosePostAssertions";
81
+ SigilInstruction[SigilInstruction["CloseVault"] = 11] = "CloseVault";
82
+ SigilInstruction[SigilInstruction["CreatePostAssertions"] = 12] = "CreatePostAssertions";
83
+ SigilInstruction[SigilInstruction["DepositFunds"] = 13] = "DepositFunds";
84
+ SigilInstruction[SigilInstruction["FinalizeSession"] = 14] = "FinalizeSession";
85
+ SigilInstruction[SigilInstruction["FreezeVault"] = 15] = "FreezeVault";
86
+ SigilInstruction[SigilInstruction["InitializeVault"] = 16] = "InitializeVault";
87
+ SigilInstruction[SigilInstruction["InitiateOwnershipTransfer"] = 17] = "InitiateOwnershipTransfer";
88
+ SigilInstruction[SigilInstruction["PauseAgent"] = 18] = "PauseAgent";
89
+ SigilInstruction[SigilInstruction["PromoteGraylistDestination"] = 19] = "PromoteGraylistDestination";
90
+ SigilInstruction[SigilInstruction["QueueAgentGrant"] = 20] = "QueueAgentGrant";
91
+ SigilInstruction[SigilInstruction["QueueAgentPermissionsUpdate"] = 21] = "QueueAgentPermissionsUpdate";
92
+ SigilInstruction[SigilInstruction["QueuePolicyUpdate"] = 22] = "QueuePolicyUpdate";
93
+ SigilInstruction[SigilInstruction["ReactivateVault"] = 23] = "ReactivateVault";
94
+ SigilInstruction[SigilInstruction["RecordAgentViolation"] = 24] = "RecordAgentViolation";
95
+ SigilInstruction[SigilInstruction["RegisterAgent"] = 25] = "RegisterAgent";
96
+ SigilInstruction[SigilInstruction["RevokeAgent"] = 26] = "RevokeAgent";
97
+ SigilInstruction[SigilInstruction["SetObserveOnly"] = 27] = "SetObserveOnly";
98
+ SigilInstruction[SigilInstruction["UnpauseAgent"] = 28] = "UnpauseAgent";
99
+ SigilInstruction[SigilInstruction["ValidateAndAuthorize"] = 29] = "ValidateAndAuthorize";
100
+ SigilInstruction[SigilInstruction["WithdrawFunds"] = 30] = "WithdrawFunds";
106
101
  })(SigilInstruction || (SigilInstruction = {}));
107
102
  export function identifySigilInstruction(instruction) {
108
103
  const data = "data" in instruction ? instruction.data : instruction;
104
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([30, 187, 65, 5, 93, 131, 38, 208])), 0)) {
105
+ return SigilInstruction.AcceptOwnershipTransfer;
106
+ }
107
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([112, 147, 61, 110, 221, 182, 203, 99])), 0)) {
108
+ return SigilInstruction.AcceptOwnershipTransferMultisig;
109
+ }
109
110
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([199, 111, 151, 49, 124, 13, 150, 44])), 0)) {
110
111
  return SigilInstruction.AgentTransfer;
111
112
  }
112
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([55, 127, 43, 98, 168, 156, 152, 157])), 0)) {
113
- return SigilInstruction.AllocateConstraintsPda;
114
- }
115
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([211, 244, 224, 20, 224, 183, 236, 165])), 0)) {
116
- return SigilInstruction.AllocatePendingConstraintsPda;
113
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([236, 230, 108, 143, 155, 71, 185, 87])), 0)) {
114
+ return SigilInstruction.ApplyAgentGrant;
117
115
  }
118
116
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([234, 166, 205, 3, 28, 166, 221, 240])), 0)) {
119
117
  return SigilInstruction.ApplyAgentPermissionsUpdate;
120
118
  }
121
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([133, 184, 235, 88, 53, 237, 43, 145])), 0)) {
122
- return SigilInstruction.ApplyCloseConstraints;
123
- }
124
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([175, 103, 90, 155, 134, 91, 135, 242])), 0)) {
125
- return SigilInstruction.ApplyConstraintsUpdate;
126
- }
127
119
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([114, 212, 19, 227, 89, 199, 74, 62])), 0)) {
128
120
  return SigilInstruction.ApplyPendingPolicy;
129
121
  }
122
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([193, 182, 191, 195, 80, 150, 140, 196])), 0)) {
123
+ return SigilInstruction.CancelAgentGrant;
124
+ }
130
125
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([92, 232, 92, 115, 110, 238, 235, 55])), 0)) {
131
126
  return SigilInstruction.CancelAgentPermissionsUpdate;
132
127
  }
133
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([150, 125, 186, 114, 40, 105, 237, 184])), 0)) {
134
- return SigilInstruction.CancelCloseConstraints;
135
- }
136
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([169, 121, 85, 230, 154, 2, 78, 61])), 0)) {
137
- return SigilInstruction.CancelConstraintsUpdate;
128
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([2, 184, 195, 105, 138, 142, 154, 75])), 0)) {
129
+ return SigilInstruction.CancelOwnershipTransfer;
138
130
  }
139
131
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([153, 36, 104, 200, 50, 94, 207, 33])), 0)) {
140
132
  return SigilInstruction.CancelPendingPolicy;
141
133
  }
142
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([69, 181, 93, 235, 116, 229, 116, 4])), 0)) {
143
- return SigilInstruction.CleanupOrphanConstraintsPda;
144
- }
145
134
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([226, 172, 252, 173, 29, 236, 59, 248])), 0)) {
146
135
  return SigilInstruction.ClosePostAssertions;
147
136
  }
148
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([169, 244, 164, 173, 181, 214, 139, 6])), 0)) {
149
- return SigilInstruction.CloseSettledEscrow;
150
- }
151
137
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([141, 103, 17, 126, 72, 75, 29, 29])), 0)) {
152
138
  return SigilInstruction.CloseVault;
153
139
  }
154
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([253, 215, 165, 116, 36, 108, 68, 80])), 0)) {
155
- return SigilInstruction.CreateEscrow;
156
- }
157
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([13, 182, 97, 5, 57, 136, 26, 152])), 0)) {
158
- return SigilInstruction.CreateInstructionConstraints;
159
- }
160
140
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([204, 21, 218, 182, 202, 140, 239, 63])), 0)) {
161
141
  return SigilInstruction.CreatePostAssertions;
162
142
  }
163
143
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([202, 39, 52, 211, 53, 20, 250, 88])), 0)) {
164
144
  return SigilInstruction.DepositFunds;
165
145
  }
166
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([13, 211, 140, 90, 104, 28, 141, 200])), 0)) {
167
- return SigilInstruction.ExtendPda;
168
- }
169
146
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([34, 148, 144, 47, 37, 130, 206, 161])), 0)) {
170
147
  return SigilInstruction.FinalizeSession;
171
148
  }
@@ -175,17 +152,20 @@ export function identifySigilInstruction(instruction) {
175
152
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([48, 191, 163, 44, 71, 129, 63, 164])), 0)) {
176
153
  return SigilInstruction.InitializeVault;
177
154
  }
155
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([22, 108, 197, 103, 223, 145, 132, 65])), 0)) {
156
+ return SigilInstruction.InitiateOwnershipTransfer;
157
+ }
178
158
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([148, 32, 1, 26, 147, 122, 178, 140])), 0)) {
179
159
  return SigilInstruction.PauseAgent;
180
160
  }
181
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([182, 37, 105, 181, 28, 195, 223, 167])), 0)) {
182
- return SigilInstruction.QueueAgentPermissionsUpdate;
161
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([227, 87, 73, 141, 202, 251, 202, 228])), 0)) {
162
+ return SigilInstruction.PromoteGraylistDestination;
183
163
  }
184
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([248, 124, 93, 115, 195, 88, 11, 109])), 0)) {
185
- return SigilInstruction.QueueCloseConstraints;
164
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([136, 162, 54, 49, 167, 254, 200, 26])), 0)) {
165
+ return SigilInstruction.QueueAgentGrant;
186
166
  }
187
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([247, 253, 233, 93, 233, 54, 53, 131])), 0)) {
188
- return SigilInstruction.QueueConstraintsUpdate;
167
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([182, 37, 105, 181, 28, 195, 223, 167])), 0)) {
168
+ return SigilInstruction.QueueAgentPermissionsUpdate;
189
169
  }
190
170
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([149, 18, 76, 197, 179, 193, 91, 77])), 0)) {
191
171
  return SigilInstruction.QueuePolicyUpdate;
@@ -193,8 +173,8 @@ export function identifySigilInstruction(instruction) {
193
173
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([245, 50, 143, 70, 114, 220, 25, 251])), 0)) {
194
174
  return SigilInstruction.ReactivateVault;
195
175
  }
196
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([107, 186, 89, 99, 26, 194, 23, 204])), 0)) {
197
- return SigilInstruction.RefundEscrow;
176
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([131, 113, 120, 227, 219, 36, 160, 109])), 0)) {
177
+ return SigilInstruction.RecordAgentViolation;
198
178
  }
199
179
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([135, 157, 66, 195, 2, 113, 175, 30])), 0)) {
200
180
  return SigilInstruction.RegisterAgent;
@@ -202,8 +182,8 @@ export function identifySigilInstruction(instruction) {
202
182
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([227, 60, 209, 125, 240, 117, 163, 73])), 0)) {
203
183
  return SigilInstruction.RevokeAgent;
204
184
  }
205
- if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([22, 135, 160, 194, 23, 186, 124, 110])), 0)) {
206
- return SigilInstruction.SettleEscrow;
185
+ if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([36, 88, 141, 35, 179, 134, 54, 12])), 0)) {
186
+ return SigilInstruction.SetObserveOnly;
207
187
  }
208
188
  if (containsBytes(data, fixEncoderSize(getBytesEncoder(), 8).encode(new Uint8Array([46, 125, 165, 212, 241, 143, 190, 95])), 0)) {
209
189
  return SigilInstruction.UnpauseAgent;
@@ -219,46 +199,39 @@ export function identifySigilInstruction(instruction) {
219
199
  export function parseSigilInstruction(instruction) {
220
200
  const instructionType = identifySigilInstruction(instruction);
221
201
  switch (instructionType) {
222
- case SigilInstruction.AgentTransfer: {
202
+ case SigilInstruction.AcceptOwnershipTransfer: {
223
203
  assertIsInstructionWithAccounts(instruction);
224
204
  return {
225
- instructionType: SigilInstruction.AgentTransfer,
226
- ...parseAgentTransferInstruction(instruction),
205
+ instructionType: SigilInstruction.AcceptOwnershipTransfer,
206
+ ...parseAcceptOwnershipTransferInstruction(instruction),
227
207
  };
228
208
  }
229
- case SigilInstruction.AllocateConstraintsPda: {
209
+ case SigilInstruction.AcceptOwnershipTransferMultisig: {
230
210
  assertIsInstructionWithAccounts(instruction);
231
211
  return {
232
- instructionType: SigilInstruction.AllocateConstraintsPda,
233
- ...parseAllocateConstraintsPdaInstruction(instruction),
212
+ instructionType: SigilInstruction.AcceptOwnershipTransferMultisig,
213
+ ...parseAcceptOwnershipTransferMultisigInstruction(instruction),
234
214
  };
235
215
  }
236
- case SigilInstruction.AllocatePendingConstraintsPda: {
237
- assertIsInstructionWithAccounts(instruction);
238
- return {
239
- instructionType: SigilInstruction.AllocatePendingConstraintsPda,
240
- ...parseAllocatePendingConstraintsPdaInstruction(instruction),
241
- };
242
- }
243
- case SigilInstruction.ApplyAgentPermissionsUpdate: {
216
+ case SigilInstruction.AgentTransfer: {
244
217
  assertIsInstructionWithAccounts(instruction);
245
218
  return {
246
- instructionType: SigilInstruction.ApplyAgentPermissionsUpdate,
247
- ...parseApplyAgentPermissionsUpdateInstruction(instruction),
219
+ instructionType: SigilInstruction.AgentTransfer,
220
+ ...parseAgentTransferInstruction(instruction),
248
221
  };
249
222
  }
250
- case SigilInstruction.ApplyCloseConstraints: {
223
+ case SigilInstruction.ApplyAgentGrant: {
251
224
  assertIsInstructionWithAccounts(instruction);
252
225
  return {
253
- instructionType: SigilInstruction.ApplyCloseConstraints,
254
- ...parseApplyCloseConstraintsInstruction(instruction),
226
+ instructionType: SigilInstruction.ApplyAgentGrant,
227
+ ...parseApplyAgentGrantInstruction(instruction),
255
228
  };
256
229
  }
257
- case SigilInstruction.ApplyConstraintsUpdate: {
230
+ case SigilInstruction.ApplyAgentPermissionsUpdate: {
258
231
  assertIsInstructionWithAccounts(instruction);
259
232
  return {
260
- instructionType: SigilInstruction.ApplyConstraintsUpdate,
261
- ...parseApplyConstraintsUpdateInstruction(instruction),
233
+ instructionType: SigilInstruction.ApplyAgentPermissionsUpdate,
234
+ ...parseApplyAgentPermissionsUpdateInstruction(instruction),
262
235
  };
263
236
  }
264
237
  case SigilInstruction.ApplyPendingPolicy: {
@@ -268,25 +241,25 @@ export function parseSigilInstruction(instruction) {
268
241
  ...parseApplyPendingPolicyInstruction(instruction),
269
242
  };
270
243
  }
271
- case SigilInstruction.CancelAgentPermissionsUpdate: {
244
+ case SigilInstruction.CancelAgentGrant: {
272
245
  assertIsInstructionWithAccounts(instruction);
273
246
  return {
274
- instructionType: SigilInstruction.CancelAgentPermissionsUpdate,
275
- ...parseCancelAgentPermissionsUpdateInstruction(instruction),
247
+ instructionType: SigilInstruction.CancelAgentGrant,
248
+ ...parseCancelAgentGrantInstruction(instruction),
276
249
  };
277
250
  }
278
- case SigilInstruction.CancelCloseConstraints: {
251
+ case SigilInstruction.CancelAgentPermissionsUpdate: {
279
252
  assertIsInstructionWithAccounts(instruction);
280
253
  return {
281
- instructionType: SigilInstruction.CancelCloseConstraints,
282
- ...parseCancelCloseConstraintsInstruction(instruction),
254
+ instructionType: SigilInstruction.CancelAgentPermissionsUpdate,
255
+ ...parseCancelAgentPermissionsUpdateInstruction(instruction),
283
256
  };
284
257
  }
285
- case SigilInstruction.CancelConstraintsUpdate: {
258
+ case SigilInstruction.CancelOwnershipTransfer: {
286
259
  assertIsInstructionWithAccounts(instruction);
287
260
  return {
288
- instructionType: SigilInstruction.CancelConstraintsUpdate,
289
- ...parseCancelConstraintsUpdateInstruction(instruction),
261
+ instructionType: SigilInstruction.CancelOwnershipTransfer,
262
+ ...parseCancelOwnershipTransferInstruction(instruction),
290
263
  };
291
264
  }
292
265
  case SigilInstruction.CancelPendingPolicy: {
@@ -296,13 +269,6 @@ export function parseSigilInstruction(instruction) {
296
269
  ...parseCancelPendingPolicyInstruction(instruction),
297
270
  };
298
271
  }
299
- case SigilInstruction.CleanupOrphanConstraintsPda: {
300
- assertIsInstructionWithAccounts(instruction);
301
- return {
302
- instructionType: SigilInstruction.CleanupOrphanConstraintsPda,
303
- ...parseCleanupOrphanConstraintsPdaInstruction(instruction),
304
- };
305
- }
306
272
  case SigilInstruction.ClosePostAssertions: {
307
273
  assertIsInstructionWithAccounts(instruction);
308
274
  return {
@@ -310,13 +276,6 @@ export function parseSigilInstruction(instruction) {
310
276
  ...parseClosePostAssertionsInstruction(instruction),
311
277
  };
312
278
  }
313
- case SigilInstruction.CloseSettledEscrow: {
314
- assertIsInstructionWithAccounts(instruction);
315
- return {
316
- instructionType: SigilInstruction.CloseSettledEscrow,
317
- ...parseCloseSettledEscrowInstruction(instruction),
318
- };
319
- }
320
279
  case SigilInstruction.CloseVault: {
321
280
  assertIsInstructionWithAccounts(instruction);
322
281
  return {
@@ -324,20 +283,6 @@ export function parseSigilInstruction(instruction) {
324
283
  ...parseCloseVaultInstruction(instruction),
325
284
  };
326
285
  }
327
- case SigilInstruction.CreateEscrow: {
328
- assertIsInstructionWithAccounts(instruction);
329
- return {
330
- instructionType: SigilInstruction.CreateEscrow,
331
- ...parseCreateEscrowInstruction(instruction),
332
- };
333
- }
334
- case SigilInstruction.CreateInstructionConstraints: {
335
- assertIsInstructionWithAccounts(instruction);
336
- return {
337
- instructionType: SigilInstruction.CreateInstructionConstraints,
338
- ...parseCreateInstructionConstraintsInstruction(instruction),
339
- };
340
- }
341
286
  case SigilInstruction.CreatePostAssertions: {
342
287
  assertIsInstructionWithAccounts(instruction);
343
288
  return {
@@ -352,13 +297,6 @@ export function parseSigilInstruction(instruction) {
352
297
  ...parseDepositFundsInstruction(instruction),
353
298
  };
354
299
  }
355
- case SigilInstruction.ExtendPda: {
356
- assertIsInstructionWithAccounts(instruction);
357
- return {
358
- instructionType: SigilInstruction.ExtendPda,
359
- ...parseExtendPdaInstruction(instruction),
360
- };
361
- }
362
300
  case SigilInstruction.FinalizeSession: {
363
301
  assertIsInstructionWithAccounts(instruction);
364
302
  return {
@@ -380,6 +318,13 @@ export function parseSigilInstruction(instruction) {
380
318
  ...parseInitializeVaultInstruction(instruction),
381
319
  };
382
320
  }
321
+ case SigilInstruction.InitiateOwnershipTransfer: {
322
+ assertIsInstructionWithAccounts(instruction);
323
+ return {
324
+ instructionType: SigilInstruction.InitiateOwnershipTransfer,
325
+ ...parseInitiateOwnershipTransferInstruction(instruction),
326
+ };
327
+ }
383
328
  case SigilInstruction.PauseAgent: {
384
329
  assertIsInstructionWithAccounts(instruction);
385
330
  return {
@@ -387,25 +332,25 @@ export function parseSigilInstruction(instruction) {
387
332
  ...parsePauseAgentInstruction(instruction),
388
333
  };
389
334
  }
390
- case SigilInstruction.QueueAgentPermissionsUpdate: {
335
+ case SigilInstruction.PromoteGraylistDestination: {
391
336
  assertIsInstructionWithAccounts(instruction);
392
337
  return {
393
- instructionType: SigilInstruction.QueueAgentPermissionsUpdate,
394
- ...parseQueueAgentPermissionsUpdateInstruction(instruction),
338
+ instructionType: SigilInstruction.PromoteGraylistDestination,
339
+ ...parsePromoteGraylistDestinationInstruction(instruction),
395
340
  };
396
341
  }
397
- case SigilInstruction.QueueCloseConstraints: {
342
+ case SigilInstruction.QueueAgentGrant: {
398
343
  assertIsInstructionWithAccounts(instruction);
399
344
  return {
400
- instructionType: SigilInstruction.QueueCloseConstraints,
401
- ...parseQueueCloseConstraintsInstruction(instruction),
345
+ instructionType: SigilInstruction.QueueAgentGrant,
346
+ ...parseQueueAgentGrantInstruction(instruction),
402
347
  };
403
348
  }
404
- case SigilInstruction.QueueConstraintsUpdate: {
349
+ case SigilInstruction.QueueAgentPermissionsUpdate: {
405
350
  assertIsInstructionWithAccounts(instruction);
406
351
  return {
407
- instructionType: SigilInstruction.QueueConstraintsUpdate,
408
- ...parseQueueConstraintsUpdateInstruction(instruction),
352
+ instructionType: SigilInstruction.QueueAgentPermissionsUpdate,
353
+ ...parseQueueAgentPermissionsUpdateInstruction(instruction),
409
354
  };
410
355
  }
411
356
  case SigilInstruction.QueuePolicyUpdate: {
@@ -422,11 +367,11 @@ export function parseSigilInstruction(instruction) {
422
367
  ...parseReactivateVaultInstruction(instruction),
423
368
  };
424
369
  }
425
- case SigilInstruction.RefundEscrow: {
370
+ case SigilInstruction.RecordAgentViolation: {
426
371
  assertIsInstructionWithAccounts(instruction);
427
372
  return {
428
- instructionType: SigilInstruction.RefundEscrow,
429
- ...parseRefundEscrowInstruction(instruction),
373
+ instructionType: SigilInstruction.RecordAgentViolation,
374
+ ...parseRecordAgentViolationInstruction(instruction),
430
375
  };
431
376
  }
432
377
  case SigilInstruction.RegisterAgent: {
@@ -443,11 +388,11 @@ export function parseSigilInstruction(instruction) {
443
388
  ...parseRevokeAgentInstruction(instruction),
444
389
  };
445
390
  }
446
- case SigilInstruction.SettleEscrow: {
391
+ case SigilInstruction.SetObserveOnly: {
447
392
  assertIsInstructionWithAccounts(instruction);
448
393
  return {
449
- instructionType: SigilInstruction.SettleEscrow,
450
- ...parseSettleEscrowInstruction(instruction),
394
+ instructionType: SigilInstruction.SetObserveOnly,
395
+ ...parseSetObserveOnlyInstruction(instruction),
451
396
  };
452
397
  }
453
398
  case SigilInstruction.UnpauseAgent: {
@@ -483,11 +428,11 @@ export function sigilProgram() {
483
428
  accounts: {
484
429
  agentSpendOverlay: addSelfFetchFunctions(client, getAgentSpendOverlayCodec()),
485
430
  agentVault: addSelfFetchFunctions(client, getAgentVaultCodec()),
486
- escrowDeposit: addSelfFetchFunctions(client, getEscrowDepositCodec()),
487
- instructionConstraints: addSelfFetchFunctions(client, getInstructionConstraintsCodec()),
431
+ auditLogRejected: addSelfFetchFunctions(client, getAuditLogRejectedCodec()),
432
+ auditLogSuccess: addSelfFetchFunctions(client, getAuditLogSuccessCodec()),
433
+ pendingAgentGrant: addSelfFetchFunctions(client, getPendingAgentGrantCodec()),
488
434
  pendingAgentPermissionsUpdate: addSelfFetchFunctions(client, getPendingAgentPermissionsUpdateCodec()),
489
- pendingCloseConstraints: addSelfFetchFunctions(client, getPendingCloseConstraintsCodec()),
490
- pendingConstraintsUpdate: addSelfFetchFunctions(client, getPendingConstraintsUpdateCodec()),
435
+ pendingOwnershipTransfer: addSelfFetchFunctions(client, getPendingOwnershipTransferCodec()),
491
436
  pendingPolicyUpdate: addSelfFetchFunctions(client, getPendingPolicyUpdateCodec()),
492
437
  policyConfig: addSelfFetchFunctions(client, getPolicyConfigCodec()),
493
438
  postExecutionAssertions: addSelfFetchFunctions(client, getPostExecutionAssertionsCodec()),
@@ -495,43 +440,38 @@ export function sigilProgram() {
495
440
  spendTracker: addSelfFetchFunctions(client, getSpendTrackerCodec()),
496
441
  },
497
442
  instructions: {
443
+ acceptOwnershipTransfer: (input) => addSelfPlanAndSendFunctions(client, getAcceptOwnershipTransferInstructionAsync(input)),
444
+ acceptOwnershipTransferMultisig: (input) => addSelfPlanAndSendFunctions(client, getAcceptOwnershipTransferMultisigInstructionAsync(input)),
498
445
  agentTransfer: (input) => addSelfPlanAndSendFunctions(client, getAgentTransferInstructionAsync(input)),
499
- allocateConstraintsPda: (input) => addSelfPlanAndSendFunctions(client, getAllocateConstraintsPdaInstructionAsync(input)),
500
- allocatePendingConstraintsPda: (input) => addSelfPlanAndSendFunctions(client, getAllocatePendingConstraintsPdaInstructionAsync(input)),
446
+ applyAgentGrant: (input) => addSelfPlanAndSendFunctions(client, getApplyAgentGrantInstructionAsync(input)),
501
447
  applyAgentPermissionsUpdate: (input) => addSelfPlanAndSendFunctions(client, getApplyAgentPermissionsUpdateInstructionAsync(input)),
502
- applyCloseConstraints: (input) => addSelfPlanAndSendFunctions(client, getApplyCloseConstraintsInstructionAsync(input)),
503
- applyConstraintsUpdate: (input) => addSelfPlanAndSendFunctions(client, getApplyConstraintsUpdateInstructionAsync(input)),
504
448
  applyPendingPolicy: (input) => addSelfPlanAndSendFunctions(client, getApplyPendingPolicyInstructionAsync(input)),
449
+ cancelAgentGrant: (input) => addSelfPlanAndSendFunctions(client, getCancelAgentGrantInstructionAsync(input)),
505
450
  cancelAgentPermissionsUpdate: (input) => addSelfPlanAndSendFunctions(client, getCancelAgentPermissionsUpdateInstruction(input)),
506
- cancelCloseConstraints: (input) => addSelfPlanAndSendFunctions(client, getCancelCloseConstraintsInstructionAsync(input)),
507
- cancelConstraintsUpdate: (input) => addSelfPlanAndSendFunctions(client, getCancelConstraintsUpdateInstructionAsync(input)),
451
+ cancelOwnershipTransfer: (input) => addSelfPlanAndSendFunctions(client, getCancelOwnershipTransferInstructionAsync(input)),
508
452
  cancelPendingPolicy: (input) => addSelfPlanAndSendFunctions(client, getCancelPendingPolicyInstructionAsync(input)),
509
- cleanupOrphanConstraintsPda: (input) => addSelfPlanAndSendFunctions(client, getCleanupOrphanConstraintsPdaInstructionAsync(input)),
510
453
  closePostAssertions: (input) => addSelfPlanAndSendFunctions(client, getClosePostAssertionsInstructionAsync(input)),
511
- closeSettledEscrow: (input) => addSelfPlanAndSendFunctions(client, getCloseSettledEscrowInstructionAsync(input)),
512
454
  closeVault: (input) => addSelfPlanAndSendFunctions(client, getCloseVaultInstructionAsync(input)),
513
- createEscrow: (input) => addSelfPlanAndSendFunctions(client, getCreateEscrowInstructionAsync(input)),
514
- createInstructionConstraints: (input) => addSelfPlanAndSendFunctions(client, getCreateInstructionConstraintsInstructionAsync(input)),
515
455
  createPostAssertions: (input) => addSelfPlanAndSendFunctions(client, getCreatePostAssertionsInstructionAsync(input)),
516
456
  depositFunds: (input) => addSelfPlanAndSendFunctions(client, getDepositFundsInstructionAsync(input)),
517
- extendPda: (input) => addSelfPlanAndSendFunctions(client, getExtendPdaInstruction(input)),
518
457
  finalizeSession: (input) => addSelfPlanAndSendFunctions(client, getFinalizeSessionInstructionAsync({
519
458
  ...input,
520
459
  payer: input.payer ?? client.payer,
521
460
  })),
522
- freezeVault: (input) => addSelfPlanAndSendFunctions(client, getFreezeVaultInstruction(input)),
461
+ freezeVault: (input) => addSelfPlanAndSendFunctions(client, getFreezeVaultInstructionAsync(input)),
523
462
  initializeVault: (input) => addSelfPlanAndSendFunctions(client, getInitializeVaultInstructionAsync(input)),
524
- pauseAgent: (input) => addSelfPlanAndSendFunctions(client, getPauseAgentInstruction(input)),
463
+ initiateOwnershipTransfer: (input) => addSelfPlanAndSendFunctions(client, getInitiateOwnershipTransferInstructionAsync(input)),
464
+ pauseAgent: (input) => addSelfPlanAndSendFunctions(client, getPauseAgentInstructionAsync(input)),
465
+ promoteGraylistDestination: (input) => addSelfPlanAndSendFunctions(client, getPromoteGraylistDestinationInstructionAsync(input)),
466
+ queueAgentGrant: (input) => addSelfPlanAndSendFunctions(client, getQueueAgentGrantInstructionAsync(input)),
525
467
  queueAgentPermissionsUpdate: (input) => addSelfPlanAndSendFunctions(client, getQueueAgentPermissionsUpdateInstructionAsync(input)),
526
- queueCloseConstraints: (input) => addSelfPlanAndSendFunctions(client, getQueueCloseConstraintsInstructionAsync(input)),
527
- queueConstraintsUpdate: (input) => addSelfPlanAndSendFunctions(client, getQueueConstraintsUpdateInstructionAsync(input)),
528
468
  queuePolicyUpdate: (input) => addSelfPlanAndSendFunctions(client, getQueuePolicyUpdateInstructionAsync(input)),
529
- reactivateVault: (input) => addSelfPlanAndSendFunctions(client, getReactivateVaultInstruction(input)),
530
- refundEscrow: (input) => addSelfPlanAndSendFunctions(client, getRefundEscrowInstructionAsync(input)),
531
- registerAgent: (input) => addSelfPlanAndSendFunctions(client, getRegisterAgentInstruction(input)),
532
- revokeAgent: (input) => addSelfPlanAndSendFunctions(client, getRevokeAgentInstruction(input)),
533
- settleEscrow: (input) => addSelfPlanAndSendFunctions(client, getSettleEscrowInstructionAsync(input)),
534
- unpauseAgent: (input) => addSelfPlanAndSendFunctions(client, getUnpauseAgentInstruction(input)),
469
+ reactivateVault: (input) => addSelfPlanAndSendFunctions(client, getReactivateVaultInstructionAsync(input)),
470
+ recordAgentViolation: (input) => addSelfPlanAndSendFunctions(client, getRecordAgentViolationInstructionAsync(input)),
471
+ registerAgent: (input) => addSelfPlanAndSendFunctions(client, getRegisterAgentInstructionAsync(input)),
472
+ revokeAgent: (input) => addSelfPlanAndSendFunctions(client, getRevokeAgentInstructionAsync(input)),
473
+ setObserveOnly: (input) => addSelfPlanAndSendFunctions(client, getSetObserveOnlyInstructionAsync(input)),
474
+ unpauseAgent: (input) => addSelfPlanAndSendFunctions(client, getUnpauseAgentInstructionAsync(input)),
535
475
  validateAndAuthorize: (input) => addSelfPlanAndSendFunctions(client, getValidateAndAuthorizeInstructionAsync(input)),
536
476
  withdrawFunds: (input) => addSelfPlanAndSendFunctions(client, getWithdrawFundsInstructionAsync(input)),
537
477
  },