@usesigil/kit 0.15.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 (627) 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 +117 -0
  7. package/dist/agent-bootstrap.d.ts.map +1 -0
  8. package/dist/agent-bootstrap.js +211 -0
  9. package/dist/agent-bootstrap.js.map +1 -0
  10. package/dist/agent-errors.d.ts +20 -4
  11. package/dist/agent-errors.d.ts.map +1 -1
  12. package/dist/agent-errors.js +947 -377
  13. package/dist/agent-errors.js.map +1 -1
  14. package/dist/audit-log.d.ts +101 -0
  15. package/dist/audit-log.d.ts.map +1 -0
  16. package/dist/audit-log.js +145 -0
  17. package/dist/audit-log.js.map +1 -0
  18. package/dist/build-unsigned.d.ts +152 -0
  19. package/dist/build-unsigned.d.ts.map +1 -0
  20. package/dist/build-unsigned.js +152 -0
  21. package/dist/build-unsigned.js.map +1 -0
  22. package/dist/caip2-network.d.ts +171 -0
  23. package/dist/caip2-network.d.ts.map +1 -0
  24. package/dist/caip2-network.js +202 -0
  25. package/dist/caip2-network.js.map +1 -0
  26. package/dist/canonical-encode.d.ts +59 -0
  27. package/dist/canonical-encode.d.ts.map +1 -0
  28. package/dist/canonical-encode.js +141 -0
  29. package/dist/canonical-encode.js.map +1 -0
  30. package/dist/cosign-helper.d.ts +264 -0
  31. package/dist/cosign-helper.d.ts.map +1 -0
  32. package/dist/cosign-helper.js +147 -0
  33. package/dist/cosign-helper.js.map +1 -0
  34. package/dist/create-vault.d.ts +102 -1
  35. package/dist/create-vault.d.ts.map +1 -1
  36. package/dist/create-vault.js +108 -9
  37. package/dist/create-vault.js.map +1 -1
  38. package/dist/dashboard/close-vault.d.ts +110 -0
  39. package/dist/dashboard/close-vault.d.ts.map +1 -0
  40. package/dist/dashboard/close-vault.js +165 -0
  41. package/dist/dashboard/close-vault.js.map +1 -0
  42. package/dist/dashboard/errors.d.ts +37 -0
  43. package/dist/dashboard/errors.d.ts.map +1 -1
  44. package/dist/dashboard/errors.js +81 -1
  45. package/dist/dashboard/errors.js.map +1 -1
  46. package/dist/dashboard/from-json.d.ts.map +1 -1
  47. package/dist/dashboard/from-json.js +1 -2
  48. package/dist/dashboard/from-json.js.map +1 -1
  49. package/dist/dashboard/index.d.ts +204 -31
  50. package/dist/dashboard/index.d.ts.map +1 -1
  51. package/dist/dashboard/index.js +290 -49
  52. package/dist/dashboard/index.js.map +1 -1
  53. package/dist/dashboard/mutations.d.ts +160 -10
  54. package/dist/dashboard/mutations.d.ts.map +1 -1
  55. package/dist/dashboard/mutations.js +584 -66
  56. package/dist/dashboard/mutations.js.map +1 -1
  57. package/dist/dashboard/post-assertion-validation.d.ts +88 -0
  58. package/dist/dashboard/post-assertion-validation.d.ts.map +1 -0
  59. package/dist/dashboard/post-assertion-validation.js +312 -0
  60. package/dist/dashboard/post-assertion-validation.js.map +1 -0
  61. package/dist/dashboard/reads.d.ts +92 -1
  62. package/dist/dashboard/reads.d.ts.map +1 -1
  63. package/dist/dashboard/reads.js +244 -26
  64. package/dist/dashboard/reads.js.map +1 -1
  65. package/dist/dashboard/types.d.ts +172 -21
  66. package/dist/dashboard/types.d.ts.map +1 -1
  67. package/dist/errors/agent-errors.generated.d.ts +21 -0
  68. package/dist/errors/agent-errors.generated.d.ts.map +1 -0
  69. package/dist/errors/agent-errors.generated.js +133 -0
  70. package/dist/errors/agent-errors.generated.js.map +1 -0
  71. package/dist/errors/codes.d.ts +21 -2
  72. package/dist/errors/codes.d.ts.map +1 -1
  73. package/dist/errors/codes.js +20 -1
  74. package/dist/errors/codes.js.map +1 -1
  75. package/dist/errors/context.d.ts +9 -1
  76. package/dist/errors/context.d.ts.map +1 -1
  77. package/dist/event-analytics.d.ts +1 -3
  78. package/dist/event-analytics.d.ts.map +1 -1
  79. package/dist/event-analytics.js +28 -81
  80. package/dist/event-analytics.js.map +1 -1
  81. package/dist/events.d.ts.map +1 -1
  82. package/dist/events.js +23 -13
  83. package/dist/events.js.map +1 -1
  84. package/dist/generated/accounts/agentSpendOverlay.d.ts +60 -0
  85. package/dist/generated/accounts/agentSpendOverlay.d.ts.map +1 -1
  86. package/dist/generated/accounts/agentSpendOverlay.js +6 -2
  87. package/dist/generated/accounts/agentSpendOverlay.js.map +1 -1
  88. package/dist/generated/accounts/agentVault.d.ts +168 -4
  89. package/dist/generated/accounts/agentVault.d.ts.map +1 -1
  90. package/dist/generated/accounts/agentVault.js +11 -3
  91. package/dist/generated/accounts/agentVault.js.map +1 -1
  92. package/dist/generated/accounts/auditLogRejected.d.ts +66 -0
  93. package/dist/generated/accounts/auditLogRejected.d.ts.map +1 -0
  94. package/dist/generated/accounts/auditLogRejected.js +68 -0
  95. package/dist/generated/accounts/auditLogRejected.js.map +1 -0
  96. package/dist/generated/accounts/auditLogSuccess.d.ts +78 -0
  97. package/dist/generated/accounts/auditLogSuccess.d.ts.map +1 -0
  98. package/dist/generated/accounts/auditLogSuccess.js +68 -0
  99. package/dist/generated/accounts/auditLogSuccess.js.map +1 -0
  100. package/dist/generated/accounts/index.d.ts +4 -4
  101. package/dist/generated/accounts/index.d.ts.map +1 -1
  102. package/dist/generated/accounts/index.js +4 -4
  103. package/dist/generated/accounts/index.js.map +1 -1
  104. package/dist/generated/accounts/pendingAgentGrant.d.ts +199 -0
  105. package/dist/generated/accounts/pendingAgentGrant.d.ts.map +1 -0
  106. package/dist/generated/accounts/pendingAgentGrant.js +75 -0
  107. package/dist/generated/accounts/pendingAgentGrant.js.map +1 -0
  108. package/dist/generated/accounts/pendingAgentPermissionsUpdate.d.ts +76 -0
  109. package/dist/generated/accounts/pendingAgentPermissionsUpdate.d.ts.map +1 -1
  110. package/dist/generated/accounts/pendingAgentPermissionsUpdate.js +9 -1
  111. package/dist/generated/accounts/pendingAgentPermissionsUpdate.js.map +1 -1
  112. package/dist/generated/accounts/pendingOwnershipTransfer.d.ts +131 -0
  113. package/dist/generated/accounts/pendingOwnershipTransfer.d.ts.map +1 -0
  114. package/dist/generated/accounts/pendingOwnershipTransfer.js +76 -0
  115. package/dist/generated/accounts/pendingOwnershipTransfer.js.map +1 -0
  116. package/dist/generated/accounts/pendingPolicyUpdate.d.ts +220 -4
  117. package/dist/generated/accounts/pendingPolicyUpdate.d.ts.map +1 -1
  118. package/dist/generated/accounts/pendingPolicyUpdate.js +25 -5
  119. package/dist/generated/accounts/pendingPolicyUpdate.js.map +1 -1
  120. package/dist/generated/accounts/policyConfig.d.ts +495 -34
  121. package/dist/generated/accounts/policyConfig.d.ts.map +1 -1
  122. package/dist/generated/accounts/policyConfig.js +34 -7
  123. package/dist/generated/accounts/policyConfig.js.map +1 -1
  124. package/dist/generated/accounts/postExecutionAssertions.d.ts +2 -2
  125. package/dist/generated/accounts/postExecutionAssertions.d.ts.map +1 -1
  126. package/dist/generated/accounts/postExecutionAssertions.js +3 -3
  127. package/dist/generated/accounts/sessionAuthority.d.ts +154 -12
  128. package/dist/generated/accounts/sessionAuthority.d.ts.map +1 -1
  129. package/dist/generated/accounts/sessionAuthority.js +12 -10
  130. package/dist/generated/accounts/sessionAuthority.js.map +1 -1
  131. package/dist/generated/accounts/spendTracker.d.ts +83 -3
  132. package/dist/generated/accounts/spendTracker.d.ts.map +1 -1
  133. package/dist/generated/accounts/spendTracker.js +14 -2
  134. package/dist/generated/accounts/spendTracker.js.map +1 -1
  135. package/dist/generated/errors/sigil.d.ts +160 -100
  136. package/dist/generated/errors/sigil.d.ts.map +1 -1
  137. package/dist/generated/errors/sigil.js +214 -124
  138. package/dist/generated/errors/sigil.js.map +1 -1
  139. package/dist/generated/event-discriminators.d.ts.map +1 -1
  140. package/dist/generated/event-discriminators.js +11 -13
  141. package/dist/generated/event-discriminators.js.map +1 -1
  142. package/dist/generated/instructions/acceptOwnershipTransfer.d.ts +142 -0
  143. package/dist/generated/instructions/acceptOwnershipTransfer.d.ts.map +1 -0
  144. package/dist/generated/instructions/acceptOwnershipTransfer.js +171 -0
  145. package/dist/generated/instructions/acceptOwnershipTransfer.js.map +1 -0
  146. package/dist/generated/instructions/acceptOwnershipTransferMultisig.d.ts +142 -0
  147. package/dist/generated/instructions/acceptOwnershipTransferMultisig.d.ts.map +1 -0
  148. package/dist/generated/instructions/acceptOwnershipTransferMultisig.js +171 -0
  149. package/dist/generated/instructions/acceptOwnershipTransferMultisig.js.map +1 -0
  150. package/dist/generated/instructions/applyAgentGrant.d.ts +100 -0
  151. package/dist/generated/instructions/applyAgentGrant.d.ts.map +1 -0
  152. package/dist/generated/instructions/{applyConstraintsUpdate.js → applyAgentGrant.js} +66 -42
  153. package/dist/generated/instructions/applyAgentGrant.js.map +1 -0
  154. package/dist/generated/instructions/applyAgentPermissionsUpdate.d.ts +31 -8
  155. package/dist/generated/instructions/applyAgentPermissionsUpdate.d.ts.map +1 -1
  156. package/dist/generated/instructions/applyAgentPermissionsUpdate.js +38 -2
  157. package/dist/generated/instructions/applyAgentPermissionsUpdate.js.map +1 -1
  158. package/dist/generated/instructions/applyPendingPolicy.d.ts +18 -7
  159. package/dist/generated/instructions/applyPendingPolicy.d.ts.map +1 -1
  160. package/dist/generated/instructions/applyPendingPolicy.js +38 -2
  161. package/dist/generated/instructions/applyPendingPolicy.js.map +1 -1
  162. package/dist/generated/instructions/cancelAgentGrant.d.ts +106 -0
  163. package/dist/generated/instructions/cancelAgentGrant.d.ts.map +1 -0
  164. package/dist/generated/instructions/{allocatePendingConstraintsPda.js → cancelAgentGrant.js} +54 -42
  165. package/dist/generated/instructions/cancelAgentGrant.js.map +1 -0
  166. package/dist/generated/instructions/cancelOwnershipTransfer.d.ts +121 -0
  167. package/dist/generated/instructions/cancelOwnershipTransfer.d.ts.map +1 -0
  168. package/dist/generated/instructions/{queueCloseConstraints.js → cancelOwnershipTransfer.js} +58 -44
  169. package/dist/generated/instructions/cancelOwnershipTransfer.js.map +1 -0
  170. package/dist/generated/instructions/closePostAssertions.d.ts +6 -1
  171. package/dist/generated/instructions/closePostAssertions.d.ts.map +1 -1
  172. package/dist/generated/instructions/closePostAssertions.js +11 -3
  173. package/dist/generated/instructions/closePostAssertions.js.map +1 -1
  174. package/dist/generated/instructions/closeVault.d.ts +40 -8
  175. package/dist/generated/instructions/closeVault.d.ts.map +1 -1
  176. package/dist/generated/instructions/closeVault.js +40 -2
  177. package/dist/generated/instructions/closeVault.js.map +1 -1
  178. package/dist/generated/instructions/createPostAssertions.d.ts +4 -0
  179. package/dist/generated/instructions/createPostAssertions.d.ts.map +1 -1
  180. package/dist/generated/instructions/createPostAssertions.js +2 -0
  181. package/dist/generated/instructions/createPostAssertions.js.map +1 -1
  182. package/dist/generated/instructions/depositFunds.d.ts +21 -10
  183. package/dist/generated/instructions/depositFunds.d.ts.map +1 -1
  184. package/dist/generated/instructions/depositFunds.js +37 -2
  185. package/dist/generated/instructions/depositFunds.js.map +1 -1
  186. package/dist/generated/instructions/finalizeSession.d.ts +49 -7
  187. package/dist/generated/instructions/finalizeSession.d.ts.map +1 -1
  188. package/dist/generated/instructions/finalizeSession.js +59 -2
  189. package/dist/generated/instructions/finalizeSession.js.map +1 -1
  190. package/dist/generated/instructions/freezeVault.d.ts +39 -5
  191. package/dist/generated/instructions/freezeVault.d.ts.map +1 -1
  192. package/dist/generated/instructions/freezeVault.js +77 -5
  193. package/dist/generated/instructions/freezeVault.js.map +1 -1
  194. package/dist/generated/instructions/index.d.ts +10 -14
  195. package/dist/generated/instructions/index.d.ts.map +1 -1
  196. package/dist/generated/instructions/index.js +10 -14
  197. package/dist/generated/instructions/index.js.map +1 -1
  198. package/dist/generated/instructions/initializeVault.d.ts +79 -13
  199. package/dist/generated/instructions/initializeVault.d.ts.map +1 -1
  200. package/dist/generated/instructions/initializeVault.js +57 -5
  201. package/dist/generated/instructions/initializeVault.js.map +1 -1
  202. package/dist/generated/instructions/initiateOwnershipTransfer.d.ts +106 -0
  203. package/dist/generated/instructions/initiateOwnershipTransfer.d.ts.map +1 -0
  204. package/dist/generated/instructions/initiateOwnershipTransfer.js +181 -0
  205. package/dist/generated/instructions/initiateOwnershipTransfer.js.map +1 -0
  206. package/dist/generated/instructions/pauseAgent.d.ts +49 -5
  207. package/dist/generated/instructions/pauseAgent.d.ts.map +1 -1
  208. package/dist/generated/instructions/pauseAgent.js +80 -5
  209. package/dist/generated/instructions/pauseAgent.js.map +1 -1
  210. package/dist/generated/instructions/promoteGraylistDestination.d.ts +56 -0
  211. package/dist/generated/instructions/promoteGraylistDestination.d.ts.map +1 -0
  212. package/dist/generated/instructions/{createInstructionConstraints.js → promoteGraylistDestination.js} +23 -40
  213. package/dist/generated/instructions/promoteGraylistDestination.js.map +1 -0
  214. package/dist/generated/instructions/queueAgentGrant.d.ts +113 -0
  215. package/dist/generated/instructions/queueAgentGrant.d.ts.map +1 -0
  216. package/dist/generated/instructions/queueAgentGrant.js +181 -0
  217. package/dist/generated/instructions/queueAgentGrant.js.map +1 -0
  218. package/dist/generated/instructions/queueAgentPermissionsUpdate.d.ts +8 -0
  219. package/dist/generated/instructions/queueAgentPermissionsUpdate.d.ts.map +1 -1
  220. package/dist/generated/instructions/queueAgentPermissionsUpdate.js +4 -0
  221. package/dist/generated/instructions/queueAgentPermissionsUpdate.js.map +1 -1
  222. package/dist/generated/instructions/queuePolicyUpdate.d.ts +40 -8
  223. package/dist/generated/instructions/queuePolicyUpdate.d.ts.map +1 -1
  224. package/dist/generated/instructions/queuePolicyUpdate.js +21 -5
  225. package/dist/generated/instructions/queuePolicyUpdate.js.map +1 -1
  226. package/dist/generated/instructions/reactivateVault.d.ts +71 -5
  227. package/dist/generated/instructions/reactivateVault.d.ts.map +1 -1
  228. package/dist/generated/instructions/reactivateVault.js +80 -5
  229. package/dist/generated/instructions/reactivateVault.js.map +1 -1
  230. package/dist/generated/instructions/recordAgentViolation.d.ts +89 -0
  231. package/dist/generated/instructions/recordAgentViolation.d.ts.map +1 -0
  232. package/dist/generated/instructions/recordAgentViolation.js +152 -0
  233. package/dist/generated/instructions/recordAgentViolation.js.map +1 -0
  234. package/dist/generated/instructions/registerAgent.d.ts +84 -6
  235. package/dist/generated/instructions/registerAgent.d.ts.map +1 -1
  236. package/dist/generated/instructions/registerAgent.js +81 -4
  237. package/dist/generated/instructions/registerAgent.js.map +1 -1
  238. package/dist/generated/instructions/revokeAgent.d.ts +49 -6
  239. package/dist/generated/instructions/revokeAgent.d.ts.map +1 -1
  240. package/dist/generated/instructions/revokeAgent.js +81 -4
  241. package/dist/generated/instructions/revokeAgent.js.map +1 -1
  242. package/dist/generated/instructions/setObserveOnly.d.ts +56 -0
  243. package/dist/generated/instructions/setObserveOnly.d.ts.map +1 -0
  244. package/dist/generated/instructions/setObserveOnly.js +111 -0
  245. package/dist/generated/instructions/setObserveOnly.js.map +1 -0
  246. package/dist/generated/instructions/unpauseAgent.d.ts +46 -5
  247. package/dist/generated/instructions/unpauseAgent.d.ts.map +1 -1
  248. package/dist/generated/instructions/unpauseAgent.js +80 -5
  249. package/dist/generated/instructions/unpauseAgent.js.map +1 -1
  250. package/dist/generated/instructions/validateAndAuthorize.d.ts +29 -0
  251. package/dist/generated/instructions/validateAndAuthorize.d.ts.map +1 -1
  252. package/dist/generated/instructions/validateAndAuthorize.js +4 -0
  253. package/dist/generated/instructions/validateAndAuthorize.js.map +1 -1
  254. package/dist/generated/instructions/withdrawFunds.d.ts +53 -11
  255. package/dist/generated/instructions/withdrawFunds.d.ts.map +1 -1
  256. package/dist/generated/instructions/withdrawFunds.js +51 -2
  257. package/dist/generated/instructions/withdrawFunds.js.map +1 -1
  258. package/dist/generated/programs/sigil.d.ts +79 -95
  259. package/dist/generated/programs/sigil.d.ts.map +1 -1
  260. package/dist/generated/programs/sigil.js +139 -187
  261. package/dist/generated/programs/sigil.js.map +1 -1
  262. package/dist/generated/types/actionAuthorized.d.ts +0 -2
  263. package/dist/generated/types/actionAuthorized.d.ts.map +1 -1
  264. package/dist/generated/types/actionAuthorized.js +0 -2
  265. package/dist/generated/types/actionAuthorized.js.map +1 -1
  266. package/dist/generated/types/agentAutoRevoked.d.ts +31 -0
  267. package/dist/generated/types/agentAutoRevoked.d.ts.map +1 -0
  268. package/dist/generated/types/{pdaAllocated.js → agentAutoRevoked.js} +12 -10
  269. package/dist/generated/types/agentAutoRevoked.js.map +1 -0
  270. package/dist/generated/types/agentEntry.d.ts +48 -0
  271. package/dist/generated/types/agentEntry.d.ts.map +1 -1
  272. package/dist/generated/types/agentEntry.js +4 -2
  273. package/dist/generated/types/agentEntry.js.map +1 -1
  274. package/dist/generated/types/agentGrantApplied.d.ts +38 -0
  275. package/dist/generated/types/agentGrantApplied.d.ts.map +1 -0
  276. package/dist/generated/types/agentGrantApplied.js +34 -0
  277. package/dist/generated/types/agentGrantApplied.js.map +1 -0
  278. package/dist/generated/types/agentGrantCancelled.d.ts +33 -0
  279. package/dist/generated/types/agentGrantCancelled.d.ts.map +1 -0
  280. package/dist/generated/types/agentGrantCancelled.js +28 -0
  281. package/dist/generated/types/agentGrantCancelled.js.map +1 -0
  282. package/dist/generated/types/agentGrantQueued.d.ts +38 -0
  283. package/dist/generated/types/agentGrantQueued.d.ts.map +1 -0
  284. package/dist/generated/types/agentGrantQueued.js +32 -0
  285. package/dist/generated/types/agentGrantQueued.js.map +1 -0
  286. package/dist/generated/types/auditEntry.d.ts +120 -0
  287. package/dist/generated/types/auditEntry.d.ts.map +1 -0
  288. package/dist/generated/types/auditEntry.js +34 -0
  289. package/dist/generated/types/auditEntry.js.map +1 -0
  290. package/dist/generated/types/destinationGraylistEntry.d.ts +32 -0
  291. package/dist/generated/types/destinationGraylistEntry.d.ts.map +1 -0
  292. package/dist/generated/types/destinationGraylistEntry.js +24 -0
  293. package/dist/generated/types/destinationGraylistEntry.js.map +1 -0
  294. package/dist/generated/types/graylistEntered.d.ts +31 -0
  295. package/dist/generated/types/graylistEntered.d.ts.map +1 -0
  296. package/dist/generated/types/graylistEntered.js +30 -0
  297. package/dist/generated/types/graylistEntered.js.map +1 -0
  298. package/dist/generated/types/graylistPromoted.d.ts +29 -0
  299. package/dist/generated/types/graylistPromoted.d.ts.map +1 -0
  300. package/dist/generated/types/graylistPromoted.js +28 -0
  301. package/dist/generated/types/graylistPromoted.js.map +1 -0
  302. package/dist/generated/types/index.d.ts +13 -21
  303. package/dist/generated/types/index.d.ts.map +1 -1
  304. package/dist/generated/types/index.js +13 -21
  305. package/dist/generated/types/index.js.map +1 -1
  306. package/dist/generated/types/observeOnlyChanged.d.ts +33 -0
  307. package/dist/generated/types/observeOnlyChanged.d.ts.map +1 -0
  308. package/dist/generated/types/observeOnlyChanged.js +32 -0
  309. package/dist/generated/types/observeOnlyChanged.js.map +1 -0
  310. package/dist/generated/types/ownershipTransferAccepted.d.ts +32 -0
  311. package/dist/generated/types/ownershipTransferAccepted.d.ts.map +1 -0
  312. package/dist/generated/types/ownershipTransferAccepted.js +30 -0
  313. package/dist/generated/types/ownershipTransferAccepted.js.map +1 -0
  314. package/dist/generated/types/ownershipTransferCancelled.d.ts +29 -0
  315. package/dist/generated/types/ownershipTransferCancelled.d.ts.map +1 -0
  316. package/dist/generated/types/ownershipTransferCancelled.js +28 -0
  317. package/dist/generated/types/ownershipTransferCancelled.js.map +1 -0
  318. package/dist/generated/types/ownershipTransferInitiated.d.ts +33 -0
  319. package/dist/generated/types/ownershipTransferInitiated.d.ts.map +1 -0
  320. package/dist/generated/types/ownershipTransferInitiated.js +30 -0
  321. package/dist/generated/types/ownershipTransferInitiated.js.map +1 -0
  322. package/dist/generated/types/perRecipientCounter.d.ts +61 -0
  323. package/dist/generated/types/perRecipientCounter.d.ts.map +1 -0
  324. package/dist/generated/types/perRecipientCounter.js +26 -0
  325. package/dist/generated/types/perRecipientCounter.js.map +1 -0
  326. package/dist/generated/types/postAssertionEntry.d.ts +14 -7
  327. package/dist/generated/types/postAssertionEntry.d.ts.map +1 -1
  328. package/dist/generated/types/postAssertionEntry.js +5 -7
  329. package/dist/generated/types/postAssertionEntry.js.map +1 -1
  330. package/dist/generated/types/postAssertionEntryZC.d.ts +53 -22
  331. package/dist/generated/types/postAssertionEntryZC.d.ts.map +1 -1
  332. package/dist/generated/types/postAssertionEntryZC.js +4 -6
  333. package/dist/generated/types/postAssertionEntryZC.js.map +1 -1
  334. package/dist/generated/types/sessionFinalized.d.ts +0 -4
  335. package/dist/generated/types/sessionFinalized.d.ts.map +1 -1
  336. package/dist/generated/types/sessionFinalized.js +0 -2
  337. package/dist/generated/types/sessionFinalized.js.map +1 -1
  338. package/dist/generated/types/vaultFrozen.d.ts +26 -0
  339. package/dist/generated/types/vaultFrozen.d.ts.map +1 -1
  340. package/dist/generated/types/vaultFrozen.js +5 -1
  341. package/dist/generated/types/vaultFrozen.js.map +1 -1
  342. package/dist/index.d.ts +35 -6
  343. package/dist/index.d.ts.map +1 -1
  344. package/dist/index.js +81 -7
  345. package/dist/index.js.map +1 -1
  346. package/dist/inscribe.d.ts +0 -4
  347. package/dist/inscribe.d.ts.map +1 -1
  348. package/dist/inscribe.js +0 -1
  349. package/dist/inscribe.js.map +1 -1
  350. package/dist/inspector.d.ts +0 -23
  351. package/dist/inspector.d.ts.map +1 -1
  352. package/dist/inspector.js +0 -52
  353. package/dist/inspector.js.map +1 -1
  354. package/dist/kit-adapter.d.ts +1 -1
  355. package/dist/kit-adapter.d.ts.map +1 -1
  356. package/dist/kit-adapter.js +1 -1
  357. package/dist/kit-adapter.js.map +1 -1
  358. package/dist/logger.d.ts +48 -0
  359. package/dist/logger.d.ts.map +1 -1
  360. package/dist/logger.js +36 -0
  361. package/dist/logger.js.map +1 -1
  362. package/dist/multisig-detection.d.ts +83 -0
  363. package/dist/multisig-detection.d.ts.map +1 -0
  364. package/dist/multisig-detection.js +128 -0
  365. package/dist/multisig-detection.js.map +1 -0
  366. package/dist/owner-transaction.d.ts +8 -0
  367. package/dist/owner-transaction.d.ts.map +1 -1
  368. package/dist/owner-transaction.js +1 -0
  369. package/dist/owner-transaction.js.map +1 -1
  370. package/dist/ownership-transfer.d.ts +79 -0
  371. package/dist/ownership-transfer.d.ts.map +1 -0
  372. package/dist/ownership-transfer.js +66 -0
  373. package/dist/ownership-transfer.js.map +1 -0
  374. package/dist/policy/compute-cosign-digest.d.ts +193 -0
  375. package/dist/policy/compute-cosign-digest.d.ts.map +1 -0
  376. package/dist/policy/compute-cosign-digest.js +318 -0
  377. package/dist/policy/compute-cosign-digest.js.map +1 -0
  378. package/dist/policy/compute-policy-preview-digest.d.ts +258 -0
  379. package/dist/policy/compute-policy-preview-digest.d.ts.map +1 -0
  380. package/dist/policy/compute-policy-preview-digest.js +351 -0
  381. package/dist/policy/compute-policy-preview-digest.js.map +1 -0
  382. package/dist/policy-attestation.d.ts +51 -0
  383. package/dist/policy-attestation.d.ts.map +1 -0
  384. package/dist/policy-attestation.js +43 -0
  385. package/dist/policy-attestation.js.map +1 -0
  386. package/dist/presets.d.ts +1 -7
  387. package/dist/presets.d.ts.map +1 -1
  388. package/dist/presets.js +0 -5
  389. package/dist/presets.js.map +1 -1
  390. package/dist/preview-create-vault.d.ts +280 -0
  391. package/dist/preview-create-vault.d.ts.map +1 -0
  392. package/dist/preview-create-vault.js +498 -0
  393. package/dist/preview-create-vault.js.map +1 -0
  394. package/dist/resolve-accounts.d.ts +75 -10
  395. package/dist/resolve-accounts.d.ts.map +1 -1
  396. package/dist/resolve-accounts.js +68 -32
  397. package/dist/resolve-accounts.js.map +1 -1
  398. package/dist/rpc-helpers.d.ts +29 -3
  399. package/dist/rpc-helpers.d.ts.map +1 -1
  400. package/dist/rpc-helpers.js +51 -12
  401. package/dist/rpc-helpers.js.map +1 -1
  402. package/dist/seal/intent-digest.d.ts +195 -0
  403. package/dist/seal/intent-digest.d.ts.map +1 -0
  404. package/dist/seal/intent-digest.js +372 -0
  405. package/dist/seal/intent-digest.js.map +1 -0
  406. package/dist/seal.d.ts +166 -3
  407. package/dist/seal.d.ts.map +1 -1
  408. package/dist/seal.js +428 -8
  409. package/dist/seal.js.map +1 -1
  410. package/dist/security-analytics.d.ts +3 -3
  411. package/dist/security-analytics.d.ts.map +1 -1
  412. package/dist/security-analytics.js +13 -128
  413. package/dist/security-analytics.js.map +1 -1
  414. package/dist/session-mint.d.ts +72 -0
  415. package/dist/session-mint.d.ts.map +1 -0
  416. package/dist/session-mint.js +59 -0
  417. package/dist/session-mint.js.map +1 -0
  418. package/dist/sigil.d.ts +0 -4
  419. package/dist/sigil.d.ts.map +1 -1
  420. package/dist/simulation.d.ts +19 -0
  421. package/dist/simulation.d.ts.map +1 -1
  422. package/dist/simulation.js +211 -138
  423. package/dist/simulation.js.map +1 -1
  424. package/dist/squads-detection.d.ts +135 -0
  425. package/dist/squads-detection.d.ts.map +1 -0
  426. package/dist/squads-detection.js +124 -0
  427. package/dist/squads-detection.js.map +1 -0
  428. package/dist/state-resolver.d.ts +0 -16
  429. package/dist/state-resolver.d.ts.map +1 -1
  430. package/dist/state-resolver.js +162 -97
  431. package/dist/state-resolver.js.map +1 -1
  432. package/dist/testing/devnet.d.ts +40 -1
  433. package/dist/testing/devnet.d.ts.map +1 -1
  434. package/dist/testing/devnet.js +333 -45
  435. package/dist/testing/devnet.js.map +1 -1
  436. package/dist/testing/errors/expect.d.ts +137 -0
  437. package/dist/testing/errors/expect.d.ts.map +1 -0
  438. package/dist/testing/errors/expect.js +372 -0
  439. package/dist/testing/errors/expect.js.map +1 -0
  440. package/dist/testing/errors/index.d.ts +3 -0
  441. package/dist/testing/errors/index.d.ts.map +1 -0
  442. package/dist/testing/errors/index.js +8 -0
  443. package/dist/testing/errors/index.js.map +1 -0
  444. package/dist/testing/errors/names.generated.d.ts +211 -0
  445. package/dist/testing/errors/names.generated.d.ts.map +1 -0
  446. package/dist/testing/errors/names.generated.js +206 -0
  447. package/dist/testing/errors/names.generated.js.map +1 -0
  448. package/dist/testing/index.d.ts +1 -0
  449. package/dist/testing/index.d.ts.map +1 -1
  450. package/dist/testing/index.js +8 -0
  451. package/dist/testing/index.js.map +1 -1
  452. package/dist/testing/mock-rpc.d.ts +16 -0
  453. package/dist/testing/mock-rpc.d.ts.map +1 -1
  454. package/dist/testing/mock-rpc.js +27 -0
  455. package/dist/testing/mock-rpc.js.map +1 -1
  456. package/dist/testing/mock-state.d.ts +2 -0
  457. package/dist/testing/mock-state.d.ts.map +1 -1
  458. package/dist/testing/mock-state.js +45 -6
  459. package/dist/testing/mock-state.js.map +1 -1
  460. package/dist/types.d.ts +5 -15
  461. package/dist/types.d.ts.map +1 -1
  462. package/dist/types.js +11 -69
  463. package/dist/types.js.map +1 -1
  464. package/dist/vault-analytics.d.ts +0 -2
  465. package/dist/vault-analytics.d.ts.map +1 -1
  466. package/dist/vault-analytics.js +1 -9
  467. package/dist/vault-analytics.js.map +1 -1
  468. package/package.json +12 -5
  469. package/dist/dashboard/constraint-reads.d.ts +0 -50
  470. package/dist/dashboard/constraint-reads.d.ts.map +0 -1
  471. package/dist/dashboard/constraint-reads.js +0 -119
  472. package/dist/dashboard/constraint-reads.js.map +0 -1
  473. package/dist/generated/accounts/escrowDeposit.d.ts +0 -50
  474. package/dist/generated/accounts/escrowDeposit.d.ts.map +0 -1
  475. package/dist/generated/accounts/escrowDeposit.js +0 -76
  476. package/dist/generated/accounts/escrowDeposit.js.map +0 -1
  477. package/dist/generated/accounts/instructionConstraints.d.ts +0 -46
  478. package/dist/generated/accounts/instructionConstraints.d.ts.map +0 -1
  479. package/dist/generated/accounts/instructionConstraints.js +0 -73
  480. package/dist/generated/accounts/instructionConstraints.js.map +0 -1
  481. package/dist/generated/accounts/pendingCloseConstraints.d.ts +0 -37
  482. package/dist/generated/accounts/pendingCloseConstraints.d.ts.map +0 -1
  483. package/dist/generated/accounts/pendingCloseConstraints.js +0 -66
  484. package/dist/generated/accounts/pendingCloseConstraints.js.map +0 -1
  485. package/dist/generated/accounts/pendingConstraintsUpdate.d.ts +0 -62
  486. package/dist/generated/accounts/pendingConstraintsUpdate.d.ts.map +0 -1
  487. package/dist/generated/accounts/pendingConstraintsUpdate.js +0 -75
  488. package/dist/generated/accounts/pendingConstraintsUpdate.js.map +0 -1
  489. package/dist/generated/instructions/allocateConstraintsPda.d.ts +0 -62
  490. package/dist/generated/instructions/allocateConstraintsPda.d.ts.map +0 -1
  491. package/dist/generated/instructions/allocateConstraintsPda.js +0 -134
  492. package/dist/generated/instructions/allocateConstraintsPda.js.map +0 -1
  493. package/dist/generated/instructions/allocatePendingConstraintsPda.d.ts +0 -66
  494. package/dist/generated/instructions/allocatePendingConstraintsPda.d.ts.map +0 -1
  495. package/dist/generated/instructions/allocatePendingConstraintsPda.js.map +0 -1
  496. package/dist/generated/instructions/applyCloseConstraints.d.ts +0 -59
  497. package/dist/generated/instructions/applyCloseConstraints.d.ts.map +0 -1
  498. package/dist/generated/instructions/applyCloseConstraints.js +0 -143
  499. package/dist/generated/instructions/applyCloseConstraints.js.map +0 -1
  500. package/dist/generated/instructions/applyConstraintsUpdate.d.ts +0 -62
  501. package/dist/generated/instructions/applyConstraintsUpdate.d.ts.map +0 -1
  502. package/dist/generated/instructions/applyConstraintsUpdate.js.map +0 -1
  503. package/dist/generated/instructions/cancelCloseConstraints.d.ts +0 -51
  504. package/dist/generated/instructions/cancelCloseConstraints.d.ts.map +0 -1
  505. package/dist/generated/instructions/cancelCloseConstraints.js +0 -115
  506. package/dist/generated/instructions/cancelCloseConstraints.js.map +0 -1
  507. package/dist/generated/instructions/cancelConstraintsUpdate.d.ts +0 -51
  508. package/dist/generated/instructions/cancelConstraintsUpdate.d.ts.map +0 -1
  509. package/dist/generated/instructions/cancelConstraintsUpdate.js +0 -115
  510. package/dist/generated/instructions/cancelConstraintsUpdate.js.map +0 -1
  511. package/dist/generated/instructions/closeSettledEscrow.d.ts +0 -72
  512. package/dist/generated/instructions/closeSettledEscrow.d.ts.map +0 -1
  513. package/dist/generated/instructions/closeSettledEscrow.js +0 -127
  514. package/dist/generated/instructions/closeSettledEscrow.js.map +0 -1
  515. package/dist/generated/instructions/createEscrow.d.ts +0 -131
  516. package/dist/generated/instructions/createEscrow.d.ts.map +0 -1
  517. package/dist/generated/instructions/createEscrow.js +0 -272
  518. package/dist/generated/instructions/createEscrow.js.map +0 -1
  519. package/dist/generated/instructions/createInstructionConstraints.d.ts +0 -68
  520. package/dist/generated/instructions/createInstructionConstraints.d.ts.map +0 -1
  521. package/dist/generated/instructions/createInstructionConstraints.js.map +0 -1
  522. package/dist/generated/instructions/extendPda.d.ts +0 -52
  523. package/dist/generated/instructions/extendPda.d.ts.map +0 -1
  524. package/dist/generated/instructions/extendPda.js +0 -86
  525. package/dist/generated/instructions/extendPda.js.map +0 -1
  526. package/dist/generated/instructions/queueCloseConstraints.d.ts +0 -66
  527. package/dist/generated/instructions/queueCloseConstraints.d.ts.map +0 -1
  528. package/dist/generated/instructions/queueCloseConstraints.js.map +0 -1
  529. package/dist/generated/instructions/queueConstraintsUpdate.d.ts +0 -75
  530. package/dist/generated/instructions/queueConstraintsUpdate.d.ts.map +0 -1
  531. package/dist/generated/instructions/queueConstraintsUpdate.js +0 -154
  532. package/dist/generated/instructions/queueConstraintsUpdate.js.map +0 -1
  533. package/dist/generated/instructions/refundEscrow.d.ts +0 -74
  534. package/dist/generated/instructions/refundEscrow.d.ts.map +0 -1
  535. package/dist/generated/instructions/refundEscrow.js +0 -142
  536. package/dist/generated/instructions/refundEscrow.js.map +0 -1
  537. package/dist/generated/instructions/settleEscrow.d.ts +0 -80
  538. package/dist/generated/instructions/settleEscrow.d.ts.map +0 -1
  539. package/dist/generated/instructions/settleEscrow.js +0 -173
  540. package/dist/generated/instructions/settleEscrow.js.map +0 -1
  541. package/dist/generated/types/accountConstraint.d.ts +0 -18
  542. package/dist/generated/types/accountConstraint.d.ts.map +0 -1
  543. package/dist/generated/types/accountConstraint.js +0 -24
  544. package/dist/generated/types/accountConstraint.js.map +0 -1
  545. package/dist/generated/types/accountConstraintZC.d.ts +0 -18
  546. package/dist/generated/types/accountConstraintZC.d.ts.map +0 -1
  547. package/dist/generated/types/accountConstraintZC.js +0 -26
  548. package/dist/generated/types/accountConstraintZC.js.map +0 -1
  549. package/dist/generated/types/closeConstraintsApplied.d.ts +0 -20
  550. package/dist/generated/types/closeConstraintsApplied.d.ts.map +0 -1
  551. package/dist/generated/types/closeConstraintsApplied.js +0 -24
  552. package/dist/generated/types/closeConstraintsApplied.js.map +0 -1
  553. package/dist/generated/types/closeConstraintsCancelled.d.ts +0 -16
  554. package/dist/generated/types/closeConstraintsCancelled.d.ts.map +0 -1
  555. package/dist/generated/types/closeConstraintsCancelled.js +0 -18
  556. package/dist/generated/types/closeConstraintsCancelled.js.map +0 -1
  557. package/dist/generated/types/closeConstraintsQueued.d.ts +0 -20
  558. package/dist/generated/types/closeConstraintsQueued.d.ts.map +0 -1
  559. package/dist/generated/types/closeConstraintsQueued.js +0 -24
  560. package/dist/generated/types/closeConstraintsQueued.js.map +0 -1
  561. package/dist/generated/types/constraintEntry.d.ts +0 -39
  562. package/dist/generated/types/constraintEntry.d.ts.map +0 -1
  563. package/dist/generated/types/constraintEntry.js +0 -31
  564. package/dist/generated/types/constraintEntry.js.map +0 -1
  565. package/dist/generated/types/constraintEntryZC.d.ts +0 -68
  566. package/dist/generated/types/constraintEntryZC.d.ts.map +0 -1
  567. package/dist/generated/types/constraintEntryZC.js +0 -49
  568. package/dist/generated/types/constraintEntryZC.js.map +0 -1
  569. package/dist/generated/types/constraintOperator.d.ts +0 -22
  570. package/dist/generated/types/constraintOperator.d.ts.map +0 -1
  571. package/dist/generated/types/constraintOperator.js +0 -28
  572. package/dist/generated/types/constraintOperator.js.map +0 -1
  573. package/dist/generated/types/constraintsChangeApplied.d.ts +0 -30
  574. package/dist/generated/types/constraintsChangeApplied.d.ts.map +0 -1
  575. package/dist/generated/types/constraintsChangeApplied.js +0 -32
  576. package/dist/generated/types/constraintsChangeApplied.js.map +0 -1
  577. package/dist/generated/types/constraintsChangeCancelled.d.ts +0 -16
  578. package/dist/generated/types/constraintsChangeCancelled.d.ts.map +0 -1
  579. package/dist/generated/types/constraintsChangeCancelled.js +0 -18
  580. package/dist/generated/types/constraintsChangeCancelled.js.map +0 -1
  581. package/dist/generated/types/constraintsChangeQueued.d.ts +0 -30
  582. package/dist/generated/types/constraintsChangeQueued.d.ts.map +0 -1
  583. package/dist/generated/types/constraintsChangeQueued.js +0 -32
  584. package/dist/generated/types/constraintsChangeQueued.js.map +0 -1
  585. package/dist/generated/types/dataConstraint.d.ts +0 -23
  586. package/dist/generated/types/dataConstraint.d.ts.map +0 -1
  587. package/dist/generated/types/dataConstraint.js +0 -27
  588. package/dist/generated/types/dataConstraint.js.map +0 -1
  589. package/dist/generated/types/dataConstraintZC.d.ts +0 -20
  590. package/dist/generated/types/dataConstraintZC.d.ts.map +0 -1
  591. package/dist/generated/types/dataConstraintZC.js +0 -30
  592. package/dist/generated/types/dataConstraintZC.js.map +0 -1
  593. package/dist/generated/types/discriminatorFormat.d.ts +0 -25
  594. package/dist/generated/types/discriminatorFormat.d.ts.map +0 -1
  595. package/dist/generated/types/discriminatorFormat.js +0 -31
  596. package/dist/generated/types/discriminatorFormat.js.map +0 -1
  597. package/dist/generated/types/escrowCreated.d.ts +0 -30
  598. package/dist/generated/types/escrowCreated.d.ts.map +0 -1
  599. package/dist/generated/types/escrowCreated.js +0 -34
  600. package/dist/generated/types/escrowCreated.js.map +0 -1
  601. package/dist/generated/types/escrowRefunded.d.ts +0 -26
  602. package/dist/generated/types/escrowRefunded.d.ts.map +0 -1
  603. package/dist/generated/types/escrowRefunded.js +0 -30
  604. package/dist/generated/types/escrowRefunded.js.map +0 -1
  605. package/dist/generated/types/escrowSettled.d.ts +0 -26
  606. package/dist/generated/types/escrowSettled.d.ts.map +0 -1
  607. package/dist/generated/types/escrowSettled.js +0 -30
  608. package/dist/generated/types/escrowSettled.js.map +0 -1
  609. package/dist/generated/types/escrowStatus.d.ts +0 -18
  610. package/dist/generated/types/escrowStatus.d.ts.map +0 -1
  611. package/dist/generated/types/escrowStatus.js +0 -24
  612. package/dist/generated/types/escrowStatus.js.map +0 -1
  613. package/dist/generated/types/instructionConstraintsCreated.d.ts +0 -34
  614. package/dist/generated/types/instructionConstraintsCreated.d.ts.map +0 -1
  615. package/dist/generated/types/instructionConstraintsCreated.js +0 -36
  616. package/dist/generated/types/instructionConstraintsCreated.js.map +0 -1
  617. package/dist/generated/types/pdaAllocated.d.ts +0 -24
  618. package/dist/generated/types/pdaAllocated.d.ts.map +0 -1
  619. package/dist/generated/types/pdaAllocated.js.map +0 -1
  620. package/dist/generated/types/pdaExtended.d.ts +0 -24
  621. package/dist/generated/types/pdaExtended.d.ts.map +0 -1
  622. package/dist/generated/types/pdaExtended.js +0 -28
  623. package/dist/generated/types/pdaExtended.js.map +0 -1
  624. package/dist/integrations/protocol-handler.d.ts +0 -59
  625. package/dist/integrations/protocol-handler.d.ts.map +0 -1
  626. package/dist/integrations/protocol-handler.js +0 -9
  627. package/dist/integrations/protocol-handler.js.map +0 -1
