@boostxyz/sdk 8.0.0-canary.2 → 8.0.0-canary.4

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 (170) hide show
  1. package/dist/Actions/Action.cjs +1 -1
  2. package/dist/Actions/Action.js +2 -2
  3. package/dist/Actions/EventAction.cjs +1 -1
  4. package/dist/Actions/EventAction.cjs.map +1 -1
  5. package/dist/Actions/EventAction.js +46 -46
  6. package/dist/Actions/EventAction.js.map +1 -1
  7. package/dist/{AllowList-DQf-8HQC.js → AllowList-CTRuUBCQ.js} +41 -41
  8. package/dist/{AllowList-DQf-8HQC.js.map → AllowList-CTRuUBCQ.js.map} +1 -1
  9. package/dist/{AllowList-DaX239DR.cjs → AllowList-GEmUfOR1.cjs} +2 -2
  10. package/dist/{AllowList-DaX239DR.cjs.map → AllowList-GEmUfOR1.cjs.map} +1 -1
  11. package/dist/AllowLists/AllowList.cjs +1 -1
  12. package/dist/AllowLists/AllowList.js +4 -4
  13. package/dist/AllowLists/SimpleAllowList.cjs +1 -1
  14. package/dist/AllowLists/SimpleAllowList.js +7 -7
  15. package/dist/AllowLists/SimpleDenyList.cjs +1 -1
  16. package/dist/AllowLists/SimpleDenyList.js +3 -3
  17. package/dist/Auth/PassthroughAuth.cjs +1 -1
  18. package/dist/Auth/PassthroughAuth.js +2 -2
  19. package/dist/BoostCore.cjs +2 -2
  20. package/dist/BoostCore.cjs.map +1 -1
  21. package/dist/BoostCore.d.ts +137 -2
  22. package/dist/BoostCore.d.ts.map +1 -1
  23. package/dist/BoostCore.js +336 -206
  24. package/dist/BoostCore.js.map +1 -1
  25. package/dist/BoostRegistry.cjs +1 -1
  26. package/dist/BoostRegistry.js +21 -21
  27. package/dist/{Budget-LnAQ_Slw.js → Budget-BH0s7Bxu.js} +52 -52
  28. package/dist/{Budget-LnAQ_Slw.js.map → Budget-BH0s7Bxu.js.map} +1 -1
  29. package/dist/{Budget-WIB8IJoM.cjs → Budget-CwNhsa3m.cjs} +2 -2
  30. package/dist/{Budget-WIB8IJoM.cjs.map → Budget-CwNhsa3m.cjs.map} +1 -1
  31. package/dist/Budgets/Budget.cjs +1 -1
  32. package/dist/Budgets/Budget.js +3 -3
  33. package/dist/Budgets/ManagedBudget.cjs +1 -1
  34. package/dist/Budgets/ManagedBudget.js +26 -26
  35. package/dist/Deployable/DeployableTarget.cjs +1 -1
  36. package/dist/Deployable/DeployableTarget.js +1 -1
  37. package/dist/Deployable/DeployableTargetWithRBAC.cjs +1 -1
  38. package/dist/Deployable/DeployableTargetWithRBAC.js +17 -17
  39. package/dist/{Incentive-gT7z-4v3.cjs → Incentive-B2ZBE5LU.cjs} +2 -2
  40. package/dist/{Incentive-gT7z-4v3.cjs.map → Incentive-B2ZBE5LU.cjs.map} +1 -1
  41. package/dist/{Incentive-D_IBex5V.js → Incentive-BCSV7OtF.js} +41 -41
  42. package/dist/{Incentive-D_IBex5V.js.map → Incentive-BCSV7OtF.js.map} +1 -1
  43. package/dist/Incentives/AllowListIncentive.cjs +1 -1
  44. package/dist/Incentives/AllowListIncentive.js +17 -17
  45. package/dist/Incentives/CGDAIncentive.cjs +1 -1
  46. package/dist/Incentives/CGDAIncentive.js +14 -14
  47. package/dist/Incentives/ERC20Incentive.cjs +1 -1
  48. package/dist/Incentives/ERC20Incentive.js +13 -13
  49. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.cjs +1 -1
  50. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentive.js +71 -71
  51. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs +1 -1
  52. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.cjs.map +1 -1
  53. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js +36 -36
  54. package/dist/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.js.map +1 -1
  55. package/dist/Incentives/ERC20VariableCriteriaIncentive.cjs +1 -1
  56. package/dist/Incentives/ERC20VariableCriteriaIncentive.js +9 -9
  57. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs +1 -1
  58. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.cjs.map +1 -1
  59. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js +13 -13
  60. package/dist/Incentives/ERC20VariableCriteriaIncentiveV2.js.map +1 -1
  61. package/dist/Incentives/ERC20VariableIncentive.cjs +1 -1
  62. package/dist/Incentives/ERC20VariableIncentive.js +8 -8
  63. package/dist/Incentives/Incentive.cjs +1 -1
  64. package/dist/Incentives/Incentive.js +3 -3
  65. package/dist/Incentives/PointsIncentive.cjs +1 -1
  66. package/dist/Incentives/PointsIncentive.js +28 -28
  67. package/dist/{SimpleDenyList-D5AoBdVi.cjs → SimpleDenyList-6_sxnZB0.cjs} +2 -2
  68. package/dist/{SimpleDenyList-D5AoBdVi.cjs.map → SimpleDenyList-6_sxnZB0.cjs.map} +1 -1
  69. package/dist/{SimpleDenyList-CtdXM49y.js → SimpleDenyList-CrjjFnn5.js} +17 -17
  70. package/dist/{SimpleDenyList-CtdXM49y.js.map → SimpleDenyList-CrjjFnn5.js.map} +1 -1
  71. package/dist/Validators/LimitedSignerValidator.cjs +1 -1
  72. package/dist/Validators/LimitedSignerValidator.cjs.map +1 -1
  73. package/dist/Validators/LimitedSignerValidator.d.ts +9 -9
  74. package/dist/Validators/LimitedSignerValidator.d.ts.map +1 -1
  75. package/dist/Validators/LimitedSignerValidator.js +19 -19
  76. package/dist/Validators/LimitedSignerValidator.js.map +1 -1
  77. package/dist/Validators/LimitedSignerValidatorV2.cjs +2 -0
  78. package/dist/Validators/LimitedSignerValidatorV2.cjs.map +1 -0
  79. package/dist/Validators/LimitedSignerValidatorV2.d.ts +842 -0
  80. package/dist/Validators/LimitedSignerValidatorV2.d.ts.map +1 -0
  81. package/dist/Validators/LimitedSignerValidatorV2.js +301 -0
  82. package/dist/Validators/LimitedSignerValidatorV2.js.map +1 -0
  83. package/dist/Validators/PayableLimitedSignerValidator.cjs +2 -0
  84. package/dist/Validators/PayableLimitedSignerValidator.cjs.map +1 -0
  85. package/dist/Validators/PayableLimitedSignerValidator.d.ts.map +1 -1
  86. package/dist/{Validator-BEUqV28V.js → Validators/PayableLimitedSignerValidator.js} +56 -102
  87. package/dist/Validators/PayableLimitedSignerValidator.js.map +1 -0
  88. package/dist/Validators/PayableLimitedSignerValidatorV2.cjs +2 -0
  89. package/dist/Validators/PayableLimitedSignerValidatorV2.cjs.map +1 -0
  90. package/dist/Validators/PayableLimitedSignerValidatorV2.d.ts +855 -0
  91. package/dist/Validators/PayableLimitedSignerValidatorV2.d.ts.map +1 -0
  92. package/dist/Validators/PayableLimitedSignerValidatorV2.js +372 -0
  93. package/dist/Validators/PayableLimitedSignerValidatorV2.js.map +1 -0
  94. package/dist/Validators/SignerValidator.cjs +1 -1
  95. package/dist/Validators/SignerValidator.cjs.map +1 -1
  96. package/dist/Validators/SignerValidator.d.ts +4 -2
  97. package/dist/Validators/SignerValidator.d.ts.map +1 -1
  98. package/dist/Validators/SignerValidator.js +12 -12
  99. package/dist/Validators/SignerValidator.js.map +1 -1
  100. package/dist/Validators/SignerValidatorV2.cjs +2 -0
  101. package/dist/Validators/SignerValidatorV2.cjs.map +1 -0
  102. package/dist/Validators/SignerValidatorV2.d.ts +728 -0
  103. package/dist/Validators/SignerValidatorV2.d.ts.map +1 -0
  104. package/dist/Validators/SignerValidatorV2.js +299 -0
  105. package/dist/Validators/SignerValidatorV2.js.map +1 -0
  106. package/dist/Validators/Validator.cjs +1 -1
  107. package/dist/Validators/Validator.cjs.map +1 -1
  108. package/dist/Validators/Validator.d.ts +19 -4
  109. package/dist/Validators/Validator.d.ts.map +1 -1
  110. package/dist/Validators/Validator.js +79 -14
  111. package/dist/Validators/Validator.js.map +1 -1
  112. package/dist/componentInterfaces-43ygGrVO.js +28 -0
  113. package/dist/componentInterfaces-43ygGrVO.js.map +1 -0
  114. package/dist/componentInterfaces-JU4NBkEc.cjs +2 -0
  115. package/dist/componentInterfaces-JU4NBkEc.cjs.map +1 -0
  116. package/dist/{deployments-Dw5Suk_D.js → deployments-COm00j8v.js} +48 -39
  117. package/dist/{deployments-Dw5Suk_D.js.map → deployments-COm00j8v.js.map} +1 -1
  118. package/dist/deployments-uLDgrxCp.cjs +2 -0
  119. package/dist/deployments-uLDgrxCp.cjs.map +1 -0
  120. package/dist/deployments.json +30 -21
  121. package/dist/generated-CkZm1EVH.cjs +3 -0
  122. package/dist/generated-CkZm1EVH.cjs.map +1 -0
  123. package/dist/{generated-krkFnwbV.js → generated-DRbljODL.js} +2314 -1284
  124. package/dist/generated-DRbljODL.js.map +1 -0
  125. package/dist/index.cjs +1 -1
  126. package/dist/index.d.ts +3 -0
  127. package/dist/index.d.ts.map +1 -1
  128. package/dist/index.js +185 -165
  129. package/dist/index.js.map +1 -1
  130. package/package.json +25 -1
  131. package/src/Actions/EventAction.ts +1 -1
  132. package/src/BoostCore.test.ts +77 -11
  133. package/src/BoostCore.ts +165 -4
  134. package/src/Budgets/ManagedBudgetWithFees.test.ts +14 -14
  135. package/src/Budgets/ManagedBudgetWithFeesV2.test.ts +3 -3
  136. package/src/Incentives/AllowListIncentive.test.ts +5 -5
  137. package/src/Incentives/CGDAIncentive.test.ts +6 -6
  138. package/src/Incentives/ERC1155Incentive.test.ts +2 -2
  139. package/src/Incentives/ERC20Incentive.test.ts +6 -6
  140. package/src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.test.ts +5 -5
  141. package/src/Incentives/ERC20PeggedVariableCriteriaIncentiveV2.ts +1 -1
  142. package/src/Incentives/ERC20VariableCriteriaIncentiveV2.test.ts +5 -5
  143. package/src/Incentives/ERC20VariableCriteriaIncentiveV2.ts +1 -1
  144. package/src/Incentives/ERC20VariableIncentive.test.ts +7 -8
  145. package/src/Incentives/PointsIncentive.test.ts +5 -5
  146. package/src/Validators/LimitedSignerValidator.test.ts +1 -1
  147. package/src/Validators/LimitedSignerValidator.ts +9 -10
  148. package/src/Validators/LimitedSignerValidatorV2.test.ts +231 -0
  149. package/src/Validators/LimitedSignerValidatorV2.ts +707 -0
  150. package/src/Validators/PayableLimitedSignerValidator.test.ts +1 -1
  151. package/src/Validators/PayableLimitedSignerValidator.ts +0 -1
  152. package/src/Validators/PayableLimitedSignerValidatorV2.test.ts +202 -0
  153. package/src/Validators/PayableLimitedSignerValidatorV2.ts +688 -0
  154. package/src/Validators/SignerValidator.ts +4 -2
  155. package/src/Validators/SignerValidatorV2.test.ts +163 -0
  156. package/src/Validators/SignerValidatorV2.ts +635 -0
  157. package/src/Validators/Validator.ts +45 -2
  158. package/src/index.ts +3 -0
  159. package/dist/Validator-BEUqV28V.js.map +0 -1
  160. package/dist/Validator-FxcxYKhR.cjs +0 -2
  161. package/dist/Validator-FxcxYKhR.cjs.map +0 -1
  162. package/dist/componentInterfaces-BZ3fSNkT.cjs +0 -2
  163. package/dist/componentInterfaces-BZ3fSNkT.cjs.map +0 -1
  164. package/dist/componentInterfaces-D2s6AXlV.js +0 -25
  165. package/dist/componentInterfaces-D2s6AXlV.js.map +0 -1
  166. package/dist/deployments-DimWVnA4.cjs +0 -2
  167. package/dist/deployments-DimWVnA4.cjs.map +0 -1
  168. package/dist/generated-Cf82M-QP.cjs +0 -3
  169. package/dist/generated-Cf82M-QP.cjs.map +0 -1
  170. package/dist/generated-krkFnwbV.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AllowList-DaX239DR.cjs","sources":["../src/AllowLists/OffchainAccessList.ts","../src/AllowLists/OpenAllowList.ts","../src/AllowLists/AllowList.ts"],"sourcesContent":["import {\n offchainAccessListAbi,\n readOffchainAccessListGetAllowListIds,\n readOffchainAccessListGetDenyListIds,\n readOffchainAccessListHasAllowListId,\n readOffchainAccessListHasDenyListId,\n readOffchainAccessListOwner,\n simulateOffchainAccessListAddAllowListId,\n simulateOffchainAccessListAddDenyListId,\n simulateOffchainAccessListRemoveAllowListId,\n simulateOffchainAccessListRemoveDenyListId,\n simulateOffchainAccessListSetAllowListIds,\n simulateOffchainAccessListSetDenyListIds,\n writeOffchainAccessListAddAllowListId,\n writeOffchainAccessListAddDenyListId,\n writeOffchainAccessListRemoveAllowListId,\n writeOffchainAccessListRemoveDenyListId,\n writeOffchainAccessListSetAllowListIds,\n writeOffchainAccessListSetDenyListIds,\n} from '@boostxyz/evm';\nimport { bytecode } from '@boostxyz/evm/artifacts/contracts/allowlists/OffchainAccessList.sol/OffchainAccessList.json';\nimport { getAccount } from '@wagmi/core';\nimport {\n type Address,\n type ContractEventName,\n type Hex,\n encodeAbiParameters,\n zeroAddress,\n} from 'viem';\nimport { OffchainAccessList as OffchainAccessListBases } from '../../dist/deployments.json';\nimport type {\n DeployableOptions,\n GenericDeployableParams,\n} from '../Deployable/Deployable';\nimport { DeployableTargetWithRBAC } from '../Deployable/DeployableTargetWithRBAC';\nimport { DeployableUnknownOwnerProvidedError } from '../errors';\nimport {\n type GenericLog,\n type ReadParams,\n RegistryType,\n type WriteParams,\n} from '../utils';\n\nexport { offchainAccessListAbi };\n\n/**\n * Object representation of a {@link OffchainAccessList} initialization payload.\n *\n * @export\n * @interface OffchainAccessListPayload\n * @typedef {OffchainAccessListPayload}\n */\nexport interface OffchainAccessListPayload {\n /**\n * The access list's owner\n *\n * @type {Address}\n */\n owner: Address;\n /**\n * List of off-chain allowlist IDs.\n *\n * @type {string[]}\n */\n allowlistIds: string[];\n /**\n * List of off-chain denylist IDs.\n *\n * @type {string[]}\n */\n denylistIds: string[];\n}\n\n/**\n * A generic `viem.Log` event with support for `OffchainAccessList` event types.\n *\n * @export\n * @typedef {OffchainAccessListLog}\n * @template {ContractEventName<typeof offchainAccessListAbi>} [event=ContractEventName<\n * typeof offchainAccessListAbi\n * >]\n */\nexport type OffchainAccessListLog<\n event extends ContractEventName<\n typeof offchainAccessListAbi\n > = ContractEventName<typeof offchainAccessListAbi>,\n> = GenericLog<typeof offchainAccessListAbi, event>;\n\n/**\n * An AllowList that links on-chain boosts to off-chain access lists stored in a database.\n * This implementation always allows everyone (returns true) but stores references to off-chain allowlist and denylist IDs.\n *\n * @export\n * @class OffchainAccessList\n * @typedef {OffchainAccessList}\n * @extends {DeployableTargetWithRBAC<OffchainAccessListPayload>}\n */\nexport class OffchainAccessList extends DeployableTargetWithRBAC<\n OffchainAccessListPayload,\n typeof offchainAccessListAbi\n> {\n public override readonly abi = offchainAccessListAbi;\n /**\n * @inheritdoc\n *\n * @public\n * @static\n * @type {Record<number, Address>}\n */\n public static override bases: Record<number, Address> = {\n ...(import.meta.env?.VITE_OFFCHAIN_ACCESS_LIST_BASE\n ? { 31337: import.meta.env.VITE_OFFCHAIN_ACCESS_LIST_BASE }\n : {}),\n ...(OffchainAccessListBases as Record<number, Address>),\n };\n /**\n * @inheritdoc\n *\n * @public\n * @static\n * @type {RegistryType}\n */\n public static override registryType: RegistryType = RegistryType.ALLOW_LIST;\n\n /**\n * Retrieves the owner\n *\n * @public\n * @async\n * @param {?ReadParams} [params]\n * @returns {Promise<Address>} - The address of the owner\n */\n public async owner(params?: ReadParams): Promise<Address> {\n return await readOffchainAccessListOwner(this._config, {\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n address: this.assertValidAddress(),\n args: [],\n });\n }\n\n /**\n * Check if a user is authorized based on off-chain allowlists/denylists\n *\n * @public\n * @async\n * @param {Address} address - The address of the user\n * @param {?ReadParams} [params]\n * @returns {Promise<boolean>} - True if the user is allowed\n */\n public isAllowed(_address: Address, _params?: ReadParams) {\n // TODO: check address against offchain allowlist/denylist using api calls\n throw new Error(\n 'isAllowed() not available for OffchainAccessList, implementation should be done offchain',\n );\n }\n\n /**\n * Get all allowlist IDs\n *\n * @public\n * @async\n * @param {?ReadParams} [params]\n * @returns {Promise<string[]>} - Array of allowlist IDs\n */\n public async getAllowlistIds(params?: ReadParams) {\n return await readOffchainAccessListGetAllowListIds(this._config, {\n address: this.assertValidAddress(),\n args: [],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * Get all denylist IDs\n *\n * @public\n * @async\n * @param {?ReadParams} [params]\n * @returns {Promise<string[]>} - Array of denylist IDs\n */\n public async getDenylistIds(params?: ReadParams) {\n return await readOffchainAccessListGetDenyListIds(this._config, {\n address: this.assertValidAddress(),\n args: [],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * Set allowlist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new allowlist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async setAllowlistIds(ids: string[], params?: WriteParams) {\n return await this.awaitResult(this.setAllowlistIdsRaw(ids, params));\n }\n\n /**\n * Set allowlist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new allowlist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async setAllowlistIdsRaw(ids: string[], params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListSetAllowListIds(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [ids],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListSetAllowListIds(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Set denylist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new denylist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async setDenylistIds(ids: string[], params?: WriteParams) {\n return await this.awaitResult(this.setDenylistIdsRaw(ids, params));\n }\n\n /**\n * Set denylist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new denylist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async setDenylistIdsRaw(ids: string[], params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListSetDenyListIds(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [ids],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListSetDenyListIds(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Add a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async addAllowlistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.addAllowlistIdRaw(id, params));\n }\n\n /**\n * Add a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async addAllowlistIdRaw(id: string, params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListAddAllowListId(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListAddAllowListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Add a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async addDenylistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.addDenylistIdRaw(id, params));\n }\n\n /**\n * Add a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async addDenylistIdRaw(id: string, params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListAddDenyListId(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListAddDenyListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Remove a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async removeAllowlistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.removeAllowlistIdRaw(id, params));\n }\n\n /**\n * Remove a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async removeAllowlistIdRaw(id: string, params?: WriteParams) {\n const { request, result } =\n await simulateOffchainAccessListRemoveAllowListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n const hash = await writeOffchainAccessListRemoveAllowListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Remove a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async removeDenylistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.removeDenylistIdRaw(id, params));\n }\n\n /**\n * Remove a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async removeDenylistIdRaw(id: string, params?: WriteParams) {\n const { request, result } =\n await simulateOffchainAccessListRemoveDenyListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n const hash = await writeOffchainAccessListRemoveDenyListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Check if an allowlist ID exists\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to check\n * @param {?ReadParams} [params]\n * @returns {Promise<boolean>} - True if the ID exists\n */\n public async hasAllowlistId(\n id: string,\n params?: ReadParams,\n ): Promise<boolean> {\n return await readOffchainAccessListHasAllowListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * Check if a denylist ID exists\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to check\n * @param {?ReadParams} [params]\n * @returns {Promise<boolean>} - True if the ID exists\n */\n public async hasDenylistId(\n id: string,\n params?: ReadParams,\n ): Promise<boolean> {\n return await readOffchainAccessListHasDenyListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * @inheritdoc\n *\n * @public\n * @param {?OffchainAccessListPayload} [_payload]\n * @param {?DeployableOptions} [_options]\n * @returns {GenericDeployableParams}\n */\n public override buildParameters(\n _payload?: OffchainAccessListPayload,\n _options?: DeployableOptions,\n ): GenericDeployableParams {\n const [payload, options] = this.validateDeploymentConfig(\n _payload,\n _options,\n );\n if (!payload.owner || payload.owner === zeroAddress) {\n const owner = options.account\n ? options.account.address\n : options.config\n ? getAccount(options.config).address\n : this._account?.address;\n if (owner) {\n payload.owner = owner;\n } else {\n throw new DeployableUnknownOwnerProvidedError();\n }\n }\n return {\n abi: offchainAccessListAbi,\n bytecode: bytecode as Hex,\n args: [prepareOffchainAccessListPayload(payload)],\n ...this.optionallyAttachAccount(options.account),\n };\n }\n}\n\n/**\n * Given a {@link OffchainAccessListPayload}, properly encode the initialization payload.\n *\n * @param {OffchainAccessListPayload} param0\n * @param {Address} param0.owner - The access list's owner\n * @param {string[]} param0.allowlistIds - List of off-chain allowlist IDs\n * @param {string[]} param0.denylistIds - List of off-chain denylist IDs\n * @returns {Hex}\n */\nexport function prepareOffchainAccessListPayload({\n owner,\n allowlistIds,\n denylistIds,\n}: OffchainAccessListPayload) {\n return encodeAbiParameters(\n [\n { type: 'address', name: 'owner' },\n { type: 'string[]', name: 'allowlistIds' },\n { type: 'string[]', name: 'denylistIds' },\n ],\n [owner, allowlistIds, denylistIds],\n );\n}\n","import { simpleDenyListAbi } from '@boostxyz/evm';\nimport { bytecode } from '@boostxyz/evm/artifacts/contracts/allowlists/SimpleDenyList.sol/SimpleDenyList.json';\nimport { type Hex, zeroAddress } from 'viem';\nimport type {\n DeployableOptions,\n GenericDeployableParams,\n} from '../Deployable/Deployable';\nimport {\n SimpleDenyList,\n type SimpleDenyListPayload,\n prepareSimpleDenyListPayload,\n} from './SimpleDenyList';\n\nexport const openAllowListAbi = simpleDenyListAbi;\n\n/**\n * A simple AllowList, extending {@link DenyList}, that is ownerless and allows anyone to claim.\n *\n * @export\n * @class OpenAllowList\n * @typedef {OpenAllowList}\n * @extends {DeployableTarget<OpenAllowListPayload>}\n */\nexport class OpenAllowList extends SimpleDenyList<undefined> {\n /**\n * @inheritdoc\n *\n * @public\n * @param {?SimpleDenyListPayload} [_payload]\n * @param {?DeployableOptions} [_options]\n * @returns {GenericDeployableParams}\n */\n public override buildParameters(\n _payload?: SimpleDenyListPayload,\n _options?: DeployableOptions,\n ): GenericDeployableParams {\n const [_, options] = this.validateDeploymentConfig({}, _options);\n return {\n abi: openAllowListAbi,\n bytecode: bytecode as Hex,\n args: [prepareSimpleDenyListPayload({ owner: zeroAddress, denied: [] })],\n ...this.optionallyAttachAccount(options.account),\n };\n }\n}\n","import { aAllowListAbi } from '@boostxyz/evm';\nimport {\n AOffchainAccessList,\n ASimpleAllowList,\n ASimpleDenyList,\n} from '@boostxyz/evm/deploys/componentInterfaces.json';\nimport { readContract } from '@wagmi/core';\nimport type { Address, Hex } from 'viem';\nimport type { DeployableOptions } from '../Deployable/Deployable';\nimport { InvalidComponentInterfaceError } from '../errors';\nimport type { ReadParams } from '../utils';\nimport { OffchainAccessList } from './OffchainAccessList';\nimport { OpenAllowList } from './OpenAllowList';\nimport { SimpleAllowList } from './SimpleAllowList';\nimport { SimpleDenyList } from './SimpleDenyList';\n\nexport { OffchainAccessList, OpenAllowList, SimpleAllowList, SimpleDenyList };\n\n/**\n * A union type representing all valid protocol AllowList implementations\n *\n * @export\n * @typedef {AllowList}\n */\nexport type AllowList =\n | OffchainAccessList\n | OpenAllowList\n | SimpleAllowList\n | SimpleDenyList;\n\n/**\n * A map of AllowList component interfaces to their constructors.\n *\n * @type {{ \"0x1392d798\": SimpleAllowList; \"0x3d30a22c\": SimpleDenyList; \"0x2a6b3c38\": OffchainAccessList; }}\n */\nexport const AllowListByComponentInterface = {\n [ASimpleAllowList as Hex]: SimpleAllowList,\n [ASimpleDenyList as Hex]: SimpleDenyList,\n [AOffchainAccessList as Hex]: OffchainAccessList,\n};\n\n/**\n * A function that will read a contract's component interface using `getComponentInterface` and return the correct instantiated instance.\n * This function will never return an instance of {@link OpenAllowList} because it has the same component interface as {@link SimpleDenyList}\n *\n * @export\n * @async\n * @param {DeployableOptions} options\n * @param {Address} address\n * @returns {Promise<SimpleAllowList | SimpleDenyList>}\n * @throws {@link InvalidComponentInterfaceError}\n */\nexport async function allowListFromAddress(\n options: DeployableOptions,\n address: Address,\n params?: ReadParams,\n) {\n const interfaceId = (await readContract(options.config, {\n abi: aAllowListAbi,\n functionName: 'getComponentInterface',\n address,\n ...params,\n })) as keyof typeof AllowListByComponentInterface;\n const Ctor = AllowListByComponentInterface[interfaceId];\n if (!Ctor) {\n throw new InvalidComponentInterfaceError(\n Object.keys(AllowListByComponentInterface) as Hex[],\n interfaceId as Hex,\n );\n }\n return new Ctor(options, address) as\n | SimpleDenyList\n | SimpleAllowList\n | OffchainAccessList;\n}\n"],"names":["_OffchainAccessList","DeployableTargetWithRBAC","offchainAccessListAbi","params","readOffchainAccessListOwner","_address","_params","readOffchainAccessListGetAllowListIds","readOffchainAccessListGetDenyListIds","ids","request","result","simulateOffchainAccessListSetAllowListIds","writeOffchainAccessListSetAllowListIds","simulateOffchainAccessListSetDenyListIds","writeOffchainAccessListSetDenyListIds","id","simulateOffchainAccessListAddAllowListId","writeOffchainAccessListAddAllowListId","simulateOffchainAccessListAddDenyListId","writeOffchainAccessListAddDenyListId","simulateOffchainAccessListRemoveAllowListId","writeOffchainAccessListRemoveAllowListId","simulateOffchainAccessListRemoveDenyListId","writeOffchainAccessListRemoveDenyListId","readOffchainAccessListHasAllowListId","readOffchainAccessListHasDenyListId","_payload","_options","payload","options","zeroAddress","owner","getAccount","_a","DeployableUnknownOwnerProvidedError","bytecode","prepareOffchainAccessListPayload","__vite_import_meta_env__","OffchainAccessListBases","RegistryType","OffchainAccessList","allowlistIds","denylistIds","encodeAbiParameters","openAllowListAbi","simpleDenyListAbi","OpenAllowList","SimpleDenyList","_","prepareSimpleDenyListPayload","AllowListByComponentInterface","ASimpleAllowList","SimpleAllowList","ASimpleDenyList","AOffchainAccessList","allowListFromAddress","address","interfaceId","readContract","aAllowListAbi","Ctor","InvalidComponentInterfaceError"],"mappings":"q7iBAiGaA,EAAN,MAAMA,UAA2BC,EAAAA,wBAGtC,CAHK,aAAA,CAAA,MAAA,GAAA,SAAA,EAIL,KAAyB,IAAMC,GAAA,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tD,IAAK8B,EAAA,EACL,aAAc,wBACd,QAAAH,EACA,GAAGtD,CAAA,CACJ,EACK0D,EAAOV,EAA8BO,CAAW,EACtD,GAAI,CAACG,EACH,MAAM,IAAIC,EAAA,+BACR,OAAO,KAAKX,CAA6B,EACzCO,CAAA,EAGG,OAAA,IAAIG,EAAK/B,EAAS2B,CAAO,CAIlC"}
1
+ {"version":3,"file":"AllowList-GEmUfOR1.cjs","sources":["../src/AllowLists/OffchainAccessList.ts","../src/AllowLists/OpenAllowList.ts","../src/AllowLists/AllowList.ts"],"sourcesContent":["import {\n offchainAccessListAbi,\n readOffchainAccessListGetAllowListIds,\n readOffchainAccessListGetDenyListIds,\n readOffchainAccessListHasAllowListId,\n readOffchainAccessListHasDenyListId,\n readOffchainAccessListOwner,\n simulateOffchainAccessListAddAllowListId,\n simulateOffchainAccessListAddDenyListId,\n simulateOffchainAccessListRemoveAllowListId,\n simulateOffchainAccessListRemoveDenyListId,\n simulateOffchainAccessListSetAllowListIds,\n simulateOffchainAccessListSetDenyListIds,\n writeOffchainAccessListAddAllowListId,\n writeOffchainAccessListAddDenyListId,\n writeOffchainAccessListRemoveAllowListId,\n writeOffchainAccessListRemoveDenyListId,\n writeOffchainAccessListSetAllowListIds,\n writeOffchainAccessListSetDenyListIds,\n} from '@boostxyz/evm';\nimport { bytecode } from '@boostxyz/evm/artifacts/contracts/allowlists/OffchainAccessList.sol/OffchainAccessList.json';\nimport { getAccount } from '@wagmi/core';\nimport {\n type Address,\n type ContractEventName,\n type Hex,\n encodeAbiParameters,\n zeroAddress,\n} from 'viem';\nimport { OffchainAccessList as OffchainAccessListBases } from '../../dist/deployments.json';\nimport type {\n DeployableOptions,\n GenericDeployableParams,\n} from '../Deployable/Deployable';\nimport { DeployableTargetWithRBAC } from '../Deployable/DeployableTargetWithRBAC';\nimport { DeployableUnknownOwnerProvidedError } from '../errors';\nimport {\n type GenericLog,\n type ReadParams,\n RegistryType,\n type WriteParams,\n} from '../utils';\n\nexport { offchainAccessListAbi };\n\n/**\n * Object representation of a {@link OffchainAccessList} initialization payload.\n *\n * @export\n * @interface OffchainAccessListPayload\n * @typedef {OffchainAccessListPayload}\n */\nexport interface OffchainAccessListPayload {\n /**\n * The access list's owner\n *\n * @type {Address}\n */\n owner: Address;\n /**\n * List of off-chain allowlist IDs.\n *\n * @type {string[]}\n */\n allowlistIds: string[];\n /**\n * List of off-chain denylist IDs.\n *\n * @type {string[]}\n */\n denylistIds: string[];\n}\n\n/**\n * A generic `viem.Log` event with support for `OffchainAccessList` event types.\n *\n * @export\n * @typedef {OffchainAccessListLog}\n * @template {ContractEventName<typeof offchainAccessListAbi>} [event=ContractEventName<\n * typeof offchainAccessListAbi\n * >]\n */\nexport type OffchainAccessListLog<\n event extends ContractEventName<\n typeof offchainAccessListAbi\n > = ContractEventName<typeof offchainAccessListAbi>,\n> = GenericLog<typeof offchainAccessListAbi, event>;\n\n/**\n * An AllowList that links on-chain boosts to off-chain access lists stored in a database.\n * This implementation always allows everyone (returns true) but stores references to off-chain allowlist and denylist IDs.\n *\n * @export\n * @class OffchainAccessList\n * @typedef {OffchainAccessList}\n * @extends {DeployableTargetWithRBAC<OffchainAccessListPayload>}\n */\nexport class OffchainAccessList extends DeployableTargetWithRBAC<\n OffchainAccessListPayload,\n typeof offchainAccessListAbi\n> {\n public override readonly abi = offchainAccessListAbi;\n /**\n * @inheritdoc\n *\n * @public\n * @static\n * @type {Record<number, Address>}\n */\n public static override bases: Record<number, Address> = {\n ...(import.meta.env?.VITE_OFFCHAIN_ACCESS_LIST_BASE\n ? { 31337: import.meta.env.VITE_OFFCHAIN_ACCESS_LIST_BASE }\n : {}),\n ...(OffchainAccessListBases as Record<number, Address>),\n };\n /**\n * @inheritdoc\n *\n * @public\n * @static\n * @type {RegistryType}\n */\n public static override registryType: RegistryType = RegistryType.ALLOW_LIST;\n\n /**\n * Retrieves the owner\n *\n * @public\n * @async\n * @param {?ReadParams} [params]\n * @returns {Promise<Address>} - The address of the owner\n */\n public async owner(params?: ReadParams): Promise<Address> {\n return await readOffchainAccessListOwner(this._config, {\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n address: this.assertValidAddress(),\n args: [],\n });\n }\n\n /**\n * Check if a user is authorized based on off-chain allowlists/denylists\n *\n * @public\n * @async\n * @param {Address} address - The address of the user\n * @param {?ReadParams} [params]\n * @returns {Promise<boolean>} - True if the user is allowed\n */\n public isAllowed(_address: Address, _params?: ReadParams) {\n // TODO: check address against offchain allowlist/denylist using api calls\n throw new Error(\n 'isAllowed() not available for OffchainAccessList, implementation should be done offchain',\n );\n }\n\n /**\n * Get all allowlist IDs\n *\n * @public\n * @async\n * @param {?ReadParams} [params]\n * @returns {Promise<string[]>} - Array of allowlist IDs\n */\n public async getAllowlistIds(params?: ReadParams) {\n return await readOffchainAccessListGetAllowListIds(this._config, {\n address: this.assertValidAddress(),\n args: [],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * Get all denylist IDs\n *\n * @public\n * @async\n * @param {?ReadParams} [params]\n * @returns {Promise<string[]>} - Array of denylist IDs\n */\n public async getDenylistIds(params?: ReadParams) {\n return await readOffchainAccessListGetDenyListIds(this._config, {\n address: this.assertValidAddress(),\n args: [],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * Set allowlist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new allowlist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async setAllowlistIds(ids: string[], params?: WriteParams) {\n return await this.awaitResult(this.setAllowlistIdsRaw(ids, params));\n }\n\n /**\n * Set allowlist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new allowlist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async setAllowlistIdsRaw(ids: string[], params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListSetAllowListIds(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [ids],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListSetAllowListIds(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Set denylist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new denylist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async setDenylistIds(ids: string[], params?: WriteParams) {\n return await this.awaitResult(this.setDenylistIdsRaw(ids, params));\n }\n\n /**\n * Set denylist IDs, replacing all existing ones. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string[]} ids - The new denylist IDs\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async setDenylistIdsRaw(ids: string[], params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListSetDenyListIds(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [ids],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListSetDenyListIds(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Add a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async addAllowlistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.addAllowlistIdRaw(id, params));\n }\n\n /**\n * Add a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async addAllowlistIdRaw(id: string, params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListAddAllowListId(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListAddAllowListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Add a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async addDenylistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.addDenylistIdRaw(id, params));\n }\n\n /**\n * Add a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to add\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async addDenylistIdRaw(id: string, params?: WriteParams) {\n const { request, result } = await simulateOffchainAccessListAddDenyListId(\n this._config,\n {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n },\n );\n const hash = await writeOffchainAccessListAddDenyListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Remove a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async removeAllowlistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.removeAllowlistIdRaw(id, params));\n }\n\n /**\n * Remove a single allowlist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async removeAllowlistIdRaw(id: string, params?: WriteParams) {\n const { request, result } =\n await simulateOffchainAccessListRemoveAllowListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n const hash = await writeOffchainAccessListRemoveAllowListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Remove a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<void>}\n */\n public async removeDenylistId(id: string, params?: WriteParams) {\n return await this.awaitResult(this.removeDenylistIdRaw(id, params));\n }\n\n /**\n * Remove a single denylist ID. This function can only be called by authorized users.\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to remove\n * @param {?WriteParams} [params]\n * @returns {Promise<{ hash: `0x${string}`; result: void; }>}\n */\n public async removeDenylistIdRaw(id: string, params?: WriteParams) {\n const { request, result } =\n await simulateOffchainAccessListRemoveDenyListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n const hash = await writeOffchainAccessListRemoveDenyListId(\n this._config,\n request,\n );\n return { hash, result };\n }\n\n /**\n * Check if an allowlist ID exists\n *\n * @public\n * @async\n * @param {string} id - The allowlist ID to check\n * @param {?ReadParams} [params]\n * @returns {Promise<boolean>} - True if the ID exists\n */\n public async hasAllowlistId(\n id: string,\n params?: ReadParams,\n ): Promise<boolean> {\n return await readOffchainAccessListHasAllowListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * Check if a denylist ID exists\n *\n * @public\n * @async\n * @param {string} id - The denylist ID to check\n * @param {?ReadParams} [params]\n * @returns {Promise<boolean>} - True if the ID exists\n */\n public async hasDenylistId(\n id: string,\n params?: ReadParams,\n ): Promise<boolean> {\n return await readOffchainAccessListHasDenyListId(this._config, {\n address: this.assertValidAddress(),\n args: [id],\n ...this.optionallyAttachAccount(),\n // biome-ignore lint/suspicious/noExplicitAny: Accept any shape of valid wagmi/viem parameters, wagmi does the same thing internally\n ...(params as any),\n });\n }\n\n /**\n * @inheritdoc\n *\n * @public\n * @param {?OffchainAccessListPayload} [_payload]\n * @param {?DeployableOptions} [_options]\n * @returns {GenericDeployableParams}\n */\n public override buildParameters(\n _payload?: OffchainAccessListPayload,\n _options?: DeployableOptions,\n ): GenericDeployableParams {\n const [payload, options] = this.validateDeploymentConfig(\n _payload,\n _options,\n );\n if (!payload.owner || payload.owner === zeroAddress) {\n const owner = options.account\n ? options.account.address\n : options.config\n ? getAccount(options.config).address\n : this._account?.address;\n if (owner) {\n payload.owner = owner;\n } else {\n throw new DeployableUnknownOwnerProvidedError();\n }\n }\n return {\n abi: offchainAccessListAbi,\n bytecode: bytecode as Hex,\n args: [prepareOffchainAccessListPayload(payload)],\n ...this.optionallyAttachAccount(options.account),\n };\n }\n}\n\n/**\n * Given a {@link OffchainAccessListPayload}, properly encode the initialization payload.\n *\n * @param {OffchainAccessListPayload} param0\n * @param {Address} param0.owner - The access list's owner\n * @param {string[]} param0.allowlistIds - List of off-chain allowlist IDs\n * @param {string[]} param0.denylistIds - List of off-chain denylist IDs\n * @returns {Hex}\n */\nexport function prepareOffchainAccessListPayload({\n owner,\n allowlistIds,\n denylistIds,\n}: OffchainAccessListPayload) {\n return encodeAbiParameters(\n [\n { type: 'address', name: 'owner' },\n { type: 'string[]', name: 'allowlistIds' },\n { type: 'string[]', name: 'denylistIds' },\n ],\n [owner, allowlistIds, denylistIds],\n );\n}\n","import { simpleDenyListAbi } from '@boostxyz/evm';\nimport { bytecode } from '@boostxyz/evm/artifacts/contracts/allowlists/SimpleDenyList.sol/SimpleDenyList.json';\nimport { type Hex, zeroAddress } from 'viem';\nimport type {\n DeployableOptions,\n GenericDeployableParams,\n} from '../Deployable/Deployable';\nimport {\n SimpleDenyList,\n type SimpleDenyListPayload,\n prepareSimpleDenyListPayload,\n} from './SimpleDenyList';\n\nexport const openAllowListAbi = simpleDenyListAbi;\n\n/**\n * A simple AllowList, extending {@link DenyList}, that is ownerless and allows anyone to claim.\n *\n * @export\n * @class OpenAllowList\n * @typedef {OpenAllowList}\n * @extends {DeployableTarget<OpenAllowListPayload>}\n */\nexport class OpenAllowList extends SimpleDenyList<undefined> {\n /**\n * @inheritdoc\n *\n * @public\n * @param {?SimpleDenyListPayload} [_payload]\n * @param {?DeployableOptions} [_options]\n * @returns {GenericDeployableParams}\n */\n public override buildParameters(\n _payload?: SimpleDenyListPayload,\n _options?: DeployableOptions,\n ): GenericDeployableParams {\n const [_, options] = this.validateDeploymentConfig({}, _options);\n return {\n abi: openAllowListAbi,\n bytecode: bytecode as Hex,\n args: [prepareSimpleDenyListPayload({ owner: zeroAddress, denied: [] })],\n ...this.optionallyAttachAccount(options.account),\n };\n }\n}\n","import { aAllowListAbi } from '@boostxyz/evm';\nimport {\n AOffchainAccessList,\n ASimpleAllowList,\n ASimpleDenyList,\n} from '@boostxyz/evm/deploys/componentInterfaces.json';\nimport { readContract } from '@wagmi/core';\nimport type { Address, Hex } from 'viem';\nimport type { DeployableOptions } from '../Deployable/Deployable';\nimport { InvalidComponentInterfaceError } from '../errors';\nimport type { ReadParams } from '../utils';\nimport { OffchainAccessList } from './OffchainAccessList';\nimport { OpenAllowList } from './OpenAllowList';\nimport { SimpleAllowList } from './SimpleAllowList';\nimport { SimpleDenyList } from './SimpleDenyList';\n\nexport { OffchainAccessList, OpenAllowList, SimpleAllowList, SimpleDenyList };\n\n/**\n * A union type representing all valid protocol AllowList implementations\n *\n * @export\n * @typedef {AllowList}\n */\nexport type AllowList =\n | OffchainAccessList\n | OpenAllowList\n | SimpleAllowList\n | SimpleDenyList;\n\n/**\n * A map of AllowList component interfaces to their constructors.\n *\n * @type {{ \"0x1392d798\": SimpleAllowList; \"0x3d30a22c\": SimpleDenyList; \"0x2a6b3c38\": OffchainAccessList; }}\n */\nexport const AllowListByComponentInterface = {\n [ASimpleAllowList as Hex]: SimpleAllowList,\n [ASimpleDenyList as Hex]: SimpleDenyList,\n [AOffchainAccessList as Hex]: OffchainAccessList,\n};\n\n/**\n * A function that will read a contract's component interface using `getComponentInterface` and return the correct instantiated instance.\n * This function will never return an instance of {@link OpenAllowList} because it has the same component interface as {@link SimpleDenyList}\n *\n * @export\n * @async\n * @param {DeployableOptions} options\n * @param {Address} address\n * @returns {Promise<SimpleAllowList | SimpleDenyList>}\n * @throws {@link InvalidComponentInterfaceError}\n */\nexport async function allowListFromAddress(\n options: DeployableOptions,\n address: Address,\n params?: ReadParams,\n) {\n const interfaceId = (await readContract(options.config, {\n abi: aAllowListAbi,\n functionName: 'getComponentInterface',\n address,\n ...params,\n })) as keyof typeof AllowListByComponentInterface;\n const Ctor = AllowListByComponentInterface[interfaceId];\n if (!Ctor) {\n throw new InvalidComponentInterfaceError(\n Object.keys(AllowListByComponentInterface) as Hex[],\n interfaceId as Hex,\n );\n }\n return new Ctor(options, address) as\n | SimpleDenyList\n | SimpleAllowList\n | OffchainAccessList;\n}\n"],"names":["_OffchainAccessList","DeployableTargetWithRBAC","offchainAccessListAbi","params","readOffchainAccessListOwner","_address","_params","readOffchainAccessListGetAllowListIds","readOffchainAccessListGetDenyListIds","ids","request","result","simulateOffchainAccessListSetAllowListIds","writeOffchainAccessListSetAllowListIds","simulateOffchainAccessListSetDenyListIds","writeOffchainAccessListSetDenyListIds","id","simulateOffchainAccessListAddAllowListId","writeOffchainAccessListAddAllowListId","simulateOffchainAccessListAddDenyListId","writeOffchainAccessListAddDenyListId","simulateOffchainAccessListRemoveAllowListId","writeOffchainAccessListRemoveAllowListId","simulateOffchainAccessListRemoveDenyListId","writeOffchainAccessListRemoveDenyListId","readOffchainAccessListHasAllowListId","readOffchainAccessListHasDenyListId","_payload","_options","payload","options","zeroAddress","owner","getAccount","_a","DeployableUnknownOwnerProvidedError","bytecode","prepareOffchainAccessListPayload","__vite_import_meta_env__","OffchainAccessListBases","RegistryType","OffchainAccessList","allowlistIds","denylistIds","encodeAbiParameters","openAllowListAbi","simpleDenyListAbi","OpenAllowList","SimpleDenyList","_","prepareSimpleDenyListPayload","AllowListByComponentInterface","ASimpleAllowList","SimpleAllowList","ASimpleDenyList","AOffchainAccessList","allowListFromAddress","address","interfaceId","readContract","aAllowListAbi","Ctor","InvalidComponentInterfaceError"],"mappings":"q7iBAiGaA,EAAN,MAAMA,UAA2BC,EAAAA,wBAGtC,CAHK,aAAA,CAAA,MAAA,GAAA,SAAA,EAIL,KAAyB,IAAMC,GAAA,CA+B/B,MAAa,MAAMC,EAAuC,CACjD,OAAA,MAAMC,EAAAA,GAA4B,KAAK,QAAS,CACrD,GAAG,KAAK,wBAAwB,EAEhC,GAAID,EACJ,QAAS,KAAK,mBAAmB,EACjC,KAAM,CAAC,CAAA,CACR,CACH,CAWO,UAAUE,EAAmBC,EAAsB,CAExD,MAAM,IAAI,MACR,0FAAA,CAEJ,CAUA,MAAa,gBAAgBH,EAAqB,CACzC,OAAA,MAAMI,EAAAA,GAAsC,KAAK,QAAS,CAC/D,QAAS,KAAK,mBAAmB,EACjC,KAAM,CAAC,EACP,GAAG,KAAK,wBAAwB,EAEhC,GAAIJ,CAAA,CACL,CACH,CAUA,MAAa,eAAeA,EAAqB,CACxC,OAAA,MAAMK,EAAAA,GAAqC,KAAK,QAAS,CAC9D,QAAS,KAAK,mBAAmB,EACjC,KAAM,CAAC,EACP,GAAG,KAAK,wBAAwB,EAEhC,GAAIL,CAAA,CACL,CACH,CAWA,MAAa,gBAAgBM,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,CAAW,CAAA,CAErC,CCxgBO,MAAME,EAAmBC,EAAAA,EAUzB,MAAMC,UAAsBC,EAAAA,cAA0B,CAS3C,gBACdrB,EACAC,EACyB,CACnB,KAAA,CAACqB,EAAGnB,CAAO,EAAI,KAAK,yBAAyB,CAAA,EAAIF,CAAQ,EACxD,MAAA,CACL,IAAKiB,EAAA,SACLT,EAAA,SACA,KAAM,CAACc,EAAAA,6BAA6B,CAAE,MAAOnB,EAAAA,YAAa,OAAQ,CAAG,CAAA,CAAC,CAAC,EACvE,GAAG,KAAK,wBAAwBD,EAAQ,OAAO,CAAA,CAEnD,CACF,CCTO,MAAMqB,EAAgC,CAC3C,CAACC,EAAuB,gBAAA,EAAGC,EAAA,gBAC3B,CAACC,EAAsB,eAAA,EAAGN,EAAA,eAC1B,CAACO,EAA0B,mBAAA,EAAGd,CAChC,EAasB,eAAAe,EACpB1B,EACA2B,EACAtD,EACA,CACA,MAAMuD,EAAe,MAAMC,eAAa7B,EAAQ,OAAQ,CACtD,IAAK8B,EAAA,EACL,aAAc,wBACd,QAAAH,EACA,GAAGtD,CAAA,CACJ,EACK0D,EAAOV,EAA8BO,CAAW,EACtD,GAAI,CAACG,EACH,MAAM,IAAIC,EAAA,+BACR,OAAO,KAAKX,CAA6B,EACzCO,CAAA,EAGG,OAAA,IAAIG,EAAK/B,EAAS2B,CAAO,CAIlC"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../generated-Cf82M-QP.cjs");require("../componentInterfaces-BZ3fSNkT.cjs");require("@wagmi/core");require("../errors.cjs");const e=require("../AllowList-DaX239DR.cjs"),i=require("./SimpleAllowList.cjs"),l=require("../SimpleDenyList-D5AoBdVi.cjs");exports.AllowListByComponentInterface=e.AllowListByComponentInterface;exports.OffchainAccessList=e.OffchainAccessList;exports.OpenAllowList=e.OpenAllowList;exports.allowListFromAddress=e.allowListFromAddress;exports.SimpleAllowList=i.SimpleAllowList;exports.SimpleDenyList=l.SimpleDenyList;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../generated-CkZm1EVH.cjs");require("../componentInterfaces-JU4NBkEc.cjs");require("@wagmi/core");require("../errors.cjs");const e=require("../AllowList-GEmUfOR1.cjs"),i=require("./SimpleAllowList.cjs"),l=require("../SimpleDenyList-6_sxnZB0.cjs");exports.AllowListByComponentInterface=e.AllowListByComponentInterface;exports.OffchainAccessList=e.OffchainAccessList;exports.OpenAllowList=e.OpenAllowList;exports.allowListFromAddress=e.allowListFromAddress;exports.SimpleAllowList=i.SimpleAllowList;exports.SimpleDenyList=l.SimpleDenyList;
2
2
  //# sourceMappingURL=AllowList.cjs.map
@@ -1,10 +1,10 @@
1
- import "../generated-krkFnwbV.js";
2
- import "../componentInterfaces-D2s6AXlV.js";
1
+ import "../generated-DRbljODL.js";
2
+ import "../componentInterfaces-43ygGrVO.js";
3
3
  import "@wagmi/core";
4
4
  import "../errors.js";
5
- import { A as m, O as p, a as l, b as a } from "../AllowList-DQf-8HQC.js";
5
+ import { A as m, O as p, a as l, b as a } from "../AllowList-CTRuUBCQ.js";
6
6
  import { SimpleAllowList as n } from "./SimpleAllowList.js";
7
- import { S as L } from "../SimpleDenyList-CtdXM49y.js";
7
+ import { S as L } from "../SimpleDenyList-CrjjFnn5.js";
8
8
  export {
9
9
  m as AllowListByComponentInterface,
10
10
  p as OffchainAccessList,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../generated-Cf82M-QP.cjs"),A=require("@wagmi/core"),o=require("viem"),h=require("../deployments-DimWVnA4.cjs"),n=require("../Deployable/DeployableTargetWithRBAC.cjs"),w=require("../errors.cjs"),y=require("../utils.cjs"),p="0x6080604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b611160806100895f395ff3fe608060405260043610610183575f3560e01c806354d1f13d116100d1578063e3f756de1161007c578063f2fde38b11610057578063f2fde38b14610445578063fe9fbb8014610458578063fee81cf414610477575f80fd5b8063e3f756de146103d8578063ec87621c1461041e578063f04e283e14610432575f80fd5b80638da5cb5b116100ac5780638da5cb5b14610362578063be4994f81461039a578063dcc21361146103b9575f80fd5b806354d1f13d1461033e578063715018a61461034657806375b238fc1461034e575f80fd5b80632de9480711610131578063439fab911161010c578063439fab91146102d75780634a4ee7b1146102f6578063514e62fc14610309575f80fd5b80632de948071461025a5780633abb0604146102995780634359d28a146102b8575f80fd5b80631cd64df4116101615780631cd64df4146101e3578063256929621461021857806328d6183b14610220575f80fd5b806301ffc9a714610187578063183a4f6e146101bb5780631c10893f146101d0575b5f80fd5b348015610192575f80fd5b506101a66101a1366004610d5e565b6104a8565b60405190151581526020015b60405180910390f35b6101ce6101c9366004610da4565b610503565b005b6101ce6101de366004610dec565b610510565b3480156101ee575f80fd5b506101a66101fd366004610dec565b638b78c6d8600c9081525f9290925260209091205481161490565b6101ce610526565b34801561022b575f80fd5b506040517f1392d7980000000000000000000000000000000000000000000000000000000081526020016101b2565b348015610265575f80fd5b5061028b610274366004610e16565b638b78c6d8600c9081525f91909152602090205490565b6040519081526020016101b2565b3480156102a4575f80fd5b506101ce6102b3366004610e79565b610573565b3480156102c3575f80fd5b506101ce6102d2366004610e79565b6106a6565b3480156102e2575f80fd5b506101ce6102f1366004610f23565b6107a0565b6101ce610304366004610dec565b6108cf565b348015610314575f80fd5b506101a6610323366004610dec565b638b78c6d8600c9081525f9290925260209091205416151590565b6101ce6108e1565b6101ce61091a565b348015610359575f80fd5b5061028b600281565b34801561036d575f80fd5b50638b78c6d8195460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b2565b3480156103a5575f80fd5b506101ce6103b4366004610e79565b61092d565b3480156103c4575f80fd5b506101ce6103d3366004610e79565b6109cb565b3480156103e3575f80fd5b506101a66103f2366004610f62565b505073ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205460ff1690565b348015610429575f80fd5b5061028b600181565b6101ce610440366004610e16565b610a69565b6101ce610453366004610e16565b610aa3565b348015610463575f80fd5b506101a6610472366004610e16565b610ac9565b348015610482575f80fd5b5061028b610491366004610e16565b63389a75e1600c9081525f91909152602090205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f1392d7980000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610b28565b92915050565b61050d3382610b7d565b50565b610518610b88565b6105228282610ba2565b5050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b61057c33610ac9565b6105b2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281146105eb576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8381101561069f5782828281811061060757610607610fb3565b905060200201602081019061061c9190610fe0565b5f8087878581811061063057610630610fb3565b90506020020160208101906106459190610e16565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790556001016105ed565b5050505050565b60026106b181610bae565b8382146106ea576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798575f84848381811061070757610707610fb3565b905060200201602081019061071c9190610fe0565b905080151560010361075e5761075987878481811061073d5761073d610fb3565b90506020020160208101906107529190610e16565b6001610ba2565b61078f565b61078f87878481811061077357610773610fb3565b90506020020160208101906107889190610e16565b6001610b7d565b506001016106ec565b505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156107f15760018160011c14303b106107e85763f92ee8a95f526004601cfd5b818160ff1b1b91505b505f806108008486018661102c565b9150915061080d82610bdf565b5f5b81518110156108925760015f8084848151811061082e5761082e610fb3565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff1682528101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560010161080f565b50505080156108ca576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b6108d7610b88565b6105228282610b7d565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b610922610b88565b61092b5f610c27565b565b600261093881610bae565b838214610971576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798576109c386868381811061099057610990610fb3565b90506020020160208101906109a59190610e16565b8585848181106109b7576109b7610fb3565b90506020020135610ba2565b600101610973565b60026109d681610bae565b838214610a0f576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8481101561079857610a61868683818110610a2e57610a2e610fb3565b9050602002016020810190610a439190610e16565b858584818110610a5557610a55610fb3565b90506020020135610b7d565b600101610a11565b610a71610b88565b63389a75e1600c52805f526020600c208054421115610a9757636f5e88185f526004601cfd5b5f905561050d81610c27565b610aab610b88565b8060601b610ac057637448fbae5f526004601cfd5b61050d81610c27565b5f8173ffffffffffffffffffffffffffffffffffffffff16610aee638b78c6d8195490565b73ffffffffffffffffffffffffffffffffffffffff1614806104fd5750638b78c6d8600c9081525f839052602090205460031615156104fd565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe2089f790000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610c71565b61052282825f610d07565b638b78c6d81954331461092b576382b429005f526004601cfd5b61052282826001610d07565b638b78c6d81954331461050d57638b78c6d8600c52335f52806020600c20541661050d576382b429005f526004601cfd5b73ffffffffffffffffffffffffffffffffffffffff16638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b638b78c6d819805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806104fd57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104fd565b638b78c6d8600c52825f526020600c20805483811783610d28575080841681185b80835580600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe265f80a3505050505050565b5f60208284031215610d6e575f80fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610d9d575f80fd5b9392505050565b5f60208284031215610db4575f80fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461050d575f80fd5b8035610de781610dbb565b919050565b5f8060408385031215610dfd575f80fd5b8235610e0881610dbb565b946020939093013593505050565b5f60208284031215610e26575f80fd5b8135610d9d81610dbb565b5f8083601f840112610e41575f80fd5b50813567ffffffffffffffff811115610e58575f80fd5b6020830191508360208260051b8501011115610e72575f80fd5b9250929050565b5f805f8060408587031215610e8c575f80fd5b843567ffffffffffffffff811115610ea2575f80fd5b610eae87828801610e31565b909550935050602085013567ffffffffffffffff811115610ecd575f80fd5b610ed987828801610e31565b95989497509550505050565b5f8083601f840112610ef5575f80fd5b50813567ffffffffffffffff811115610f0c575f80fd5b602083019150836020828501011115610e72575f80fd5b5f8060208385031215610f34575f80fd5b823567ffffffffffffffff811115610f4a575f80fd5b610f5685828601610ee5565b90969095509350505050565b5f805f60408486031215610f74575f80fd5b8335610f7f81610dbb565b9250602084013567ffffffffffffffff811115610f9a575f80fd5b610fa686828701610ee5565b9497909650939450505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215610ff0575f80fd5b81358015158114610d9d575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f806040838503121561103d575f80fd5b823561104881610dbb565b9150602083013567ffffffffffffffff811115611063575f80fd5b8301601f81018513611073575f80fd5b803567ffffffffffffffff81111561108d5761108d610fff565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811067ffffffffffffffff821117156110d8576110d8610fff565b6040529182526020818401810192908101888411156110f5575f80fd5b6020850194505b8385101561111b5761110d85610ddc565b8152602094850194016110fc565b5080945050505050925092905056fea264697066735822122027fffd03dd768053e102d2296f2de3fb08c582f4cc6013e14d57229182f9dbd364736f6c634300081a0033",r={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_BOOST_MAINNET_SIGNER_EOA:"0xCBD0C302040bC803B4B2EDaF21Be0e49Deff5480",VITE_BOOST_TESTNET_SIGNER_EOA:"0xd63167e9db11B108940b2E8236581F961f33f396"},E=n.Roles.MANAGER,t=class t extends n.DeployableTargetWithRBAC{constructor(){super(...arguments),this.abi=a.S}async owner(f){return await a.x8(this._config,{...this.optionallyAttachAccount(),...f,address:this.assertValidAddress(),args:[]})}async isAllowed(f,e){return await a.z8(this._config,{address:this.assertValidAddress(),args:[f,o.zeroHash],...this.optionallyAttachAccount(),...e})}async setAllowed(f,e,b){return await this.awaitResult(this.setAllowedRaw(f,e,b))}async setAllowedRaw(f,e,b){const{request:d,result:c}=await a.uZ(this._config,{address:this.assertValidAddress(),args:[f,e],...this.optionallyAttachAccount(),...b});return{hash:await a.Q8(this._config,d),result:c}}buildParameters(f,e){var c;const[b,d]=this.validateDeploymentConfig(f,e);if(!b.owner||b.owner===o.zeroAddress){const s=d.account?d.account.address:d.config?A.getAccount(d.config).address:(c=this._account)==null?void 0:c.address;if(s)b.owner=s;else throw new w.DeployableUnknownOwnerProvidedError}return{abi:a.S,bytecode:p,args:[l(b)],...this.optionallyAttachAccount(d.account)}}};t.bases={...r!=null&&r.VITE_SIMPLE_ALLOWLIST_BASE?{31337:void 0}:{},...h.SimpleAllowList},t.registryType=y.RegistryType.ALLOW_LIST;let i=t;function l({owner:u,allowed:f}){return o.encodeAbiParameters([{type:"address",name:"owner"},{type:"address[]",name:"allowed"}],[u,f])}exports.simpleAllowListAbi=a.S;exports.LIST_MANAGER_ROLE=E;exports.SimpleAllowList=i;exports.prepareSimpleAllowListPayload=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../generated-CkZm1EVH.cjs"),A=require("@wagmi/core"),o=require("viem"),h=require("../deployments-uLDgrxCp.cjs"),n=require("../Deployable/DeployableTargetWithRBAC.cjs"),w=require("../errors.cjs"),y=require("../utils.cjs"),p="0x6080604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b611160806100895f395ff3fe608060405260043610610183575f3560e01c806354d1f13d116100d1578063e3f756de1161007c578063f2fde38b11610057578063f2fde38b14610445578063fe9fbb8014610458578063fee81cf414610477575f80fd5b8063e3f756de146103d8578063ec87621c1461041e578063f04e283e14610432575f80fd5b80638da5cb5b116100ac5780638da5cb5b14610362578063be4994f81461039a578063dcc21361146103b9575f80fd5b806354d1f13d1461033e578063715018a61461034657806375b238fc1461034e575f80fd5b80632de9480711610131578063439fab911161010c578063439fab91146102d75780634a4ee7b1146102f6578063514e62fc14610309575f80fd5b80632de948071461025a5780633abb0604146102995780634359d28a146102b8575f80fd5b80631cd64df4116101615780631cd64df4146101e3578063256929621461021857806328d6183b14610220575f80fd5b806301ffc9a714610187578063183a4f6e146101bb5780631c10893f146101d0575b5f80fd5b348015610192575f80fd5b506101a66101a1366004610d5e565b6104a8565b60405190151581526020015b60405180910390f35b6101ce6101c9366004610da4565b610503565b005b6101ce6101de366004610dec565b610510565b3480156101ee575f80fd5b506101a66101fd366004610dec565b638b78c6d8600c9081525f9290925260209091205481161490565b6101ce610526565b34801561022b575f80fd5b506040517f1392d7980000000000000000000000000000000000000000000000000000000081526020016101b2565b348015610265575f80fd5b5061028b610274366004610e16565b638b78c6d8600c9081525f91909152602090205490565b6040519081526020016101b2565b3480156102a4575f80fd5b506101ce6102b3366004610e79565b610573565b3480156102c3575f80fd5b506101ce6102d2366004610e79565b6106a6565b3480156102e2575f80fd5b506101ce6102f1366004610f23565b6107a0565b6101ce610304366004610dec565b6108cf565b348015610314575f80fd5b506101a6610323366004610dec565b638b78c6d8600c9081525f9290925260209091205416151590565b6101ce6108e1565b6101ce61091a565b348015610359575f80fd5b5061028b600281565b34801561036d575f80fd5b50638b78c6d8195460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b2565b3480156103a5575f80fd5b506101ce6103b4366004610e79565b61092d565b3480156103c4575f80fd5b506101ce6103d3366004610e79565b6109cb565b3480156103e3575f80fd5b506101a66103f2366004610f62565b505073ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205460ff1690565b348015610429575f80fd5b5061028b600181565b6101ce610440366004610e16565b610a69565b6101ce610453366004610e16565b610aa3565b348015610463575f80fd5b506101a6610472366004610e16565b610ac9565b348015610482575f80fd5b5061028b610491366004610e16565b63389a75e1600c9081525f91909152602090205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f1392d7980000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610b28565b92915050565b61050d3382610b7d565b50565b610518610b88565b6105228282610ba2565b5050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b61057c33610ac9565b6105b2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281146105eb576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8381101561069f5782828281811061060757610607610fb3565b905060200201602081019061061c9190610fe0565b5f8087878581811061063057610630610fb3565b90506020020160208101906106459190610e16565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790556001016105ed565b5050505050565b60026106b181610bae565b8382146106ea576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798575f84848381811061070757610707610fb3565b905060200201602081019061071c9190610fe0565b905080151560010361075e5761075987878481811061073d5761073d610fb3565b90506020020160208101906107529190610e16565b6001610ba2565b61078f565b61078f87878481811061077357610773610fb3565b90506020020160208101906107889190610e16565b6001610b7d565b506001016106ec565b505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156107f15760018160011c14303b106107e85763f92ee8a95f526004601cfd5b818160ff1b1b91505b505f806108008486018661102c565b9150915061080d82610bdf565b5f5b81518110156108925760015f8084848151811061082e5761082e610fb3565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff1682528101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560010161080f565b50505080156108ca576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b6108d7610b88565b6105228282610b7d565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b610922610b88565b61092b5f610c27565b565b600261093881610bae565b838214610971576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798576109c386868381811061099057610990610fb3565b90506020020160208101906109a59190610e16565b8585848181106109b7576109b7610fb3565b90506020020135610ba2565b600101610973565b60026109d681610bae565b838214610a0f576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8481101561079857610a61868683818110610a2e57610a2e610fb3565b9050602002016020810190610a439190610e16565b858584818110610a5557610a55610fb3565b90506020020135610b7d565b600101610a11565b610a71610b88565b63389a75e1600c52805f526020600c208054421115610a9757636f5e88185f526004601cfd5b5f905561050d81610c27565b610aab610b88565b8060601b610ac057637448fbae5f526004601cfd5b61050d81610c27565b5f8173ffffffffffffffffffffffffffffffffffffffff16610aee638b78c6d8195490565b73ffffffffffffffffffffffffffffffffffffffff1614806104fd5750638b78c6d8600c9081525f839052602090205460031615156104fd565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe2089f790000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610c71565b61052282825f610d07565b638b78c6d81954331461092b576382b429005f526004601cfd5b61052282826001610d07565b638b78c6d81954331461050d57638b78c6d8600c52335f52806020600c20541661050d576382b429005f526004601cfd5b73ffffffffffffffffffffffffffffffffffffffff16638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b638b78c6d819805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806104fd57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104fd565b638b78c6d8600c52825f526020600c20805483811783610d28575080841681185b80835580600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe265f80a3505050505050565b5f60208284031215610d6e575f80fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610d9d575f80fd5b9392505050565b5f60208284031215610db4575f80fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461050d575f80fd5b8035610de781610dbb565b919050565b5f8060408385031215610dfd575f80fd5b8235610e0881610dbb565b946020939093013593505050565b5f60208284031215610e26575f80fd5b8135610d9d81610dbb565b5f8083601f840112610e41575f80fd5b50813567ffffffffffffffff811115610e58575f80fd5b6020830191508360208260051b8501011115610e72575f80fd5b9250929050565b5f805f8060408587031215610e8c575f80fd5b843567ffffffffffffffff811115610ea2575f80fd5b610eae87828801610e31565b909550935050602085013567ffffffffffffffff811115610ecd575f80fd5b610ed987828801610e31565b95989497509550505050565b5f8083601f840112610ef5575f80fd5b50813567ffffffffffffffff811115610f0c575f80fd5b602083019150836020828501011115610e72575f80fd5b5f8060208385031215610f34575f80fd5b823567ffffffffffffffff811115610f4a575f80fd5b610f5685828601610ee5565b90969095509350505050565b5f805f60408486031215610f74575f80fd5b8335610f7f81610dbb565b9250602084013567ffffffffffffffff811115610f9a575f80fd5b610fa686828701610ee5565b9497909650939450505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215610ff0575f80fd5b81358015158114610d9d575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f806040838503121561103d575f80fd5b823561104881610dbb565b9150602083013567ffffffffffffffff811115611063575f80fd5b8301601f81018513611073575f80fd5b803567ffffffffffffffff81111561108d5761108d610fff565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811067ffffffffffffffff821117156110d8576110d8610fff565b6040529182526020818401810192908101888411156110f5575f80fd5b6020850194505b8385101561111b5761110d85610ddc565b8152602094850194016110fc565b5080945050505050925092905056fea264697066735822122027fffd03dd768053e102d2296f2de3fb08c582f4cc6013e14d57229182f9dbd364736f6c634300081a0033",r={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_BOOST_MAINNET_SIGNER_EOA:"0xCBD0C302040bC803B4B2EDaF21Be0e49Deff5480",VITE_BOOST_TESTNET_SIGNER_EOA:"0xd63167e9db11B108940b2E8236581F961f33f396"},E=n.Roles.MANAGER,t=class t extends n.DeployableTargetWithRBAC{constructor(){super(...arguments),this.abi=a._}async owner(f){return await a.gJ(this._config,{...this.optionallyAttachAccount(),...f,address:this.assertValidAddress(),args:[]})}async isAllowed(f,e){return await a.TJ(this._config,{address:this.assertValidAddress(),args:[f,o.zeroHash],...this.optionallyAttachAccount(),...e})}async setAllowed(f,e,b){return await this.awaitResult(this.setAllowedRaw(f,e,b))}async setAllowedRaw(f,e,b){const{request:d,result:c}=await a.QJ(this._config,{address:this.assertValidAddress(),args:[f,e],...this.optionallyAttachAccount(),...b});return{hash:await a.FJ(this._config,d),result:c}}buildParameters(f,e){var c;const[b,d]=this.validateDeploymentConfig(f,e);if(!b.owner||b.owner===o.zeroAddress){const s=d.account?d.account.address:d.config?A.getAccount(d.config).address:(c=this._account)==null?void 0:c.address;if(s)b.owner=s;else throw new w.DeployableUnknownOwnerProvidedError}return{abi:a._,bytecode:p,args:[l(b)],...this.optionallyAttachAccount(d.account)}}};t.bases={...r!=null&&r.VITE_SIMPLE_ALLOWLIST_BASE?{31337:void 0}:{},...h.SimpleAllowList},t.registryType=y.RegistryType.ALLOW_LIST;let i=t;function l({owner:u,allowed:f}){return o.encodeAbiParameters([{type:"address",name:"owner"},{type:"address[]",name:"allowed"}],[u,f])}exports.simpleAllowListAbi=a._;exports.LIST_MANAGER_ROLE=E;exports.SimpleAllowList=i;exports.prepareSimpleAllowListPayload=l;
2
2
  //# sourceMappingURL=SimpleAllowList.cjs.map
@@ -1,11 +1,11 @@
1
- import { S as o, aw as n, ax as l, ay as A, az as h } from "../generated-krkFnwbV.js";
1
+ import { _ as o, aA as n, aB as l, aC as A, aD as h } from "../generated-DRbljODL.js";
2
2
  import { getAccount as u } from "@wagmi/core";
3
- import { zeroHash as p, zeroAddress as w, encodeAbiParameters as y } from "viem";
4
- import { S as E } from "../deployments-Dw5Suk_D.js";
3
+ import { zeroHash as p, zeroAddress as w, encodeAbiParameters as E } from "viem";
4
+ import { S as y } from "../deployments-COm00j8v.js";
5
5
  import { Roles as m, DeployableTargetWithRBAC as g } from "../Deployable/DeployableTargetWithRBAC.js";
6
6
  import { DeployableUnknownOwnerProvidedError as T } from "../errors.js";
7
7
  import { RegistryType as R } from "../utils.js";
8
- const S = "0x6080604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b611160806100895f395ff3fe608060405260043610610183575f3560e01c806354d1f13d116100d1578063e3f756de1161007c578063f2fde38b11610057578063f2fde38b14610445578063fe9fbb8014610458578063fee81cf414610477575f80fd5b8063e3f756de146103d8578063ec87621c1461041e578063f04e283e14610432575f80fd5b80638da5cb5b116100ac5780638da5cb5b14610362578063be4994f81461039a578063dcc21361146103b9575f80fd5b806354d1f13d1461033e578063715018a61461034657806375b238fc1461034e575f80fd5b80632de9480711610131578063439fab911161010c578063439fab91146102d75780634a4ee7b1146102f6578063514e62fc14610309575f80fd5b80632de948071461025a5780633abb0604146102995780634359d28a146102b8575f80fd5b80631cd64df4116101615780631cd64df4146101e3578063256929621461021857806328d6183b14610220575f80fd5b806301ffc9a714610187578063183a4f6e146101bb5780631c10893f146101d0575b5f80fd5b348015610192575f80fd5b506101a66101a1366004610d5e565b6104a8565b60405190151581526020015b60405180910390f35b6101ce6101c9366004610da4565b610503565b005b6101ce6101de366004610dec565b610510565b3480156101ee575f80fd5b506101a66101fd366004610dec565b638b78c6d8600c9081525f9290925260209091205481161490565b6101ce610526565b34801561022b575f80fd5b506040517f1392d7980000000000000000000000000000000000000000000000000000000081526020016101b2565b348015610265575f80fd5b5061028b610274366004610e16565b638b78c6d8600c9081525f91909152602090205490565b6040519081526020016101b2565b3480156102a4575f80fd5b506101ce6102b3366004610e79565b610573565b3480156102c3575f80fd5b506101ce6102d2366004610e79565b6106a6565b3480156102e2575f80fd5b506101ce6102f1366004610f23565b6107a0565b6101ce610304366004610dec565b6108cf565b348015610314575f80fd5b506101a6610323366004610dec565b638b78c6d8600c9081525f9290925260209091205416151590565b6101ce6108e1565b6101ce61091a565b348015610359575f80fd5b5061028b600281565b34801561036d575f80fd5b50638b78c6d8195460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b2565b3480156103a5575f80fd5b506101ce6103b4366004610e79565b61092d565b3480156103c4575f80fd5b506101ce6103d3366004610e79565b6109cb565b3480156103e3575f80fd5b506101a66103f2366004610f62565b505073ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205460ff1690565b348015610429575f80fd5b5061028b600181565b6101ce610440366004610e16565b610a69565b6101ce610453366004610e16565b610aa3565b348015610463575f80fd5b506101a6610472366004610e16565b610ac9565b348015610482575f80fd5b5061028b610491366004610e16565b63389a75e1600c9081525f91909152602090205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f1392d7980000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610b28565b92915050565b61050d3382610b7d565b50565b610518610b88565b6105228282610ba2565b5050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b61057c33610ac9565b6105b2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281146105eb576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8381101561069f5782828281811061060757610607610fb3565b905060200201602081019061061c9190610fe0565b5f8087878581811061063057610630610fb3565b90506020020160208101906106459190610e16565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790556001016105ed565b5050505050565b60026106b181610bae565b8382146106ea576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798575f84848381811061070757610707610fb3565b905060200201602081019061071c9190610fe0565b905080151560010361075e5761075987878481811061073d5761073d610fb3565b90506020020160208101906107529190610e16565b6001610ba2565b61078f565b61078f87878481811061077357610773610fb3565b90506020020160208101906107889190610e16565b6001610b7d565b506001016106ec565b505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156107f15760018160011c14303b106107e85763f92ee8a95f526004601cfd5b818160ff1b1b91505b505f806108008486018661102c565b9150915061080d82610bdf565b5f5b81518110156108925760015f8084848151811061082e5761082e610fb3565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff1682528101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560010161080f565b50505080156108ca576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b6108d7610b88565b6105228282610b7d565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b610922610b88565b61092b5f610c27565b565b600261093881610bae565b838214610971576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798576109c386868381811061099057610990610fb3565b90506020020160208101906109a59190610e16565b8585848181106109b7576109b7610fb3565b90506020020135610ba2565b600101610973565b60026109d681610bae565b838214610a0f576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8481101561079857610a61868683818110610a2e57610a2e610fb3565b9050602002016020810190610a439190610e16565b858584818110610a5557610a55610fb3565b90506020020135610b7d565b600101610a11565b610a71610b88565b63389a75e1600c52805f526020600c208054421115610a9757636f5e88185f526004601cfd5b5f905561050d81610c27565b610aab610b88565b8060601b610ac057637448fbae5f526004601cfd5b61050d81610c27565b5f8173ffffffffffffffffffffffffffffffffffffffff16610aee638b78c6d8195490565b73ffffffffffffffffffffffffffffffffffffffff1614806104fd5750638b78c6d8600c9081525f839052602090205460031615156104fd565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe2089f790000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610c71565b61052282825f610d07565b638b78c6d81954331461092b576382b429005f526004601cfd5b61052282826001610d07565b638b78c6d81954331461050d57638b78c6d8600c52335f52806020600c20541661050d576382b429005f526004601cfd5b73ffffffffffffffffffffffffffffffffffffffff16638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b638b78c6d819805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806104fd57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104fd565b638b78c6d8600c52825f526020600c20805483811783610d28575080841681185b80835580600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe265f80a3505050505050565b5f60208284031215610d6e575f80fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610d9d575f80fd5b9392505050565b5f60208284031215610db4575f80fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461050d575f80fd5b8035610de781610dbb565b919050565b5f8060408385031215610dfd575f80fd5b8235610e0881610dbb565b946020939093013593505050565b5f60208284031215610e26575f80fd5b8135610d9d81610dbb565b5f8083601f840112610e41575f80fd5b50813567ffffffffffffffff811115610e58575f80fd5b6020830191508360208260051b8501011115610e72575f80fd5b9250929050565b5f805f8060408587031215610e8c575f80fd5b843567ffffffffffffffff811115610ea2575f80fd5b610eae87828801610e31565b909550935050602085013567ffffffffffffffff811115610ecd575f80fd5b610ed987828801610e31565b95989497509550505050565b5f8083601f840112610ef5575f80fd5b50813567ffffffffffffffff811115610f0c575f80fd5b602083019150836020828501011115610e72575f80fd5b5f8060208385031215610f34575f80fd5b823567ffffffffffffffff811115610f4a575f80fd5b610f5685828601610ee5565b90969095509350505050565b5f805f60408486031215610f74575f80fd5b8335610f7f81610dbb565b9250602084013567ffffffffffffffff811115610f9a575f80fd5b610fa686828701610ee5565b9497909650939450505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215610ff0575f80fd5b81358015158114610d9d575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f806040838503121561103d575f80fd5b823561104881610dbb565b9150602083013567ffffffffffffffff811115611063575f80fd5b8301601f81018513611073575f80fd5b803567ffffffffffffffff81111561108d5761108d610fff565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811067ffffffffffffffff821117156110d8576110d8610fff565b6040529182526020818401810192908101888411156110f5575f80fd5b6020850194505b8385101561111b5761110d85610ddc565b8152602094850194016110fc565b5080945050505050925092905056fea264697066735822122027fffd03dd768053e102d2296f2de3fb08c582f4cc6013e14d57229182f9dbd364736f6c634300081a0033", t = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_BOOST_MAINNET_SIGNER_EOA: "0xCBD0C302040bC803B4B2EDaF21Be0e49Deff5480", VITE_BOOST_TESTNET_SIGNER_EOA: "0xd63167e9db11B108940b2E8236581F961f33f396" }, V = m.MANAGER, c = class c extends g {
8
+ const S = "0x6080604052348015600e575f80fd5b5060156019565b607c565b63409feecd198054600181161560365763f92ee8a95f526004601cfd5b6001600160401b03808260011c146077578060011b8355806020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b611160806100895f395ff3fe608060405260043610610183575f3560e01c806354d1f13d116100d1578063e3f756de1161007c578063f2fde38b11610057578063f2fde38b14610445578063fe9fbb8014610458578063fee81cf414610477575f80fd5b8063e3f756de146103d8578063ec87621c1461041e578063f04e283e14610432575f80fd5b80638da5cb5b116100ac5780638da5cb5b14610362578063be4994f81461039a578063dcc21361146103b9575f80fd5b806354d1f13d1461033e578063715018a61461034657806375b238fc1461034e575f80fd5b80632de9480711610131578063439fab911161010c578063439fab91146102d75780634a4ee7b1146102f6578063514e62fc14610309575f80fd5b80632de948071461025a5780633abb0604146102995780634359d28a146102b8575f80fd5b80631cd64df4116101615780631cd64df4146101e3578063256929621461021857806328d6183b14610220575f80fd5b806301ffc9a714610187578063183a4f6e146101bb5780631c10893f146101d0575b5f80fd5b348015610192575f80fd5b506101a66101a1366004610d5e565b6104a8565b60405190151581526020015b60405180910390f35b6101ce6101c9366004610da4565b610503565b005b6101ce6101de366004610dec565b610510565b3480156101ee575f80fd5b506101a66101fd366004610dec565b638b78c6d8600c9081525f9290925260209091205481161490565b6101ce610526565b34801561022b575f80fd5b506040517f1392d7980000000000000000000000000000000000000000000000000000000081526020016101b2565b348015610265575f80fd5b5061028b610274366004610e16565b638b78c6d8600c9081525f91909152602090205490565b6040519081526020016101b2565b3480156102a4575f80fd5b506101ce6102b3366004610e79565b610573565b3480156102c3575f80fd5b506101ce6102d2366004610e79565b6106a6565b3480156102e2575f80fd5b506101ce6102f1366004610f23565b6107a0565b6101ce610304366004610dec565b6108cf565b348015610314575f80fd5b506101a6610323366004610dec565b638b78c6d8600c9081525f9290925260209091205416151590565b6101ce6108e1565b6101ce61091a565b348015610359575f80fd5b5061028b600281565b34801561036d575f80fd5b50638b78c6d8195460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b2565b3480156103a5575f80fd5b506101ce6103b4366004610e79565b61092d565b3480156103c4575f80fd5b506101ce6103d3366004610e79565b6109cb565b3480156103e3575f80fd5b506101a66103f2366004610f62565b505073ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205460ff1690565b348015610429575f80fd5b5061028b600181565b6101ce610440366004610e16565b610a69565b6101ce610453366004610e16565b610aa3565b348015610463575f80fd5b506101a6610472366004610e16565b610ac9565b348015610482575f80fd5b5061028b610491366004610e16565b63389a75e1600c9081525f91909152602090205490565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f1392d7980000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610b28565b92915050565b61050d3382610b7d565b50565b610518610b88565b6105228282610ba2565b5050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b61057c33610ac9565b6105b2576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8281146105eb576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8381101561069f5782828281811061060757610607610fb3565b905060200201602081019061061c9190610fe0565b5f8087878581811061063057610630610fb3565b90506020020160208101906106459190610e16565b73ffffffffffffffffffffffffffffffffffffffff16815260208101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790556001016105ed565b5050505050565b60026106b181610bae565b8382146106ea576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798575f84848381811061070757610707610fb3565b905060200201602081019061071c9190610fe0565b905080151560010361075e5761075987878481811061073d5761073d610fb3565b90506020020160208101906107529190610e16565b6001610ba2565b61078f565b61078f87878481811061077357610773610fb3565b90506020020160208101906107889190610e16565b6001610b7d565b506001016106ec565b505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf60113280546003825580156107f15760018160011c14303b106107e85763f92ee8a95f526004601cfd5b818160ff1b1b91505b505f806108008486018661102c565b9150915061080d82610bdf565b5f5b81518110156108925760015f8084848151811061082e5761082e610fb3565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff1682528101919091526040015f2080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905560010161080f565b50505080156108ca576002815560016020527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602080a15b505050565b6108d7610b88565b6105228282610b7d565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b610922610b88565b61092b5f610c27565b565b600261093881610bae565b838214610971576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b84811015610798576109c386868381811061099057610990610fb3565b90506020020160208101906109a59190610e16565b8585848181106109b7576109b7610fb3565b90506020020135610ba2565b600101610973565b60026109d681610bae565b838214610a0f576040517fff633a3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8481101561079857610a61868683818110610a2e57610a2e610fb3565b9050602002016020810190610a439190610e16565b858584818110610a5557610a55610fb3565b90506020020135610b7d565b600101610a11565b610a71610b88565b63389a75e1600c52805f526020600c208054421115610a9757636f5e88185f526004601cfd5b5f905561050d81610c27565b610aab610b88565b8060601b610ac057637448fbae5f526004601cfd5b61050d81610c27565b5f8173ffffffffffffffffffffffffffffffffffffffff16610aee638b78c6d8195490565b73ffffffffffffffffffffffffffffffffffffffff1614806104fd5750638b78c6d8600c9081525f839052602090205460031615156104fd565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167fe2089f790000000000000000000000000000000000000000000000000000000014806104fd57506104fd82610c71565b61052282825f610d07565b638b78c6d81954331461092b576382b429005f526004601cfd5b61052282826001610d07565b638b78c6d81954331461050d57638b78c6d8600c52335f52806020600c20541661050d576382b429005f526004601cfd5b73ffffffffffffffffffffffffffffffffffffffff16638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b638b78c6d819805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f6ab67a0d0000000000000000000000000000000000000000000000000000000014806104fd57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104fd565b638b78c6d8600c52825f526020600c20805483811783610d28575080841681185b80835580600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe265f80a3505050505050565b5f60208284031215610d6e575f80fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610d9d575f80fd5b9392505050565b5f60208284031215610db4575f80fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff8116811461050d575f80fd5b8035610de781610dbb565b919050565b5f8060408385031215610dfd575f80fd5b8235610e0881610dbb565b946020939093013593505050565b5f60208284031215610e26575f80fd5b8135610d9d81610dbb565b5f8083601f840112610e41575f80fd5b50813567ffffffffffffffff811115610e58575f80fd5b6020830191508360208260051b8501011115610e72575f80fd5b9250929050565b5f805f8060408587031215610e8c575f80fd5b843567ffffffffffffffff811115610ea2575f80fd5b610eae87828801610e31565b909550935050602085013567ffffffffffffffff811115610ecd575f80fd5b610ed987828801610e31565b95989497509550505050565b5f8083601f840112610ef5575f80fd5b50813567ffffffffffffffff811115610f0c575f80fd5b602083019150836020828501011115610e72575f80fd5b5f8060208385031215610f34575f80fd5b823567ffffffffffffffff811115610f4a575f80fd5b610f5685828601610ee5565b90969095509350505050565b5f805f60408486031215610f74575f80fd5b8335610f7f81610dbb565b9250602084013567ffffffffffffffff811115610f9a575f80fd5b610fa686828701610ee5565b9497909650939450505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215610ff0575f80fd5b81358015158114610d9d575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f806040838503121561103d575f80fd5b823561104881610dbb565b9150602083013567ffffffffffffffff811115611063575f80fd5b8301601f81018513611073575f80fd5b803567ffffffffffffffff81111561108d5761108d610fff565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f830116810181811067ffffffffffffffff821117156110d8576110d8610fff565b6040529182526020818401810192908101888411156110f5575f80fd5b6020850194505b8385101561111b5761110d85610ddc565b8152602094850194016110fc565b5080945050505050925092905056fea264697066735822122027fffd03dd768053e102d2296f2de3fb08c582f4cc6013e14d57229182f9dbd364736f6c634300081a0033", t = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_BOOST_MAINNET_SIGNER_EOA: "0xCBD0C302040bC803B4B2EDaF21Be0e49Deff5480", VITE_BOOST_TESTNET_SIGNER_EOA: "0xd63167e9db11B108940b2E8236581F961f33f396" }, C = m.MANAGER, c = class c extends g {
9
9
  constructor() {
10
10
  super(...arguments), this.abi = o;
11
11
  }
@@ -115,14 +115,14 @@ const S = "0x6080604052348015600e575f80fd5b5060156019565b607c565b63409feecd19805
115
115
  };
116
116
  c.bases = {
117
117
  ...t != null && t.VITE_SIMPLE_ALLOWLIST_BASE ? { 31337: void 0 } : {},
118
- ...E
118
+ ...y
119
119
  }, c.registryType = R.ALLOW_LIST;
120
120
  let r = c;
121
121
  function O({
122
122
  owner: i,
123
123
  allowed: f
124
124
  }) {
125
- return y(
125
+ return E(
126
126
  [
127
127
  { type: "address", name: "owner" },
128
128
  { type: "address[]", name: "allowed" }
@@ -131,7 +131,7 @@ function O({
131
131
  );
132
132
  }
133
133
  export {
134
- V as LIST_MANAGER_ROLE,
134
+ C as LIST_MANAGER_ROLE,
135
135
  r as SimpleAllowList,
136
136
  O as prepareSimpleAllowListPayload,
137
137
  o as simpleAllowListAbi
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../generated-Cf82M-QP.cjs"),e=require("../SimpleDenyList-D5AoBdVi.cjs");require("@wagmi/core");require("viem");require("../deployments-DimWVnA4.cjs");require("../Deployable/DeployableTargetWithRBAC.cjs");require("../errors.cjs");require("../utils.cjs");exports.simpleDenyListAbi=r.k;exports.SimpleDenyList=e.SimpleDenyList;exports.prepareSimpleDenyListPayload=e.prepareSimpleDenyListPayload;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../generated-CkZm1EVH.cjs"),e=require("../SimpleDenyList-6_sxnZB0.cjs");require("@wagmi/core");require("viem");require("../deployments-uLDgrxCp.cjs");require("../Deployable/DeployableTargetWithRBAC.cjs");require("../errors.cjs");require("../utils.cjs");exports.simpleDenyListAbi=r.k;exports.SimpleDenyList=e.SimpleDenyList;exports.prepareSimpleDenyListPayload=e.prepareSimpleDenyListPayload;
2
2
  //# sourceMappingURL=SimpleDenyList.cjs.map
@@ -1,8 +1,8 @@
1
- import { k as a } from "../generated-krkFnwbV.js";
2
- import { S as y, p as n } from "../SimpleDenyList-CtdXM49y.js";
1
+ import { k as a } from "../generated-DRbljODL.js";
2
+ import { S as y, p as n } from "../SimpleDenyList-CrjjFnn5.js";
3
3
  import "@wagmi/core";
4
4
  import "viem";
5
- import "../deployments-Dw5Suk_D.js";
5
+ import "../deployments-COm00j8v.js";
6
6
  import "../Deployable/DeployableTargetWithRBAC.js";
7
7
  import "../errors.js";
8
8
  import "../utils.js";
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../generated-Cf82M-QP.cjs"),s=require("../Deployable/Deployable.cjs"),r="0x6080604052348015600e575f80fd5b5060bd80601a5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c8063fe9fbb8014602a575b5f80fd5b603b6035366004604f565b50600190565b604051901515815260200160405180910390f35b5f60208284031215605e575f80fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146080575f80fd5b939250505056fea26469706673582212209d268ab735201492a016395f826a0af564ff7d365d582344470d8cb83e05fc4464736f6c634300081a0033";class o extends s.Deployable{constructor(){super(...arguments),this.abi=f.lt}async isAuthorized(e,t){return await f.NW(this._config,{address:this.assertValidAddress(),args:[e],...t})}buildParameters(e,t){const[d,a]=this.validateDeploymentConfig({},t);return{abi:f.lt,bytecode:r,args:[],...this.optionallyAttachAccount(a.account)}}}exports.passthroughAuthAbi=f.lt;exports.PassthroughAuth=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../generated-CkZm1EVH.cjs"),s=require("../Deployable/Deployable.cjs"),r="0x6080604052348015600e575f80fd5b5060bd80601a5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c8063fe9fbb8014602a575b5f80fd5b603b6035366004604f565b50600190565b604051901515815260200160405180910390f35b5f60208284031215605e575f80fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146080575f80fd5b939250505056fea26469706673582212209d268ab735201492a016395f826a0af564ff7d365d582344470d8cb83e05fc4464736f6c634300081a0033";class o extends s.Deployable{constructor(){super(...arguments),this.abi=f.vt}async isAuthorized(e,t){return await f._8(this._config,{address:this.assertValidAddress(),args:[e],...t})}buildParameters(e,t){const[d,a]=this.validateDeploymentConfig({},t);return{abi:f.vt,bytecode:r,args:[],...this.optionallyAttachAccount(a.account)}}}exports.passthroughAuthAbi=f.vt;exports.PassthroughAuth=o;
2
2
  //# sourceMappingURL=PassthroughAuth.cjs.map
@@ -1,4 +1,4 @@
1
- import { d as t, a8 as e } from "../generated-krkFnwbV.js";
1
+ import { a as t, ac as e } from "../generated-DRbljODL.js";
2
2
  import { Deployable as o } from "../Deployable/Deployable.js";
3
3
  const r = "0x6080604052348015600e575f80fd5b5060bd80601a5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c8063fe9fbb8014602a575b5f80fd5b603b6035366004604f565b50600190565b604051901515815260200160405180910390f35b5f60208284031215605e575f80fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146080575f80fd5b939250505056fea26469706673582212209d268ab735201492a016395f826a0af564ff7d365d582344470d8cb83e05fc4464736f6c634300081a0033";
4
4
  class n extends o {
@@ -22,7 +22,7 @@ class n extends o {
22
22
  * @returns {GenericDeployableParams}
23
23
  */
24
24
  buildParameters(a, f) {
25
- const [b, s] = this.validateDeploymentConfig({}, f);
25
+ const [d, s] = this.validateDeploymentConfig({}, f);
26
26
  return {
27
27
  abi: t,
28
28
  bytecode: r,