@etherisc/gif-next 0.0.2-f78c672-338 → 0.0.2-f78f882-351

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. package/README.md +63 -312
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +106 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +111 -45
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +58 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +655 -299
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +331 -56
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +501 -231
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +131 -16
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -59
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +322 -67
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -33
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +379 -150
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +160 -78
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +20 -32
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +233 -20
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +109 -110
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +321 -66
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +145 -134
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +321 -66
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +82 -84
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +321 -66
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +39 -73
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +130 -148
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +321 -66
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +333 -190
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +321 -66
  63. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  64. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  67. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  68. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +450 -28
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +355 -12
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +488 -85
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +942 -471
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +289 -78
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +595 -532
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +387 -64
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -52
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1316 -2015
  87. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  88. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  90. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +33 -45
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +340 -60
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +19 -31
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -31
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +87 -42
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +116 -50
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +59 -79
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +321 -66
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +300 -123
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -58
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +186 -33
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +29 -41
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +238 -19
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +29 -41
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +100 -34
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +346 -87
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +141 -63
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +218 -61
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +113 -43
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -58
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +321 -66
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +128 -70
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +166 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +29 -0
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +40 -52
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +203 -18
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +511 -21
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +138 -72
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +91 -118
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +113 -67
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +40 -52
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +231 -46
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -43
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +799 -472
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  197. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +47 -18
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +96 -38
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +841 -419
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +197 -129
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Component.sol/Component.json +19 -31
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +212 -232
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +133 -71
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +130 -39
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  223. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
  224. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -31
  226. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +119 -147
  228. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -31
  230. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  231. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  232. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  233. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -0
  236. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  239. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  240. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  241. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  242. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -31
  243. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  244. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  245. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  246. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  247. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  248. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  249. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  250. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
  252. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  253. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  254. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  255. package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  258. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  260. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  261. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  262. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  263. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1453 -153
  264. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  265. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +161 -110
  266. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  267. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  268. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  269. package/artifacts/contracts/staking/Staking.sol/Staking.json +1565 -239
  270. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  271. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  272. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +146 -67
  274. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  276. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +200 -157
  278. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +98 -44
  280. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1633 -819
  282. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  283. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  284. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  285. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +159 -87
  286. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  289. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  291. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  292. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  293. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  295. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  297. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  299. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  301. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  302. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  303. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  305. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  306. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  307. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  309. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  311. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  313. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  315. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  317. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
  319. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  321. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  326. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  328. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  330. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  332. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  334. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  335. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  336. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  337. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
  338. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  339. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  340. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  342. package/contracts/accounting/AccountingService.sol +15 -3
  343. package/contracts/accounting/IAccountingService.sol +4 -2
  344. package/contracts/authorization/AccessAdmin.sol +361 -371
  345. package/contracts/authorization/AccessAdminLib.sol +678 -0
  346. package/contracts/authorization/AccessManagerCloneable.sol +23 -32
  347. package/contracts/authorization/Authorization.sol +82 -229
  348. package/contracts/authorization/IAccess.sol +29 -12
  349. package/contracts/authorization/IAccessAdmin.sol +83 -84
  350. package/contracts/authorization/IAuthorization.sol +3 -51
  351. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  352. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  353. package/contracts/distribution/BasicDistribution.sol +5 -7
  354. package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
  355. package/contracts/distribution/Distribution.sol +12 -17
  356. package/contracts/distribution/DistributionService.sol +129 -66
  357. package/contracts/distribution/IDistributionComponent.sol +3 -1
  358. package/contracts/distribution/IDistributionService.sol +21 -9
  359. package/contracts/examples/fire/FirePool.sol +0 -4
  360. package/contracts/examples/fire/FireProduct.sol +6 -10
  361. package/contracts/examples/unpermissioned/SimpleDistribution.sol +4 -8
  362. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  363. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  364. package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -23
  365. package/contracts/instance/BaseStore.sol +93 -0
  366. package/contracts/instance/IBaseStore.sol +37 -0
  367. package/contracts/instance/IInstance.sol +98 -12
  368. package/contracts/instance/IInstanceService.sol +54 -7
  369. package/contracts/instance/Instance.sol +165 -61
  370. package/contracts/instance/InstanceAdmin.sol +183 -313
  371. package/contracts/instance/InstanceAuthorizationV3.sol +123 -61
  372. package/contracts/instance/InstanceReader.sol +350 -394
  373. package/contracts/instance/InstanceService.sol +283 -173
  374. package/contracts/instance/InstanceStore.sol +153 -128
  375. package/contracts/instance/ProductStore.sol +290 -0
  376. package/contracts/instance/RiskSet.sol +10 -2
  377. package/contracts/instance/TargetNames.sol +10 -0
  378. package/contracts/instance/base/BalanceStore.sol +4 -6
  379. package/contracts/instance/base/ObjectLifecycle.sol +2 -6
  380. package/contracts/instance/module/IBundle.sol +6 -5
  381. package/contracts/instance/module/IComponents.sol +15 -6
  382. package/contracts/instance/module/IDistribution.sol +17 -7
  383. package/contracts/instance/module/IPolicy.sol +28 -8
  384. package/contracts/instance/module/IRisk.sol +2 -0
  385. package/contracts/oracle/BasicOracle.sol +3 -6
  386. package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
  387. package/contracts/oracle/IOracle.sol +9 -4
  388. package/contracts/oracle/Oracle.sol +4 -8
  389. package/contracts/oracle/OracleService.sol +8 -8
  390. package/contracts/pool/BasicPool.sol +4 -18
  391. package/contracts/pool/BasicPoolAuthorization.sol +10 -5
  392. package/contracts/pool/BundleService.sol +34 -43
  393. package/contracts/pool/IBundleService.sol +14 -13
  394. package/contracts/pool/IPoolService.sol +7 -2
  395. package/contracts/pool/Pool.sol +6 -20
  396. package/contracts/pool/PoolLib.sol +127 -2
  397. package/contracts/pool/PoolService.sol +41 -184
  398. package/contracts/product/ApplicationService.sol +65 -12
  399. package/contracts/product/BasicProduct.sol +2 -5
  400. package/contracts/product/BasicProductAuthorization.sol +11 -4
  401. package/contracts/product/ClaimService.sol +99 -105
  402. package/contracts/product/IApplicationService.sol +21 -2
  403. package/contracts/product/IClaimService.sol +5 -4
  404. package/contracts/product/IPolicyService.sol +9 -2
  405. package/contracts/product/IRiskService.sol +18 -3
  406. package/contracts/product/PolicyService.sol +40 -77
  407. package/contracts/product/PolicyServiceLib.sol +79 -5
  408. package/contracts/product/PricingService.sol +29 -32
  409. package/contracts/product/Product.sol +40 -18
  410. package/contracts/product/RiskService.sol +50 -15
  411. package/contracts/registry/IRegistry.sol +15 -9
  412. package/contracts/registry/IRelease.sol +6 -3
  413. package/contracts/registry/Registry.sol +15 -9
  414. package/contracts/registry/RegistryAdmin.sol +85 -266
  415. package/contracts/registry/RegistryAuthorization.sol +337 -0
  416. package/contracts/registry/RegistryService.sol +1 -1
  417. package/contracts/registry/ReleaseAdmin.sol +70 -116
  418. package/contracts/registry/ReleaseRegistry.sol +57 -43
  419. package/contracts/registry/ServiceAuthorizationV3.sol +128 -33
  420. package/contracts/registry/TokenRegistry.sol +56 -52
  421. package/contracts/shared/Component.sol +20 -37
  422. package/contracts/shared/ComponentService.sol +249 -250
  423. package/contracts/shared/ContractLib.sol +134 -75
  424. package/contracts/shared/IComponent.sol +1 -4
  425. package/contracts/shared/IComponentService.sol +21 -22
  426. package/contracts/shared/INftOwnable.sol +2 -0
  427. package/contracts/shared/IRegisterable.sol +0 -1
  428. package/contracts/shared/InitializableERC165.sol +9 -1
  429. package/contracts/shared/InstanceLinkedComponent.sol +6 -11
  430. package/contracts/shared/NftOwnable.sol +4 -2
  431. package/contracts/shared/PolicyHolder.sol +3 -2
  432. package/contracts/shared/Registerable.sol +1 -4
  433. package/contracts/shared/Service.sol +6 -4
  434. package/contracts/shared/TokenHandler.sol +5 -4
  435. package/contracts/staking/IStaking.sol +265 -64
  436. package/contracts/staking/IStakingService.sol +44 -82
  437. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  438. package/contracts/staking/Staking.sol +475 -204
  439. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  440. package/contracts/staking/StakingManager.sol +4 -3
  441. package/contracts/staking/StakingReader.sol +58 -77
  442. package/contracts/staking/StakingService.sol +49 -158
  443. package/contracts/staking/StakingServiceManager.sol +1 -0
  444. package/contracts/staking/StakingStore.sol +1093 -330
  445. package/contracts/staking/TargetHandler.sol +132 -0
  446. package/contracts/staking/TargetManagerLib.sol +69 -46
  447. package/contracts/type/Amount.sol +4 -0
  448. package/contracts/type/Blocknumber.sol +17 -22
  449. package/contracts/type/ChainId.sol +101 -0
  450. package/contracts/type/Fee.sol +8 -8
  451. package/contracts/type/NftId.sol +3 -3
  452. package/contracts/type/ObjectType.sol +21 -17
  453. package/contracts/type/RoleId.sol +57 -59
  454. package/contracts/type/Seconds.sol +19 -0
  455. package/contracts/type/String.sol +12 -0
  456. package/contracts/type/Timestamp.sol +4 -2
  457. package/contracts/type/UFixed.sol +28 -10
  458. package/contracts/type/Version.sol +39 -0
  459. package/contracts/upgradeability/IVersionable.sol +3 -0
  460. package/contracts/upgradeability/ProxyManager.sol +26 -12
  461. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  462. package/contracts/upgradeability/Versionable.sol +6 -3
  463. package/package.json +1 -1
  464. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  465. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
  466. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  467. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
  468. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  469. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  470. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  471. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  472. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  473. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  474. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  475. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  476. package/contracts/shared/IKeyValueStore.sol +0 -54
  477. package/contracts/shared/KeyValueStore.sol +0 -131
  478. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -43,7 +43,82 @@
43
43
  },
44
44
  {
45
45
  "inputs": [],
46
- "name": "ErrorAdminRoleMissing",
46
+ "name": "ErrorAccessAdminAccessManagerEmptyName",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAccessAdminAccessManagerNotAccessManager",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorAccessAdminAdminRoleMissing",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "authorization",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorAccessAdminAlreadyInitialized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "authority",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorAccessAdminAuthorityNotContract",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "target",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorAccessAdminAuthorizeForAdminRoleInvalid",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "authorization",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "ObjectType",
107
+ "name": "expectedDomain",
108
+ "type": "uint8"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "actualDomain",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "name": "ErrorAccessAdminDomainMismatch",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "ErrorAccessAdminFunctionNameEmpty",
47
122
  "type": "error"
48
123
  },
49
124
  {
@@ -52,9 +127,40 @@
52
127
  "internalType": "address",
53
128
  "name": "target",
54
129
  "type": "address"
130
+ },
131
+ {
132
+ "internalType": "enum IAccess.TargetType",
133
+ "name": "serviceTargetType",
134
+ "type": "uint8"
55
135
  }