@@ -21,159 +21,220 @@ export const SIGIL_ERROR__PROTOCOL_NOT_ALLOWED = 0x1774; // 6004
21
21
  export const SIGIL_ERROR__TRANSACTION_TOO_LARGE = 0x1775; // 6005
22
22
  /** SpendingCapExceeded: Rolling 24h spending cap would be exceeded */
23
23
  export const SIGIL_ERROR__SPENDING_CAP_EXCEEDED = 0x1776; // 6006
24
- /** LeverageTooHigh: Leverage exceeds maximum allowed */
25
- export const SIGIL_ERROR__LEVERAGE_TOO_HIGH = 0x1777; // 6007
26
24
  /** SessionNotAuthorized: Session not authorized */
27
- export const SIGIL_ERROR__SESSION_NOT_AUTHORIZED = 0x1778; // 6008
25
+ export const SIGIL_ERROR__SESSION_NOT_AUTHORIZED = 0x1777; // 6007
28
26
  /** InvalidSession: Invalid session: does not belong to this vault */
29
- export const SIGIL_ERROR__INVALID_SESSION = 0x1779; // 6009
27
+ export const SIGIL_ERROR__INVALID_SESSION = 0x1778; // 6008
30
28
  /** TooManyAllowedProtocols: Policy configuration invalid: too many allowed protocols */
31
- export const SIGIL_ERROR__TOO_MANY_ALLOWED_PROTOCOLS = 0x177a; // 6010
29
+ export const SIGIL_ERROR__TOO_MANY_ALLOWED_PROTOCOLS = 0x1779; // 6009
32
30
  /** AgentAlreadyRegistered: Agent already registered for this vault */
33
- export const SIGIL_ERROR__AGENT_ALREADY_REGISTERED = 0x177b; // 6011
31
+ export const SIGIL_ERROR__AGENT_ALREADY_REGISTERED = 0x177a; // 6010
34
32
  /** NoAgentRegistered: No agent registered for this vault */
35
- export const SIGIL_ERROR__NO_AGENT_REGISTERED = 0x177c; // 6012
33
+ export const SIGIL_ERROR__NO_AGENT_REGISTERED = 0x177b; // 6011
36
34
  /** VaultNotFrozen: Vault is not frozen (expected frozen for reactivation) */
37
- export const SIGIL_ERROR__VAULT_NOT_FROZEN = 0x177d; // 6013
35
+ export const SIGIL_ERROR__VAULT_NOT_FROZEN = 0x177c; // 6012
38
36
  /** VaultAlreadyClosed: Vault is already closed */
39
- export const SIGIL_ERROR__VAULT_ALREADY_CLOSED = 0x177e; // 6014
37
+ export const SIGIL_ERROR__VAULT_ALREADY_CLOSED = 0x177d; // 6013
40
38
  /** InsufficientBalance: Insufficient vault balance for withdrawal */