56
136
  ],
57
- "name": "ErrorAuthorizeForAdminRoleInvalid",
137
+ "name": "ErrorAccessAdminInvalidServiceType",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "target",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "enum IAccess.TargetType",
149
+ "name": "targetType",
150
+ "type": "uint8"
151
+ }
152
+ ],
153
+ "name": "ErrorAccessAdminInvalidTargetType",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "ErrorAccessAdminInvalidUseOfAdminRole",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorAccessAdminInvalidUseOfPublicRole",
58
164
  "type": "error"
59
165
  },
60
166
  {
@@ -63,25 +169,63 @@
63
169
  "internalType": "RoleId",
64
170
  "name": "adminRoleId",
65
171
  "type": "uint64"
172
+ },
173
+ {
174
+ "internalType": "address",
175
+ "name": "account",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "name": "ErrorAccessAdminNotAdminOfRole",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "authorization",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "name": "ErrorAccessAdminNotAuthorization",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "target",
198
+ "type": "address"
66
199
  }
67
200
  ],
68
- "name": "ErrorNotAdminOfRole",
201
+ "name": "ErrorAccessAdminNotComponentOrCustomTarget",
69
202
  "type": "error"
70
203
  },
71
204
  {
72
205
  "inputs": [],
73
- "name": "ErrorNotDeployer",
206
+ "name": "ErrorAccessAdminNotDeployer",
74
207
  "type": "error"
75
208
  },
76
209
  {
77
210
  "inputs": [
78
211
  {
79
212
  "internalType": "address",
80
- "name": "registryAddress",
213
+ "name": "registerable",
81
214
  "type": "address"
82
215
  }
83
216
  ],
84
- "name": "ErrorNotRegistry",
217
+ "name": "ErrorAccessAdminNotRegistered",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "registry",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorAccessAdminNotRegistry",
85
229
  "type": "error"
86
230
  },
87
231
  {
@@ -90,9 +234,46 @@
90
234
  "internalType": "RoleId",
91
235
  "name": "roleId",
92
236
  "type": "uint64"
237
+ },
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorAccessAdminNotRoleOwner",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "serviceAuthorization",
252
+ "type": "address"
93
253
  }
94
254
  ],
95
- "name": "ErrorNotRoleOwner",
255
+ "name": "ErrorAccessAdminNotServiceAuthorization",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "authorization",
263
+ "type": "address"
264
+ },
265
+ {
266
+ "internalType": "VersionPart",
267
+ "name": "expectedRelease",
268
+ "type": "uint8"
269
+ },
270
+ {
271
+ "internalType": "VersionPart",
272
+ "name": "actualRelease",
273
+ "type": "uint8"
274
+ }
275
+ ],
276
+ "name": "ErrorAccessAdminReleaseMismatch",
96
277
  "type": "error"
97
278
  },
98
279
  {
@@ -103,7 +284,7 @@
103
284
  "type": "uint64"
104
285
  }
105
286
  ],
106
- "name": "ErrorRoleAdminNotExisting",
287
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
107
288
  "type": "error"
108
289
  },
109
290
  {
@@ -119,7 +300,7 @@
119
300
  "type": "string"
120
301
  }
121
302
  ],
122
- "name": "ErrorRoleAlreadyCreated",
303
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
123
304
  "type": "error"
124
305
  },
125
306
  {
@@ -130,7 +311,7 @@
130
311
  "type": "uint64"
131
312
  }
132
313
  ],
133
- "name": "ErrorRoleIsLocked",
314
+ "name": "ErrorAccessAdminRoleIsLocked",
134
315
  "type": "error"
135
316
  },
136
317
  {
@@ -141,7 +322,7 @@
141
322
  "type": "uint64"
142
323
  }
143
324
  ],
144
- "name": "ErrorRoleIsPaused",
325
+ "name": "ErrorAccessAdminRoleIsPaused",
145
326
  "type": "error"
146
327
  },
147
328
  {
@@ -157,7 +338,7 @@
157
338
  "type": "address"
158
339
  }
159
340
  ],
160
- "name": "ErrorRoleMemberNotContract",
341
+ "name": "ErrorAccessAdminRoleMemberNotContract",
161
342
  "type": "error"
162
343
  },
163
344
  {
@@ -173,7 +354,7 @@
173
354
  "type": "address"
174
355
  }
175
356
  ],
176
- "name": "ErrorRoleMemberRemovalDisabled",
357
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
177
358
  "type": "error"
178
359
  },
179
360
  {
@@ -189,7 +370,7 @@
189
370
  "type": "uint256"
190
371
  }
191
372
  ],
192
- "name": "ErrorRoleMembersLimitReached",
373
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
193
374
  "type": "error"
194
375
  },
195
376
  {
@@ -210,7 +391,7 @@
210
391
  "type": "uint64"
211
392
  }
212
393
  ],
213
- "name": "ErrorRoleNameAlreadyExists",
394
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
214
395
  "type": "error"
215
396
  },
216
397
  {
@@ -221,7 +402,7 @@
221
402
  "type": "uint64"
222
403
  }
223
404
  ],
224
- "name": "ErrorRoleNameEmpty",
405
+ "name": "ErrorAccessAdminRoleNameEmpty",
225
406
  "type": "error"
226
407
  },
227
408
  {
@@ -232,12 +413,28 @@
232
413
  "type": "uint64"
233
414
  }
234
415
  ],
235
- "name": "ErrorRoleUnknown",
416
+ "name": "ErrorAccessAdminRoleNotCustom",
417
+ "type": "error"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "RoleId",
423
+ "name": "roleId",
424
+ "type": "uint64"
425
+ }
426
+ ],
427
+ "name": "ErrorAccessAdminRoleUnknown",
428
+ "type": "error"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "ErrorAccessAdminSelectorZero",
236
433
  "type": "error"
237
434
  },
238
435
  {
239
436
  "inputs": [],
240
- "name": "ErrorTagetNotLockable",
437
+ "name": "ErrorAccessAdminTagetNotLockable",
241
438
  "type": "error"
242
439
  },
243
440
  {
@@ -253,7 +450,7 @@
253
450
  "type": "string"
254
451
  }
255
452
  ],
256
- "name": "ErrorTargetAlreadyCreated",
453
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
257
454
  "type": "error"
258
455
  },
259
456
  {
@@ -269,7 +466,7 @@
269
466
  "type": "bool"
270
467
  }
271
468
  ],
272
- "name": "ErrorTargetAlreadyLocked",
469
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
273
470
  "type": "error"
274
471
  },
275
472
  {
@@ -285,7 +482,7 @@
285
482
  "type": "address"
286
483
  }
287
484
  ],
288
- "name": "ErrorTargetAuthorityMismatch",
485
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
289
486
  "type": "error"
290
487
  },
291
488
  {
@@ -306,7 +503,7 @@
306
503
  "type": "address"
307
504
  }
308
505
  ],
309
- "name": "ErrorTargetNameAlreadyExists",
506
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
310
507
  "type": "error"
311
508
  },
312
509
  {
@@ -317,7 +514,7 @@
317
514
  "type": "address"
318
515
  }
319
516
  ],
320
- "name": "ErrorTargetNameEmpty",
517
+ "name": "ErrorAccessAdminTargetNameEmpty",
321
518
  "type": "error"
322
519
  },
323
520
  {
@@ -328,7 +525,7 @@
328
525
  "type": "address"
329
526
  }
330
527
  ],
331
- "name": "ErrorTargetNotAccessManaged",
528
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
332
529
  "type": "error"
333
530
  },
334
531
  {
@@ -339,22 +536,71 @@
339
536
  "type": "address"
340
537
  }
341
538
  ],
342
- "name": "ErrorTargetUnknown",
539
+ "name": "ErrorAccessAdminTargetNotCreated",
343
540
  "type": "error"
344
541
  },