41
- export const SIGIL_ERROR__INSUFFICIENT_BALANCE = 0x177f; // 6015
39
+ export const SIGIL_ERROR__INSUFFICIENT_BALANCE = 0x177e; // 6014
42
40
  /** DeveloperFeeTooHigh: Developer fee rate exceeds maximum (500 / 1,000,000 = 5 BPS) */
43
- export const SIGIL_ERROR__DEVELOPER_FEE_TOO_HIGH = 0x1780; // 6016
41
+ export const SIGIL_ERROR__DEVELOPER_FEE_TOO_HIGH = 0x177f; // 6015
44
42
  /** InvalidFeeDestination: Fee destination account invalid */
45
- export const SIGIL_ERROR__INVALID_FEE_DESTINATION = 0x1781; // 6017
43
+ export const SIGIL_ERROR__INVALID_FEE_DESTINATION = 0x1780; // 6016
46
44
  /** InvalidProtocolTreasury: Protocol treasury account does not match expected address */
47
- export const SIGIL_ERROR__INVALID_PROTOCOL_TREASURY = 0x1782; // 6018
45
+ export const SIGIL_ERROR__INVALID_PROTOCOL_TREASURY = 0x1781; // 6017
48
46
  /** InvalidAgentKey: Invalid agent: cannot be the zero address */
49
- export const SIGIL_ERROR__INVALID_AGENT_KEY = 0x1783; // 6019
47
+ export const SIGIL_ERROR__INVALID_AGENT_KEY = 0x1782; // 6018
50
48
  /** AgentIsOwner: Invalid agent: agent cannot be the vault owner */
51
- export const SIGIL_ERROR__AGENT_IS_OWNER = 0x1784; // 6020
49
+ export const SIGIL_ERROR__AGENT_IS_OWNER = 0x1783; // 6019
52
50
  /** Overflow: Arithmetic overflow */
53
- export const SIGIL_ERROR__OVERFLOW = 0x1785; // 6021
51
+ export const SIGIL_ERROR__OVERFLOW = 0x1784; // 6020
54
52
  /** InvalidTokenAccount: Token account does not belong to vault or has wrong mint */
55
- export const SIGIL_ERROR__INVALID_TOKEN_ACCOUNT = 0x1786; // 6022
53
+ export const SIGIL_ERROR__INVALID_TOKEN_ACCOUNT = 0x1785; // 6021
56
54
  /** TimelockNotExpired: Timelock period has not expired yet */
57
- export const SIGIL_ERROR__TIMELOCK_NOT_EXPIRED = 0x1787; // 6023
55
+ export const SIGIL_ERROR__TIMELOCK_NOT_EXPIRED = 0x1786; // 6022
58
56
  /** NoTimelockConfigured: No timelock configured on this vault */
59
- export const SIGIL_ERROR__NO_TIMELOCK_CONFIGURED = 0x1788; // 6024
57
+ export const SIGIL_ERROR__NO_TIMELOCK_CONFIGURED = 0x1787; // 6023
60
58
  /** DestinationNotAllowed: Destination not in allowed list */
61
- export const SIGIL_ERROR__DESTINATION_NOT_ALLOWED = 0x1789; // 6025
59
+ export const SIGIL_ERROR__DESTINATION_NOT_ALLOWED = 0x1788; // 6024
62
60
  /** TooManyDestinations: Too many destinations (max 10) */
63
- export const SIGIL_ERROR__TOO_MANY_DESTINATIONS = 0x178a; // 6026
64
- /** InvalidProtocolMode: Invalid protocol mode (must be 0, 1, or 2) */
65
- export const SIGIL_ERROR__INVALID_PROTOCOL_MODE = 0x178b; // 6027
66
- /** InvalidNonSpendingAmount: Non-spending action must have amount = 0 */
67
- export const SIGIL_ERROR__INVALID_NON_SPENDING_AMOUNT = 0x178c; // 6028
61
+ export const SIGIL_ERROR__TOO_MANY_DESTINATIONS = 0x1789; // 6025
62
+ /** InvalidProtocolMode: Invalid protocol mode (must be 1 = ALLOWLIST) */
63
+ export const SIGIL_ERROR__INVALID_PROTOCOL_MODE = 0x178a; // 6026
68
64
  /** CpiCallNotAllowed: Instruction must be top-level (CPI calls not allowed) */
69
- export const SIGIL_ERROR__CPI_CALL_NOT_ALLOWED = 0x178d; // 6029
65
+ export const SIGIL_ERROR__CPI_CALL_NOT_ALLOWED = 0x178b; // 6027
70
66
  /** MissingFinalizeInstruction: Transaction must include finalize_session after validate */
71
- export const SIGIL_ERROR__MISSING_FINALIZE_INSTRUCTION = 0x178e; // 6030
67
+ export const SIGIL_ERROR__MISSING_FINALIZE_INSTRUCTION = 0x178c; // 6028
72
68
  /** NonTrackedSwapMustReturnStablecoin: Non-stablecoin swap must return stablecoin (balance did not increase) */
73
- export const SIGIL_ERROR__NON_TRACKED_SWAP_MUST_RETURN_STABLECOIN = 0x178f; // 6031
74
- /** SwapSlippageExceeded: Swap slippage exceeds policy max_slippage_bps or quoted output is zero */
75
- export const SIGIL_ERROR__SWAP_SLIPPAGE_EXCEEDED = 0x1790; // 6032
76
- /** InvalidJupiterInstruction: Cannot parse Jupiter swap instruction data */
77
- export const SIGIL_ERROR__INVALID_JUPITER_INSTRUCTION = 0x1791; // 6033
69
+ export const SIGIL_ERROR__NON_TRACKED_SWAP_MUST_RETURN_STABLECOIN = 0x178d; // 6029
78
70
  /** UnauthorizedTokenTransfer: Top-level SPL Token transfer not allowed between validate and finalize */
79
- export const SIGIL_ERROR__UNAUTHORIZED_TOKEN_TRANSFER = 0x1792; // 6034
71
+ export const SIGIL_ERROR__UNAUTHORIZED_TOKEN_TRANSFER = 0x178e; // 6030
80
72
  /** SlippageBpsTooHigh: Slippage BPS exceeds maximum (5000 = 50%) */
81
- export const SIGIL_ERROR__SLIPPAGE_BPS_TOO_HIGH = 0x1793; // 6035
73
+ export const SIGIL_ERROR__SLIPPAGE_BPS_TOO_HIGH = 0x178f; // 6031
82
74
  /** ProtocolMismatch: DeFi instruction program does not match declared target_protocol */
83
- export const SIGIL_ERROR__PROTOCOL_MISMATCH = 0x1794; // 6036
75
+ export const SIGIL_ERROR__PROTOCOL_MISMATCH = 0x1790; // 6032
84
76
  /** TooManyDeFiInstructions: Spending allows at most one DeFi instruction */
85
- export const SIGIL_ERROR__TOO_MANY_DE_FI_INSTRUCTIONS = 0x1795; // 6037
77
+ export const SIGIL_ERROR__TOO_MANY_DE_FI_INSTRUCTIONS = 0x1791; // 6033
86
78
  /** MaxAgentsReached: Maximum agents per vault reached (limit: 10) */