345
542
  {
346
- "inputs": [],
347
- "name": "InvalidInitialization",
543
+ "inputs": [
544
+ {
545
+ "internalType": "address",
546
+ "name": "target",
547
+ "type": "address"
548
+ }
549
+ ],
550
+ "name": "ErrorAccessAdminTargetNotRegistered",
551
+ "type": "error"
552
+ },
553
+ {
554
+ "inputs": [
555
+ {
556
+ "internalType": "address",
557
+ "name": "target",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "ObjectType",
562
+ "name": "expectedType",
563
+ "type": "uint8"
564
+ },
565
+ {
566
+ "internalType": "ObjectType",
567
+ "name": "actualType",
568
+ "type": "uint8"
569
+ }
570
+ ],
571
+ "name": "ErrorAccessAdminTargetTypeMismatch",
572
+ "type": "error"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "address",
578
+ "name": "target",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "name": "ErrorAccessAdminTargetUnknown",
583
+ "type": "error"
584
+ },
585
+ {
586
+ "inputs": [
587
+ {
588
+ "internalType": "address",
589
+ "name": "registryAddress",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "name": "ErrorNotRegistry",
348
594
  "type": "error"
349
595
  },
350
596
  {
351
597
  "inputs": [],
352
- "name": "NotInitializing",
598
+ "name": "InvalidInitialization",
353
599
  "type": "error"
354
600
  },
355
601
  {
356
602
  "inputs": [],
357
- "name": "ReentrancyGuardReentrantCall",
603
+ "name": "NotInitializing",
358
604
  "type": "error"
359
605
  },
360
606
  {
@@ -386,6 +632,12 @@
386
632
  {
387
633
  "anonymous": false,
388
634
  "inputs": [
635
+ {
636
+ "indexed": false,
637
+ "internalType": "string",
638
+ "name": "admin",
639
+ "type": "string"
640
+ },
389
641
  {
390
642
  "indexed": false,
391
643
  "internalType": "address",
@@ -395,22 +647,59 @@
395
647
  {
396
648
  "indexed": false,
397
649
  "internalType": "string",
398
- "name": "functionName",
650
+ "name": "func",
399
651
  "type": "string"
400
652
  },
653
+ {
654
+ "indexed": false,
655
+ "internalType": "Blocknumber",
656
+ "name": "lastUpdateIn",
657
+ "type": "uint40"
658
+ }
659
+ ],
660
+ "name": "LogAccessAdminFunctionGranted",
661
+ "type": "event"
662
+ },
663
+ {
664
+ "anonymous": false,
665
+ "inputs": [
401
666
  {
402
667
  "indexed": false,
403
668
  "internalType": "string",
404
- "name": "roleName",
669
+ "name": "admin",
405
670
  "type": "string"
671
+ },
672
+ {
673
+ "indexed": false,
674
+ "internalType": "RoleId",
675
+ "name": "roleId",
676
+ "type": "uint64"
677
+ },
678
+ {
679
+ "indexed": false,
680
+ "internalType": "bool",
681
+ "name": "active",
682
+ "type": "bool"
683
+ },
684
+ {
685
+ "indexed": false,
686
+ "internalType": "Blocknumber",
687
+ "name": "lastUpdateIn",
688
+ "type": "uint40"
406
689
  }
407
690
  ],
408
- "name": "LogAccessAdminFunctionGranted",
691
+ "name": "LogAccessAdminRoleActivatedSet",
409
692
  "type": "event"
410
693
  },
411
694
  {
412
695
  "anonymous": false,
413
696
  "inputs": [
697
+ {
698
+ "indexed": false,
699
+ "internalType": "string",
700
+ "name": "admin",
701
+ "type": "string"
702
+ },
414
703
  {
415
704
  "indexed": false,
416
705
  "internalType": "RoleId",
@@ -419,8 +708,8 @@
419
708
  },
420
709
  {
421
710
  "indexed": false,
422
- "internalType": "enum IAccess.RoleType",
423
- "name": "roleType",
711
+ "internalType": "enum IAccess.TargetType",
712
+ "name": "targetType",
424
713
  "type": "uint8"
425
714
  },
426
715
  {
@@ -442,6 +731,12 @@
442
731
  {
443
732
  "anonymous": false,
444
733
  "inputs": [
734
+ {
735
+ "indexed": false,
736
+ "internalType": "string",
737
+ "name": "admin",
738
+ "type": "string"
739
+ },
445
740
  {
446
741
  "indexed": false,
447
742
  "internalType": "address",
@@ -461,6 +756,12 @@
461
756
  {
462
757
  "anonymous": false,
463
758
  "inputs": [
759
+ {
760
+ "indexed": false,
761
+ "internalType": "string",
762
+ "name": "admin",
763
+ "type": "string"
764
+ },
464
765
  {
465
766
  "indexed": false,
466
767
  "internalType": "address",
@@ -482,45 +783,68 @@
482
783
  "inputs": [
483
784
  {
484
785
  "indexed": false,
485
- "internalType": "address",
486
- "name": "target",
487
- "type": "address"
786
+ "internalType": "string",
787
+ "name": "admin",
788
+ "type": "string"
488
789
  },
489
790
  {
490
791
  "indexed": false,
491
792
  "internalType": "string",
492
793
  "name": "name",
493
794
  "type": "string"
795
+ },
796
+ {
797
+ "indexed": false,
798
+ "internalType": "bool",
799
+ "name": "managed",
800
+ "type": "bool"
801
+ },
802
+ {
803
+ "indexed": false,
804
+ "internalType": "address",
805
+ "name": "target",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "indexed": false,
810
+ "internalType": "RoleId",
811
+ "name": "roleId",
812
+ "type": "uint64"
494
813
  }
495
814
  ],
496
815
  "name": "LogAccessAdminTargetCreated",
497
816
  "type": "event"
498
817
  },
499
818
  {
500
- "inputs": [],
501
- "name": "ADMIN_ROLE_NAME",
502
- "outputs": [
819
+ "anonymous": false,
820
+ "inputs": [
503
821
  {
822
+ "indexed": false,
504
823
  "internalType": "string",
505
- "name": "",
824
+ "name": "admin",
506
825
  "type": "string"
507
- }
508
- ],
509
- "stateMutability": "view",
510
- "type": "function"
511
- },
512
- {
513
- "inputs": [],
514
- "name": "PUBLIC_ROLE_NAME",
515
- "outputs": [
826
+ },
516
827
  {
517
- "internalType": "string",
518
- "name": "",
519
- "type": "string"
828
+ "indexed": false,
829
+ "internalType": "address",
830
+ "name": "target",
831
+ "type": "address"
832
+ },
833
+ {
834
+ "indexed": false,
835
+ "internalType": "bool",
836
+ "name": "locked",
837
+ "type": "bool"
838
+ },
839
+ {
840
+ "indexed": false,
841
+ "internalType": "Blocknumber",
842
+ "name": "lastUpdateIn",
843
+ "type": "uint40"
520
844
  }
521
845
  ],
522
- "stateMutability": "view",
523
- "type": "function"
846
+ "name": "LogAccessAdminTargetLockedSet",
847
+ "type": "event"
524
848
  },
525
849
  {
526
850
  "inputs": [],
@@ -555,29 +879,13 @@
555
879
  "type": "function"
556
880
  },
557
881
  {
558
- "inputs": [
559
- {
560
- "internalType": "address",
561
- "name": "caller",
562
- "type": "address"
563
- },
564
- {
565
- "internalType": "address",
566
- "name": "target",
567
- "type": "address"
568
- },
569
- {
570
- "internalType": "Selector",
571
- "name": "selector",
572
- "type": "bytes4"
573
- }
574
- ],
575
- "name": "canCall",
882
+ "inputs": [],
883
+ "name": "getAdminRole",
576
884
  "outputs": [
577
885
  {
578
- "internalType": "bool",
579
- "name": "can",
580
- "type": "bool"
886
+ "internalType": "RoleId",
887
+ "name": "roleId",
888
+ "type": "uint64"
581
889
  }
582
890
  ],
583
891
  "stateMutability": "view",
@@ -585,11 +893,11 @@
585
893
  },
586
894
  {
587
895
  "inputs": [],
588
- "name": "deployer",
896
+ "name": "getAuthorization",
589
897
  "outputs": [
590
898
  {
591
- "internalType": "address",
592
- "name": "",
899
+ "internalType": "contract IAuthorization",
900
+ "name": "authorization",
593
901
  "type": "address"
594
902
  }
595
903
  ],
@@ -597,9 +905,47 @@
597
905
  "type": "function"
598
906
  },
599
907
  {
600
- "inputs": [],
601
- "name": "getAdminRole",
908
+ "inputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "target",
912
+ "type": "address"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "idx",
917
+ "type": "uint256"
918
+ }
919
+ ],
920
+ "name": "getAuthorizedFunction",
602
921
  "outputs": [
922
+ {
923
+ "components": [
924
+ {
925
+ "internalType": "Str",
926
+ "name": "name",
927
+ "type": "bytes32"
928
+ },
929
+ {
930
+ "internalType": "Selector",
931
+ "name": "selector",
932
+ "type": "bytes4"
933
+ },
934
+ {
935
+ "internalType": "Timestamp",
936
+ "name": "createdAt",
937
+ "type": "uint40"
938
+ },
939
+ {
940
+ "internalType": "Blocknumber",
941
+ "name": "lastUpdateIn",
942
+ "type": "uint40"
943
+ }
944
+ ],
945
+ "internalType": "struct IAccess.FunctionInfo",
946
+ "name": "func",
947
+ "type": "tuple"
948
+ },
603
949
  {
604
950
  "internalType": "RoleId",
605
951
  "name": "roleId",
@@ -617,12 +963,12 @@
617
963
  "type": "address"
618
964
  },
619
965
  {
620
- "internalType": "uint256",
621
- "name": "idx",
622
- "type": "uint256"
966
+ "internalType": "Selector",
967
+ "name": "selector",
968
+ "type": "bytes4"
623
969
  }
624
970
  ],
625
- "name": "getAuthorizedFunction",
971
+ "name": "getFunctionInfo",
626
972
  "outputs": [
627
973
  {
628
974
  "components": [
@@ -640,16 +986,29 @@
640
986
  "internalType": "Timestamp",
641
987
  "name": "createdAt",
642
988
  "type": "uint40"
989
+ },
990
+ {
991
+ "internalType": "Blocknumber",
992
+ "name": "lastUpdateIn",
993
+ "type": "uint40"
643
994
  }
644
995
  ],
645
996
  "internalType": "struct IAccess.FunctionInfo",
646
- "name": "func",
997
+ "name": "functionInfo",
647
998
  "type": "tuple"
648
- },
999
+ }
1000
+ ],
1001
+ "stateMutability": "view",
1002
+ "type": "function"
1003
+ },
1004
+ {
1005
+ "inputs": [],
1006
+ "name": "getLinkedNftId",
1007
+ "outputs": [
649
1008
  {
650
- "internalType": "RoleId",
651
- "name": "roleId",
652
- "type": "uint64"
1009
+ "internalType": "NftId",
1010
+ "name": "linkedNftId",
1011
+ "type": "uint96"
653
1012
  }
654
1013
  ],
655
1014
  "stateMutability": "view",
@@ -697,29 +1056,22 @@
697
1056
  {
698
1057
  "inputs": [
699
1058
  {
700
- "internalType": "Str",
1059
+ "internalType": "string",
701
1060
  "name": "name",
702
- "type": "bytes32"
1061
+ "type": "string"
703
1062
  }
704
1063
  ],
705
1064
  "name": "getRoleForName",
706
1065
  "outputs": [
707
1066
  {
708
- "components": [
709
- {
710
- "internalType": "RoleId",
711
- "name": "roleId",
712
- "type": "uint64"
713
- },
714
- {
715
- "internalType": "bool",
716
- "name": "exists",
717
- "type": "bool"
718
- }
719
- ],
720
- "internalType": "struct IAccess.RoleNameInfo",
721
- "name": "",
722
- "type": "tuple"
1067
+ "internalType": "RoleId",
1068
+ "name": "roleId",
1069
+ "type": "uint64"
1070
+ },
1071
+ {
1072
+ "internalType": "bool",
1073
+ "name": "exists",
1074
+ "type": "bool"
723
1075
  }
724
1076
  ],
725
1077
  "stateMutability": "view",
@@ -762,8 +1114,8 @@
762
1114
  "type": "uint64"
763
1115
  },
764
1116
  {
765
- "internalType": "enum IAccess.RoleType",
766
- "name": "roleType",
1117
+ "internalType": "enum IAccess.TargetType",
1118
+ "name": "targetType",
767
1119
  "type": "uint8"
768
1120
  },
769
1121
  {
@@ -771,11 +1123,6 @@
771
1123
  "name": "maxMemberCount",
772
1124
  "type": "uint32"
773
1125
  },
774
- {
775
- "internalType": "Str",
776
- "name": "name",
777
- "type": "bytes32"
778
- },
779
1126
  {
780
1127
  "internalType": "Timestamp",
781
1128
  "name": "createdAt",
@@ -785,6 +1132,16 @@
785
1132
  "internalType": "Timestamp",
786
1133
  "name": "pausedAt",
787
1134
  "type": "uint40"
1135
+ },
1136
+ {
1137
+ "internalType": "Blocknumber",
1138
+ "name": "lastUpdateIn",
1139
+ "type": "uint40"
1140
+ },
1141
+ {
1142
+ "internalType": "Str",
1143
+ "name": "name",
1144
+ "type": "bytes32"
788
1145
  }
789
1146
  ],
790
1147
  "internalType": "struct IAccess.RoleInfo",
@@ -875,14 +1232,24 @@
875
1232
  "type": "bytes32"
876
1233
  },
877
1234
  {
878
- "internalType": "bool",
879
- "name": "isCustom",
880
- "type": "bool"
1235
+ "internalType": "enum IAccess.TargetType",
1236
+ "name": "targetType",
1237
+ "type": "uint8"
1238
+ },
1239
+ {
1240
+ "internalType": "RoleId",
1241
+ "name": "roleId",
1242
+ "type": "uint64"
881
1243
  },
882
1244
  {
883
1245
  "internalType": "Timestamp",
884
1246
  "name": "createdAt",
885
1247
  "type": "uint40"
1248
+ },
1249
+ {
1250
+ "internalType": "Blocknumber",
1251
+ "name": "lastUpdateIn",
1252
+ "type": "uint40"
886
1253
  }
887
1254
  ],
888
1255
  "internalType": "struct IAccess.TargetInfo",
@@ -897,20 +1264,59 @@
897
1264
  "inputs": [
898
1265
  {
899
1266
  "internalType": "address",
900
- "name": "account",
1267
+ "name": "authority",
901
1268
  "type": "address"
902
1269
  },
1270
+ {
1271
+ "internalType": "string",
1272
+ "name": "adminName",
1273
+ "type": "string"
1274
+ }
1275
+ ],
1276
+ "name": "initialize",
1277
+ "outputs": [],
1278
+ "stateMutability": "nonpayable",
1279
+ "type": "function"
1280
+ },
1281
+ {
1282
+ "inputs": [],
1283
+ "name": "isConsumingScheduledOp",
1284
+ "outputs": [
1285
+ {
1286
+ "internalType": "bytes4",
1287
+ "name": "",
1288
+ "type": "bytes4"
1289
+ }
1290
+ ],
1291
+ "stateMutability": "view",
1292
+ "type": "function"
1293
+ },
1294
+ {
1295
+ "inputs": [],
1296
+ "name": "isLocked",
1297
+ "outputs": [
1298
+ {
1299
+ "internalType": "bool",
1300
+ "name": "locked",
1301
+ "type": "bool"
1302
+ }
1303
+ ],
1304
+ "stateMutability": "view",
1305
+ "type": "function"
1306
+ },
1307
+ {
1308
+ "inputs": [
903
1309
  {
904
1310
  "internalType": "RoleId",
905
1311
  "name": "roleId",
906
1312
  "type": "uint64"
907
1313
  }
908
1314
  ],
909
- "name": "hasAdminRole",
1315
+ "name": "isRoleActive",
910
1316
  "outputs": [
911
1317
  {
912
1318
  "internalType": "bool",
913
- "name": "",
1319
+ "name": "isActive",
914
1320
  "type": "bool"
915
1321
  }
916
1322
  ],
@@ -919,22 +1325,41 @@
919
1325
  },
920
1326
  {
921
1327
  "inputs": [
1328
+ {
1329
+ "internalType": "RoleId",
1330
+ "name": "roleId",
1331
+ "type": "uint64"
1332
+ },
922
1333
  {
923
1334
  "internalType": "address",
924
1335
  "name": "account",
925
1336
  "type": "address"
926
- },
1337
+ }
1338
+ ],
1339
+ "name": "isRoleAdmin",
1340
+ "outputs": [
1341
+ {
1342
+ "internalType": "bool",
1343
+ "name": "",
1344
+ "type": "bool"
1345
+ }
1346
+ ],
1347
+ "stateMutability": "view",
1348
+ "type": "function"
1349
+ },
1350
+ {
1351
+ "inputs": [
927
1352
  {
928
1353
  "internalType": "RoleId",
929
1354
  "name": "roleId",
930
1355
  "type": "uint64"
931
1356
  }
932
1357
  ],
933
- "name": "hasRole",
1358
+ "name": "isRoleCustom",
934
1359
  "outputs": [
935
1360
  {
936
1361
  "internalType": "bool",
937
- "name": "",
1362
+ "name": "isActive",
938
1363
  "type": "bool"
939
1364
  }
940
1365
  ],
@@ -944,24 +1369,22 @@
944
1369
  {
945
1370
  "inputs": [
946
1371
  {
947
- "internalType": "contract AccessManagerCloneable",
948
- "name": "authority",
1372
+ "internalType": "RoleId",
1373
+ "name": "roleId",
1374
+ "type": "uint64"
1375
+ },
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "account",
949
1379
  "type": "address"
950
1380
  }
951
1381
  ],
952
- "name": "initialize",
953
- "outputs": [],
954
- "stateMutability": "nonpayable",
955
- "type": "function"
956
- },
957
- {
958
- "inputs": [],
959
- "name": "isConsumingScheduledOp",
1382
+ "name": "isRoleMember",
960
1383
  "outputs": [
961
1384
  {
962
- "internalType": "bytes4",
1385
+ "internalType": "bool",
963
1386
  "name": "",
964
- "type": "bytes4"
1387
+ "type": "bool"
965
1388
  }
966
1389
  ],
967
1390
  "stateMutability": "view",
@@ -1081,135 +1504,68 @@
1081
1504
  ],
1082
1505
  "stateMutability": "view",
1083
1506
  "type": "function"
1084
- },
1085
- {
1086
- "inputs": [
1507
+ }
1508
+ ],
1509
+ "bytecode": "0x6080604052348015600e575f80fd5b5061266d8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80636bd1c0eb116101095780639cad00521161009e578063c6a001791161006e578063c6a0017914610507578063d78a83b11461051a578063f399e22e1461052d578063f60458ba14610540575f80fd5b80639cad0052146104a8578063a4e2d634146104da578063b3ecf236146104e2578063bf7e214f146104ea575f80fd5b80637f0cf947116100d95780637f0cf947146104595780638308ceb11461046c57806387c73e5a146104745780638fb3603714610487575f80fd5b80636bd1c0eb14610406578063728a61a81461041757806376b707b71461042a5780637a9e5e4b14610444575f80fd5b8063392f5f641161017f5780635ab1bd531161014f5780635ab1bd53146103b85780635bfa5027146103c0578063605aa10a146103e057806366c3bc95146103f3575f80fd5b8063392f5f64146102c55780633fd85561146102cd578063409c724c146102f8578063480cebd1146103a5575f80fd5b806326d60fb4116101ba57806326d60fb41461024757806326decd401461024f5780633406b1521461027257806335471f80146102b2575f80fd5b806303014974146101e057806312e1ebc51461020657806324913ce614610226575b5f80fd5b6101f36101ee366004611d12565b61056b565b6040519081526020015b60405180910390f35b610219610214366004611d41565b610591565b6040516101fd9190611d90565b610239610234366004611de7565b610653565b6040516101fd929190611e11565b600a546101f3565b61026261025d366004611d41565b6108fa565b60405190151581526020016101fd565b61029a610280366004611e6d565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f36102c0366004611d41565b6109d7565b6005546101f3565b6102e06102db366004611e6d565b610a61565b6040516001600160401b0390911681526020016101fd565b610398610306366004611e99565b60408051608080820183525f808352602080840182905283850182905260609384018290526001600160a01b03969096168152600c86528381206001600160e01b03199586168252865283902083519182018452805482526001015460e081901b9094169481019490945264ffffffffff6401000000008404811692850192909252600160481b909204169082015290565b6040516101fd9190611ed0565b6102626103b3366004611f16565b610aa3565b61029a610ad0565b6103d36103ce366004611d12565b610b40565b6040516101fd9190611f42565b6102626103ee366004611d41565b610c28565b610262610401366004611d12565b610c9e565b6002546001600160a01b031661029a565b61029a610425366004611e6d565b610d47565b610432610d75565b60405160ff90911681526020016101fd565b610457610452366004611d41565b610de0565b005b610262610467366004611f16565b610e81565b6102e0610f07565b610262610482366004611d12565b610f72565b61048f610faf565b6040516001600160e01b031990911681526020016101fd565b6104bb6104b63660046120a4565b610fe5565b604080516001600160401b0390931683529015156020830152016101fd565b61026261117e565b6102e06111e9565b5f80516020612618833981519152546001600160a01b031661029a565b610262610515366004611d12565b611230565b61029a6105283660046120dd565b61126d565b61045761053b3660046120f9565b61128e565b600254600160a01b90046001600160601b03166040516001600160601b0390911681526020016101fd565b6001600160401b0381165f90815260076020526040812061058b9061139c565b92915050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff1660078111156105fd576105fd611d5c565b600781111561060e5761060e611d5c565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156106e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610706919061213b565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516080810184528154815260019182015460e081901b9096169481019490945264ffffffffff6401000000008604811685850152600160481b909504909416606084015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081c919061213b565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610866573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088a9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156108cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f09190612156565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610941573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109659190612185565b8061058b575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa1580156109b3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b9190612185565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610a3d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b919061219e565b5f60058281548110610a7557610a756121b5565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600360205260408120549091610ac9911683610e81565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610b17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b91906121c9565b905090565b6040805160e080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905260c084018290526001600160401b038681168352600382529185902085519384019095528454918216835292939192830190600160401b900460ff166007811115610bbf57610bbf611d5c565b6007811115610bd057610bd0611d5c565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156109b3573d5f803e3d5ffd5b6001600160401b0381165f908152600360209081526040808320548151639fa6a6e360e01b8152915161058b93600160901b90920464ffffffffff169273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__92639fa6a6e3926004808401938290030181865af4158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190612201565b64ffffffffff90811691161190565b5f600a8281548110610d5b57610d5b6121b5565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b919061221c565b33610dff5f80516020612618833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e3f5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e74576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e36565b610e7d826113a5565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe919061224f565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612156565b5f60076001600160401b0383165f90815260036020526040902054600160401b900460ff166007811115610fa857610fa8611d5c565b1492915050565b5f8051602061261883398151915280545f9190600160a01b900460ff16610fd6575f610fdf565b638fb3603760e01b5b91505090565b5f8060045f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69866040518263ffffffff1660e01b815260040161102191906122ae565b602060405180830381865af415801561103c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611060919061219e565b8152602081019190915260409081015f90812054915163a42e52e960e01b81526001600160401b03909216600483018190529350915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af41580156110d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f49190612185565b80611170575060405163c68eb45560e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__9063c68eb455906111319086906004016122ae565b602060405180830381865af415801561114c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111709190612185565b15611179575060015b915091565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156111c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612185565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b5f806001600160401b0383165f90815260036020526040902054600160401b900460ff16600781111561126557611265611d5c565b141592915050565b6001600160401b0382165f908152600760205260408120610ac99083611406565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112d25750825b90505f826001600160401b031660011480156112ed5750303b155b9050811580156112fb575080155b156113195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561134357845460ff60401b1916600160401b1785555b61134d8787611411565b831561139357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f61058b825490565b5f8051602061261883398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610ac98383611816565b61141961183c565b604051631f424a2760e21b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__90637d09289c9061145290859085906004016122c0565b5f6040518083038186803b158015611468575f80fd5b505af415801561147a573d5f803e3d5ffd5b5050600180546001600160a01b0319166001600160a01b03861690811790915560405163189acdbd60e31b815230600482015290925063c4d66de891506024015f604051808303815f87803b1580156114d1575f80fd5b505af11580156114e3573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af415801561153d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115619190612185565b61158957604051637595cb1960e01b81526001600160a01b0383166004820152602401610e36565b61159282611887565b5f61159d8282612367565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156115e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116099190612421565b600260146101000a8154816001600160601b0302191690836001600160601b031602179055506116aa61163a61189b565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a59190612447565b6118ec565b6117c33060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173f9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a59190612156565b6001600160401b0316815260208101919091526040015f2090611c4d565b50610e7d6117cf611c61565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b5f825f01828154811061182b5761182b6121b5565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661188557604051631afcd79f60e31b815260040160405180910390fd5b565b61188f61183c565b61189881611ca1565b50565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610f4e573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119579190612201565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af41580156119b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d59190612201565b64ffffffffff1660808201526001600160401b038083165f90815260036020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836007811115611a4457611a44611d5c565b021790555060408281015182546060850151608086015160a087015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b029290921669ffffffffffffffffffff60901b1991909316600160681b0264ffffffffff60681b1963ffffffff909616600160481b029590951671ffffffffffffffffff000000000000000000199094169390931793909317919091161717825560c092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f9081526004808452878220965187549a511515600160401b0268ffffffffffffffffff19909b16908716179990991790955560058054978801815585528787047f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db001805460039098166008026101000a938402939094021990961691909117909155850151855193519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c95929488949293909273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611bfb92910190815260200190565b5f60405180830381865af4158015611c15573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c3c91908101906124db565b6040516113fa95949392919061254f565b5f610ac9836001600160a01b038416611cb2565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016118d1565b611ca961183c565b611898816113a5565b5f818152600183016020526040812054611cf757508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561058b565b505f61058b565b6001600160401b0381168114611898575f80fd5b5f60208284031215611d22575f80fd5b8135610ac981611cfe565b6001600160a01b0381168114611898575f80fd5b5f60208284031215611d51575f80fd5b8135610ac981611d2d565b634e487b7160e01b5f52602160045260245ffd5b60088110611d8c57634e487b7160e01b5f52602160045260245ffd5b9052565b8151815260208083015160a0830191611dab90840182611d70565b506001600160401b03604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015292915050565b5f8060408385031215611df8575f80fd5b8235611e0381611d2d565b946020939093013593505050565b60a08101611e5782858051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160401b03831660808301529392505050565b5f60208284031215611e7d575f80fd5b5035919050565b6001600160e01b031981168114611898575f80fd5b5f8060408385031215611eaa575f80fd5b8235611eb581611d2d565b91506020830135611ec581611e84565b809150509250929050565b6080810161058b82848051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f8060408385031215611f27575f80fd5b8235611f3281611cfe565b91506020830135611ec581611d2d565b81516001600160401b0316815260208083015160e0830191611f6690840182611d70565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a0830151611fb160a084018264ffffffffff169052565b5060c092830151919092015290565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611ff657611ff6611fc0565b60405290565b604051601f8201601f191681016001600160401b038111828210171561202457612024611fc0565b604052919050565b5f6001600160401b0382111561204457612044611fc0565b50601f01601f191660200190565b5f82601f830112612061575f80fd5b813561207461206f8261202c565b611ffc565b818152846020838601011115612088575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156120b4575f80fd5b81356001600160401b038111156120c9575f80fd5b6120d584828501612052565b949350505050565b5f80604083850312156120ee575f80fd5b8235611e0381611cfe565b5f806040838503121561210a575f80fd5b823561211581611d2d565b915060208301356001600160401b0381111561212f575f80fd5b6108f085828601612052565b5f6020828403121561214b575f80fd5b8151610ac981611e84565b5f60208284031215612166575f80fd5b8151610ac981611cfe565b80518015158114612180575f80fd5b919050565b5f60208284031215612195575f80fd5b610ac982612171565b5f602082840312156121ae575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156121d9575f80fd5b8151610ac981611d2d565b64ffffffffff81168114611898575f80fd5b8051612180816121e4565b5f60208284031215612211575f80fd5b8151610ac9816121e4565b5f6020828403121561222c575f80fd5b815160ff81168114610ac9575f80fd5b805163ffffffff81168114612180575f80fd5b5f8060408385031215612260575f80fd5b61226983612171565b91506122776020840161223c565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610ac96020830184612280565b6001600160a01b03831681526040602082018190525f906120d590830184612280565b600181811c908216806122f757607f821691505b60208210810361231557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561236257805f5260205f20601f840160051c810160208510156123405750805b601f840160051c820191505b8181101561235f575f815560010161234c565b50505b505050565b81516001600160401b0381111561238057612380611fc0565b6123948161238e84546122e3565b8461231b565b6020601f8211600181146123c6575f83156123af5750848201515b5f19600385901b1c1916600184901b17845561235f565b5f84815260208120601f198516915b828110156123f557878501518255602094850194600190920191016123d5565b508482101561241257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612431575f80fd5b81516001600160601b0381168114610ac9575f80fd5b5f60e0828403128015612458575f80fd5b50612461611fd4565b825161246c81611cfe565b815260208301516008811061247f575f80fd5b60208201526124906040840161223c565b60408201526124a1606084016121f6565b60608201526124b2608084016121f6565b60808201526124c360a084016121f6565b60a082015260c0928301519281019290925250919050565b5f602082840312156124eb575f80fd5b81516001600160401b03811115612500575f80fd5b8201601f81018413612510575f80fd5b805161251e61206f8261202c565b818152856020838501011115612532575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f808754612560816122e3565b8060a0860152600182165f811461257e576001811461259a576125cb565b60ff19831660c087015260c082151560051b87010193506125cb565b8a5f5260205f205f5b838110156125c257815488820160c001526001909101906020016125a3565b870160c0019450505b5050506001600160401b03871660208401526125ea6040840187611d70565b6001600160401b0385166060840152828103608084015261260b8185612280565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209e174f5856a8b2d5c20e4a5b98038905d56a90d9df20cf2e514104b1359c488564736f6c634300081a0033",
1510
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80636bd1c0eb116101095780639cad00521161009e578063c6a001791161006e578063c6a0017914610507578063d78a83b11461051a578063f399e22e1461052d578063f60458ba14610540575f80fd5b80639cad0052146104a8578063a4e2d634146104da578063b3ecf236146104e2578063bf7e214f146104ea575f80fd5b80637f0cf947116100d95780637f0cf947146104595780638308ceb11461046c57806387c73e5a146104745780638fb3603714610487575f80fd5b80636bd1c0eb14610406578063728a61a81461041757806376b707b71461042a5780637a9e5e4b14610444575f80fd5b8063392f5f641161017f5780635ab1bd531161014f5780635ab1bd53146103b85780635bfa5027146103c0578063605aa10a146103e057806366c3bc95146103f3575f80fd5b8063392f5f64146102c55780633fd85561146102cd578063409c724c146102f8578063480cebd1146103a5575f80fd5b806326d60fb4116101ba57806326d60fb41461024757806326decd401461024f5780633406b1521461027257806335471f80146102b2575f80fd5b806303014974146101e057806312e1ebc51461020657806324913ce614610226575b5f80fd5b6101f36101ee366004611d12565b61056b565b6040519081526020015b60405180910390f35b610219610214366004611d41565b610591565b6040516101fd9190611d90565b610239610234366004611de7565b610653565b6040516101fd929190611e11565b600a546101f3565b61026261025d366004611d41565b6108fa565b60405190151581526020016101fd565b61029a610280366004611e6d565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f36102c0366004611d41565b6109d7565b6005546101f3565b6102e06102db366004611e6d565b610a61565b6040516001600160401b0390911681526020016101fd565b610398610306366004611e99565b60408051608080820183525f808352602080840182905283850182905260609384018290526001600160a01b03969096168152600c86528381206001600160e01b03199586168252865283902083519182018452805482526001015460e081901b9094169481019490945264ffffffffff6401000000008404811692850192909252600160481b909204169082015290565b6040516101fd9190611ed0565b6102626103b3366004611f16565b610aa3565b61029a610ad0565b6103d36103ce366004611d12565b610b40565b6040516101fd9190611f42565b6102626103ee366004611d41565b610c28565b610262610401366004611d12565b610c9e565b6002546001600160a01b031661029a565b61029a610425366004611e6d565b610d47565b610432610d75565b60405160ff90911681526020016101fd565b610457610452366004611d41565b610de0565b005b610262610467366004611f16565b610e81565b6102e0610f07565b610262610482366004611d12565b610f72565b61048f610faf565b6040516001600160e01b031990911681526020016101fd565b6104bb6104b63660046120a4565b610fe5565b604080516001600160401b0390931683529015156020830152016101fd565b61026261117e565b6102e06111e9565b5f80516020612618833981519152546001600160a01b031661029a565b610262610515366004611d12565b611230565b61029a6105283660046120dd565b61126d565b61045761053b3660046120f9565b61128e565b600254600160a01b90046001600160601b03166040516001600160601b0390911681526020016101fd565b6001600160401b0381165f90815260076020526040812061058b9061139c565b92915050565b6040805160a080820183525f808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff1660078111156105fd576105fd611d5c565b600781111561060e5761060e611d5c565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af41580156106e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610706919061213b565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516080810184528154815260019182015460e081901b9096169481019490945264ffffffffff6401000000008604811685850152600160481b909504909416606084015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081c919061213b565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610866573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088a9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156108cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f09190612156565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa158015610941573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109659190612185565b8061058b575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa1580156109b3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b9190612185565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610a3d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b919061219e565b5f60058281548110610a7557610a756121b5565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600360205260408120549091610ac9911683610e81565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610b17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b91906121c9565b905090565b6040805160e080820183525f8083526020808401829052838501829052606084018290526080840182905260a0840182905260c084018290526001600160401b038681168352600382529185902085519384019095528454918216835292939192830190600160401b900460ff166007811115610bbf57610bbf611d5c565b6007811115610bd057610bd0611d5c565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156109b3573d5f803e3d5ffd5b6001600160401b0381165f908152600360209081526040808320548151639fa6a6e360e01b8152915161058b93600160901b90920464ffffffffff169273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__92639fa6a6e3926004808401938290030181865af4158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190612201565b64ffffffffff90811691161190565b5f600a8281548110610d5b57610d5b6121b5565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610dbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b919061221c565b33610dff5f80516020612618833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e3f5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610e74576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e36565b610e7d826113a5565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe919061224f565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612156565b5f60076001600160401b0383165f90815260036020526040902054600160401b900460ff166007811115610fa857610fa8611d5c565b1492915050565b5f8051602061261883398151915280545f9190600160a01b900460ff16610fd6575f610fdf565b638fb3603760e01b5b91505090565b5f8060045f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69866040518263ffffffff1660e01b815260040161102191906122ae565b602060405180830381865af415801561103c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611060919061219e565b8152602081019190915260409081015f90812054915163a42e52e960e01b81526001600160401b03909216600483018190529350915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af41580156110d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f49190612185565b80611170575060405163c68eb45560e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__9063c68eb455906111319086906004016122ae565b602060405180830381865af415801561114c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111709190612185565b15611179575060015b915091565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156111c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3b9190612185565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610f4e573d5f803e3d5ffd5b5f806001600160401b0383165f90815260036020526040902054600160401b900460ff16600781111561126557611265611d5c565b141592915050565b6001600160401b0382165f908152600760205260408120610ac99083611406565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112d25750825b90505f826001600160401b031660011480156112ed5750303b155b9050811580156112fb575080155b156113195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561134357845460ff60401b1916600160401b1785555b61134d8787611411565b831561139357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f61058b825490565b5f8051602061261883398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610ac98383611816565b61141961183c565b604051631f424a2760e21b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__90637d09289c9061145290859085906004016122c0565b5f6040518083038186803b158015611468575f80fd5b505af415801561147a573d5f803e3d5ffd5b5050600180546001600160a01b0319166001600160a01b03861690811790915560405163189acdbd60e31b815230600482015290925063c4d66de891506024015f604051808303815f87803b1580156114d1575f80fd5b505af11580156114e3573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af415801561153d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115619190612185565b61158957604051637595cb1960e01b81526001600160a01b0383166004820152602401610e36565b61159282611887565b5f61159d8282612367565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156115e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116099190612421565b600260146101000a8154816001600160601b0302191690836001600160601b031602179055506116aa61163a61189b565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a59190612447565b6118ec565b6117c33060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561171b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173f9190612156565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a59190612156565b6001600160401b0316815260208101919091526040015f2090611c4d565b50610e7d6117cf611c61565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af4158015611681573d5f803e3d5ffd5b5f825f01828154811061182b5761182b6121b5565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661188557604051631afcd79f60e31b815260040160405180910390fd5b565b61188f61183c565b61189881611ca1565b50565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610f4e573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611933573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119579190612201565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af41580156119b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d59190612201565b64ffffffffff1660808201526001600160401b038083165f90815260036020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836007811115611a4457611a44611d5c565b021790555060408281015182546060850151608086015160a087015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b029290921669ffffffffffffffffffff60901b1991909316600160681b0264ffffffffff60681b1963ffffffff909616600160481b029590951671ffffffffffffffffff000000000000000000199094169390931793909317919091161717825560c092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f9081526004808452878220965187549a511515600160401b0268ffffffffffffffffff19909b16908716179990991790955560058054978801815585528787047f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db001805460039098166008026101000a938402939094021990961691909117909155850151855193519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c95929488949293909273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611bfb92910190815260200190565b5f60405180830381865af4158015611c15573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c3c91908101906124db565b6040516113fa95949392919061254f565b5f610ac9836001600160a01b038416611cb2565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024016118d1565b611ca961183c565b611898816113a5565b5f818152600183016020526040812054611cf757508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561058b565b505f61058b565b6001600160401b0381168114611898575f80fd5b5f60208284031215611d22575f80fd5b8135610ac981611cfe565b6001600160a01b0381168114611898575f80fd5b5f60208284031215611d51575f80fd5b8135610ac981611d2d565b634e487b7160e01b5f52602160045260245ffd5b60088110611d8c57634e487b7160e01b5f52602160045260245ffd5b9052565b8151815260208083015160a0830191611dab90840182611d70565b506001600160401b03604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015292915050565b5f8060408385031215611df8575f80fd5b8235611e0381611d2d565b946020939093013593505050565b60a08101611e5782858051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b6001600160401b03831660808301529392505050565b5f60208284031215611e7d575f80fd5b5035919050565b6001600160e01b031981168114611898575f80fd5b5f8060408385031215611eaa575f80fd5b8235611eb581611d2d565b91506020830135611ec581611e84565b809150509250929050565b6080810161058b82848051825263ffffffff60e01b602082015116602083015264ffffffffff604082015116604083015264ffffffffff60608201511660608301525050565b5f8060408385031215611f27575f80fd5b8235611f3281611cfe565b91506020830135611ec581611d2d565b81516001600160401b0316815260208083015160e0830191611f6690840182611d70565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a0830151611fb160a084018264ffffffffff169052565b5060c092830151919092015290565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715611ff657611ff6611fc0565b60405290565b604051601f8201601f191681016001600160401b038111828210171561202457612024611fc0565b604052919050565b5f6001600160401b0382111561204457612044611fc0565b50601f01601f191660200190565b5f82601f830112612061575f80fd5b813561207461206f8261202c565b611ffc565b818152846020838601011115612088575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156120b4575f80fd5b81356001600160401b038111156120c9575f80fd5b6120d584828501612052565b949350505050565b5f80604083850312156120ee575f80fd5b8235611e0381611cfe565b5f806040838503121561210a575f80fd5b823561211581611d2d565b915060208301356001600160401b0381111561212f575f80fd5b6108f085828601612052565b5f6020828403121561214b575f80fd5b8151610ac981611e84565b5f60208284031215612166575f80fd5b8151610ac981611cfe565b80518015158114612180575f80fd5b919050565b5f60208284031215612195575f80fd5b610ac982612171565b5f602082840312156121ae575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156121d9575f80fd5b8151610ac981611d2d565b64ffffffffff81168114611898575f80fd5b8051612180816121e4565b5f60208284031215612211575f80fd5b8151610ac9816121e4565b5f6020828403121561222c575f80fd5b815160ff81168114610ac9575f80fd5b805163ffffffff81168114612180575f80fd5b5f8060408385031215612260575f80fd5b61226983612171565b91506122776020840161223c565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610ac96020830184612280565b6001600160a01b03831681526040602082018190525f906120d590830184612280565b600181811c908216806122f757607f821691505b60208210810361231557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561236257805f5260205f20601f840160051c810160208510156123405750805b601f840160051c820191505b8181101561235f575f815560010161234c565b50505b505050565b81516001600160401b0381111561238057612380611fc0565b6123948161238e84546122e3565b8461231b565b6020601f8211600181146123c6575f83156123af5750848201515b5f19600385901b1c1916600184901b17845561235f565b5f84815260208120601f198516915b828110156123f557878501518255602094850194600190920191016123d5565b508482101561241257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612431575f80fd5b81516001600160601b0381168114610ac9575f80fd5b5f60e0828403128015612458575f80fd5b50612461611fd4565b825161246c81611cfe565b815260208301516008811061247f575f80fd5b60208201526124906040840161223c565b60408201526124a1606084016121f6565b60608201526124b2608084016121f6565b60808201526124c360a084016121f6565b60a082015260c0928301519281019290925250919050565b5f602082840312156124eb575f80fd5b81516001600160401b03811115612500575f80fd5b8201601f81018413612510575f80fd5b805161251e61206f8261202c565b818152856020838501011115612532575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f808754612560816122e3565b8060a0860152600182165f811461257e576001811461259a576125cb565b60ff19831660c087015260c082151560051b87010193506125cb565b8a5f5260205f205f5b838110156125c257815488820160c001526001909101906020016125a3565b870160c0019450505b5050506001600160401b03871660208401526125ea6040840187611d70565b6001600160401b0385166060840152828103608084015261260b8185612280565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212209e174f5856a8b2d5c20e4a5b98038905d56a90d9df20cf2e514104b1359c488564736f6c634300081a0033",
1511
+ "linkReferences": {
1512
+ "contracts/authorization/AccessAdminLib.sol": {
1513
+ "AccessAdminLib": [
1087
1514
  {
1088
- "internalType": "bytes4",
1089
- "name": "selector",
1090
- "type": "bytes4"
1515
+ "length": 20,
1516
+ "start": 4389
1091
1517
  },
1092
1518
  {
1093
- "internalType": "string",
1094
- "name": "name",
1095
- "type": "string"
1096
- }
1097
- ],
1098
- "name": "toFunction",
1099
- "outputs": [
1100
- {
1101
- "components": [
1102
- {
1103
- "internalType": "Str",
1104
- "name": "name",
1105
- "type": "bytes32"
1106
- },
1107
- {
1108
- "internalType": "Selector",
1109
- "name": "selector",
1110
- "type": "bytes4"
1111
- },
1112
- {
1113
- "internalType": "Timestamp",
1114
- "name": "createdAt",
1115
- "type": "uint40"
1116
- }
1117
- ],
1118
- "internalType": "struct IAccess.FunctionInfo",
1119
- "name": "",
1120
- "type": "tuple"
1121
- }
1122
- ],
1123
- "stateMutability": "view",
1124
- "type": "function"
1125
- },
1126
- {
1127
- "inputs": [
1128
- {
1129
- "internalType": "RoleId",
1130
- "name": "adminRoleId",
1131
- "type": "uint64"
1519
+ "length": 20,
1520
+ "start": 5188
1132
1521
  },
1133
1522
  {
1134
- "internalType": "enum IAccess.RoleType",
1135
- "name": "roleType",
1136
- "type": "uint8"
1523
+ "length": 20,
1524
+ "start": 5720
1137
1525
  },
1138
1526
  {
1139
- "internalType": "uint32",
1140
- "name": "maxMemberCount",
1141
- "type": "uint32"
1142
- },
1527
+ "length": 20,
1528
+ "start": 6125
1529
+ }
1530
+ ]
1531
+ },
1532
+ "contracts/shared/ContractLib.sol": {
1533
+ "ContractLib": [
1143
1534
  {
1144
- "internalType": "string",
1145
- "name": "name",
1146
- "type": "string"
1535
+ "length": 20,
1536
+ "start": 5407
1147
1537
  }
1148
- ],
1149
- "name": "toRole",
1150
- "outputs": [
1538
+ ]
1539
+ },
1540
+ "contracts/type/NftId.sol": {
1541
+ "NftIdLib": [
1151
1542
  {
1152
- "components": [
1153
- {
1154
- "internalType": "RoleId",
1155
- "name": "adminRoleId",
1156
- "type": "uint64"
1157
- },
1158
- {
1159
- "internalType": "enum IAccess.RoleType",
1160
- "name": "roleType",
1161
- "type": "uint8"
1162
- },
1163
- {
1164
- "internalType": "uint32",
1165
- "name": "maxMemberCount",
1166
- "type": "uint32"
1167
- },
1168
- {
1169
- "internalType": "Str",
1170
- "name": "name",
1171
- "type": "bytes32"
1172
- },
1173
- {
1174
- "internalType": "Timestamp",
1175
- "name": "createdAt",
1176
- "type": "uint40"
1177
- },
1178
- {
1179
- "internalType": "Timestamp",
1180
- "name": "pausedAt",
1181
- "type": "uint40"
1182
- }
1183
- ],
1184
- "internalType": "struct IAccess.RoleInfo",
1185
- "name": "",
1186
- "type": "tuple"
1543
+ "length": 20,
1544
+ "start": 5564
1187
1545
  }
1188
- ],
1189
- "stateMutability": "view",
1190
- "type": "function"
1191
- }
1192
- ],
1193
- "bytecode": "0x6080604052348015600e575f80fd5b506121d28061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063728a61a811610109578063bc62a0a51161009e578063c6a001791161006e578063c6a00179146105bc578063cd55e51b146105cf578063d5f39488146105e2578063d78a83b1146105f3575f80fd5b8063bc62a0a51461052e578063bcfb11b014610563578063bf7e214f1461058c578063c4d66de8146105a9575f80fd5b80638fb36037116100d95780638fb360371461047157806392bdd9bd14610492578063b3ecf23614610513578063b70096131461051b575f80fd5b8063728a61a81461042757806376b707b71461043a5780637a9e5e4b146104545780638308ceb114610469575f80fd5b806335471f801161017f5780635bfa50271161014f5780635bfa5027146103ce5780635cb870b1146103ee578063605aa10a1461040157806364fc314214610414575f80fd5b806335471f8014610380578063392f5f64146103935780633fd855611461039b5780635ab1bd53146103c6575f80fd5b806324913ce6116101ba57806324913ce6146102c157806326d60fb41461031557806326decd401461031d5780633406b15214610340575f80fd5b806303014974146101e057806312e1ebc51461020657806315fb0abb146102a1575b5f80fd5b6101f36101ee366004611be0565b610606565b6040519081526020015b60405180910390f35b610276610214366004611c0f565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101fd565b6102b46102af366004611cfb565b61062c565b6040516101fd9190611d3d565b6102d46102cf366004611d6f565b6107cf565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101fd565b6008546101f3565b61033061032b366004611c0f565b610a5d565b60405190151581526020016101fd565b61036861034e366004611d99565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f361038e366004611c0f565b610ac9565b6004546101f3565b6103ae6103a9366004611d99565b610b53565b6040516001600160401b0390911681526020016101fd565b610368610b95565b6103e16103dc366004611be0565b610c0e565b6040516101fd9190611de4565b6103e16103fc366004611e5c565b610ce2565b61033061040f366004611c0f565b610ebf565b610330610422366004611ecf565b610f34565b610368610435366004611d99565b610fb7565b610442610fe5565b60405160ff90911681526020016101fd565b610467610462366004611c0f565b611059565b005b6103ae6110fa565b61047961116e565b6040516001600160e01b031990911681526020016101fd565b6104ed6104a0366004611d99565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101fd565b6103ae6111a4565b610330610529366004611f06565b6111f4565b6105566040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101fd9190611f7c565b6105566040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f8051602061217d833981519152546001600160a01b0316610368565b6104676105b7366004611c0f565b6112da565b6103306105ca366004611be0565b6113e6565b6103306105dd366004611ecf565b611442565b6001546001600160a01b0316610368565b610368610601366004611f8e565b611470565b6001600160401b0381165f90815260056020526040812061062690611491565b92915050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106838660648501611f7c565b602060405180830381865af415801561069e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c29190611faa565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611fc1565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561079b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bf9190611fdc565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087b9190611fc1565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190611fc1565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ed9190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a539190612000565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610aa5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610626919061202f565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b2f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106269190611faa565b5f60048281548110610b6757610b67612048565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c09919061205c565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c8657610c86611db0565b6003811115610c9757610c97611db0565b81528154600160481b900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610d3f57610d3f611db0565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d879190611f7c565b602060405180830381865af4158015610da2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc69190611faa565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e369190611fdc565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ead9190611fdc565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610aa5573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610f8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fae9190612077565b50949350505050565b5f60088281548110610fcb57610fcb612048565b5f918252602090912001546001600160a01b031692915050565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611035573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0991906120a1565b336110785f8051602061217d833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146110b85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036110ed576040516361798f2f60e11b81526001600160a01b03831660048201526024016110af565b6110f68261149a565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c099190612000565b5f8051602061217d83398151915280545f9190600160a01b900460ff16611195575f61119e565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112889190611fc1565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610f8a573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561131e5750825b90505f826001600160401b031660011480156113395750303b155b905081158015611347575080155b156113655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138f57845460ff60401b1916600160401b1785555b611398866114fb565b83156113de57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610f19565b6001600160401b038082165f90815260026020526040812054909161146991859116610f34565b9392505050565b6001600160401b0382165f90815260056020526040812061146990836115db565b5f610626825490565b5f8051602061217d83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6115036115e6565b6001546001600160a01b031661152657600180546001600160a01b031916331790555b6001546001600160a01b0316331461155157604051635adaa55f60e11b815260040160405180910390fd5b60405163189acdbd60e31b81523060048201526001600160a01b0382169063c4d66de8906024015f604051808303815f87803b15801561158f575f80fd5b505af11580156115a1573d5f803e3d5ffd5b505050506115ae81611631565b5f80546001600160a01b0319166001600160a01b0383161790556115d0611642565b6115d86117eb565b50565b5f61146983836117f3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661162f57604051631afcd79f60e31b815260040160405180910390fd5b565b6116396115e6565b6115d881611819565b61164a6115e6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d79190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611719573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173d9190612000565b905061178461174a61182a565b61177f61175561182a565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b815250610ce2565b61187b565b6001600160401b0381165f9081526005602052604090206117a59030611b2c565b506115d86117b1611b40565b61177f6117bc61182a565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250610ce2565b61162f6115e6565b5f825f01828154811061180857611808612048565b905f5260205f200154905092915050565b6118216115e6565b6115d88161149a565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561114a573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e69190611fdc565b64ffffffffff1660808201526001600160401b038083165f90815260026020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b83600381111561195557611955611db0565b0217905550604082810151825463ffffffff909116600160481b026cffffffff0000000000000000001990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff908116650100000000000269ffffffffffffffffffff1990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f90815260038084528782209651875499511515600160401b0268ffffffffffffffffff19909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f90bccf38fba6eb0172b42feacbb3c44b872faddb5ad70fa8d438cf9ab4459a03948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611adb92910190815260200190565b5f60405180830381865af4158015611af5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1c91908101906120c1565b6040516114ef9493929190612135565b5f611469836001600160a01b038416611b80565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401611860565b5f818152600183016020526040812054611bc557508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610626565b505f610626565b6001600160401b03811681146115d8575f80fd5b5f60208284031215611bf0575f80fd5b813561146981611bcc565b6001600160a01b03811681146115d8575f80fd5b5f60208284031215611c1f575f80fd5b813561146981611bfb565b6001600160e01b0319811681146115d8575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611c7b57611c7b611c3f565b604052919050565b5f6001600160401b03821115611c9b57611c9b611c3f565b50601f01601f191660200190565b5f82601f830112611cb8575f80fd5b8135611ccb611cc682611c83565b611c53565b818152846020838601011115611cdf575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d0c575f80fd5b8235611d1781611c2a565b915060208301356001600160401b03811115611d31575f80fd5b610a5385828601611ca9565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610626565b5f8060408385031215611d80575f80fd5b8235611d8b81611bfb565b946020939093013593505050565b5f60208284031215611da9575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b60048110611de057634e487b7160e01b5f52602160045260245ffd5b9052565b81516001600160401b0316815260208083015160c0830191611e0890840182611dc4565b5063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b63ffffffff811681146115d8575f80fd5b5f805f8060808587031215611e6f575f80fd5b8435611e7a81611bcc565b9350602085013560048110611e8d575f80fd5b92506040850135611e9d81611e4b565b915060608501356001600160401b03811115611eb7575f80fd5b611ec387828801611ca9565b91505092959194509250565b5f8060408385031215611ee0575f80fd5b8235611eeb81611bfb565b91506020830135611efb81611bcc565b809150509250929050565b5f805f60608486031215611f18575f80fd5b8335611f2381611bfb565b92506020840135611f3381611bfb565b91506040840135611f4381611c2a565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6114696020830184611f4e565b5f8060408385031215611f9f575f80fd5b8235611d8b81611bcc565b5f60208284031215611fba575f80fd5b5051919050565b5f60208284031215611fd1575f80fd5b815161146981611c2a565b5f60208284031215611fec575f80fd5b815164ffffffffff81168114611469575f80fd5b5f60208284031215612010575f80fd5b815161146981611bcc565b8051801515811461202a575f80fd5b919050565b5f6020828403121561203f575f80fd5b6114698261201b565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561206c575f80fd5b815161146981611bfb565b5f8060408385031215612088575f80fd5b6120918361201b565b91506020830151611efb81611e4b565b5f602082840312156120b1575f80fd5b815160ff81168114611469575f80fd5b5f602082840312156120d1575f80fd5b81516001600160401b038111156120e6575f80fd5b8201601f810184136120f6575f80fd5b8051612104611cc682611c83565b818152856020838501011115612118575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b038516815261214e6020820185611dc4565b6001600160401b0383166040820152608060608201525f6121726080830184611f4e565b969550505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208a4f883cb75ca55d51253f3a181f96af545db082c36d317df70473afd9a57d9264736f6c634300081a0033",
1194
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063728a61a811610109578063bc62a0a51161009e578063c6a001791161006e578063c6a00179146105bc578063cd55e51b146105cf578063d5f39488146105e2578063d78a83b1146105f3575f80fd5b8063bc62a0a51461052e578063bcfb11b014610563578063bf7e214f1461058c578063c4d66de8146105a9575f80fd5b80638fb36037116100d95780638fb360371461047157806392bdd9bd14610492578063b3ecf23614610513578063b70096131461051b575f80fd5b8063728a61a81461042757806376b707b71461043a5780637a9e5e4b146104545780638308ceb114610469575f80fd5b806335471f801161017f5780635bfa50271161014f5780635bfa5027146103ce5780635cb870b1146103ee578063605aa10a1461040157806364fc314214610414575f80fd5b806335471f8014610380578063392f5f64146103935780633fd855611461039b5780635ab1bd53146103c6575f80fd5b806324913ce6116101ba57806324913ce6146102c157806326d60fb41461031557806326decd401461031d5780633406b15214610340575f80fd5b806303014974146101e057806312e1ebc51461020657806315fb0abb146102a1575b5f80fd5b6101f36101ee366004611be0565b610606565b6040519081526020015b60405180910390f35b610276610214366004611c0f565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101fd565b6102b46102af366004611cfb565b61062c565b6040516101fd9190611d3d565b6102d46102cf366004611d6f565b6107cf565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101fd565b6008546101f3565b61033061032b366004611c0f565b610a5d565b60405190151581526020016101fd565b61036861034e366004611d99565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101fd565b6101f361038e366004611c0f565b610ac9565b6004546101f3565b6103ae6103a9366004611d99565b610b53565b6040516001600160401b0390911681526020016101fd565b610368610b95565b6103e16103dc366004611be0565b610c0e565b6040516101fd9190611de4565b6103e16103fc366004611e5c565b610ce2565b61033061040f366004611c0f565b610ebf565b610330610422366004611ecf565b610f34565b610368610435366004611d99565b610fb7565b610442610fe5565b60405160ff90911681526020016101fd565b610467610462366004611c0f565b611059565b005b6103ae6110fa565b61047961116e565b6040516001600160e01b031990911681526020016101fd565b6104ed6104a0366004611d99565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101fd565b6103ae6111a4565b610330610529366004611f06565b6111f4565b6105566040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101fd9190611f7c565b6105566040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f8051602061217d833981519152546001600160a01b0316610368565b6104676105b7366004611c0f565b6112da565b6103306105ca366004611be0565b6113e6565b6103306105dd366004611ecf565b611442565b6001546001600160a01b0316610368565b610368610601366004611f8e565b611470565b6001600160401b0381165f90815260056020526040812061062690611491565b92915050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106838660648501611f7c565b602060405180830381865af415801561069e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c29190611faa565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107459190611fc1565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561079b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bf9190611fdc565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087b9190611fc1565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190611fc1565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ed9190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610a2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a539190612000565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610aa5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610626919061202f565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610b2f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106269190611faa565b5f60048281548110610b6757610b67612048565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c09919061205c565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610c8657610c86611db0565b6003811115610c9757610c97611db0565b81528154600160481b900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610d3f57610d3f611db0565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610d879190611f7c565b602060405180830381865af4158015610da2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc69190611faa565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e369190611fdc565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ead9190611fdc565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610aa5573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610f8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fae9190612077565b50949350505050565b5f60088281548110610fcb57610fcb612048565b5f918252602090912001546001600160a01b031692915050565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611035573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0991906120a1565b336110785f8051602061217d833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146110b85760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036110ed576040516361798f2f60e11b81526001600160a01b03831660048201526024016110af565b6110f68261149a565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c099190612000565b5f8051602061217d83398151915280545f9190600160a01b900460ff16611195575f61119e565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015611264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112889190611fc1565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610f8a573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561131e5750825b90505f826001600160401b031660011480156113395750303b155b905081158015611347575080155b156113655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138f57845460ff60401b1916600160401b1785555b611398866114fb565b83156113de57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610f19565b6001600160401b038082165f90815260026020526040812054909161146991859116610f34565b9392505050565b6001600160401b0382165f90815260056020526040812061146990836115db565b5f610626825490565b5f8051602061217d83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6115036115e6565b6001546001600160a01b031661152657600180546001600160a01b031916331790555b6001546001600160a01b0316331461155157604051635adaa55f60e11b815260040160405180910390fd5b60405163189acdbd60e31b81523060048201526001600160a01b0382169063c4d66de8906024015f604051808303815f87803b15801561158f575f80fd5b505af11580156115a1573d5f803e3d5ffd5b505050506115ae81611631565b5f80546001600160a01b0319166001600160a01b0383161790556115d0611642565b6115d86117eb565b50565b5f61146983836117f3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661162f57604051631afcd79f60e31b815260040160405180910390fd5b565b6116396115e6565b6115d881611819565b61164a6115e6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d79190612000565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611719573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173d9190612000565b905061178461174a61182a565b61177f61175561182a565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b815250610ce2565b61187b565b6001600160401b0381165f9081526005602052604090206117a59030611b2c565b506115d86117b1611b40565b61177f6117bc61182a565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250610ce2565b61162f6115e6565b5f825f01828154811061180857611808612048565b905f5260205f200154905092915050565b6118216115e6565b6115d88161149a565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561114a573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e69190611fdc565b64ffffffffff1660808201526001600160401b038083165f90815260026020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b83600381111561195557611955611db0565b0217905550604082810151825463ffffffff909116600160481b026cffffffff0000000000000000001990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff908116650100000000000269ffffffffffffffffffff1990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f90815260038084528782209651875499511515600160401b0268ffffffffffffffffff19909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f90bccf38fba6eb0172b42feacbb3c44b872faddb5ad70fa8d438cf9ab4459a03948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611adb92910190815260200190565b5f60405180830381865af4158015611af5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1c91908101906120c1565b6040516114ef9493929190612135565b5f611469836001600160a01b038416611b80565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401611860565b5f818152600183016020526040812054611bc557508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610626565b505f610626565b6001600160401b03811681146115d8575f80fd5b5f60208284031215611bf0575f80fd5b813561146981611bcc565b6001600160a01b03811681146115d8575f80fd5b5f60208284031215611c1f575f80fd5b813561146981611bfb565b6001600160e01b0319811681146115d8575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611c7b57611c7b611c3f565b604052919050565b5f6001600160401b03821115611c9b57611c9b611c3f565b50601f01601f191660200190565b5f82601f830112611cb8575f80fd5b8135611ccb611cc682611c83565b611c53565b818152846020838601011115611cdf575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611d0c575f80fd5b8235611d1781611c2a565b915060208301356001600160401b03811115611d31575f80fd5b610a5385828601611ca9565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610626565b5f8060408385031215611d80575f80fd5b8235611d8b81611bfb565b946020939093013593505050565b5f60208284031215611da9575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b60048110611de057634e487b7160e01b5f52602160045260245ffd5b9052565b81516001600160401b0316815260208083015160c0830191611e0890840182611dc4565b5063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015264ffffffffff60a08401511660a083015292915050565b63ffffffff811681146115d8575f80fd5b5f805f8060808587031215611e6f575f80fd5b8435611e7a81611bcc565b9350602085013560048110611e8d575f80fd5b92506040850135611e9d81611e4b565b915060608501356001600160401b03811115611eb7575f80fd5b611ec387828801611ca9565b91505092959194509250565b5f8060408385031215611ee0575f80fd5b8235611eeb81611bfb565b91506020830135611efb81611bcc565b809150509250929050565b5f805f60608486031215611f18575f80fd5b8335611f2381611bfb565b92506020840135611f3381611bfb565b91506040840135611f4381611c2a565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6114696020830184611f4e565b5f8060408385031215611f9f575f80fd5b8235611d8b81611bcc565b5f60208284031215611fba575f80fd5b5051919050565b5f60208284031215611fd1575f80fd5b815161146981611c2a565b5f60208284031215611fec575f80fd5b815164ffffffffff81168114611469575f80fd5b5f60208284031215612010575f80fd5b815161146981611bcc565b8051801515811461202a575f80fd5b919050565b5f6020828403121561203f575f80fd5b6114698261201b565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561206c575f80fd5b815161146981611bfb565b5f8060408385031215612088575f80fd5b6120918361201b565b91506020830151611efb81611e4b565b5f602082840312156120b1575f80fd5b815160ff81168114611469575f80fd5b5f602082840312156120d1575f80fd5b81516001600160401b038111156120e6575f80fd5b8201601f810184136120f6575f80fd5b8051612104611cc682611c83565b818152856020838501011115612118575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b038516815261214e6020820185611dc4565b6001600160401b0383166040820152608060608201525f6121726080830184611f4e565b969550505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208a4f883cb75ca55d51253f3a181f96af545db082c36d317df70473afd9a57d9264736f6c634300081a0033",
1195
- "linkReferences": {
1546
+ ]
1547
+ },
1196
1548
  "contracts/type/RoleId.sol": {
1197
1549
  "RoleIdLib": [
1198
1550
  {
1199
1551
  "length": 20,
1200
- "start": 2329
1552
+ "start": 1974
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 4276
1201
1557
  },
1202
1558
  {
1203
1559
  "length": 20,
1204
- "start": 5737
1560
+ "start": 5839
1205
1561
  },
1206
1562
  {
1207
1563
  "length": 20,
1208
- "start": 6238
1564
+ "start": 6351
1209
1565
  },
1210
1566
  {
1211
1567
  "length": 20,
1212
- "start": 7034
1568
+ "start": 7323
1213
1569
  }
1214
1570
  ]
1215
1571
  },
@@ -1217,25 +1573,17 @@
1217
1573
  "SelectorLib": [
1218
1574
  {
1219
1575
  "length": 20,
1220
- "start": 1797
1221
- },
1222
- {
1223
- "length": 20,
1224
- "start": 2367
1225
- },
1226
- {
1227
- "length": 20,
1228
- "start": 4680
1576
+ "start": 2012
1229
1577
  }
1230
1578
  ],
1231
1579
  "SelectorSetLib": [
1232
1580
  {
1233
1581
  "length": 20,
1234
- "start": 2107
1582
+ "start": 1734
1235
1583
  },
1236
1584
  {
1237
1585
  "length": 20,
1238
- "start": 2835
1586
+ "start": 2593
1239
1587
  }
1240
1588
  ]
1241
1589
  },