87
- export const SIGIL_ERROR__MAX_AGENTS_REACHED = 0x1796; // 6038
79
+ export const SIGIL_ERROR__MAX_AGENTS_REACHED = 0x1792; // 6034
88
80
  /** InsufficientPermissions: Agent lacks permission for this action type */
89
- export const SIGIL_ERROR__INSUFFICIENT_PERMISSIONS = 0x1797; // 6039
81
+ export const SIGIL_ERROR__INSUFFICIENT_PERMISSIONS = 0x1793; // 6035
90
82
  /** InvalidPermissions: Permission bitmask contains invalid bits */
91
- export const SIGIL_ERROR__INVALID_PERMISSIONS = 0x1798; // 6040
92
- /** EscrowNotActive: Escrow is not in Active status */
93
- export const SIGIL_ERROR__ESCROW_NOT_ACTIVE = 0x1799; // 6041
94
- /** EscrowExpired: Escrow has expired */
95
- export const SIGIL_ERROR__ESCROW_EXPIRED = 0x179a; // 6042
96
- /** EscrowNotExpired: Escrow has not expired yet */
97
- export const SIGIL_ERROR__ESCROW_NOT_EXPIRED = 0x179b; // 6043
98
- /** InvalidEscrowVault: Invalid escrow vault */
99
- export const SIGIL_ERROR__INVALID_ESCROW_VAULT = 0x179c; // 6044
100
- /** EscrowConditionsNotMet: Escrow conditions not met */
101
- export const SIGIL_ERROR__ESCROW_CONDITIONS_NOT_MET = 0x179d; // 6045
102
- /** EscrowDurationExceeded: Escrow duration exceeds maximum (30 days) */
103
- export const SIGIL_ERROR__ESCROW_DURATION_EXCEEDED = 0x179e; // 6046
83
+ export const SIGIL_ERROR__INVALID_PERMISSIONS = 0x1794; // 6036
104
84
  /** InvalidConstraintConfig: Invalid constraint configuration: bounds exceeded */
105
- export const SIGIL_ERROR__INVALID_CONSTRAINT_CONFIG = 0x179f; // 6047
106
- /** ConstraintViolated: Instruction constraint violated */
107
- export const SIGIL_ERROR__CONSTRAINT_VIOLATED = 0x17a0; // 6048
108
- /** InvalidConstraintsPda: Invalid constraints PDA: wrong owner or vault */
109
- export const SIGIL_ERROR__INVALID_CONSTRAINTS_PDA = 0x17a1; // 6049
110
- /** InvalidPendingConstraintsPda: Invalid pending constraints PDA: wrong owner or vault */
111
- export const SIGIL_ERROR__INVALID_PENDING_CONSTRAINTS_PDA = 0x17a2; // 6050
85
+ export const SIGIL_ERROR__INVALID_CONSTRAINT_CONFIG = 0x1795; // 6037
112
86
  /** AgentSpendLimitExceeded: Agent rolling 24h spend exceeds per-agent spending limit */
113
- export const SIGIL_ERROR__AGENT_SPEND_LIMIT_EXCEEDED = 0x17a3; // 6051
87
+ export const SIGIL_ERROR__AGENT_SPEND_LIMIT_EXCEEDED = 0x1796; // 6038
114
88
  /** OverlaySlotExhausted: Per-agent overlay is full; cannot register agent with spending limit */
115
- export const SIGIL_ERROR__OVERLAY_SLOT_EXHAUSTED = 0x17a4; // 6052
89
+ export const SIGIL_ERROR__OVERLAY_SLOT_EXHAUSTED = 0x1797; // 6039
116
90
  /** AgentSlotNotFound: Agent has per-agent spending limit but no overlay tracking slot */
117
- export const SIGIL_ERROR__AGENT_SLOT_NOT_FOUND = 0x17a5; // 6053
91
+ export const SIGIL_ERROR__AGENT_SLOT_NOT_FOUND = 0x1798; // 6040
118
92
  /** UnauthorizedTokenApproval: Unauthorized SPL Token Approve between validate and finalize */
119
- export const SIGIL_ERROR__UNAUTHORIZED_TOKEN_APPROVAL = 0x17a6; // 6054
120
- /** InvalidSessionExpiry: Session expiry slots out of range (10-450) */
121
- export const SIGIL_ERROR__INVALID_SESSION_EXPIRY = 0x17a7; // 6055
122
- /** UnconstrainedProgramBlocked: Program has no constraint entry and strict mode is enabled */
123
- export const SIGIL_ERROR__UNCONSTRAINED_PROGRAM_BLOCKED = 0x17a8; // 6056
124
- /** ProtocolCapExceeded: Per-protocol rolling 24h spending cap would be exceeded */
125
- export const SIGIL_ERROR__PROTOCOL_CAP_EXCEEDED = 0x17a9; // 6057
93
+ export const SIGIL_ERROR__UNAUTHORIZED_TOKEN_APPROVAL = 0x1799; // 6041
94
+ /** InvalidSessionExpiry: Session expiry seconds out of range (5-90) */
95
+ export const SIGIL_ERROR__INVALID_SESSION_EXPIRY = 0x179a; // 6042
96
+ /** ProtocolCapExceeded: Per-protocol rolling 24h spending cap would be exceeded LEGACY counter exhaustion path. New rolling-24h amount-based cap rejections use 6086 ErrDailyCapExceeded */
97
+ export const SIGIL_ERROR__PROTOCOL_CAP_EXCEEDED = 0x179b; // 6043
126
98
  /** ProtocolCapsMismatch: protocol_caps length must match protocols length when has_protocol_caps is true */
127
- export const SIGIL_ERROR__PROTOCOL_CAPS_MISMATCH = 0x17aa; // 6058
128
- /** ActiveEscrowsExist: Cannot close vault with active escrow deposits */
129
- export const SIGIL_ERROR__ACTIVE_ESCROWS_EXIST = 0x17ab; // 6059
130
- /** ConstraintsNotClosed: Instruction constraints must be closed before closing vault */
131
- export const SIGIL_ERROR__CONSTRAINTS_NOT_CLOSED = 0x17ac; // 6060
99
+ export const SIGIL_ERROR__PROTOCOL_CAPS_MISMATCH = 0x179c; // 6044
132
100
  /** PendingPolicyExists: Pending policy update must be applied or cancelled before closing vault */
133
- export const SIGIL_ERROR__PENDING_POLICY_EXISTS = 0x17ad; // 6061
101
+ export const SIGIL_ERROR__PENDING_POLICY_EXISTS = 0x179d; // 6045
134
102
  /** AgentPaused: Agent is paused and cannot execute actions */
135
- export const SIGIL_ERROR__AGENT_PAUSED = 0x17ae; // 6062
103
+ export const SIGIL_ERROR__AGENT_PAUSED = 0x179e; // 6046
136
104
  /** AgentAlreadyPaused: Agent is already paused */
137
- export const SIGIL_ERROR__AGENT_ALREADY_PAUSED = 0x17af; // 6063
105
+ export const SIGIL_ERROR__AGENT_ALREADY_PAUSED = 0x179f; // 6047
138
106
  /** AgentNotPaused: Agent is not paused */
139
- export const SIGIL_ERROR__AGENT_NOT_PAUSED = 0x17b0; // 6064
107
+ export const SIGIL_ERROR__AGENT_NOT_PAUSED = 0x17a0; // 6048
140
108
  /** UnauthorizedPostFinalizeInstruction: Instructions after finalize_session must be ComputeBudget or SystemProgram only */
141
- export const SIGIL_ERROR__UNAUTHORIZED_POST_FINALIZE_INSTRUCTION = 0x17b1; // 6065
109
+ export const SIGIL_ERROR__UNAUTHORIZED_POST_FINALIZE_INSTRUCTION = 0x17a1; // 6049
142
110
  /** UnexpectedBalanceDecrease: Vault balance decreased more than delegated amount — potential CPI attack */
143
- export const SIGIL_ERROR__UNEXPECTED_BALANCE_DECREASE = 0x17b2; // 6066
111
+ export const SIGIL_ERROR__UNEXPECTED_BALANCE_DECREASE = 0x17a2; // 6050
144
112
  /** TimelockTooShort: Timelock duration below minimum (1800 seconds / 30 minutes) */
145
- export const SIGIL_ERROR__TIMELOCK_TOO_SHORT = 0x17b3; // 6067
113
+ export const SIGIL_ERROR__TIMELOCK_TOO_SHORT = 0x17a3; // 6051
146
114
  /** PolicyVersionMismatch: Policy version mismatch — policy changed since agent's last RPC read */
147
- export const SIGIL_ERROR__POLICY_VERSION_MISMATCH = 0x17b4; // 6068
148
- /** PendingAgentPermsExists: A pending agent permissions update already exists for this agent */
149
- export const SIGIL_ERROR__PENDING_AGENT_PERMS_EXISTS = 0x17b5; // 6069
150
- /** PendingCloseConstraintsExists: A pending close constraints operation already exists for this vault */
151
- export const SIGIL_ERROR__PENDING_CLOSE_CONSTRAINTS_EXISTS = 0x17b6; // 6070
115
+ export const SIGIL_ERROR__POLICY_VERSION_MISMATCH = 0x17a4; // 6052
152
116
  /** ActiveSessionsExist: Cannot close vault with active sessions (finalize pending sessions first) */
153
- export const SIGIL_ERROR__ACTIVE_SESSIONS_EXIST = 0x17b7; // 6071
117
+ export const SIGIL_ERROR__ACTIVE_SESSIONS_EXIST = 0x17a5; // 6053
154
118
  /** PostAssertionFailed: Post-execution assertion failed: account state did not satisfy constraint */
155
- export const SIGIL_ERROR__POST_ASSERTION_FAILED = 0x17b8; // 6072
119
+ export const SIGIL_ERROR__POST_ASSERTION_FAILED = 0x17a6; // 6054
156
120
  /** InvalidPostAssertionIndex: Post-assertion constraint references invalid instruction index */
157
- export const SIGIL_ERROR__INVALID_POST_ASSERTION_INDEX = 0x17b9; // 6073
121
+ export const SIGIL_ERROR__INVALID_POST_ASSERTION_INDEX = 0x17a7; // 6055
158
122
  /** UnauthorizedPreValidateInstruction: Non-infrastructure instruction detected before validate_and_authorize */
159
- export const SIGIL_ERROR__UNAUTHORIZED_PRE_VALIDATE_INSTRUCTION = 0x17ba; // 6074
123
+ export const SIGIL_ERROR__UNAUTHORIZED_PRE_VALIDATE_INSTRUCTION = 0x17a8; // 6056
160
124
  /** SnapshotNotCaptured: Delta assertion snapshot was not captured in validate_and_authorize */
161
- export const SIGIL_ERROR__SNAPSHOT_NOT_CAPTURED = 0x17bb; // 6075
162
- /** ConstraintIndexOutOfBounds: Constraint entry index out of bounds for zero-copy array */
163
- export const SIGIL_ERROR__CONSTRAINT_INDEX_OUT_OF_BOUNDS = 0x17bc; // 6076
125
+ export const SIGIL_ERROR__SNAPSHOT_NOT_CAPTURED = 0x17a9; // 6057
164
126
  /** InvalidConstraintOperator: Constraint operator value is not a valid ConstraintOperator discriminant */