@@ -1243,15 +1591,11 @@
1243
1591
  "StrLib": [
1244
1592
  {
1245
1593
  "length": 20,
1246
- "start": 1658
1247
- },
1248
- {
1249
- "length": 20,
1250
- "start": 3438
1594
+ "start": 4104
1251
1595
  },
1252
1596
  {
1253
1597
  "length": 20,
1254
- "start": 6862
1598
+ "start": 7150
1255
1599
  }
1256
1600
  ]
1257
1601
  },
@@ -1259,49 +1603,81 @@
1259
1603
  "TimestampLib": [
1260
1604
  {
1261
1605
  "length": 20,
1262
- "start": 1906
1606
+ "start": 3202
1607
+ },
1608
+ {
1609
+ "length": 20,
1610
+ "start": 3321
1263
1611
  },
1264
1612
  {
1265
1613
  "length": 20,
1266
- "start": 3561
1614
+ "start": 6410
1267
1615
  },
1268
1616
  {
1269
1617
  "length": 20,
1270
- "start": 3680
1618
+ "start": 6545
1619
+ }
1620
+ ]
1621
+ }
1622
+ },
1623
+ "deployedLinkReferences": {
1624
+ "contracts/authorization/AccessAdminLib.sol": {
1625
+ "AccessAdminLib": [
1626
+ {
1627
+ "length": 20,
1628
+ "start": 4361
1271
1629
  },
1272
1630
  {
1273
1631
  "length": 20,
1274
- "start": 3863
1632
+ "start": 5160
1275
1633
  },
1276
1634
  {
1277
1635
  "length": 20,
1278
- "start": 5180
1636
+ "start": 5692
1279
1637
  },
1280
1638
  {
1281
1639
  "length": 20,
1282
- "start": 6297
1640
+ "start": 6097
1283
1641
  }
1284
1642
  ]
1285
- }
1286
- },
1287
- "deployedLinkReferences": {
1643
+ },
1644
+ "contracts/shared/ContractLib.sol": {
1645
+ "ContractLib": [
1646
+ {
1647
+ "length": 20,
1648
+ "start": 5379
1649
+ }
1650
+ ]
1651
+ },
1652
+ "contracts/type/NftId.sol": {
1653
+ "NftIdLib": [
1654
+ {
1655
+ "length": 20,
1656
+ "start": 5536
1657
+ }
1658
+ ]
1659
+ },
1288
1660
  "contracts/type/RoleId.sol": {
1289
1661
  "RoleIdLib": [
1290
1662
  {
1291
1663
  "length": 20,
1292
- "start": 2301
1664
+ "start": 1946
1665
+ },
1666
+ {
1667
+ "length": 20,
1668
+ "start": 4248
1293
1669
  },
1294
1670
  {
1295
1671
  "length": 20,
1296
- "start": 5709
1672
+ "start": 5811
1297
1673
  },
1298
1674
  {
1299
1675
  "length": 20,
1300
- "start": 6210
1676
+ "start": 6323
1301
1677
  },
1302
1678
  {
1303
1679
  "length": 20,
1304
- "start": 7006
1680
+ "start": 7295
1305
1681
  }
1306
1682
  ]
1307
1683
  },
@@ -1309,25 +1685,17 @@
1309
1685
  "SelectorLib": [
1310
1686
  {
1311
1687
  "length": 20,
1312
- "start": 1769
1313
- },
1314
- {
1315
- "length": 20,
1316
- "start": 2339
1317
- },
1318
- {
1319
- "length": 20,
1320
- "start": 4652
1688
+ "start": 1984
1321
1689
  }
1322
1690
  ],
1323
1691
  "SelectorSetLib": [
1324
1692
  {
1325
1693
  "length": 20,
1326
- "start": 2079
1694
+ "start": 1706
1327
1695
  },
1328
1696
  {
1329
1697
  "length": 20,
1330
- "start": 2807
1698
+ "start": 2565
1331
1699
  }
1332
1700
  ]
1333
1701
  },
@@ -1335,15 +1703,11 @@
1335
1703
  "StrLib": [
1336
1704
  {
1337
1705
  "length": 20,
1338
- "start": 1630
1339
- },
1340
- {
1341
- "length": 20,
1342
- "start": 3410
1706
+ "start": 4076
1343
1707
  },
1344
1708
  {
1345
1709
  "length": 20,
1346
- "start": 6834
1710
+ "start": 7122
1347
1711
  }
1348
1712
  ]
1349
1713
  },
@@ -1351,27 +1715,19 @@
1351
1715
  "TimestampLib": [
1352
1716
  {
1353
1717
  "length": 20,
1354
- "start": 1878
1355
- },
1356
- {
1357
- "length": 20,
1358
- "start": 3533
1359
- },
1360
- {
1361
- "length": 20,
1362
- "start": 3652
1718
+ "start": 3174
1363
1719
  },
1364
1720
  {
1365
1721
  "length": 20,
1366
- "start": 3835
1722
+ "start": 3293
1367
1723
  },
1368
1724
  {
1369
1725
  "length": 20,
1370
- "start": 5152
1726
+ "start": 6382
1371
1727
  },
1372
1728
  {
1373
1729
  "length": 20,
1374
- "start": 6269
1730
+ "start": 6517
1375
1731
  }
1376
1732
  ]
1377
1733
  }