165
- export const SIGIL_ERROR__INVALID_CONSTRAINT_OPERATOR = 0x17bd; // 6077
166
- /** ConstraintsVaultMismatch: Zero-copy constraints account has wrong vault */
167
- export const SIGIL_ERROR__CONSTRAINTS_VAULT_MISMATCH = 0x17be; // 6078
168
- /** ConstraintEntryCountExceeded: Cannot pack entries: entry count exceeds MAX_CONSTRAINT_ENTRIES */
169
- export const SIGIL_ERROR__CONSTRAINT_ENTRY_COUNT_EXCEEDED = 0x17bf; // 6079
170
- /** BlockedSplOpcode: SPL opcode is blocked at runtime and cannot be used in constraints */
171
- export const SIGIL_ERROR__BLOCKED_SPL_OPCODE = 0x17c0; // 6080
127
+ export const SIGIL_ERROR__INVALID_CONSTRAINT_OPERATOR = 0x17aa; // 6058
128
+ /** ZeroCopyVaultMismatch: Zero-copy account vault key mismatch (defense-in-depth) */
129
+ export const SIGIL_ERROR__ZERO_COPY_VAULT_MISMATCH = 0x17ab; // 6059
130
+ /** QueuedUpdateExpired: Queued update is too old (>MAX_APPLY_AGE_SLOTS / >MAX_APPLY_AGE_SLOTS_TIMELOCKED_ADMIN) — re-queue via the matching queue/initiate ix (queue_policy_update, queue_agent_permissions_update, queue_agent_grant, or initiate_ownership_transfer) to apply. Defends against durable-nonce pre-signing (CH-1 audit 2026-05-23 extended scope to timelocked-admin PDAs). */
131
+ export const SIGIL_ERROR__QUEUED_UPDATE_EXPIRED = 0x17ac; // 6060
132
+ /** AccountWritabilityMismatch: Account writability flag does not match constraint requirement */
133
+ export const SIGIL_ERROR__ACCOUNT_WRITABILITY_MISMATCH = 0x17ad; // 6061
134
+ /** SysvarScanBoundExceeded: Sysvar instruction scan exceeded the per-tx safety bound */
135
+ export const SIGIL_ERROR__SYSVAR_SCAN_BOUND_EXCEEDED = 0x17ae; // 6062
136
+ /** AsyncFulfillmentNotPermitted: Async-fulfillment program is not permitted in V1 (Jupiter Perps, Drift, Drift JIT). Spending cannot be measured because keeper submits the actual transfer in a separate transaction after finalize_session returns. */
137
+ export const SIGIL_ERROR__ASYNC_FULFILLMENT_NOT_PERMITTED = 0x17af; // 6063
138
+ /** ConfidentialTransferBlocked: Token-2022 ConfidentialTransfer not permitted between validate and finalize */
139
+ export const SIGIL_ERROR__CONFIDENTIAL_TRANSFER_BLOCKED = 0x17b0; // 6064
140
+ /** PermanentDelegateBlocked: Token-2022 PermanentDelegate not permitted between validate and finalize */
141
+ export const SIGIL_ERROR__PERMANENT_DELEGATE_BLOCKED = 0x17b1; // 6065
142
+ /** TransferHookBlocked: Token-2022 TransferHook not permitted between validate and finalize */
143
+ export const SIGIL_ERROR__TRANSFER_HOOK_BLOCKED = 0x17b2; // 6066
144
+ /** LamportDrainBlocked: Token-2022 destructive-balance ix (opcodes 38/45/46) not permitted between validate and finalize */
145
+ export const SIGIL_ERROR__LAMPORT_DRAIN_BLOCKED = 0x17b3; // 6067
146
+ /** BatchInstructionBlocked: Token-2022 Batch instruction (opcode 255) is blocked outright — wraps inner instructions and bypasses byte-0 blocklist */
147
+ export const SIGIL_ERROR__BATCH_INSTRUCTION_BLOCKED = 0x17b4; // 6068
148
+ /** InvalidDestinationMode: Invalid destination mode (must be 0 = RESTRICTED) */
149
+ export const SIGIL_ERROR__INVALID_DESTINATION_MODE = 0x17b5; // 6069
150
+ /** InvalidCapability: Invalid agent capability value (must be 0 = Disabled, 1 = Observer, or 2 = Operator) */
151
+ export const SIGIL_ERROR__INVALID_CAPABILITY = 0x17b6; // 6070
152
+ /** PolicyPreviewMismatch: Policy preview digest mismatch — caller's signed digest differs from recomputed canonical digest */
153
+ export const SIGIL_ERROR__POLICY_PREVIEW_MISMATCH = 0x17b7; // 6071
154
+ /** ObserveOnlyModeBlocksExecute: Vault is in observe_only mode — validate_and_authorize is blocked */
155
+ export const SIGIL_ERROR__OBSERVE_ONLY_MODE_BLOCKS_EXECUTE = 0x17b8; // 6072
156
+ /** ActiveVaultRequiresAllowlist: Active (non-observe_only) vault must have at least one protocol or destination on the allowlist */
157
+ export const SIGIL_ERROR__ACTIVE_VAULT_REQUIRES_ALLOWLIST = 0x17b9; // 6073
158
+ /** ErrMintNotPinned: Deposit mint is not a build-time-pinned stablecoin (USDC or USDT) */
159
+ export const SIGIL_ERROR__ERR_MINT_NOT_PINNED = 0x17ba; // 6074
160
+ /** ErrOutsideOperatingHours: Current UTC hour is outside the policy's operating_hours bitmask */
161
+ export const SIGIL_ERROR__ERR_OUTSIDE_OPERATING_HOURS = 0x17bb; // 6075
162
+ /** ErrCooldownActive: Agent cooldown period has not elapsed since the last action */
163
+ export const SIGIL_ERROR__ERR_COOLDOWN_ACTIVE = 0x17bc; // 6076
164
+ /** ErrGraylistFriction: Destination is graylisted (24h friction window — awaiting promote_graylist_destination or unlock) */
165
+ export const SIGIL_ERROR__ERR_GRAYLIST_FRICTION = 0x17bd; // 6077
166
+ /** ErrGraylistFull: Destination graylist is full (max 10 entries) — wait for an existing entry to unlock or promote */
167
+ export const SIGIL_ERROR__ERR_GRAYLIST_FULL = 0x17be; // 6078
168
+ /** ErrToken2022ExtensionForbidden: Token-2022 mint has a forbidden extension (only MemoTransfer + MetadataPointer allowed) */
169
+ export const SIGIL_ERROR__ERR_TOKEN2022_EXTENSION_FORBIDDEN = 0x17bf; // 6079
170
+ /** ErrCosignRequired: Elevated policy mutation requires an owner-signed cosigning session */
171
+ export const SIGIL_ERROR__ERR_COSIGN_REQUIRED = 0x17c0; // 6080
172
+ /** ErrAutoRevoked: Agent capability auto-revoked after consecutive policy-violation failures; owner must re-enable */
173
+ export const SIGIL_ERROR__ERR_AUTO_REVOKED = 0x17c1; // 6081
174
+ /** ErrSandwichIntegrity: Bundle integrity violation: multiple validate_and_authorize instructions for the same (vault, agent, mint) tuple in one transaction */
175
+ export const SIGIL_ERROR__ERR_SANDWICH_INTEGRITY = 0x17c2; // 6082
176
+ /** ErrProtectedWritable: Protected Sigil PDA passed as writable to a foreign instruction between validate and finalize */
177
+ export const SIGIL_ERROR__ERR_PROTECTED_WRITABLE = 0x17c3; // 6083
178
+ /** ErrSessionNonceMismatch: Session nonce mismatch — caller's expected_nonce does not match the session's stored nonce (durable-nonce replay defense) */
179
+ export const SIGIL_ERROR__ERR_SESSION_NONCE_MISMATCH = 0x17c4; // 6084
180
+ /** ErrStableFloorViolation: Stable balance floor violated — combined USDC+USDT balance dropped below policy.stable_balance_floor */
181
+ export const SIGIL_ERROR__ERR_STABLE_FLOOR_VIOLATION = 0x17c5; // 6085
182
+ /** ErrDailyCapExceeded: Per-protocol daily spending cap would be exceeded (rolling 24h) */
183
+ export const SIGIL_ERROR__ERR_DAILY_CAP_EXCEEDED = 0x17c6; // 6086
184
+ /** ErrRecipientCapExceeded: Per-recipient daily cap exceeded — recipient outflow would breach policy.per_recipient_daily_cap_usd within the rolling 24h window, or per_recipient array full with no expired slot to evict */
185
+ export const SIGIL_ERROR__ERR_RECIPIENT_CAP_EXCEEDED = 0x17c7; // 6087
186
+ /** ErrMintDeltaCapExceeded: R-1 MintDeltaCap: vault-mint balance decreased by more than max_net_decrease */
187
+ export const SIGIL_ERROR__ERR_MINT_DELTA_CAP_EXCEEDED = 0x17c8; // 6088
188
+ /** MintDeltaCapMisconfigured: R-1 MintDeltaCap misconfigured — target account missing, mint mismatch, or owner not vault */
189
+ export const SIGIL_ERROR__MINT_DELTA_CAP_MISCONFIGURED = 0x17c9; // 6089
190
+ /** ErrAtaAuthorityChanged: R-2 AtaAuthorityPin: vault-owned token account authority changed or account closed/reinitialized mid-sandwich */
191
+ export const SIGIL_ERROR__ERR_ATA_AUTHORITY_CHANGED = 0x17ca; // 6090
192
+ /** ErrOutputBelowFloor: R-3 OutputBalanceFloor: post-execution balance increase fell below the configured min_increase floor */
193
+ export const SIGIL_ERROR__ERR_OUTPUT_BELOW_FLOOR = 0x17cb; // 6091
194
+ /** ErrDeclarationInconsistent: R-4 DeclarationConsistency: declared recipient/mint does not match CPI account-meta */
195
+ export const SIGIL_ERROR__ERR_DECLARATION_INCONSISTENT = 0x17cc; // 6092
196
+ /** IxMetaCountExceeded: Foreign instruction exceeded the account-meta processing budget; the bundle is rejected rather than partially inspected */
197
+ export const SIGIL_ERROR__IX_META_COUNT_EXCEEDED = 0x17cd; // 6093
198
+ /** ErrPendingOwnershipExists: An ownership transfer is already pending; cancel it first */
199
+ export const SIGIL_ERROR__ERR_PENDING_OWNERSHIP_EXISTS = 0x17ce; // 6094
200
+ /** ErrPendingOwnershipNotReady: Ownership transfer timelock has not elapsed */
201
+ export const SIGIL_ERROR__ERR_PENDING_OWNERSHIP_NOT_READY = 0x17cf; // 6095
202
+ /** ErrInvalidFreezeReason: freeze_reason value out of {{0,1,2}} */
203
+ export const SIGIL_ERROR__ERR_INVALID_FREEZE_REASON = 0x17d0; // 6096
204
+ /** ErrReactivateCooldownActive: Reactivate requires 5-minute observation cooldown to elapse */
205
+ export const SIGIL_ERROR__ERR_REACTIVATE_COOLDOWN_ACTIVE = 0x17d1; // 6097
206
+ /** ErrInvalidOwnershipTarget: new_owner cannot be system/program/sysvar addresses (Council ISC-128) */
207
+ export const SIGIL_ERROR__ERR_INVALID_OWNERSHIP_TARGET = 0x17d2; // 6098
208
+ /** ErrTooManyRevokePairs: freeze_internal MAX_REVOKE_PAIRS = 10 exceeded (Council ISC-136) */
209
+ export const SIGIL_ERROR__ERR_TOO_MANY_REVOKE_PAIRS = 0x17d3; // 6099
210
+ /** ErrPostAssertionsNotClosed: PostExecutionAssertions PDA still active — call close_post_assertions first */
211
+ export const SIGIL_ERROR__ERR_POST_ASSERTIONS_NOT_CLOSED = 0x17d4; // 6100
212
+ /** ErrDestinationIsProtectedPda: Destination is a Sigil-protected PDA — rejected at queue time */
213
+ export const SIGIL_ERROR__ERR_DESTINATION_IS_PROTECTED_PDA = 0x17d5; // 6101
214
+ /** ErrIntentDigestMismatch: AL3 intent-digest mismatch — preview digest does not match executed bundle */
215
+ export const SIGIL_ERROR__ERR_INTENT_DIGEST_MISMATCH = 0x17d6; // 6102
216
+ /** ErrPendingAgentGrantDigestMismatch: PendingAgentGrant digest mismatch between queue and apply */
217
+ export const SIGIL_ERROR__ERR_PENDING_AGENT_GRANT_DIGEST_MISMATCH = 0x17d7; // 6103
218
+ /** ErrReactivateCosignRequiredForFullCapability: Reactivate with FULL_CAPABILITY new agent requires cosign */
219
+ export const SIGIL_ERROR__ERR_REACTIVATE_COSIGN_REQUIRED_FOR_FULL_CAPABILITY = 0x17d8; // 6104
220
+ /** DestinationAccountUnresolvable: Writable DeFi account could not be resolved in remaining_accounts — destination set incomplete */
221
+ export const SIGIL_ERROR__DESTINATION_ACCOUNT_UNRESOLVABLE = 0x17d9; // 6105
222
+ /** ErrToken2022OutputMintUnresolvable: Vault-owned Token-2022 output ATA's mint is absent from remaining_accounts or not Token-2022-owned — cannot vet extensions */
223
+ export const SIGIL_ERROR__ERR_TOKEN2022_OUTPUT_MINT_UNRESOLVABLE = 0x17da; // 6106
224
+ /** ErrOperatorGrantRequiresTimelock: OPERATOR grant requires the timelock queue path on this vault — use queue_agent_grant */
225
+ export const SIGIL_ERROR__ERR_OPERATOR_GRANT_REQUIRES_TIMELOCK = 0x17db; // 6107
226
+ /** ErrOperatorGrantDelayTooLong: operator_grant_delay_seconds exceeds the maximum (48h) — would brick grant applicability */
227
+ export const SIGIL_ERROR__ERR_OPERATOR_GRANT_DELAY_TOO_LONG = 0x17dc; // 6108
228
+ /** InvalidOwnerType: vault.owner_type is not a recognized discriminant (expected 0=EOA or 1=multisig) */
229
+ export const SIGIL_ERROR__INVALID_OWNER_TYPE = 0x17dd; // 6109
230
+ /** SpendAccountingUnderflow: finalize spend accounting underflow: collected fees exceed realized stablecoin outflow */
231
+ export const SIGIL_ERROR__SPEND_ACCOUNTING_UNDERFLOW = 0x17de; // 6110
172
232
  let sigilErrorMessages;
173
233
  if (process.env.NODE_ENV !== "production") {
174
234
  sigilErrorMessages = {
175
- [SIGIL_ERROR__ACTIVE_ESCROWS_EXIST]: `Cannot close vault with active escrow deposits`,
235
+ [SIGIL_ERROR__ACCOUNT_WRITABILITY_MISMATCH]: `Account writability flag does not match constraint requirement`,
176
236
  [SIGIL_ERROR__ACTIVE_SESSIONS_EXIST]: `Cannot close vault with active sessions (finalize pending sessions first)`,
237
+ [SIGIL_ERROR__ACTIVE_VAULT_REQUIRES_ALLOWLIST]: `Active (non-observe_only) vault must have at least one protocol or destination on the allowlist`,
177
238
  [SIGIL_ERROR__AGENT_ALREADY_PAUSED]: `Agent is already paused`,
178
239
  [SIGIL_ERROR__AGENT_ALREADY_REGISTERED]: `Agent already registered for this vault`,
179
240
  [SIGIL_ERROR__AGENT_IS_OWNER]: `Invalid agent: agent cannot be the vault owner`,
@@ -181,78 +242,107 @@ if (process.env.NODE_ENV !== "production") {
181
242
  [SIGIL_ERROR__AGENT_PAUSED]: `Agent is paused and cannot execute actions`,
182
243
  [SIGIL_ERROR__AGENT_SLOT_NOT_FOUND]: `Agent has per-agent spending limit but no overlay tracking slot`,
183
244
  [SIGIL_ERROR__AGENT_SPEND_LIMIT_EXCEEDED]: `Agent rolling 24h spend exceeds per-agent spending limit`,
184
- [SIGIL_ERROR__BLOCKED_SPL_OPCODE]: `SPL opcode is blocked at runtime and cannot be used in constraints`,
185
- [SIGIL_ERROR__CONSTRAINT_ENTRY_COUNT_EXCEEDED]: `Cannot pack entries: entry count exceeds MAX_CONSTRAINT_ENTRIES`,
186
- [SIGIL_ERROR__CONSTRAINT_INDEX_OUT_OF_BOUNDS]: `Constraint entry index out of bounds for zero-copy array`,
187
- [SIGIL_ERROR__CONSTRAINTS_NOT_CLOSED]: `Instruction constraints must be closed before closing vault`,
188
- [SIGIL_ERROR__CONSTRAINTS_VAULT_MISMATCH]: `Zero-copy constraints account has wrong vault`,
189
- [SIGIL_ERROR__CONSTRAINT_VIOLATED]: `Instruction constraint violated`,
245
+ [SIGIL_ERROR__ASYNC_FULFILLMENT_NOT_PERMITTED]: `Async-fulfillment program is not permitted in V1 (Jupiter Perps, Drift, Drift JIT). Spending cannot be measured because keeper submits the actual transfer in a separate transaction after finalize_session returns.`,
246
+ [SIGIL_ERROR__BATCH_INSTRUCTION_BLOCKED]: `Token-2022 Batch instruction (opcode 255) is blocked outright — wraps inner instructions and bypasses byte-0 blocklist`,
247
+ [SIGIL_ERROR__CONFIDENTIAL_TRANSFER_BLOCKED]: `Token-2022 ConfidentialTransfer not permitted between validate and finalize`,
190
248
  [SIGIL_ERROR__CPI_CALL_NOT_ALLOWED]: `Instruction must be top-level (CPI calls not allowed)`,
249
+ [SIGIL_ERROR__DESTINATION_ACCOUNT_UNRESOLVABLE]: `Writable DeFi account could not be resolved in remaining_accounts — destination set incomplete`,
191
250
  [SIGIL_ERROR__DESTINATION_NOT_ALLOWED]: `Destination not in allowed list`,
192
251
  [SIGIL_ERROR__DEVELOPER_FEE_TOO_HIGH]: `Developer fee rate exceeds maximum (500 / 1,000,000 = 5 BPS)`,
193
- [SIGIL_ERROR__ESCROW_CONDITIONS_NOT_MET]: `Escrow conditions not met`,
194
- [SIGIL_ERROR__ESCROW_DURATION_EXCEEDED]: `Escrow duration exceeds maximum (30 days)`,
195
- [SIGIL_ERROR__ESCROW_EXPIRED]: `Escrow has expired`,
196
- [SIGIL_ERROR__ESCROW_NOT_ACTIVE]: `Escrow is not in Active status`,
197
- [SIGIL_ERROR__ESCROW_NOT_EXPIRED]: `Escrow has not expired yet`,
252
+ [SIGIL_ERROR__ERR_ATA_AUTHORITY_CHANGED]: `R-2 AtaAuthorityPin: vault-owned token account authority changed or account closed/reinitialized mid-sandwich`,
253
+ [SIGIL_ERROR__ERR_AUTO_REVOKED]: `Agent capability auto-revoked after consecutive policy-violation failures; owner must re-enable`,
254
+ [SIGIL_ERROR__ERR_COOLDOWN_ACTIVE]: `Agent cooldown period has not elapsed since the last action`,
255
+ [SIGIL_ERROR__ERR_COSIGN_REQUIRED]: `Elevated policy mutation requires an owner-signed cosigning session`,
256
+ [SIGIL_ERROR__ERR_DAILY_CAP_EXCEEDED]: `Per-protocol daily spending cap would be exceeded (rolling 24h)`,
257
+ [SIGIL_ERROR__ERR_DECLARATION_INCONSISTENT]: `R-4 DeclarationConsistency: declared recipient/mint does not match CPI account-meta`,
258
+ [SIGIL_ERROR__ERR_DESTINATION_IS_PROTECTED_PDA]: `Destination is a Sigil-protected PDA — rejected at queue time`,
259
+ [SIGIL_ERROR__ERR_GRAYLIST_FRICTION]: `Destination is graylisted (24h friction window — awaiting promote_graylist_destination or unlock)`,
260
+ [SIGIL_ERROR__ERR_GRAYLIST_FULL]: `Destination graylist is full (max 10 entries) — wait for an existing entry to unlock or promote`,
261
+ [SIGIL_ERROR__ERR_INTENT_DIGEST_MISMATCH]: `AL3 intent-digest mismatch — preview digest does not match executed bundle`,
262
+ [SIGIL_ERROR__ERR_INVALID_FREEZE_REASON]: `freeze_reason value out of {{0,1,2}}`,
263
+ [SIGIL_ERROR__ERR_INVALID_OWNERSHIP_TARGET]: `new_owner cannot be system/program/sysvar addresses (Council ISC-128)`,
264
+ [SIGIL_ERROR__ERR_MINT_DELTA_CAP_EXCEEDED]: `R-1 MintDeltaCap: vault-mint balance decreased by more than max_net_decrease`,
265
+ [SIGIL_ERROR__ERR_MINT_NOT_PINNED]: `Deposit mint is not a build-time-pinned stablecoin (USDC or USDT)`,
266
+ [SIGIL_ERROR__ERR_OPERATOR_GRANT_DELAY_TOO_LONG]: `operator_grant_delay_seconds exceeds the maximum (48h) — would brick grant applicability`,
267
+ [SIGIL_ERROR__ERR_OPERATOR_GRANT_REQUIRES_TIMELOCK]: `OPERATOR grant requires the timelock queue path on this vault — use queue_agent_grant`,
268
+ [SIGIL_ERROR__ERR_OUTPUT_BELOW_FLOOR]: `R-3 OutputBalanceFloor: post-execution balance increase fell below the configured min_increase floor`,
269
+ [SIGIL_ERROR__ERR_OUTSIDE_OPERATING_HOURS]: `Current UTC hour is outside the policy's operating_hours bitmask`,
270
+ [SIGIL_ERROR__ERR_PENDING_AGENT_GRANT_DIGEST_MISMATCH]: `PendingAgentGrant digest mismatch between queue and apply`,
271
+ [SIGIL_ERROR__ERR_PENDING_OWNERSHIP_EXISTS]: `An ownership transfer is already pending; cancel it first`,
272
+ [SIGIL_ERROR__ERR_PENDING_OWNERSHIP_NOT_READY]: `Ownership transfer timelock has not elapsed`,
273
+ [SIGIL_ERROR__ERR_POST_ASSERTIONS_NOT_CLOSED]: `PostExecutionAssertions PDA still active — call close_post_assertions first`,
274
+ [SIGIL_ERROR__ERR_PROTECTED_WRITABLE]: `Protected Sigil PDA passed as writable to a foreign instruction between validate and finalize`,
275
+ [SIGIL_ERROR__ERR_REACTIVATE_COOLDOWN_ACTIVE]: `Reactivate requires 5-minute observation cooldown to elapse`,
276
+ [SIGIL_ERROR__ERR_REACTIVATE_COSIGN_REQUIRED_FOR_FULL_CAPABILITY]: `Reactivate with FULL_CAPABILITY new agent requires cosign`,
277
+ [SIGIL_ERROR__ERR_RECIPIENT_CAP_EXCEEDED]: `Per-recipient daily cap exceeded — recipient outflow would breach policy.per_recipient_daily_cap_usd within the rolling 24h window, or per_recipient array full with no expired slot to evict`,
278
+ [SIGIL_ERROR__ERR_SANDWICH_INTEGRITY]: `Bundle integrity violation: multiple validate_and_authorize instructions for the same (vault, agent, mint) tuple in one transaction`,
279
+ [SIGIL_ERROR__ERR_SESSION_NONCE_MISMATCH]: `Session nonce mismatch — caller's expected_nonce does not match the session's stored nonce (durable-nonce replay defense)`,
280
+ [SIGIL_ERROR__ERR_STABLE_FLOOR_VIOLATION]: `Stable balance floor violated — combined USDC+USDT balance dropped below policy.stable_balance_floor`,
281
+ [SIGIL_ERROR__ERR_TOKEN2022_EXTENSION_FORBIDDEN]: `Token-2022 mint has a forbidden extension (only MemoTransfer + MetadataPointer allowed)`,
282
+ [SIGIL_ERROR__ERR_TOKEN2022_OUTPUT_MINT_UNRESOLVABLE]: `Vault-owned Token-2022 output ATA's mint is absent from remaining_accounts or not Token-2022-owned — cannot vet extensions`,
283
+ [SIGIL_ERROR__ERR_TOO_MANY_REVOKE_PAIRS]: `freeze_internal MAX_REVOKE_PAIRS = 10 exceeded (Council ISC-136)`,
198
284
  [SIGIL_ERROR__INSUFFICIENT_BALANCE]: `Insufficient vault balance for withdrawal`,
199
285
  [SIGIL_ERROR__INSUFFICIENT_PERMISSIONS]: `Agent lacks permission for this action type`,
200
286
  [SIGIL_ERROR__INVALID_AGENT_KEY]: `Invalid agent: cannot be the zero address`,
287
+ [SIGIL_ERROR__INVALID_CAPABILITY]: `Invalid agent capability value (must be 0 = Disabled, 1 = Observer, or 2 = Operator)`,
201
288
  [SIGIL_ERROR__INVALID_CONSTRAINT_CONFIG]: `Invalid constraint configuration: bounds exceeded`,
202
289
  [SIGIL_ERROR__INVALID_CONSTRAINT_OPERATOR]: `Constraint operator value is not a valid ConstraintOperator discriminant`,
203
- [SIGIL_ERROR__INVALID_CONSTRAINTS_PDA]: `Invalid constraints PDA: wrong owner or vault`,
204
- [SIGIL_ERROR__INVALID_ESCROW_VAULT]: `Invalid escrow vault`,
290
+ [SIGIL_ERROR__INVALID_DESTINATION_MODE]: `Invalid destination mode (must be 0 = RESTRICTED)`,
205
291
  [SIGIL_ERROR__INVALID_FEE_DESTINATION]: `Fee destination account invalid`,
206
- [SIGIL_ERROR__INVALID_JUPITER_INSTRUCTION]: `Cannot parse Jupiter swap instruction data`,
207
- [SIGIL_ERROR__INVALID_NON_SPENDING_AMOUNT]: `Non-spending action must have amount = 0`,
208
- [SIGIL_ERROR__INVALID_PENDING_CONSTRAINTS_PDA]: `Invalid pending constraints PDA: wrong owner or vault`,
292
+ [SIGIL_ERROR__INVALID_OWNER_TYPE]: `vault.owner_type is not a recognized discriminant (expected 0=EOA or 1=multisig)`,
209
293
  [SIGIL_ERROR__INVALID_PERMISSIONS]: `Permission bitmask contains invalid bits`,
210
294
  [SIGIL_ERROR__INVALID_POST_ASSERTION_INDEX]: `Post-assertion constraint references invalid instruction index`,
211
- [SIGIL_ERROR__INVALID_PROTOCOL_MODE]: `Invalid protocol mode (must be 0, 1, or 2)`,
295
+ [SIGIL_ERROR__INVALID_PROTOCOL_MODE]: `Invalid protocol mode (must be 1 = ALLOWLIST)`,
212
296
  [SIGIL_ERROR__INVALID_PROTOCOL_TREASURY]: `Protocol treasury account does not match expected address`,
213
297
  [SIGIL_ERROR__INVALID_SESSION]: `Invalid session: does not belong to this vault`,
214
- [SIGIL_ERROR__INVALID_SESSION_EXPIRY]: `Session expiry slots out of range (10-450)`,
298
+ [SIGIL_ERROR__INVALID_SESSION_EXPIRY]: `Session expiry seconds out of range (5-90)`,
215
299
  [SIGIL_ERROR__INVALID_TOKEN_ACCOUNT]: `Token account does not belong to vault or has wrong mint`,
216
- [SIGIL_ERROR__LEVERAGE_TOO_HIGH]: `Leverage exceeds maximum allowed`,
300
+ [SIGIL_ERROR__IX_META_COUNT_EXCEEDED]: `Foreign instruction exceeded the account-meta processing budget; the bundle is rejected rather than partially inspected`,
301
+ [SIGIL_ERROR__LAMPORT_DRAIN_BLOCKED]: `Token-2022 destructive-balance ix (opcodes 38/45/46) not permitted between validate and finalize`,
217
302
  [SIGIL_ERROR__MAX_AGENTS_REACHED]: `Maximum agents per vault reached (limit: 10)`,
303
+ [SIGIL_ERROR__MINT_DELTA_CAP_MISCONFIGURED]: `R-1 MintDeltaCap misconfigured — target account missing, mint mismatch, or owner not vault`,
218
304
  [SIGIL_ERROR__MISSING_FINALIZE_INSTRUCTION]: `Transaction must include finalize_session after validate`,
219
305
  [SIGIL_ERROR__NO_AGENT_REGISTERED]: `No agent registered for this vault`,
220
306
  [SIGIL_ERROR__NON_TRACKED_SWAP_MUST_RETURN_STABLECOIN]: `Non-stablecoin swap must return stablecoin (balance did not increase)`,
221
307
  [SIGIL_ERROR__NO_TIMELOCK_CONFIGURED]: `No timelock configured on this vault`,
308
+ [SIGIL_ERROR__OBSERVE_ONLY_MODE_BLOCKS_EXECUTE]: `Vault is in observe_only mode — validate_and_authorize is blocked`,
222
309
  [SIGIL_ERROR__OVERFLOW]: `Arithmetic overflow`,
223
310
  [SIGIL_ERROR__OVERLAY_SLOT_EXHAUSTED]: `Per-agent overlay is full; cannot register agent with spending limit`,
224
- [SIGIL_ERROR__PENDING_AGENT_PERMS_EXISTS]: `A pending agent permissions update already exists for this agent`,
225
- [SIGIL_ERROR__PENDING_CLOSE_CONSTRAINTS_EXISTS]: `A pending close constraints operation already exists for this vault`,
226
311
  [SIGIL_ERROR__PENDING_POLICY_EXISTS]: `Pending policy update must be applied or cancelled before closing vault`,
312
+ [SIGIL_ERROR__PERMANENT_DELEGATE_BLOCKED]: `Token-2022 PermanentDelegate not permitted between validate and finalize`,
313
+ [SIGIL_ERROR__POLICY_PREVIEW_MISMATCH]: `Policy preview digest mismatch — caller's signed digest differs from recomputed canonical digest`,
227
314
  [SIGIL_ERROR__POLICY_VERSION_MISMATCH]: `Policy version mismatch — policy changed since agent's last RPC read`,
228
315
  [SIGIL_ERROR__POST_ASSERTION_FAILED]: `Post-execution assertion failed: account state did not satisfy constraint`,
229
- [SIGIL_ERROR__PROTOCOL_CAP_EXCEEDED]: `Per-protocol rolling 24h spending cap would be exceeded`,
316
+ [SIGIL_ERROR__PROTOCOL_CAP_EXCEEDED]: `Per-protocol rolling 24h spending cap would be exceeded — LEGACY counter exhaustion path. New rolling-24h amount-based cap rejections use 6086 ErrDailyCapExceeded`,
230
317
  [SIGIL_ERROR__PROTOCOL_CAPS_MISMATCH]: `protocol_caps length must match protocols length when has_protocol_caps is true`,
231
318
  [SIGIL_ERROR__PROTOCOL_MISMATCH]: `DeFi instruction program does not match declared target_protocol`,
232
319
  [SIGIL_ERROR__PROTOCOL_NOT_ALLOWED]: `Protocol not allowed by policy`,
320
+ [SIGIL_ERROR__QUEUED_UPDATE_EXPIRED]: `Queued update is too old (>MAX_APPLY_AGE_SLOTS / >MAX_APPLY_AGE_SLOTS_TIMELOCKED_ADMIN) — re-queue via the matching queue/initiate ix (queue_policy_update, queue_agent_permissions_update, queue_agent_grant, or initiate_ownership_transfer) to apply. Defends against durable-nonce pre-signing (CH-1 audit 2026-05-23 extended scope to timelocked-admin PDAs).`,
233
321
  [SIGIL_ERROR__SESSION_NOT_AUTHORIZED]: `Session not authorized`,
234
322
  [SIGIL_ERROR__SLIPPAGE_BPS_TOO_HIGH]: `Slippage BPS exceeds maximum (5000 = 50%)`,
235
323
  [SIGIL_ERROR__SNAPSHOT_NOT_CAPTURED]: `Delta assertion snapshot was not captured in validate_and_authorize`,
324
+ [SIGIL_ERROR__SPEND_ACCOUNTING_UNDERFLOW]: `finalize spend accounting underflow: collected fees exceed realized stablecoin outflow`,
236
325
  [SIGIL_ERROR__SPENDING_CAP_EXCEEDED]: `Rolling 24h spending cap would be exceeded`,
237
- [SIGIL_ERROR__SWAP_SLIPPAGE_EXCEEDED]: `Swap slippage exceeds policy max_slippage_bps or quoted output is zero`,
326
+ [SIGIL_ERROR__SYSVAR_SCAN_BOUND_EXCEEDED]: `Sysvar instruction scan exceeded the per-tx safety bound`,
238
327
  [SIGIL_ERROR__TIMELOCK_NOT_EXPIRED]: `Timelock period has not expired yet`,
239
328
  [SIGIL_ERROR__TIMELOCK_TOO_SHORT]: `Timelock duration below minimum (1800 seconds / 30 minutes)`,
240
329
  [SIGIL_ERROR__TOO_MANY_ALLOWED_PROTOCOLS]: `Policy configuration invalid: too many allowed protocols`,
241
330
  [SIGIL_ERROR__TOO_MANY_DE_FI_INSTRUCTIONS]: `Spending allows at most one DeFi instruction`,
242
331
  [SIGIL_ERROR__TOO_MANY_DESTINATIONS]: `Too many destinations (max 10)`,
243
332
  [SIGIL_ERROR__TRANSACTION_TOO_LARGE]: `Transaction exceeds maximum single transaction size`,
333
+ [SIGIL_ERROR__TRANSFER_HOOK_BLOCKED]: `Token-2022 TransferHook not permitted between validate and finalize`,
244
334
  [SIGIL_ERROR__UNAUTHORIZED_AGENT]: `Unauthorized: signer is not the registered agent`,
245
335
  [SIGIL_ERROR__UNAUTHORIZED_OWNER]: `Unauthorized: signer is not the vault owner`,
246
336
  [SIGIL_ERROR__UNAUTHORIZED_POST_FINALIZE_INSTRUCTION]: `Instructions after finalize_session must be ComputeBudget or SystemProgram only`,
247
337
  [SIGIL_ERROR__UNAUTHORIZED_PRE_VALIDATE_INSTRUCTION]: `Non-infrastructure instruction detected before validate_and_authorize`,
248
338
  [SIGIL_ERROR__UNAUTHORIZED_TOKEN_APPROVAL]: `Unauthorized SPL Token Approve between validate and finalize`,
249
339
  [SIGIL_ERROR__UNAUTHORIZED_TOKEN_TRANSFER]: `Top-level SPL Token transfer not allowed between validate and finalize`,
250
- [SIGIL_ERROR__UNCONSTRAINED_PROGRAM_BLOCKED]: `Program has no constraint entry and strict mode is enabled`,
251
340
  [SIGIL_ERROR__UNEXPECTED_BALANCE_DECREASE]: `Vault balance decreased more than delegated amount — potential CPI attack`,
252
341
  [SIGIL_ERROR__UNSUPPORTED_TOKEN]: `Token is not a supported stablecoin (only USDC and USDT)`,
253
342
  [SIGIL_ERROR__VAULT_ALREADY_CLOSED]: `Vault is already closed`,
254
343
  [SIGIL_ERROR__VAULT_NOT_ACTIVE]: `Vault is not active`,
255
344
  [SIGIL_ERROR__VAULT_NOT_FROZEN]: `Vault is not frozen (expected frozen for reactivation)`,
345
+ [SIGIL_ERROR__ZERO_COPY_VAULT_MISMATCH]: `Zero-copy account vault key mismatch (defense-in-depth)`,
256
346
  };
257
347
  }
258
348
  export function getSigilErrorMessage(code) {
@@ -1 +1 @@
1
- {"version":3,"file":"sigil.js","sourceRoot":"","sources":["../../../src/generated/errors/sigil.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,cAAc,GAIf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,0CAA0C;AAC1C,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC5D,0EAA0E;AAC1E,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC9D,qEAAqE;AACrE,MAAM,CAAC,MAAM,+BAA+B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC9D,iFAAiF;AACjF,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,CAAC,OAAO;AAC7D,yDAAyD;AACzD,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC,CAAC,OAAO;AAChE,+EAA+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,QAAQ,KAAK,YAAY,EAAE,CAAC;QAC1C,OAAQ,kBAAiD,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,oDAAoD,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,YAAY,CAC1B,KAAc,EACd,kBAEC,EACD,IAAwB;IAGxB,OAAO,cAAc,CACnB,KAAK,EACL,kBAAkB,EAClB,qBAAqB,EACrB,IAAI,CACL,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"event-discriminators.d.ts","sourceRoot":"","sources":["../../src/generated/event-discriminators.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAsC1D,CAAC"}
1
+ {"version":3,"file":"event-discriminators.d.ts","sourceRoot":"","sources":["../../src/generated/event-discriminators.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoC1D,CAAC"}
@@ -1,10 +1,14 @@
1
1
  // AUTO-GENERATED by codama.mjs — do not edit manually.
2
2
  // Re-run `pnpm run codama` after any Rust event changes.
3
3
  //
4
- // Source: target/idl/sigil.json (37 events)
4
+ // Source: target/idl/sigil.json (35 events)
5
5
  // Discriminator = SHA256("event:<EventName>")[0..8]
6
6
  export const EVENT_DISCRIMINATOR_MAP = {
7
7
  "555a3bda7e08b33f": "ActionAuthorized",
8
+ "0d8542997e60bfdd": "AgentAutoRevoked",
9
+ "99f2ce4f9faeef86": "AgentGrantApplied",
10
+ "8b0f543f462ee982": "AgentGrantCancelled",
11
+ "d8348d66b864ae79": "AgentGrantQueued",
8
12
  "274a945ec6a67917": "AgentPausedEvent",
9
13
  "e9f7671e82adc4b7": "AgentPermissionsChangeApplied",
10
14
  "6b15814d018844d8": "AgentPermissionsChangeCancelled",
@@ -14,22 +18,16 @@ export const EVENT_DISCRIMINATOR_MAP = {
14
18
  "6b803c90a3532dd7": "AgentSpendLimitChecked",
15
19
  "583475457098a728": "AgentTransferExecuted",
16
20
  "dabbfd7c4fc02ab5": "AgentUnpausedEvent",
17
- "ba3e196d90cf530d": "CloseConstraintsApplied",
18
- "66e2abbf6362ff86": "CloseConstraintsCancelled",
19
- "4d17e8996c2ef335": "CloseConstraintsQueued",
20
- "70966f7df3852337": "ConstraintsChangeApplied",
21
- "0f4b68de68c14191": "ConstraintsChangeCancelled",
22
- "6fdd6495341758d4": "ConstraintsChangeQueued",
23
21
  "3b9e8e31a474dc08": "DelegationRevoked",
24
- "467f69665c6107ad": "EscrowCreated",
25
- "84d1316d878a1c51": "EscrowRefunded",
26
- "611b9637cbb3ad17": "EscrowSettled",
27
22
  "e91775e16bb2fe08": "FeesCollected",
28
23
  "9dd1645f3b640344": "FundsDeposited",
29
24
  "3882e69a235c0b76": "FundsWithdrawn",
30
- "08aa63e81fd8391a": "InstructionConstraintsCreated",
31
- "1b63c3c6ee3503b5": "PdaAllocated",
32
- "43975f4f0c0b33f2": "PdaExtended",
25
+ "47bd7f0bdb542edb": "GraylistEntered",
26
+ "a9242056cb220024": "GraylistPromoted",
27
+ "b4d1a255c5cde7aa": "ObserveOnlyChanged",
28
+ "aada7c1346796308": "OwnershipTransferAccepted",
29
+ "78cba291b439fd17": "OwnershipTransferCancelled",
30
+ "b520283c3c40eb1d": "OwnershipTransferInitiated",
33
31
  "68590564b4ca3449": "PolicyChangeApplied",
34
32
  "c89ee2ff19d31e97": "PolicyChangeCancelled",
35
33
  "49e7b6888d78204f": "PolicyChangeQueued",
@@ -1 +1 @@
1
- {"version":3,"file":"event-discriminators.js","sourceRoot":"","sources":["../../src/generated/event-discriminators.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,yDAAyD;AACzD,EAAE;AACF,4CAA4C;AAC5C,oDAAoD;AAEpD,MAAM,CAAC,MAAM,uBAAuB,GAA2B;IAC7D,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,+BAA+B;IACnD,kBAAkB,EAAE,iCAAiC;IACrD,kBAAkB,EAAE,8BAA8B;IAClD,kBAAkB,EAAE,iBAAiB;IACrC,kBAAkB,EAAE,cAAc;IAClC,kBAAkB,EAAE,wBAAwB;IAC5C,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,yBAAyB;IAC7C,kBAAkB,EAAE,2BAA2B;IAC/C,kBAAkB,EAAE,wBAAwB;IAC5C,kBAAkB,EAAE,0BAA0B;IAC9C,kBAAkB,EAAE,4BAA4B;IAChD,kBAAkB,EAAE,yBAAyB;IAC7C,kBAAkB,EAAE,mBAAmB;IACvC,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,gBAAgB;IACpC,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,gBAAgB;IACpC,kBAAkB,EAAE,gBAAgB;IACpC,kBAAkB,EAAE,+BAA+B;IACnD,kBAAkB,EAAE,cAAc;IAClC,kBAAkB,EAAE,aAAa;IACjC,kBAAkB,EAAE,qBAAqB;IACzC,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,sBAAsB;IAC1C,kBAAkB,EAAE,sBAAsB;IAC1C,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,aAAa;IACjC,kBAAkB,EAAE,cAAc;IAClC,kBAAkB,EAAE,aAAa;IACjC,kBAAkB,EAAE,kBAAkB;CACvC,CAAC"}
1
+ {"version":3,"file":"event-discriminators.js","sourceRoot":"","sources":["../../src/generated/event-discriminators.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,yDAAyD;AACzD,EAAE;AACF,4CAA4C;AAC5C,oDAAoD;AAEpD,MAAM,CAAC,MAAM,uBAAuB,GAA2B;IAC7D,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,mBAAmB;IACvC,kBAAkB,EAAE,qBAAqB;IACzC,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,+BAA+B;IACnD,kBAAkB,EAAE,iCAAiC;IACrD,kBAAkB,EAAE,8BAA8B;IAClD,kBAAkB,EAAE,iBAAiB;IACrC,kBAAkB,EAAE,cAAc;IAClC,kBAAkB,EAAE,wBAAwB;IAC5C,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,mBAAmB;IACvC,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,gBAAgB;IACpC,kBAAkB,EAAE,gBAAgB;IACpC,kBAAkB,EAAE,iBAAiB;IACrC,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,2BAA2B;IAC/C,kBAAkB,EAAE,4BAA4B;IAChD,kBAAkB,EAAE,4BAA4B;IAChD,kBAAkB,EAAE,qBAAqB;IACzC,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,oBAAoB;IACxC,kBAAkB,EAAE,sBAAsB;IAC1C,kBAAkB,EAAE,sBAAsB;IAC1C,kBAAkB,EAAE,uBAAuB;IAC3C,kBAAkB,EAAE,kBAAkB;IACtC,kBAAkB,EAAE,aAAa;IACjC,kBAAkB,EAAE,cAAc;IAClC,kBAAkB,EAAE,aAAa;IACjC,kBAAkB,EAAE,kBAAkB;CACvC,CAAC"}