@etherisc/gif-next 0.0.2-e79d227-681 → 0.0.2-e7a5428-226

Sign up to get free protection for your applications and to get access to all the features.
Files changed (504) hide show
  1. package/README.md +57 -1
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +640 -269
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +409 -33
  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 +525 -213
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +179 -19
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +246 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +420 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +105 -185
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +381 -46
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +58 -127
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +533 -218
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +150 -82
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +37 -106
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +379 -79
  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 +183 -128
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +355 -52
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +324 -250
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +380 -45
  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 +191 -182
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +94 -100
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +196 -155
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +600 -296
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +88 -45
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +482 -50
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +373 -13
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +493 -85
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1017 -334
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +380 -52
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +914 -554
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +377 -80
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +83 -57
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +690 -566
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +141 -85
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  87. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  89. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  90. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  96. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  101. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  103. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +77 -81
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +379 -47
  106. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +41 -45
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +61 -65
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +120 -68
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +99 -55
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -114
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +355 -52
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +304 -226
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +120 -76
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +200 -89
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  128. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +59 -63
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +333 -169
  131. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  132. package/artifacts/contracts/pool/Pool.sol/Pool.json +72 -76
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  134. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +574 -360
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +146 -74
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +293 -63
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +106 -46
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  144. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +193 -182
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  146. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +380 -45
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +292 -195
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +127 -99
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +235 -4
  153. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  155. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +160 -68
  157. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  159. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  160. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +168 -157
  161. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  163. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +278 -187
  165. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  166. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  167. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +129 -85
  169. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PricingService.sol/PricingService.json +135 -126
  171. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +103 -75
  173. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  174. package/artifacts/contracts/product/Product.sol/Product.json +187 -176
  175. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  176. package/artifacts/contracts/product/RiskService.sol/RiskService.json +326 -91
  177. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +103 -47
  179. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  181. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +54 -19
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  185. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  186. package/artifacts/contracts/{authorization/AccessAdmin.sol/IAccessManagedChecker.json → registry/IRelease.sol/IRelease.json} +6 -6
  187. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  188. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/Registry.sol/Registry.json +92 -57
  190. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +727 -479
  192. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  193. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1061 -0
  194. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +75 -39
  196. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +79 -43
  198. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  200. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  202. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +386 -64
  204. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +437 -26
  206. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  208. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  209. package/artifacts/contracts/shared/Component.sol/Component.json +60 -50
  210. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  211. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +247 -531
  212. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +111 -95
  214. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +178 -34
  216. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  220. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +41 -31
  222. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +155 -382
  224. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +41 -45
  226. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +6 -6
  228. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  229. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  230. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  231. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  234. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  237. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  238. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  239. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  240. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +60 -64
  241. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  242. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +6 -6
  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 +137 -62
  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 +51 -11
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  258. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  259. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  260. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  261. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  262. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  263. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1026 -101
  264. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  265. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  266. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  267. package/artifacts/contracts/staking/Staking.sol/Staking.json +1218 -214
  268. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  270. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  272. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  273. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +139 -61
  274. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  275. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +174 -217
  276. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -174
  278. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  279. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +87 -55
  280. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +957 -603
  282. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  283. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +101 -51
  284. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  285. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  287. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  289. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  291. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  293. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  295. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  297. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  299. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  300. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  301. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  303. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  304. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  305. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  307. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  309. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  311. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  313. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +30 -6
  315. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  317. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  319. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  321. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  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 +61 -37
  330. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  332. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -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 +65 -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 +274 -0
  343. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  344. package/contracts/accounting/IAccountingService.sol +47 -0
  345. package/contracts/authorization/AccessAdmin.sol +422 -258
  346. package/contracts/authorization/AccessAdminLib.sol +396 -0
  347. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  348. package/contracts/authorization/Authorization.sol +142 -262
  349. package/contracts/authorization/IAccess.sol +25 -7
  350. package/contracts/authorization/IAccessAdmin.sol +87 -80
  351. package/contracts/authorization/IAuthorization.sol +9 -43
  352. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  353. package/contracts/authorization/ServiceAuthorization.sol +248 -34
  354. package/contracts/distribution/BasicDistribution.sol +16 -14
  355. package/contracts/distribution/BasicDistributionAuthorization.sol +29 -9
  356. package/contracts/distribution/Distribution.sol +38 -75
  357. package/contracts/distribution/DistributionService.sol +181 -87
  358. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  359. package/contracts/distribution/IDistributionComponent.sol +3 -10
  360. package/contracts/distribution/IDistributionService.sol +34 -19
  361. package/contracts/examples/fire/FirePool.sol +6 -6
  362. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  363. package/contracts/examples/fire/FireProduct.sol +15 -13
  364. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  365. package/contracts/examples/unpermissioned/SimpleDistribution.sol +34 -11
  366. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  367. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  368. package/contracts/examples/unpermissioned/SimplePool.sol +7 -13
  369. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  370. package/contracts/examples/unpermissioned/SimpleProduct.sol +119 -27
  371. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  372. package/contracts/instance/BundleSet.sol +4 -4
  373. package/contracts/instance/IInstance.sol +92 -19
  374. package/contracts/instance/IInstanceService.sol +52 -9
  375. package/contracts/instance/Instance.sol +163 -57
  376. package/contracts/instance/InstanceAdmin.sol +271 -166
  377. package/contracts/instance/InstanceAuthorizationV3.sol +89 -40
  378. package/contracts/instance/InstanceReader.sol +422 -369
  379. package/contracts/instance/InstanceService.sol +252 -176
  380. package/contracts/instance/InstanceServiceManager.sol +1 -1
  381. package/contracts/instance/InstanceStore.sol +13 -2
  382. package/contracts/instance/RiskSet.sol +21 -14
  383. package/contracts/instance/base/BalanceStore.sol +4 -6
  384. package/contracts/instance/base/ObjectCounter.sol +1 -2
  385. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  386. package/contracts/instance/base/ObjectSet.sol +7 -8
  387. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  388. package/contracts/instance/module/IBundle.sol +6 -5
  389. package/contracts/instance/module/IComponents.sol +19 -7
  390. package/contracts/instance/module/IDistribution.sol +21 -8
  391. package/contracts/instance/module/IPolicy.sol +28 -8
  392. package/contracts/instance/module/IRisk.sol +4 -0
  393. package/contracts/oracle/BasicOracle.sol +2 -4
  394. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  395. package/contracts/oracle/IOracle.sol +9 -4
  396. package/contracts/oracle/Oracle.sol +3 -5
  397. package/contracts/oracle/OracleService.sol +24 -23
  398. package/contracts/oracle/OracleServiceManager.sol +1 -1
  399. package/contracts/pool/BasicPool.sol +3 -16
  400. package/contracts/pool/BasicPoolAuthorization.sol +29 -16
  401. package/contracts/pool/BundleService.sol +67 -104
  402. package/contracts/pool/BundleServiceManager.sol +1 -1
  403. package/contracts/pool/IBundleService.sol +27 -33
  404. package/contracts/pool/IPoolService.sol +57 -40
  405. package/contracts/pool/Pool.sol +13 -25
  406. package/contracts/pool/PoolLib.sol +341 -0
  407. package/contracts/pool/PoolService.sol +203 -201
  408. package/contracts/pool/PoolServiceManager.sol +1 -1
  409. package/contracts/product/ApplicationService.sol +86 -18
  410. package/contracts/product/ApplicationServiceManager.sol +1 -1
  411. package/contracts/product/BasicProduct.sol +3 -3
  412. package/contracts/product/BasicProductAuthorization.sol +32 -11
  413. package/contracts/product/ClaimService.sol +187 -171
  414. package/contracts/product/ClaimServiceManager.sol +1 -1
  415. package/contracts/product/IApplicationService.sol +24 -2
  416. package/contracts/product/IClaimService.sol +18 -5
  417. package/contracts/product/IPolicyService.sol +20 -8
  418. package/contracts/product/IPricingService.sol +1 -0
  419. package/contracts/product/IProductComponent.sol +4 -1
  420. package/contracts/product/IRiskService.sol +25 -10
  421. package/contracts/product/PolicyService.sol +110 -198
  422. package/contracts/product/PolicyServiceLib.sol +139 -0
  423. package/contracts/product/PolicyServiceManager.sol +1 -1
  424. package/contracts/product/PricingService.sol +52 -46
  425. package/contracts/product/PricingServiceManager.sol +3 -3
  426. package/contracts/product/Product.sol +93 -27
  427. package/contracts/product/RiskService.sol +119 -36
  428. package/contracts/product/RiskServiceManager.sol +1 -1
  429. package/contracts/registry/ChainNft.sol +4 -2
  430. package/contracts/registry/IRegistry.sol +23 -24
  431. package/contracts/registry/IRelease.sol +29 -0
  432. package/contracts/registry/Registry.sol +22 -11
  433. package/contracts/registry/RegistryAdmin.sol +100 -363
  434. package/contracts/registry/RegistryAuthorization.sol +309 -0
  435. package/contracts/registry/RegistryService.sol +4 -4
  436. package/contracts/registry/RegistryServiceManager.sol +1 -1
  437. package/contracts/registry/ReleaseAdmin.sol +195 -0
  438. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  439. package/contracts/registry/ReleaseRegistry.sol +157 -117
  440. package/contracts/registry/ServiceAuthorizationV3.sol +194 -27
  441. package/contracts/registry/TokenRegistry.sol +61 -59
  442. package/contracts/shared/Component.sol +34 -37
  443. package/contracts/shared/ComponentService.sol +314 -433
  444. package/contracts/shared/ComponentServiceManager.sol +1 -1
  445. package/contracts/shared/ContractLib.sol +164 -76
  446. package/contracts/shared/IComponent.sol +1 -10
  447. package/contracts/shared/IComponentService.sol +22 -41
  448. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  449. package/contracts/shared/IKeyValueStore.sol +1 -1
  450. package/contracts/shared/INftOwnable.sol +2 -0
  451. package/contracts/shared/IRegisterable.sol +15 -5
  452. package/contracts/shared/IService.sol +3 -5
  453. package/contracts/shared/InitializableERC165.sol +9 -1
  454. package/contracts/shared/InstanceLinkedComponent.sol +7 -18
  455. package/contracts/shared/KeyValueStore.sol +3 -3
  456. package/contracts/shared/NftOwnable.sol +8 -6
  457. package/contracts/shared/PolicyHolder.sol +4 -3
  458. package/contracts/shared/Registerable.sol +42 -19
  459. package/contracts/shared/RegistryLinked.sol +1 -1
  460. package/contracts/shared/Service.sol +13 -30
  461. package/contracts/shared/TokenHandler.sol +45 -92
  462. package/contracts/staking/IStaking.sol +155 -64
  463. package/contracts/staking/IStakingService.sol +45 -75
  464. package/contracts/staking/Staking.sol +444 -203
  465. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  466. package/contracts/staking/StakingManager.sol +1 -2
  467. package/contracts/staking/StakingReader.sol +41 -80
  468. package/contracts/staking/StakingService.sol +62 -181
  469. package/contracts/staking/StakingServiceManager.sol +6 -4
  470. package/contracts/staking/StakingStore.sol +697 -329
  471. package/contracts/staking/TargetManagerLib.sol +1 -1
  472. package/contracts/type/Amount.sol +4 -0
  473. package/contracts/type/Blocknumber.sol +15 -15
  474. package/contracts/type/ChainId.sol +101 -0
  475. package/contracts/type/Fee.sol +8 -8
  476. package/contracts/type/NftId.sol +3 -3
  477. package/contracts/type/ObjectType.sol +67 -38
  478. package/contracts/type/RiskId.sol +9 -3
  479. package/contracts/type/RoleId.sol +63 -45
  480. package/contracts/type/Seconds.sol +14 -0
  481. package/contracts/type/Selector.sol +5 -0
  482. package/contracts/type/String.sol +12 -0
  483. package/contracts/type/Timestamp.sol +4 -7
  484. package/contracts/type/UFixed.sol +35 -127
  485. package/contracts/type/Version.sol +54 -5
  486. package/contracts/upgradeability/IVersionable.sol +3 -0
  487. package/contracts/upgradeability/ProxyManager.sol +26 -12
  488. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  489. package/contracts/upgradeability/Versionable.sol +6 -3
  490. package/package.json +2 -2
  491. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  492. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  493. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  494. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  495. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  496. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  497. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  498. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  499. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  500. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  501. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  502. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  503. package/contracts/instance/module/IAccess.sol +0 -46
  504. package/contracts/shared/ComponentVerifyingService.sol +0 -128
@@ -3,11 +3,6 @@
3
3
  "contractName": "AccessAdmin",
4
4
  "sourceName": "contracts/authorization/AccessAdmin.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
6
  {
12
7
  "inputs": [
13
8
  {
@@ -48,12 +43,98 @@
48
43
  },
49
44
  {
50
45
  "inputs": [],
51
- "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",
52
117
  "type": "error"
53
118
  },
54
119
  {
55
120
  "inputs": [],
56
- "name": "ErrorAuthorityAlreadySet",
121
+ "name": "ErrorAccessAdminFunctionNameEmpty",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "target",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "enum IAccess.TargetType",
133
+ "name": "serviceTargetType",
134
+ "type": "uint8"
135
+ }
136
+ ],
137
+ "name": "ErrorAccessAdminInvalidServiceType",
57
138
  "type": "error"
58
139
  },
59
140
  {
@@ -62,9 +143,24 @@
62
143
  "internalType": "address",
63
144
  "name": "target",
64
145
  "type": "address"
146
+ },
147
+ {
148
+ "internalType": "enum IAccess.TargetType",
149
+ "name": "targetType",
150
+ "type": "uint8"
65
151
  }
66
152
  ],
67
- "name": "ErrorAuthorizeForAdminRoleInvalid",
153
+ "name": "ErrorAccessAdminInvalidTargetType",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "ErrorAccessAdminInvalidUserOfAdminRole",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorAccessAdminInvalidUserOfPublicRole",
68
164
  "type": "error"
69
165
  },
70
166
  {
@@ -73,14 +169,52 @@
73
169
  "internalType": "RoleId",
74
170
  "name": "adminRoleId",
75
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"
76
188
  }
77
189
  ],
78
- "name": "ErrorNotAdminOfRole",
190
+ "name": "ErrorAccessAdminNotAuthorization",
79
191
  "type": "error"
80
192
  },
81
193
  {
82
194
  "inputs": [],
83
- "name": "ErrorNotDeployer",
195
+ "name": "ErrorAccessAdminNotDeployer",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "address",
202
+ "name": "registerable",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "name": "ErrorAccessAdminNotRegistered",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "registry",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorAccessAdminNotRegistry",
84
218
  "type": "error"
85
219
  },
86
220
  {
@@ -89,9 +223,46 @@
89
223
  "internalType": "RoleId",
90
224
  "name": "roleId",
91
225
  "type": "uint64"
226
+ },
227
+ {
228
+ "internalType": "address",
229
+ "name": "account",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "ErrorAccessAdminNotRoleOwner",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "serviceAuthorization",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorAccessAdminNotServiceAuthorization",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "authorization",
252
+ "type": "address"
253
+ },
254
+ {
255
+ "internalType": "VersionPart",
256
+ "name": "expectedRelease",
257
+ "type": "uint8"
258
+ },
259
+ {
260
+ "internalType": "VersionPart",
261
+ "name": "actualRelease",
262
+ "type": "uint8"
92
263
  }
93
264
  ],
94
- "name": "ErrorNotRoleOwner",
265
+ "name": "ErrorAccessAdminReleaseMismatch",
95
266
  "type": "error"
96
267
  },
97
268
  {
@@ -102,7 +273,7 @@
102
273
  "type": "uint64"
103
274
  }
104
275
  ],
105
- "name": "ErrorRoleAdminNotExisting",
276
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
106
277
  "type": "error"
107
278
  },
108
279
  {
@@ -118,7 +289,7 @@
118
289
  "type": "string"
119
290
  }
120
291
  ],
121
- "name": "ErrorRoleAlreadyCreated",
292
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
122
293
  "type": "error"
123
294
  },
124
295
  {
@@ -129,7 +300,7 @@
129
300
  "type": "uint64"
130
301
  }
131
302
  ],
132
- "name": "ErrorRoleIsLocked",
303
+ "name": "ErrorAccessAdminRoleIsLocked",
133
304
  "type": "error"
134
305
  },
135
306
  {
@@ -140,7 +311,7 @@
140
311
  "type": "uint64"
141
312
  }
142
313
  ],
143
- "name": "ErrorRoleIsPaused",
314
+ "name": "ErrorAccessAdminRoleIsPaused",
144
315
  "type": "error"
145
316
  },
146
317
  {
@@ -156,7 +327,7 @@
156
327
  "type": "address"
157
328
  }
158
329
  ],
159
- "name": "ErrorRoleMemberNotContract",
330
+ "name": "ErrorAccessAdminRoleMemberNotContract",
160
331
  "type": "error"
161
332
  },
162
333
  {
@@ -172,7 +343,7 @@
172
343
  "type": "address"
173
344
  }
174
345
  ],
175
- "name": "ErrorRoleMemberRemovalDisabled",
346
+ "name": "ErrorAccessAdminRoleMemberRemovalDisabled",
176
347
  "type": "error"
177
348
  },
178
349
  {
@@ -188,7 +359,7 @@
188
359
  "type": "uint256"
189
360
  }
190
361
  ],
191
- "name": "ErrorRoleMembersLimitReached",
362
+ "name": "ErrorAccessAdminRoleMembersLimitReached",
192
363
  "type": "error"
193
364
  },
194
365
  {
@@ -209,7 +380,18 @@
209
380
  "type": "uint64"
210
381
  }
211
382
  ],
212
- "name": "ErrorRoleNameAlreadyExists",
383
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
384
+ "type": "error"
385
+ },
386
+ {
387
+ "inputs": [
388
+ {
389
+ "internalType": "RoleId",
390
+ "name": "roleId",
391
+ "type": "uint64"
392
+ }
393
+ ],
394
+ "name": "ErrorAccessAdminRoleNameEmpty",
213
395
  "type": "error"
214
396
  },
215
397
  {
@@ -220,7 +402,7 @@
220
402
  "type": "uint64"
221
403
  }
222
404
  ],
223
- "name": "ErrorRoleNameEmpty",
405
+ "name": "ErrorAccessAdminRoleNotCustom",
224
406
  "type": "error"
225
407
  },
226
408
  {
@@ -231,12 +413,17 @@
231
413
  "type": "uint64"
232
414
  }
233
415
  ],
234
- "name": "ErrorRoleUnknown",
416
+ "name": "ErrorAccessAdminRoleUnknown",
417
+ "type": "error"
418
+ },
419
+ {
420
+ "inputs": [],
421
+ "name": "ErrorAccessAdminSelectorZero",
235
422
  "type": "error"
236
423
  },
237
424
  {
238
425
  "inputs": [],
239
- "name": "ErrorTagetNotLockable",
426
+ "name": "ErrorAccessAdminTagetNotLockable",
240
427
  "type": "error"
241
428
  },
242
429
  {
@@ -252,7 +439,7 @@
252
439
  "type": "string"
253
440
  }
254
441
  ],
255
- "name": "ErrorTargetAlreadyCreated",
442
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
256
443
  "type": "error"
257
444
  },
258
445
  {
@@ -268,7 +455,7 @@
268
455
  "type": "bool"
269
456
  }
270
457
  ],
271
- "name": "ErrorTargetAlreadyLocked",
458
+ "name": "ErrorAccessAdminTargetAlreadyLocked",
272
459
  "type": "error"
273
460
  },
274
461
  {
@@ -284,7 +471,7 @@
284
471
  "type": "address"
285
472
  }
286
473
  ],
287
- "name": "ErrorTargetAuthorityMismatch",
474
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
288
475
  "type": "error"
289
476
  },
290
477
  {
@@ -305,7 +492,40 @@
305
492
  "type": "address"
306
493
  }
307
494
  ],
308
- "name": "ErrorTargetNameAlreadyExists",
495
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
496
+ "type": "error"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "target",
503
+ "type": "address"
504
+ }
505
+ ],
506
+ "name": "ErrorAccessAdminTargetNameEmpty",
507
+ "type": "error"
508
+ },
509
+ {
510
+ "inputs": [
511
+ {
512
+ "internalType": "address",
513
+ "name": "target",
514
+ "type": "address"
515
+ }
516
+ ],
517
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
518
+ "type": "error"
519
+ },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "internalType": "address",
524
+ "name": "target",
525
+ "type": "address"
526
+ }
527
+ ],
528
+ "name": "ErrorAccessAdminTargetNotCreated",
309
529
  "type": "error"
310
530
  },
311
531
  {
@@ -316,7 +536,7 @@
316
536
  "type": "address"
317
537
  }
318
538
  ],
319
- "name": "ErrorTargetNameEmpty",
539
+ "name": "ErrorAccessAdminTargetNotRegistered",
320
540
  "type": "error"
321
541
  },
322
542
  {
@@ -325,9 +545,19 @@
325
545
  "internalType": "address",
326
546
  "name": "target",
327
547
  "type": "address"
548
+ },
549
+ {
550
+ "internalType": "ObjectType",
551
+ "name": "expectedType",
552
+ "type": "uint8"
553
+ },
554
+ {
555
+ "internalType": "ObjectType",
556
+ "name": "actualType",
557
+ "type": "uint8"
328
558
  }
329
559
  ],
330
- "name": "ErrorTargetNotAccessManaged",
560
+ "name": "ErrorAccessAdminTargetTypeMismatch",
331
561
  "type": "error"
332
562
  },
333
563
  {
@@ -338,7 +568,18 @@
338
568
  "type": "address"
339
569
  }
340
570
  ],
341
- "name": "ErrorTargetUnknown",
571
+ "name": "ErrorAccessAdminTargetUnknown",
572
+ "type": "error"
573
+ },
574
+ {
575
+ "inputs": [
576
+ {
577
+ "internalType": "address",
578
+ "name": "registryAddress",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "name": "ErrorNotRegistry",
342
583
  "type": "error"
343
584
  },
344
585
  {
@@ -387,29 +628,35 @@
387
628
  "inputs": [
388
629
  {
389
630
  "indexed": false,
390
- "internalType": "address",
391
- "name": "target",
392
- "type": "address"
631
+ "internalType": "string",
632
+ "name": "admin",
633
+ "type": "string"
393
634
  },
394
635
  {
395
636
  "indexed": false,
396
- "internalType": "Selector",
397
- "name": "selector",
398
- "type": "bytes4"
637
+ "internalType": "address",
638
+ "name": "target",
639
+ "type": "address"
399
640
  },
400
641
  {
401
642
  "indexed": false,
402
643
  "internalType": "string",
403
- "name": "name",
644
+ "name": "func",
404
645
  "type": "string"
405
646
  }
406
647
  ],
407
- "name": "LogFunctionCreated",
648
+ "name": "LogAccessAdminFunctionGranted",
408
649
  "type": "event"
409
650
  },
410
651
  {
411
652
  "anonymous": false,
412
653
  "inputs": [
654
+ {
655
+ "indexed": false,
656
+ "internalType": "string",
657
+ "name": "admin",
658
+ "type": "string"
659
+ },
413
660
  {
414
661
  "indexed": false,
415
662
  "internalType": "RoleId",
@@ -435,53 +682,95 @@
435
682
  "type": "string"
436
683
  }
437
684
  ],
438
- "name": "LogRoleCreated",
685
+ "name": "LogAccessAdminRoleCreated",
439
686
  "type": "event"
440
687
  },
441
688
  {
442
689
  "anonymous": false,
443
690
  "inputs": [
691
+ {
692
+ "indexed": false,
693
+ "internalType": "string",
694
+ "name": "admin",
695
+ "type": "string"
696
+ },
444
697
  {
445
698
  "indexed": false,
446
699
  "internalType": "address",
447
- "name": "target",
700
+ "name": "account",
448
701
  "type": "address"
449
702
  },
450
703
  {
451
704
  "indexed": false,
452
705
  "internalType": "string",
453
- "name": "name",
706
+ "name": "roleName",
454
707
  "type": "string"
455
708
  }
456
709
  ],
457
- "name": "LogTargetCreated",
710
+ "name": "LogAccessAdminRoleGranted",
458
711
  "type": "event"
459
712
  },
460
713
  {
461
- "inputs": [],
462
- "name": "ADMIN_ROLE_NAME",
463
- "outputs": [
714
+ "anonymous": false,
715
+ "inputs": [
464
716
  {
717
+ "indexed": false,
465
718
  "internalType": "string",
466
- "name": "",
719
+ "name": "admin",
467
720
  "type": "string"
468
- }
469
- ],
470
- "stateMutability": "view",
471
- "type": "function"
472
- },
473
- {
474
- "inputs": [],
475
- "name": "PUBLIC_ROLE_NAME",
476
- "outputs": [
721
+ },
722
+ {
723
+ "indexed": false,
724
+ "internalType": "address",
725
+ "name": "account",
726
+ "type": "address"
727
+ },
477
728
  {
729
+ "indexed": false,
478
730
  "internalType": "string",
479
- "name": "",
731
+ "name": "roleName",
480
732
  "type": "string"
481
733
  }
482
734
  ],
483
- "stateMutability": "view",
484
- "type": "function"
735
+ "name": "LogAccessAdminRoleRevoked",
736
+ "type": "event"
737
+ },
738
+ {
739
+ "anonymous": false,
740
+ "inputs": [
741
+ {
742
+ "indexed": false,
743
+ "internalType": "string",
744
+ "name": "admin",
745
+ "type": "string"
746
+ },
747
+ {
748
+ "indexed": false,
749
+ "internalType": "string",
750
+ "name": "name",
751
+ "type": "string"
752
+ },
753
+ {
754
+ "indexed": false,
755
+ "internalType": "bool",
756
+ "name": "managed",
757
+ "type": "bool"
758
+ },
759
+ {
760
+ "indexed": false,
761
+ "internalType": "address",
762
+ "name": "target",
763
+ "type": "address"
764
+ },
765
+ {
766
+ "indexed": false,
767
+ "internalType": "RoleId",
768
+ "name": "roleId",
769
+ "type": "uint64"
770
+ }
771
+ ],
772
+ "name": "LogAccessAdminTargetCreated",
773
+ "type": "event"
485
774
  },
486
775
  {
487
776
  "inputs": [],
@@ -516,29 +805,13 @@
516
805
  "type": "function"
517
806
  },
518
807
  {
519
- "inputs": [
520
- {
521
- "internalType": "address",
522
- "name": "caller",
523
- "type": "address"
524
- },
808
+ "inputs": [],
809
+ "name": "deployer",
810
+ "outputs": [
525
811
  {
526
812
  "internalType": "address",
527
- "name": "target",
813
+ "name": "",
528
814
  "type": "address"
529
- },
530
- {
531
- "internalType": "Selector",
532
- "name": "selector",
533
- "type": "bytes4"
534
- }
535
- ],
536
- "name": "canCall",
537
- "outputs": [
538
- {
539
- "internalType": "bool",
540
- "name": "can",
541
- "type": "bool"
542
815
  }
543
816
  ],
544
817
  "stateMutability": "view",
@@ -546,12 +819,12 @@
546
819
  },
547
820
  {
548
821
  "inputs": [],
549
- "name": "deployer",
822
+ "name": "getAdminRole",
550
823
  "outputs": [
551
824
  {
552
- "internalType": "address",
553
- "name": "",
554
- "type": "address"
825
+ "internalType": "RoleId",
826
+ "name": "roleId",
827
+ "type": "uint64"
555
828
  }
556
829
  ],
557
830
  "stateMutability": "view",
@@ -559,12 +832,12 @@
559
832
  },
560
833
  {
561
834
  "inputs": [],
562
- "name": "getAdminRole",
835
+ "name": "getAuthorization",
563
836
  "outputs": [
564
837
  {
565
- "internalType": "RoleId",
566
- "name": "roleId",
567
- "type": "uint64"
838
+ "internalType": "contract IAuthorization",
839
+ "name": "authorization",
840
+ "type": "address"
568
841
  }
569
842
  ],
570
843
  "stateMutability": "view",
@@ -616,6 +889,32 @@
616
889
  "stateMutability": "view",
617
890
  "type": "function"
618
891
  },
892
+ {
893
+ "inputs": [],
894
+ "name": "getLinkedNftId",
895
+ "outputs": [
896
+ {
897
+ "internalType": "NftId",
898
+ "name": "linkedNftId",
899
+ "type": "uint96"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [],
907
+ "name": "getLinkedOwner",
908
+ "outputs": [
909
+ {
910
+ "internalType": "address",
911
+ "name": "linkedOwner",
912
+ "type": "address"
913
+ }
914
+ ],
915
+ "stateMutability": "view",
916
+ "type": "function"
917
+ },
619
918
  {
620
919
  "inputs": [],
621
920
  "name": "getPublicRole",
@@ -629,32 +928,46 @@
629
928
  "stateMutability": "view",
630
929
  "type": "function"
631
930
  },
931
+ {
932
+ "inputs": [],
933
+ "name": "getRegistry",
934
+ "outputs": [
935
+ {
936
+ "internalType": "contract IRegistry",
937
+ "name": "registry",
938
+ "type": "address"
939
+ }
940
+ ],
941
+ "stateMutability": "view",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [],
946
+ "name": "getRelease",
947
+ "outputs": [
948
+ {
949
+ "internalType": "VersionPart",
950
+ "name": "release",
951
+ "type": "uint8"
952
+ }
953
+ ],
954
+ "stateMutability": "view",
955
+ "type": "function"
956
+ },
632
957
  {
633
958
  "inputs": [
634
959
  {
635
- "internalType": "Str",
960
+ "internalType": "string",
636
961
  "name": "name",
637
- "type": "bytes32"
962
+ "type": "string"
638
963
  }
639
964
  ],
640
965
  "name": "getRoleForName",
641
966
  "outputs": [
642
967
  {
643
- "components": [
644
- {
645
- "internalType": "RoleId",
646
- "name": "roleId",
647
- "type": "uint64"
648
- },
649
- {
650
- "internalType": "bool",
651
- "name": "exists",
652
- "type": "bool"
653
- }
654
- ],
655
- "internalType": "struct IAccess.RoleNameInfo",
656
- "name": "",
657
- "type": "tuple"
968
+ "internalType": "RoleId",
969
+ "name": "roleId",
970
+ "type": "uint64"
658
971
  }
659
972
  ],
660
973
  "stateMutability": "view",
@@ -706,11 +1019,6 @@
706
1019
  "name": "maxMemberCount",
707
1020
  "type": "uint32"
708
1021
  },
709
- {
710
- "internalType": "Str",
711
- "name": "name",
712
- "type": "bytes32"
713
- },
714
1022
  {
715
1023
  "internalType": "Timestamp",
716
1024
  "name": "createdAt",
@@ -720,6 +1028,11 @@
720
1028
  "internalType": "Timestamp",
721
1029
  "name": "pausedAt",
722
1030
  "type": "uint40"
1031
+ },
1032
+ {
1033
+ "internalType": "Str",
1034
+ "name": "name",
1035
+ "type": "bytes32"
723
1036
  }
724
1037
  ],
725
1038
  "internalType": "struct IAccess.RoleInfo",
@@ -810,9 +1123,14 @@
810
1123
  "type": "bytes32"
811
1124
  },
812
1125
  {
813
- "internalType": "bool",
814
- "name": "isCustom",
815
- "type": "bool"
1126
+ "internalType": "enum IAccess.TargetType",
1127
+ "name": "targetType",
1128
+ "type": "uint8"
1129
+ },
1130
+ {
1131
+ "internalType": "RoleId",
1132
+ "name": "roleId",
1133
+ "type": "uint64"
816
1134
  },
817
1135
  {
818
1136
  "internalType": "Timestamp",
@@ -832,20 +1150,59 @@
832
1150
  "inputs": [
833
1151
  {
834
1152
  "internalType": "address",
835
- "name": "account",
1153
+ "name": "authority",
836
1154
  "type": "address"
837
1155
  },
1156
+ {
1157
+ "internalType": "string",
1158
+ "name": "adminName",
1159
+ "type": "string"
1160
+ }
1161
+ ],
1162
+ "name": "initialize",
1163
+ "outputs": [],
1164
+ "stateMutability": "nonpayable",
1165
+ "type": "function"
1166
+ },
1167
+ {
1168
+ "inputs": [],
1169
+ "name": "isConsumingScheduledOp",
1170
+ "outputs": [
1171
+ {
1172
+ "internalType": "bytes4",
1173
+ "name": "",
1174
+ "type": "bytes4"
1175
+ }
1176
+ ],
1177
+ "stateMutability": "view",
1178
+ "type": "function"
1179
+ },
1180
+ {
1181
+ "inputs": [],
1182
+ "name": "isLocked",
1183
+ "outputs": [
1184
+ {
1185
+ "internalType": "bool",
1186
+ "name": "locked",
1187
+ "type": "bool"
1188
+ }
1189
+ ],
1190
+ "stateMutability": "view",
1191
+ "type": "function"
1192
+ },
1193
+ {
1194
+ "inputs": [
838
1195
  {
839
1196
  "internalType": "RoleId",
840
1197
  "name": "roleId",
841
1198
  "type": "uint64"
842
1199
  }
843
1200
  ],
844
- "name": "hasAdminRole",
1201
+ "name": "isRoleActive",
845
1202
  "outputs": [
846
1203
  {
847
1204
  "internalType": "bool",
848
- "name": "",
1205
+ "name": "isActive",
849
1206
  "type": "bool"
850
1207
  }
851
1208
  ],
@@ -854,22 +1211,41 @@
854
1211
  },
855
1212
  {
856
1213
  "inputs": [
1214
+ {
1215
+ "internalType": "RoleId",
1216
+ "name": "roleId",
1217
+ "type": "uint64"
1218
+ },
857
1219
  {
858
1220
  "internalType": "address",
859
1221
  "name": "account",
860
1222
  "type": "address"
861
- },
1223
+ }
1224
+ ],
1225
+ "name": "isRoleAdmin",
1226
+ "outputs": [
1227
+ {
1228
+ "internalType": "bool",
1229
+ "name": "",
1230
+ "type": "bool"
1231
+ }
1232
+ ],
1233
+ "stateMutability": "view",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [
862
1238
  {
863
1239
  "internalType": "RoleId",
864
1240
  "name": "roleId",
865
1241
  "type": "uint64"
866
1242
  }
867
1243
  ],
868
- "name": "hasRole",
1244
+ "name": "isRoleCustom",
869
1245
  "outputs": [
870
1246
  {
871
1247
  "internalType": "bool",
872
- "name": "",
1248
+ "name": "isActive",
873
1249
  "type": "bool"
874
1250
  }
875
1251
  ],
@@ -877,13 +1253,24 @@
877
1253
  "type": "function"
878
1254
  },
879
1255
  {
880
- "inputs": [],
881
- "name": "isConsumingScheduledOp",
1256
+ "inputs": [
1257
+ {
1258
+ "internalType": "RoleId",
1259
+ "name": "roleId",
1260
+ "type": "uint64"
1261
+ },
1262
+ {
1263
+ "internalType": "address",
1264
+ "name": "account",
1265
+ "type": "address"
1266
+ }
1267
+ ],
1268
+ "name": "isRoleMember",
882
1269
  "outputs": [
883
1270
  {
884
- "internalType": "bytes4",
1271
+ "internalType": "bool",
885
1272
  "name": "",
886
- "type": "bytes4"
1273
+ "type": "bool"
887
1274
  }
888
1275
  ],
889
1276
  "stateMutability": "view",
@@ -927,6 +1314,25 @@
927
1314
  "stateMutability": "view",
928
1315
  "type": "function"
929
1316
  },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "string",
1321
+ "name": "name",
1322
+ "type": "string"
1323
+ }
1324
+ ],
1325
+ "name": "roleExists",
1326
+ "outputs": [
1327
+ {
1328
+ "internalType": "bool",
1329
+ "name": "exists",
1330
+ "type": "bool"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "view",
1334
+ "type": "function"
1335
+ },
930
1336
  {
931
1337
  "inputs": [
932
1338
  {
@@ -1003,135 +1409,64 @@
1003
1409
  ],
1004
1410
  "stateMutability": "view",
1005
1411
  "type": "function"
1006
- },
1007
- {
1008
- "inputs": [
1412
+ }
1413
+ ],
1414
+ "bytecode": "0x6080604052348015600e575f80fd5b506127878061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806376b707b711610114578063b3ecf236116100a9578063d5f3948811610079578063d5f39488146104aa578063d78a83b1146104bb578063dd22b08a146104ce578063f399e22e146104d6578063f60458ba146104e9575f80fd5b8063b3ecf2361461045f578063bf7e214f14610467578063c6a0017914610484578063d00cce4114610497575f80fd5b806387c73e5a116100e457806387c73e5a146104105780638fb36037146104235780639cad005214610444578063a4e2d63414610457575f80fd5b806376b707b7146103c65780637a9e5e4b146103e05780637f0cf947146103f55780638308ceb114610408575f80fd5b80633fd855611161018a578063605aa10a1161015a578063605aa10a1461037c57806366c3bc951461038f5780636bd1c0eb146103a2578063728a61a8146103b3575f80fd5b80633fd8556114610316578063480cebd1146103415780635ab1bd53146103545780635bfa50271461035c575f80fd5b806326decd40116101c557806326decd40146102985780633406b152146102bb57806335471f80146102fb578063392f5f641461030e575f80fd5b806303014974146101f657806312e1ebc51461021c57806324913ce61461023c57806326d60fb414610290575b5f80fd5b610209610204366004611ef3565b610514565b6040519081526020015b60405180910390f35b61022f61022a366004611f22565b61053a565b6040516102139190611f51565b61024f61024a366004611fa0565b6105e6565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610213565b600a54610209565b6102ab6102a6366004611f22565b610876565b6040519015158152602001610213565b6102e36102c9366004611fca565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610213565b610209610309366004611f22565b610953565b600654610209565b610329610324366004611fca565b6109dd565b6040516001600160401b039091168152602001610213565b6102ab61034f366004611fe1565b610a1f565b6102e3610a4c565b61036f61036a366004611ef3565b610abc565b604051610213919061202c565b6102ab61038a366004611f22565b610b8f565b6102ab61039d366004611ef3565b610c06565b6002546001600160a01b03166102e3565b6102e36103c1366004611fca565b610cae565b6103ce610cdc565b60405160ff9091168152602001610213565b6103f36103ee366004611f22565b610d47565b005b6102ab610403366004611fe1565b610de8565b610329610e6e565b6102ab61041e366004611ef3565b610ed9565b61042b610f16565b6040516001600160e01b03199091168152602001610213565b610329610452366004612177565b610f4c565b6102ab610fe5565b610329611050565b5f80516020612732833981519152546001600160a01b03166102e3565b6102ab610492366004611ef3565b611097565b6102ab6104a5366004612177565b6110f8565b6003546001600160a01b03166102e3565b6102e36104c93660046121b0565b611312565b6102e3611333565b6103f36104e43660046121cc565b611393565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610213565b6001600160401b0381165f908152600760205260408120610534906114a1565b92915050565b60408051608080820183525f8083526020808401829052838501829052606084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff16600681111561059f5761059f611f3d565b60068111156105b0576105b0611f3d565b81526001919091015461010081046001600160401b03166020830152600160481b900464ffffffffff1660409091015292915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af415801561066e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106929190612223565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610774573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107989190612223565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086c919061223e565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e1919061226d565b80610534575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa15801561092f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610534919061226d565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612286565b5f600682815481106109f1576109f161229d565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600460205260408120549091610a45911683610de8565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122b1565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610b3457610b34611f3d565b6003811115610b4557610b45611f3d565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af415801561092f573d5f803e3d5ffd5b6001600160401b0381165f908152600460208181526040808420548151639fa6a6e360e01b8152915161053494600160901b90920464ffffffffff169373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__93639fa6a6e39381810193918290030181865af4158015610c7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9f91906122e0565b64ffffffffff90811691161190565b5f600a8281548110610cc257610cc261229d565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610d23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122f9565b33610d665f80516020612732833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610da65760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ddb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d9d565b610de4826114aa565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e65919061232c565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061223e565b5f60036001600160401b0383165f90815260046020526040902054600160401b900460ff166003811115610f0f57610f0f611f3d565b1492915050565b5f8051602061273283398151915280545f9190600160a01b900460ff16610f3d575f610f46565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f87919061238b565b602060405180830381865af4158015610fa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc69190612286565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa15801561102c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061226d565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b6001600160401b0381165f908152600460208190526040808320549051638d38cd4b60e01b8152600160681b90910464ffffffffff169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610beb565b5f73__$9a094f9b231ed0f5f85a69be8408d93180$__6321a496428361113a60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518363ffffffff1660e01b815260040161115792919061239d565b602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611196919061226d565b8061123a575073__$9a094f9b231ed0f5f85a69be8408d93180$__6321a49642836111de60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b6040518363ffffffff1660e01b81526004016111fb92919061239d565b602060405180830381865af4158015611216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123a919061226d565b1561124757506001919050565b60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401611281919061238b565b602060405180830381865af415801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190612286565b8152602081019190915260409081015f2054905163a42e52e960e01b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401610beb565b6001600160401b0382165f908152600760205260408120610a45908361150b565b5f61133c610a4c565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a93573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156113d75750825b90505f826001600160401b031660011480156113f25750303b155b905081158015611400575080155b1561141e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561144857845460ff60401b1916600160401b1785555b6114528787611516565b831561149857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610534825490565b5f8051602061273283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610a4583836117e6565b61151e61180c565b6003546001600160a01b031661154157600380546001600160a01b031916331790555b6003546001600160a01b0316331461156c5760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af41580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e6919061226d565b61160e5760405163a91c340960e01b81526001600160a01b0383166004820152602401610d9d565b80515f0361162f5760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015611680575f80fd5b505af1158015611692573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af41580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611710919061226d565b61173857604051637595cb1960e01b81526001600160a01b0383166004820152602401610d9d565b61174182611857565b5f61174c828261244e565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b89190612508565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610de461186b565b5f825f0182815481106117fb576117fb61229d565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661185557604051631afcd79f60e31b815260040160405180910390fd5b565b61185f61180c565b61186881611aa2565b50565b61187361180c565b61192d61187e611ab3565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a8196626118a0611ab3565b600260016118ca60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518563ffffffff1660e01b81526004016118e9949392919061252e565b60c060405180830381865af4158015611904573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119289190612572565b611b04565b611a463060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c2919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a28919061223e565b6001600160401b0316815260208101919091526040015f2090611e3f565b50611855611a52611e53565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a819662611a74611ab3565b600163ffffffff6118ca60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b611aaa61180c565b611868816114aa565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610eb5573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6f91906122e0565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af4158015611bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bed91906122e0565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836003811115611c5c57611c5c611f3d565b021790555060408281015182546060850151608086015164ffffffffff908116600160901b0264ffffffffff60901b1991909216600160681b0264ffffffffff60681b1963ffffffff909516600160481b029490941671ffffffffffffffffff0000000000000000001990931692909217929092171617825560a092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f908152600583528681209551865499511515600160401b0268ffffffffffffffffff19909a169086161798909817909455600680549687018155875260048087047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039098166008026101000a938402939094021990961691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c9594889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611ded92910190815260200190565b5f60405180830381865af4158015611e07573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2e91908101906125f5565b6040516114ff959493929190612669565b5f610a45836001600160a01b038416611e93565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401611ae9565b5f818152600183016020526040812054611ed857508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610534565b505f610534565b6001600160401b0381168114611868575f80fd5b5f60208284031215611f03575f80fd5b8135610a4581611edf565b6001600160a01b0381168114611868575f80fd5b5f60208284031215611f32575f80fd5b8135610a4581611f0e565b634e487b7160e01b5f52602160045260245ffd5b815181526020820151608082019060078110611f6f57611f6f611f3d565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215611fb1575f80fd5b8235611fbc81611f0e565b946020939093013593505050565b5f60208284031215611fda575f80fd5b5035919050565b5f8060408385031215611ff2575f80fd5b8235611ffd81611edf565b9150602083013561200d81611f0e565b809150509250929050565b6004811061202857612028611f3d565b9052565b81516001600160401b0316815260208083015160c083019161205090840182612018565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156120c9576120c9612093565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120f7576120f7612093565b604052919050565b5f6001600160401b0382111561211757612117612093565b50601f01601f191660200190565b5f82601f830112612134575f80fd5b8135612147612142826120ff565b6120cf565b81815284602083860101111561215b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612187575f80fd5b81356001600160401b0381111561219c575f80fd5b6121a884828501612125565b949350505050565b5f80604083850312156121c1575f80fd5b8235611fbc81611edf565b5f80604083850312156121dd575f80fd5b82356121e881611f0e565b915060208301356001600160401b03811115612202575f80fd5b61086c85828601612125565b6001600160e01b031981168114611868575f80fd5b5f60208284031215612233575f80fd5b8151610a458161220e565b5f6020828403121561224e575f80fd5b8151610a4581611edf565b80518015158114612268575f80fd5b919050565b5f6020828403121561227d575f80fd5b610a4582612259565b5f60208284031215612296575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156122c1575f80fd5b8151610a4581611f0e565b805164ffffffffff81168114612268575f80fd5b5f602082840312156122f0575f80fd5b610a45826122cc565b5f60208284031215612309575f80fd5b815160ff81168114610a45575f80fd5b805163ffffffff81168114612268575f80fd5b5f806040838503121561233d575f80fd5b61234683612259565b915061235460208401612319565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a45602083018461235d565b604081525f6123af604083018561235d565b82810360208401526123c1818561235d565b95945050505050565b600181811c908216806123de57607f821691505b6020821081036123fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561244957805f5260205f20601f840160051c810160208510156124275750805b601f840160051c820191505b81811015612446575f8155600101612433565b50505b505050565b81516001600160401b0381111561246757612467612093565b61247b8161247584546123ca565b84612402565b6020601f8211600181146124ad575f83156124965750848201515b5f19600385901b1c1916600184901b178455612446565b5f84815260208120601f198516915b828110156124dc57878501518255602094850194600190920191016124bc565b50848210156124f957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612518575f80fd5b81516001600160601b0381168114610a45575f80fd5b6001600160401b03851681526125476020820185612018565b63ffffffff83166040820152608060608201525f612568608083018461235d565b9695505050505050565b5f60c0828403128015612583575f80fd5b5061258c6120a7565b825161259781611edf565b81526020830151600481106125aa575f80fd5b60208201526125bb60408401612319565b60408201526125cc606084016122cc565b60608201526125dd608084016122cc565b608082015260a0928301519281019290925250919050565b5f60208284031215612605575f80fd5b81516001600160401b0381111561261a575f80fd5b8201601f8101841361262a575f80fd5b8051612638612142826120ff565b81815285602083850101111561264c575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461267a816123ca565b8060a0860152600182165f811461269857600181146126b4576126e5565b60ff19831660c087015260c082151560051b87010193506126e5565b8a5f5260205f205f5b838110156126dc57815488820160c001526001909101906020016126bd565b870160c0019450505b5050506001600160401b03871660208401526127046040840187612018565b6001600160401b03851660608401528281036080840152612725818561235d565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212203c138921a533fadfefb69aa7318e49743f70d7350f72d2018d0a94fed029f4e964736f6c634300081a0033",
1415
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806376b707b711610114578063b3ecf236116100a9578063d5f3948811610079578063d5f39488146104aa578063d78a83b1146104bb578063dd22b08a146104ce578063f399e22e146104d6578063f60458ba146104e9575f80fd5b8063b3ecf2361461045f578063bf7e214f14610467578063c6a0017914610484578063d00cce4114610497575f80fd5b806387c73e5a116100e457806387c73e5a146104105780638fb36037146104235780639cad005214610444578063a4e2d63414610457575f80fd5b806376b707b7146103c65780637a9e5e4b146103e05780637f0cf947146103f55780638308ceb114610408575f80fd5b80633fd855611161018a578063605aa10a1161015a578063605aa10a1461037c57806366c3bc951461038f5780636bd1c0eb146103a2578063728a61a8146103b3575f80fd5b80633fd8556114610316578063480cebd1146103415780635ab1bd53146103545780635bfa50271461035c575f80fd5b806326decd40116101c557806326decd40146102985780633406b152146102bb57806335471f80146102fb578063392f5f641461030e575f80fd5b806303014974146101f657806312e1ebc51461021c57806324913ce61461023c57806326d60fb414610290575b5f80fd5b610209610204366004611ef3565b610514565b6040519081526020015b60405180910390f35b61022f61022a366004611f22565b61053a565b6040516102139190611f51565b61024f61024a366004611fa0565b6105e6565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b03166060820152608001610213565b600a54610209565b6102ab6102a6366004611f22565b610876565b6040519015158152602001610213565b6102e36102c9366004611fca565b5f908152600960205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610213565b610209610309366004611f22565b610953565b600654610209565b610329610324366004611fca565b6109dd565b6040516001600160401b039091168152602001610213565b6102ab61034f366004611fe1565b610a1f565b6102e3610a4c565b61036f61036a366004611ef3565b610abc565b604051610213919061202c565b6102ab61038a366004611f22565b610b8f565b6102ab61039d366004611ef3565b610c06565b6002546001600160a01b03166102e3565b6102e36103c1366004611fca565b610cae565b6103ce610cdc565b60405160ff9091168152602001610213565b6103f36103ee366004611f22565b610d47565b005b6102ab610403366004611fe1565b610de8565b610329610e6e565b6102ab61041e366004611ef3565b610ed9565b61042b610f16565b6040516001600160e01b03199091168152602001610213565b610329610452366004612177565b610f4c565b6102ab610fe5565b610329611050565b5f80516020612732833981519152546001600160a01b03166102e3565b6102ab610492366004611ef3565b611097565b6102ab6104a5366004612177565b6110f8565b6003546001600160a01b03166102e3565b6102e36104c93660046121b0565b611312565b6102e3611333565b6103f36104e43660046121cc565b611393565b600354600160a01b90046001600160601b03166040516001600160601b039091168152602001610213565b6001600160401b0381165f908152600760205260408120610534906114a1565b92915050565b60408051608080820183525f8083526020808401829052838501829052606084018290526001600160a01b038616825260088152908490208451928301909452835482526001840154929391929083019060ff16600681111561059f5761059f611f3d565b60068111156105b0576105b0611f3d565b81526001919091015461010081046001600160401b03166020830152600160481b900464ffffffffff1660409091015292915050565b604080516060810182525f80825260208083018290528284018290526001600160a01b0386168252600b9052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af415801561066e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106929190612223565b6001600160a01b038681165f908152600c602090815260408083206001600160e01b03198681168086529184529382902082516060810184528154815260019182015460e081901b9096169481019490945264010000000090940464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__926368aebf7b921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610774573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107989190612223565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610848573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086c919061223e565b9150509250929050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa1580156108bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e1919061226d565b80610534575060015460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa15801561092f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610534919061226d565b6001600160a01b0381165f908152600b6020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af41580156109b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105349190612286565b5f600682815481106109f1576109f161229d565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6001600160401b038083165f908152600460205260408120549091610a45911683610de8565b9392505050565b60015460408051635ab1bd5360e01b815290515f926001600160a01b031691635ab1bd539160048083019260209291908290030181865afa158015610a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122b1565b905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600482529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610b3457610b34611f3d565b6003811115610b4557610b45611f3d565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b6001600160a01b0381165f90815260086020526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af415801561092f573d5f803e3d5ffd5b6001600160401b0381165f908152600460208181526040808420548151639fa6a6e360e01b8152915161053494600160901b90920464ffffffffff169373__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__93639fa6a6e39381810193918290030181865af4158015610c7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9f91906122e0565b64ffffffffff90811691161190565b5f600a8281548110610cc257610cc261229d565b5f918252602090912001546001600160a01b031692915050565b600154604080516376b707b760e01b815290515f926001600160a01b0316916376b707b79160048083019260209291908290030181865afa158015610d23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab791906122f9565b33610d665f80516020612732833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610da65760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610ddb576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d9d565b610de4826114aa565b5050565b6001546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0383811660248301525f92839291169063d1f856ee906044016040805180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e65919061232c565b50949350505050565b60015460408051631e53e01560e11b815290515f926001600160a01b031691633ca7c02a9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061223e565b5f60036001600160401b0383165f90815260046020526040902054600160401b900460ff166003811115610f0f57610f0f611f3d565b1492915050565b5f8051602061273283398151915280545f9190600160a01b900460ff16610f3d575f610f46565b638fb3603760e01b5b91505090565b5f60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f87919061238b565b602060405180830381865af4158015610fa2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc69190612286565b815260208101919091526040015f20546001600160401b031692915050565b60015460408051632938b58d60e21b815290515f926001600160a01b03169163a4e2d6349160048083019260209291908290030181865afa15801561102c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab7919061226d565b60015460408051631d6c8e3f60e21b815290515f926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa158015610eb5573d5f803e3d5ffd5b6001600160401b0381165f908152600460208190526040808320549051638d38cd4b60e01b8152600160681b90910464ffffffffff169181019190915273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610beb565b5f73__$9a094f9b231ed0f5f85a69be8408d93180$__6321a496428361113a60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518363ffffffff1660e01b815260040161115792919061239d565b602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611196919061226d565b8061123a575073__$9a094f9b231ed0f5f85a69be8408d93180$__6321a49642836111de60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b6040518363ffffffff1660e01b81526004016111fb92919061239d565b602060405180830381865af4158015611216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123a919061226d565b1561124757506001919050565b60055f73__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401611281919061238b565b602060405180830381865af415801561129c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c09190612286565b8152602081019190915260409081015f2054905163a42e52e960e01b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401610beb565b6001600160401b0382165f908152600760205260408120610a45908361150b565b5f61133c610a4c565b600354604051631c5da14d60e11b8152600160a01b9091046001600160601b031660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a93573d5f803e3d5ffd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156113d75750825b90505f826001600160401b031660011480156113f25750303b155b905081158015611400575080155b1561141e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561144857845460ff60401b1916600160401b1785555b6114528787611516565b831561149857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b5f610534825490565b5f8051602061273283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f610a4583836117e6565b61151e61180c565b6003546001600160a01b031661154157600380546001600160a01b031916331790555b6003546001600160a01b0316331461156c5760405163410f583d60e11b815260040160405180910390fd5b604051631627905560e01b81526001600160a01b038316600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90631627905590602401602060405180830381865af41580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e6919061226d565b61160e5760405163a91c340960e01b81526001600160a01b0383166004820152602401610d9d565b80515f0361162f5760405163ea69a8ad60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03841690811790915560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015611680575f80fd5b505af1158015611692573d5f803e3d5ffd5b5050604051632330f24760e01b81526001600160a01b038516600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9250632330f2479150602401602060405180830381865af41580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611710919061226d565b61173857604051637595cb1960e01b81526001600160a01b0383166004820152602401610d9d565b61174182611857565b5f61174c828261244e565b5073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b89190612508565b600360146101000a8154816001600160601b0302191690836001600160601b03160217905550610de461186b565b5f825f0182815481106117fb576117fb61229d565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661185557604051631afcd79f60e31b815260040160405180910390fd5b565b61185f61180c565b61186881611aa2565b50565b61187361180c565b61192d61187e611ab3565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a8196626118a0611ab3565b600260016118ca60408051808201909152600981526841646d696e526f6c6560b81b602082015290565b6040518563ffffffff1660e01b81526004016118e9949392919061252e565b60c060405180830381865af4158015611904573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119289190612572565b611b04565b611a463060075f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b60015f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c2919061223e565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a28919061223e565b6001600160401b0316815260208101919091526040015f2090611e3f565b50611855611a52611e53565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__635a819662611a74611ab3565b600163ffffffff6118ca60408051808201909152600a8152695075626c6963526f6c6560b01b602082015290565b611aaa61180c565b611868816114aa565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610eb5573d5f803e3d5ffd5b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6f91906122e0565b64ffffffffff16606082015260408051636ac5db1960e01b8152905173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__91636ac5db199160048083019260209291908290030181865af4158015611bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bed91906122e0565b64ffffffffff1660808201526001600160401b038083165f90815260046020908152604090912083518154931667ffffffffffffffff1984168117825591840151849391929091839168ffffffffffffffffff1990911617600160401b836003811115611c5c57611c5c611f3d565b021790555060408281015182546060850151608086015164ffffffffff908116600160901b0264ffffffffff60901b1991909216600160681b0264ffffffffff60681b1963ffffffff909516600160481b029490941671ffffffffffffffffff0000000000000000001990931692909217929092171617825560a092830151600192830155805180820182526001600160401b03808716808352602080840186815296880180515f908152600583528681209551865499511515600160401b0268ffffffffffffffffff19909a169086161798909817909455600680549687018155875260048087047ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805460039098166008026101000a938402939094021990961691909117909155850151855191519251631623433d60e31b81527f089dc3e37715ee5f5f527a09ca053081e6a74ab2cde2b4471c37f8b9b81af45c9594889492939273__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e892611ded92910190815260200190565b5f60405180830381865af4158015611e07573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e2e91908101906125f5565b6040516114ff959493929190612669565b5f610a45836001600160a01b038416611e93565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401611ae9565b5f818152600183016020526040812054611ed857508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610534565b505f610534565b6001600160401b0381168114611868575f80fd5b5f60208284031215611f03575f80fd5b8135610a4581611edf565b6001600160a01b0381168114611868575f80fd5b5f60208284031215611f32575f80fd5b8135610a4581611f0e565b634e487b7160e01b5f52602160045260245ffd5b815181526020820151608082019060078110611f6f57611f6f611f3d565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215611fb1575f80fd5b8235611fbc81611f0e565b946020939093013593505050565b5f60208284031215611fda575f80fd5b5035919050565b5f8060408385031215611ff2575f80fd5b8235611ffd81611edf565b9150602083013561200d81611f0e565b809150509250929050565b6004811061202857612028611f3d565b9052565b81516001600160401b0316815260208083015160c083019161205090840182612018565b5063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156120c9576120c9612093565b60405290565b604051601f8201601f191681016001600160401b03811182821017156120f7576120f7612093565b604052919050565b5f6001600160401b0382111561211757612117612093565b50601f01601f191660200190565b5f82601f830112612134575f80fd5b8135612147612142826120ff565b6120cf565b81815284602083860101111561215b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612187575f80fd5b81356001600160401b0381111561219c575f80fd5b6121a884828501612125565b949350505050565b5f80604083850312156121c1575f80fd5b8235611fbc81611edf565b5f80604083850312156121dd575f80fd5b82356121e881611f0e565b915060208301356001600160401b03811115612202575f80fd5b61086c85828601612125565b6001600160e01b031981168114611868575f80fd5b5f60208284031215612233575f80fd5b8151610a458161220e565b5f6020828403121561224e575f80fd5b8151610a4581611edf565b80518015158114612268575f80fd5b919050565b5f6020828403121561227d575f80fd5b610a4582612259565b5f60208284031215612296575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156122c1575f80fd5b8151610a4581611f0e565b805164ffffffffff81168114612268575f80fd5b5f602082840312156122f0575f80fd5b610a45826122cc565b5f60208284031215612309575f80fd5b815160ff81168114610a45575f80fd5b805163ffffffff81168114612268575f80fd5b5f806040838503121561233d575f80fd5b61234683612259565b915061235460208401612319565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a45602083018461235d565b604081525f6123af604083018561235d565b82810360208401526123c1818561235d565b95945050505050565b600181811c908216806123de57607f821691505b6020821081036123fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561244957805f5260205f20601f840160051c810160208510156124275750805b601f840160051c820191505b81811015612446575f8155600101612433565b50505b505050565b81516001600160401b0381111561246757612467612093565b61247b8161247584546123ca565b84612402565b6020601f8211600181146124ad575f83156124965750848201515b5f19600385901b1c1916600184901b178455612446565b5f84815260208120601f198516915b828110156124dc57878501518255602094850194600190920191016124bc565b50848210156124f957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612518575f80fd5b81516001600160601b0381168114610a45575f80fd5b6001600160401b03851681526125476020820185612018565b63ffffffff83166040820152608060608201525f612568608083018461235d565b9695505050505050565b5f60c0828403128015612583575f80fd5b5061258c6120a7565b825161259781611edf565b81526020830151600481106125aa575f80fd5b60208201526125bb60408401612319565b60408201526125cc606084016122cc565b60608201526125dd608084016122cc565b608082015260a0928301519281019290925250919050565b5f60208284031215612605575f80fd5b81516001600160401b0381111561261a575f80fd5b8201601f8101841361262a575f80fd5b8051612638612142826120ff565b81815285602083850101111561264c575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b60a081525f80875461267a816123ca565b8060a0860152600182165f811461269857600181146126b4576126e5565b60ff19831660c087015260c082151560051b87010193506126e5565b8a5f5260205f205f5b838110156126dc57815488820160c001526001909101906020016126bd565b870160c0019450505b5050506001600160401b03871660208401526127046040840187612018565b6001600160401b03851660608401528281036080840152612725818561235d565b9897505050505050505056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212203c138921a533fadfefb69aa7318e49743f70d7350f72d2018d0a94fed029f4e964736f6c634300081a0033",
1416
+ "linkReferences": {
1417
+ "contracts/authorization/AccessAdminLib.sol": {
1418
+ "AccessAdminLib": [
1009
1419
  {
1010
- "internalType": "bytes4",
1011
- "name": "selector",
1012
- "type": "bytes4"
1420
+ "length": 20,
1421
+ "start": 6300
1013
1422
  },
1014
1423
  {
1015
- "internalType": "string",
1016
- "name": "name",
1017
- "type": "string"
1018
- }
1019
- ],
1020
- "name": "toFunction",
1021
- "outputs": [
1022
- {
1023
- "components": [
1024
- {
1025
- "internalType": "Str",
1026
- "name": "name",
1027
- "type": "bytes32"
1028
- },
1029
- {
1030
- "internalType": "Selector",
1031
- "name": "selector",
1032
- "type": "bytes4"
1033
- },
1034
- {
1035
- "internalType": "Timestamp",
1036
- "name": "createdAt",
1037
- "type": "uint40"
1038
- }
1039
- ],
1040
- "internalType": "struct IAccess.FunctionInfo",
1041
- "name": "",
1042
- "type": "tuple"
1424
+ "length": 20,
1425
+ "start": 6768
1043
1426
  }
1044
- ],
1045
- "stateMutability": "view",
1046
- "type": "function"
1427
+ ]
1047
1428
  },
1048
- {
1049
- "inputs": [
1429
+ "contracts/shared/ContractLib.sol": {
1430
+ "ContractLib": [
1050
1431
  {
1051
- "internalType": "RoleId",
1052
- "name": "adminRoleId",
1053
- "type": "uint64"
1054
- },
1055
- {
1056
- "internalType": "enum IAccess.RoleType",
1057
- "name": "roleType",
1058
- "type": "uint8"
1059
- },
1060
- {
1061
- "internalType": "uint32",
1062
- "name": "maxMemberCount",
1063
- "type": "uint32"
1432
+ "length": 20,
1433
+ "start": 5542
1064
1434
  },
1065
1435
  {
1066
- "internalType": "string",
1067
- "name": "name",
1068
- "type": "string"
1436
+ "length": 20,
1437
+ "start": 5838
1069
1438
  }
1070
- ],
1071
- "name": "toRole",
1072
- "outputs": [
1439
+ ]
1440
+ },
1441
+ "contracts/type/NftId.sol": {
1442
+ "NftIdLib": [
1073
1443
  {
1074
- "components": [
1075
- {
1076
- "internalType": "RoleId",
1077
- "name": "adminRoleId",
1078
- "type": "uint64"
1079
- },
1080
- {
1081
- "internalType": "enum IAccess.RoleType",
1082
- "name": "roleType",
1083
- "type": "uint8"
1084
- },
1085
- {
1086
- "internalType": "uint32",
1087
- "name": "maxMemberCount",
1088
- "type": "uint32"
1089
- },
1090
- {
1091
- "internalType": "Str",
1092
- "name": "name",
1093
- "type": "bytes32"
1094
- },
1095
- {
1096
- "internalType": "Timestamp",
1097
- "name": "createdAt",
1098
- "type": "uint40"
1099
- },
1100
- {
1101
- "internalType": "Timestamp",
1102
- "name": "pausedAt",
1103
- "type": "uint40"
1104
- }
1105
- ],
1106
- "internalType": "struct IAccess.RoleInfo",
1107
- "name": "",
1108
- "type": "tuple"
1444
+ "length": 20,
1445
+ "start": 5995
1109
1446
  }
1110
- ],
1111
- "stateMutability": "view",
1112
- "type": "function"
1113
- }
1114
- ],
1115
- "bytecode": "0x608060405234801561000f575f80fd5b50600180546001600160a01b0319163317905560405161002e906108a8565b604051809103905ff080158015610047573d5f803e3d5ffd5b505f80546001600160a01b0319166001600160a01b0392909216918217905560405163189acdbd60e31b815230600482015263c4d66de8906024015f604051808303815f87803b158015610099575f80fd5b505af11580156100ab573d5f803e3d5ffd5b50505f546100c492506001600160a01b031690506100d1565b6100cc610145565b610a9c565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__637c3940bf5f8054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d291906108c9565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af4158015610214573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061023891906108c9565b90506102856102456102f5565b6102806102506102f5565b6001806040518060400160405280600981526020016841646d696e526f6c6560b81b81525061036f60201b60201c565b61054c565b6001600160401b0381165f9081526005602052604090206102a690306107ff565b506102f26102b261081c565b6102806102bd6102f5565b600263ffffffff6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525061036f60201b60201c565b50565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610346573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036a91906108c9565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b031681526020018560038111156103cc576103cc6108eb565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610414919061092d565b602060405180830381865af415801561042f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610453919061093f565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561049f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c39190610956565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610516573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053a9190610956565b64ffffffffff16905295945050505050565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b79190610956565b64ffffffffff1660808201526001600160401b038083165f9081526002602090815260409091208351815493166001600160401b03198416811782559184015184939192909183916001600160481b03199091161768010000000000000000836003811115610628576106286108eb565b0217905550604082810151825463ffffffff90911669010000000000000000000263ffffffff60481b1990911617825560608084015160018085019190915560808501516002909401805460a09096015164ffffffffff90811665010000000000026001600160501b031990971695169490941794909417909255805180820182526001600160401b03808716808352602080840187815295880180515f9081526003808452878220965187549951151568010000000000000000026001600160481b0319909a169087161798909817909555600480549889018155948590528488047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b018054989097166008026101000a92830292909302199096161790935592840151845192519151631623433d60e31b81527f450614a3feeef5c4e204a5b960f0b368083de37223fc452a8b3c2cb93d075a05948794929373__$9a094f9b231ed0f5f85a69be8408d93180$__9263b11a19e8926107ae92910190815260200190565b5f60405180830381865af41580156107c8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ef919081019061098e565b6040516101399493929190610a3e565b5f610813836001600160a01b03841661085c565b90505b92915050565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240161032b565b5f8181526001830160205260408120546108a157508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610816565b505f610816565b612bbd8061227c83390190565b6001600160401b03811681146102f2575f80fd5b5f602082840312156108d9575f80fd5b81516108e4816108b5565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61081360208301846108ff565b5f6020828403121561094f575f80fd5b5051919050565b5f60208284031215610966575f80fd5b815164ffffffffff811681146108e4575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f6020828403121561099e575f80fd5b81516001600160401b038111156109b3575f80fd5b8201601f810184136109c3575f80fd5b80516001600160401b038111156109dc576109dc61097a565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610a0a57610a0a61097a565b604052818152828201602001861015610a21575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b6001600160401b03851681525f60048510610a6757634e487b7160e01b5f52602160045260245ffd5b602082018590526001600160401b0384166040830152608060608301819052610a92908301846108ff565b9695505050505050565b6117d380610aa95f395ff3fe608060405234801561000f575f80fd5b50600436106101bb575f3560e01c8063728a61a8116100f3578063bc62a0a511610093578063c6a001791161006e578063c6a0017914610566578063cd55e51b14610579578063d5f394881461058c578063d78a83b11461059d575f80fd5b8063bc62a0a5146104eb578063bcfb11b014610520578063bf7e214f14610549575f80fd5b80638fb36037116100ce5780638fb360371461042e57806392bdd9bd1461044f578063b3ecf236146104d0578063b7009613146104d8575f80fd5b8063728a61a8146103fe5780637a9e5e4b146104115780638308ceb114610426575f80fd5b806335471f801161015e5780635bfa5027116101395780635bfa5027146103a55780635cb870b1146103c5578063605aa10a146103d857806364fc3142146103eb575f80fd5b806335471f801461035f578063392f5f64146103725780633fd855611461037a575f80fd5b806324913ce61161019957806324913ce6146102a057806326d60fb4146102f457806326decd40146102fc5780633406b1521461031f575f80fd5b806303014974146101bf57806312e1ebc5146101e557806315fb0abb14610280575b5f80fd5b6101d26101cd3660046112f9565b6105b0565b6040519081526020015b60405180910390f35b6102556101f336600461132f565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101dc565b61029361028e3660046113fa565b6105d6565b6040516101dc919061143c565b6102b36102ae36600461146e565b610779565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101dc565b6008546101d2565b61030f61030a36600461132f565b610a07565b60405190151581526020016101dc565b61034761032d366004611496565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101dc565b6101d261036d36600461132f565b610a73565b6004546101d2565b61038d610388366004611496565b610afd565b6040516001600160401b0390911681526020016101dc565b6103b86103b33660046112f9565b610b3f565b6040516101dc91906114c1565b6103b86103d336600461155e565b610c19565b61030f6103e636600461132f565b610df6565b61030f6103f93660046115d1565b610e6b565b61034761040c366004611496565b610eee565b61042461041f36600461132f565b610f1c565b005b61038d610fbd565b610436611036565b6040516001600160e01b031990911681526020016101dc565b6104aa61045d366004611496565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101dc565b61038d61106c565b61030f6104e6366004611606565b6110bc565b6105136040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101dc9190611678565b6105136040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f8051602061177e833981519152546001600160a01b0316610347565b61030f6105743660046112f9565b6111a2565b61030f6105873660046115d1565b6111fe565b6001546001600160a01b0316610347565b6103476105ab36600461168a565b61122c565b6001600160401b0381165f9081526005602052604081206105d09061124d565b92915050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961062d8660648501611678565b602060405180830381865af4158015610648573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066c91906116a6565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156106cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ef91906116bd565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610745573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076991906116d8565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610801573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082591906116bd565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610905573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092991906116bd565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610973573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099791906116fc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156109d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fd91906116fc565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610a4f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d09190611726565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610ad9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d091906116a6565b5f60048281548110610b1157610b1161173f565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610bb757610bb76114ad565b6003811115610bc857610bc86114ad565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610c7657610c766114ad565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610cbe9190611678565b602060405180830381865af4158015610cd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfd91906116a6565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610d49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6d91906116d8565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610dc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de491906116d8565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610a4f573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610ec1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ee59190611753565b50949350505050565b5f60088281548110610f0257610f0261173f565b5f918252602090912001546001600160a01b031692915050565b33610f3b5f8051602061177e833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610f7b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610fb0576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f72565b610fb982611256565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103191906116fc565b905090565b5f8051602061177e83398151915280545f9190600160a01b900460ff1661105d575f611066565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561112c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115091906116bd565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610ec1573d5f803e3d5ffd5b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610e50565b6001600160401b038082165f90815260026020526040812054909161122591859116610e6b565b9392505050565b6001600160401b0382165f90815260056020526040812061122590836112b6565b5f6105d0825490565b5f8051602061177e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61122583835f825f0182815481106112d1576112d161173f565b905f5260205f200154905092915050565b6001600160401b03811681146112f6575f80fd5b50565b5f60208284031215611309575f80fd5b8135611225816112e2565b80356001600160a01b038116811461132a575f80fd5b919050565b5f6020828403121561133f575f80fd5b61122582611314565b6001600160e01b0319811681146112f6575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611380575f80fd5b81356001600160401b038111156113995761139961135d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156113c7576113c761135d565b6040528181528382016020018510156113de575f80fd5b816020850160208301375f918101602001919091529392505050565b5f806040838503121561140b575f80fd5b823561141681611348565b915060208301356001600160401b03811115611430575f80fd5b6109fd85828601611371565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105d0565b5f806040838503121561147f575f80fd5b61148883611314565b946020939093013593505050565b5f602082840312156114a6575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c0820190600481106114f457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff604084015116604083015260608301516060830152608083015161152d608084018264ffffffffff169052565b5060a083015161154660a084018264ffffffffff169052565b5092915050565b63ffffffff811681146112f6575f80fd5b5f805f8060808587031215611571575f80fd5b843561157c816112e2565b935060208501356004811061158f575f80fd5b9250604085013561159f8161154d565b915060608501356001600160401b038111156115b9575f80fd5b6115c587828801611371565b91505092959194509250565b5f80604083850312156115e2575f80fd5b6115eb83611314565b915060208301356115fb816112e2565b809150509250929050565b5f805f60608486031215611618575f80fd5b61162184611314565b925061162f60208501611314565b9150604084013561163f81611348565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611225602083018461164a565b5f806040838503121561169b575f80fd5b8235611488816112e2565b5f602082840312156116b6575f80fd5b5051919050565b5f602082840312156116cd575f80fd5b815161122581611348565b5f602082840312156116e8575f80fd5b815164ffffffffff81168114611225575f80fd5b5f6020828403121561170c575f80fd5b8151611225816112e2565b8051801515811461132a575f80fd5b5f60208284031215611736575f80fd5b61122582611717565b634e487b7160e01b5f52603260045260245ffd5b5f8060408385031215611764575f80fd5b61176d83611717565b915060208301516115fb8161154d56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b49ed8f55e6f872e4265c58e2aea45d046a06457ae925ad3de803a56ac6a78a164736f6c634300081a00336080604052348015600e575f80fd5b50612ba18061001c5f395ff3fe6080604052600436106101e6575f3560e01c80636d5115bd11610108578063b70096131161009d578063d1f856ee1161006d578063d1f856ee146105e9578063d22b598914610608578063d6bb62c614610627578063f801a69814610646578063fe0776f51461067f575f80fd5b8063b70096131461055b578063b7d2b16214610596578063c4d66de8146105b5578063cc1b6c81146105d4575f80fd5b8063a166aa89116100d8578063a166aa89146104b4578063a64d95ce146104e3578063abd9bd2a14610502578063ac9650d81461052f575f80fd5b80636d5115bd1461044457806375b238fc14610463578063853551b81461047657806394c7d7ee14610495575f80fd5b806330cae1871161017e5780634665096d1161014e5780634665096d146103d25780634c1da1e2146103e75780635296295214610406578063530dd45614610425575f80fd5b806330cae187146103445780633adc277a146103635780633ca7c02a146103995780634136a33c146103b3575f80fd5b806318ff183c116101b957806318ff183c1461029a5780631cff79cd146102b957806325c471a0146102cc5780633078f114146102eb575f80fd5b806308d6122d146101ea5780630b0a93ba1461020b57806312be872714610247578063167bd3951461027b575b5f80fd5b3480156101f5575f80fd5b50610209610204366004612483565b61069e565b005b348015610216575f80fd5b5061022a6102253660046124e5565b6106f0565b6040516001600160401b0390911681526020015b60405180910390f35b348015610252575f80fd5b506102666102613660046124e5565b610727565b60405163ffffffff909116815260200161023e565b348015610286575f80fd5b506102096102953660046124fe565b610771565b3480156102a5575f80fd5b506102096102b4366004612539565b610787565b6102666102c73660046125a2565b6107e9565b3480156102d7575f80fd5b506102096102e6366004612605565b61092a565b3480156102f6575f80fd5b5061030a610305366004612647565b61094c565b60405161023e949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561034f575f80fd5b5061020961035e366004612661565b6109bf565b34801561036e575f80fd5b5061038261037d366004612692565b6109d1565b60405165ffffffffffff909116815260200161023e565b3480156103a4575f80fd5b5061022a6001600160401b0381565b3480156103be575f80fd5b506102666103cd366004612692565b610a13565b3480156103dd575f80fd5b5062093a80610266565b3480156103f2575f80fd5b506102666104013660046126a9565b610a3e565b348015610411575f80fd5b50610209610420366004612661565b610a78565b348015610430575f80fd5b5061022a61043f3660046124e5565b610a8a565b34801561044f575f80fd5b5061022a61045e3660046126d9565b610aba565b34801561046e575f80fd5b5061022a5f81565b348015610481575f80fd5b50610209610490366004612705565b610b01565b3480156104a0575f80fd5b506102096104af3660046125a2565b610b98565b3480156104bf575f80fd5b506104d36104ce3660046126a9565b610c42565b604051901515815260200161023e565b3480156104ee575f80fd5b506102096104fd366004612720565b610c79565b34801561050d575f80fd5b5061052161051c366004612748565b610c8b565b60405190815260200161023e565b34801561053a575f80fd5b5061054e6105493660046127a8565b610cc3565b60405161023e91906127e6565b348015610566575f80fd5b5061057a61057536600461286a565b610da8565b60408051921515835263ffffffff90911660208301520161023e565b3480156105a1575f80fd5b506102096105b0366004612647565b610e29565b3480156105c0575f80fd5b506102096105cf3660046126a9565b610e40565b3480156105df575f80fd5b5062069780610266565b3480156105f4575f80fd5b5061057a610603366004612647565b610f4b565b348015610613575f80fd5b506102096106223660046128b2565b610fc4565b348015610632575f80fd5b50610266610641366004612748565b610fd6565b348015610651575f80fd5b506106656106603660046128ce565b611139565b6040805192835263ffffffff90911660208301520161023e565b34801561068a575f80fd5b50610209610699366004612647565b6112d5565b6106a66112fe565b5f5b828110156106e9576106e1858585848181106106c6576106c661293b565b90506020020160208101906106db919061294f565b84611375565b6001016106a8565b5050505050565b5f806106fa611401565b6001600160401b039384165f9081526001918201602052604090200154600160401b900490921692915050565b5f80610731611401565b6001600160401b0384165f90815260018281016020526040909120015490915061076a90600160801b90046001600160701b0316611425565b9392505050565b6107796112fe565b6107838282611443565b5050565b61078f6112fe565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b906024015f604051808303815f87803b1580156107cf575f80fd5b505af11580156107e1573d5f803e3d5ffd5b505050505050565b5f806107f3611401565b9050335f80610804838989896114e7565b915091508115801561081a575063ffffffff8116155b1561086d57828861082b8989611538565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b5f61087a848a8a8a610c8b565b90505f63ffffffff83161515806108a05750610895826109d1565b65ffffffffffff1615155b156108b1576108ae8261154f565b90505b60038601546108c98b6108c48c8c611538565b611660565b87600301819055506109128b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152503492506116a2915050565b50600390960195909555509293505050509392505050565b6109326112fe565b610946838361094086610727565b8461173b565b50505050565b5f805f805f610959611401565b6001600160401b0388165f90815260018201602090815260408083206001600160a01b038b1684529091529020805465ffffffffffff81169750919250906109b090600160301b90046001600160701b0316611995565b979a9199509750945050505050565b6109c76112fe565b61078382826119b6565b5f806109db611401565b5f84815260028201602052604090205490915065ffffffffffff166109ff81611a66565b610a095780610a0b565b5f5b949350505050565b5f80610a1d611401565b5f93845260020160205250506040902054600160301b900463ffffffff1690565b5f80610a48611401565b6001600160a01b0384165f9081526020829052604090206001015490915061076a906001600160701b0316611425565b610a806112fe565b6107838282611a94565b5f80610a94611401565b6001600160401b039384165f908152600191820160205260409020015490921692915050565b5f80610ac4611401565b6001600160a01b0385165f908152602091825260408082206001600160e01b03198716835290925220546001600160401b03169150505b92915050565b610b096112fe565b6001600160401b0383161580610b2757506001600160401b03838116145b15610b505760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b8b929190612992565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfb91906129a5565b6001600160e01b03191614610c2e57604051630641fee960e31b81526001600160a01b0382166004820152602401610864565b6106e9610c3d85838686610c8b565b61154f565b5f80610c4c611401565b6001600160a01b039093165f9081526020939093525050604090206001015460ff600160701b9091041690565b610c816112fe565b6107838282611b52565b5f84848484604051602001610ca394939291906129c0565b604051602081830303815290604052805190602001209050949350505050565b604080515f815260208101909152606090826001600160401b03811115610cec57610cec612a27565b604051908082528060200260200182016040528015610d1f57816020015b6060815260200190600190039081610d0a5790505b5091505f5b83811015610da057610d7b30868684818110610d4257610d4261293b565b9050602002810190610d549190612a3b565b85604051602001610d6793929190612a94565b604051602081830303815290604052611c7c565b838281518110610d8d57610d8d61293b565b6020908102919091010152600101610d24565b505092915050565b5f80610db384610c42565b15610dc257505f905080610e21565b306001600160a01b03861603610de657610ddc8484611cee565b5f91509150610e21565b5f610df18585610aba565b90505f80610dff8389610f4b565b9150915081610e0f575f80610e19565b63ffffffff811615815b945094505050505b935093915050565b610e316112fe565b610e3b8282611d12565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610e845750825b90505f826001600160401b03166001148015610e9f5750303b155b905081158015610ead575080155b15610ecb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ef557845460ff60401b1916600160401b1785555b610efe86611e0d565b83156107e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8067fffffffffffffffe196001600160401b03851601610f715750600190505f610fbd565b5f80610f7d868661094c565b5050915091508165ffffffffffff165f14158015610fb25750610f9e611e21565b65ffffffffffff168265ffffffffffff1611155b93509150610fbd9050565b9250929050565b610fcc6112fe565b6107838282611e30565b5f80610fe0611401565b9050335f610fee8686611538565b90505f610ffd89898989610c8b565b5f81815260028601602052604081205491925065ffffffffffff909116900361103c5760405163060a299b60e41b815260048101829052602401610864565b826001600160a01b0316896001600160a01b0316146110d5575f6110605f85610f4b565b5090505f61107a6110746102258c87610aba565b86610f4b565b50905081158015611089575080155b156110d257604051630ff89d4760e21b81526001600160a01b038087166004830152808d1660248301528b1660448201526001600160e01b031985166064820152608401610864565b50505b5f818152600285016020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a39998505050505050505050565b5f805f611144611401565b9050335f611154828a8a8a6114e7565b9150505f8163ffffffff16611167611e21565b6111719190612aa9565b905063ffffffff821615806111a757505f8765ffffffffffff161180156111a757508065ffffffffffff168765ffffffffffff16105b156111b857828a61082b8b8b611538565b6111d28765ffffffffffff168265ffffffffffff16611ef8565b96506111e0838b8b8b610c8b565b95506111eb86611f0d565b836002015f8781526020019081526020015f205f0160069054906101000a900463ffffffff16600101945086846002015f8881526020019081526020015f205f015f6101000a81548165ffffffffffff021916908365ffffffffffff16021790555084846002015f8881526020019081526020015f205f0160066101000a81548163ffffffff021916908363ffffffff1602179055508463ffffffff16867f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b489868e8e8e6040516112c0959493929190612ac7565b60405180910390a35050505094509492505050565b6001600160a01b0381163314610e3157604051635f159e6360e01b815260040160405180910390fd5b335f8061130c838236611f67565b9150915081610e3b578063ffffffff165f03611366575f61132d8136612018565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b03821660248201529092506044019050610864565b610946610c3d84305f36610c8b565b5f61137e611401565b6001600160a01b0385165f818152602083815260408083206001600160e01b0319891680855290835292819020805467ffffffffffffffff19166001600160401b03891690811790915590519283529394507f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a350505050565b7f40c6c8c28789853c7efd823ab20824bbd71718a8a5915e855f6f288c9a26ad0090565b5f80611439836001600160701b0316611995565b5090949350505050565b5f61144c611401565b9050306001600160a01b0384160361148257604051630b40d17960e31b81526001600160a01b0384166004820152602401610864565b6001600160a01b0383165f81815260208390526040908190206001018054851515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb13890610b8b90851515815260200190565b5f80306001600160a01b0386160361150d57611504868585611f67565b9150915061152f565b600483106115295761152486866105758787611538565b611504565b505f9050805b94509492505050565b5f6115466004828486612a00565b61076a91612b0c565b5f80611559611401565b5f84815260028201602052604081205491925065ffffffffffff821691600160301b900463ffffffff16908290036115a75760405163060a299b60e41b815260048101869052602401610864565b6115af611e21565b65ffffffffffff168265ffffffffffff1611156115e257604051630c65b5bd60e11b815260048101869052602401610864565b6115eb82611a66565b1561160c57604051631e2975b960e21b815260048101869052602401610864565b5f858152600284016020526040808220805465ffffffffffff191690555163ffffffff83169187917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a3949350505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156116c75760405163cd78605960e01b8152306004820152602401610864565b5f80856001600160a01b031684866040516116e29190612b44565b5f6040518083038185875af1925050503d805f811461171c576040519150601f19603f3d011682016040523d82523d5f602084013e611721565b606091505b50915091506117318683836121d9565b9695505050505050565b5f80611745611401565b905067fffffffffffffffe196001600160401b038716016117845760405163061c6a4360e21b81526001600160401b0387166004820152602401610864565b6001600160401b0386165f90815260018201602090815260408083206001600160a01b038916845290915281205465ffffffffffff1615908115611878578563ffffffff166117d1611e21565b6117db9190612aa9565b905060405180604001604052808265ffffffffffff1681526020016118098763ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b038a165f90815260018601602090815260408083206001600160a01b038d1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611926565b6001600160401b0388165f90815260018401602090815260408083206001600160a01b038b1684529091528120546118c391600160301b9091046001600160701b0316908790612235565b6001600160401b038a165f90815260018601602090815260408083206001600160a01b038d168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8716815265ffffffffffff831660208201528315158183015290516001600160a01b038916916001600160401b038b16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a3509695505050505050565b5f805f6119a9846119a4611e21565b6122db565b9250925092509193909250565b5f6119bf611401565b90506001600160401b03831615806119df57506001600160401b03838116145b15611a085760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f81815260018481016020526040808320909101805467ffffffffffffffff19169487169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a3505050565b5f611a6f611e21565b65ffffffffffff16611a8462093a8084612aa9565b65ffffffffffff16111592915050565b5f611a9d611401565b90506001600160401b0383161580611abd57506001600160401b03838116145b15611ae65760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b038381165f8181526001848101602052604080832090910180546fffffffffffffffff00000000000000001916600160401b958816958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a3505050565b5f611b5b611401565b905067fffffffffffffffe196001600160401b03841601611b9a5760405163061c6a4360e21b81526001600160401b0384166004820152602401610864565b6001600160401b0383165f9081526001828101602052604082200154611bd490600160801b90046001600160701b03168462069780612235565b6001600160401b0386165f81815260018087016020526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890611c6e908690859063ffffffff92909216825265ffffffffffff16602082015260400190565b60405180910390a250505050565b60605f80846001600160a01b031684604051611c989190612b44565b5f60405180830381855af49150503d805f8114611cd0576040519150601f19603f3d011682016040523d82523d5f602084013e611cd5565b606091505b5091509150611ce58583836121d9565b95945050505050565b5f80611cf8611401565b9050611d048484611660565b600390910154149392505050565b5f80611d1c611401565b905067fffffffffffffffe196001600160401b03851601611d5b5760405163061c6a4360e21b81526001600160401b0385166004820152602401610864565b6001600160401b0384165f90815260018201602090815260408083206001600160a01b038716845290915281205465ffffffffffff169003611da0575f915050610afb565b6001600160401b0384165f81815260018301602090815260408083206001600160a01b038816808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a35060019392505050565b611e1561232d565b611e1e81612378565b50565b5f611e2b426123b5565b905090565b5f611e39611401565b90505f611e6f83620697806001600160a01b0387165f908152602086905260409020600101546001600160701b03169190612235565b6001600160a01b0386165f818152602086815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8816815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101611c6e565b5f818311611f06578161076a565b5090919050565b5f611f16611401565b5f83815260028201602052604090205490915065ffffffffffff168015801590611f465750611f4481611a66565b155b15610e3b5760405163813e945960e01b815260048101849052602401610864565b5f806004831015611f7c57505f905080610e21565b306001600160a01b03861603611f9f57610ddc30611f9a8686611538565b611cee565b5f805f611fac8787612018565b92509250925082611fc5575f8094509450505050610e21565b5f80611fd1848b610f4b565b9150915081611fea575f80965096505050505050610e21565b6120008363ffffffff168263ffffffff16611ef8565b63ffffffff8116159b909a5098505050505050505050565b5f8080600484101561203157505f9150819050806121d2565b5f61203c8686611538565b90506001600160e01b031981166310a6aa3760e31b148061206d57506001600160e01b031981166330cae18760e01b145b8061208857506001600160e01b0319811663294b14a960e11b145b806120a357506001600160e01b03198116635326cae760e11b145b806120be57506001600160e01b0319811663d22b598960e01b145b156120d35760015f80935093509350506121d2565b6001600160e01b0319811663063fc60f60e21b148061210257506001600160e01b0319811663167bd39560e01b145b8061211d57506001600160e01b031981166308d6122d60e01b145b1561215c575f61213160246004888a612a00565b81019061213e91906126a9565b90505f61214a82610a3e565b600196505f955093506121d292505050565b6001600160e01b0319811663012e238d60e51b148061218b57506001600160e01b03198116635be958b160e11b145b156121c7575f61219f60246004888a612a00565b8101906121ac91906124e5565b905060016121b982610a8a565b5f94509450945050506121d2565b5f805f935093509350505b9250925092565b6060826121ee576121e9826123eb565b61076a565b815115801561220557506001600160a01b0384163b155b1561222e57604051639996b31560e01b81526001600160a01b0385166004820152602401610864565b508061076a565b5f805f61224a866001600160701b0316611425565b90505f6122858563ffffffff168763ffffffff168463ffffffff1611612270575f61227a565b61227a8885612b4f565b63ffffffff16611ef8565b90508063ffffffff16612296611e21565b6122a09190612aa9565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b5f808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156123195782828261231d565b815f805b9550955095505050509250925092565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661237657604051631afcd79f60e31b815260040160405180910390fd5b565b61238061232d565b6001600160a01b0381166123a957604051630409d6d160e11b81525f6004820152602401610864565b6107835f825f8061173b565b5f65ffffffffffff8211156123e7576040516306dfcc6560e41b81526030600482015260248101839052604401610864565b5090565b8051156123fb5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114611e1e575f80fd5b5f8083601f840112612438575f80fd5b5081356001600160401b0381111561244e575f80fd5b6020830191508360208260051b8501011115610fbd575f80fd5b80356001600160401b038116811461247e575f80fd5b919050565b5f805f8060608587031215612496575f80fd5b84356124a181612414565b935060208501356001600160401b038111156124bb575f80fd5b6124c787828801612428565b90945092506124da905060408601612468565b905092959194509250565b5f602082840312156124f5575f80fd5b61076a82612468565b5f806040838503121561250f575f80fd5b823561251a81612414565b91506020830135801515811461252e575f80fd5b809150509250929050565b5f806040838503121561254a575f80fd5b823561255581612414565b9150602083013561252e81612414565b5f8083601f840112612575575f80fd5b5081356001600160401b0381111561258b575f80fd5b602083019150836020828501011115610fbd575f80fd5b5f805f604084860312156125b4575f80fd5b83356125bf81612414565b925060208401356001600160401b038111156125d9575f80fd5b6125e586828701612565565b9497909650939450505050565b803563ffffffff8116811461247e575f80fd5b5f805f60608486031215612617575f80fd5b61262084612468565b9250602084013561263081612414565b915061263e604085016125f2565b90509250925092565b5f8060408385031215612658575f80fd5b61255583612468565b5f8060408385031215612672575f80fd5b61267b83612468565b915061268960208401612468565b90509250929050565b5f602082840312156126a2575f80fd5b5035919050565b5f602082840312156126b9575f80fd5b813561076a81612414565b6001600160e01b031981168114611e1e575f80fd5b5f80604083850312156126ea575f80fd5b82356126f581612414565b9150602083013561252e816126c4565b5f805f60408486031215612717575f80fd5b6125bf84612468565b5f8060408385031215612731575f80fd5b61273a83612468565b9150612689602084016125f2565b5f805f806060858703121561275b575f80fd5b843561276681612414565b9350602085013561277681612414565b925060408501356001600160401b03811115612790575f80fd5b61279c87828801612565565b95989497509550505050565b5f80602083850312156127b9575f80fd5b82356001600160401b038111156127ce575f80fd5b6127da85828601612428565b90969095509350505050565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561285e57603f19878603018452815180518087528060208301602089015e5f602082890101526020601f19601f8301168801019650505060208201915060208401935060018101905061280c565b50929695505050505050565b5f805f6060848603121561287c575f80fd5b833561288781612414565b9250602084013561289781612414565b915060408401356128a7816126c4565b809150509250925092565b5f80604083850312156128c3575f80fd5b823561273a81612414565b5f805f80606085870312156128e1575f80fd5b84356128ec81612414565b935060208501356001600160401b03811115612906575f80fd5b61291287828801612565565b909450925050604085013565ffffffffffff81168114612930575f80fd5b939692955090935050565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561295f575f80fd5b813561076a816126c4565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602081525f610a0b60208301848661296a565b5f602082840312156129b5575f80fd5b815161076a816126c4565b6001600160a01b038581168252841660208201526060604082018190525f90611731908301848661296a565b634e487b7160e01b5f52601160045260245ffd5b5f8085851115612a0e575f80fd5b83861115612a1a575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f808335601e19843603018112612a50575f80fd5b8301803591506001600160401b03821115612a69575f80fd5b602001915036819003821315610fbd575f80fd5b5f81518060208401855e5f93019283525090919050565b828482375f8382015f81526117318185612a7d565b65ffffffffffff8181168382160190811115610afb57610afb6129ec565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190525f90612b01908301848661296a565b979650505050505050565b80356001600160e01b03198116906004841015612b3d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b5f61076a8284612a7d565b63ffffffff8281168282160390811115610afb57610afb6129ec56fea264697066735822122072759d7b5f96dd0caaed8321f069e3fdd1f047ae911241936fca832d24aebe4c64736f6c634300081a0033",
1116
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101bb575f3560e01c8063728a61a8116100f3578063bc62a0a511610093578063c6a001791161006e578063c6a0017914610566578063cd55e51b14610579578063d5f394881461058c578063d78a83b11461059d575f80fd5b8063bc62a0a5146104eb578063bcfb11b014610520578063bf7e214f14610549575f80fd5b80638fb36037116100ce5780638fb360371461042e57806392bdd9bd1461044f578063b3ecf236146104d0578063b7009613146104d8575f80fd5b8063728a61a8146103fe5780637a9e5e4b146104115780638308ceb114610426575f80fd5b806335471f801161015e5780635bfa5027116101395780635bfa5027146103a55780635cb870b1146103c5578063605aa10a146103d857806364fc3142146103eb575f80fd5b806335471f801461035f578063392f5f64146103725780633fd855611461037a575f80fd5b806324913ce61161019957806324913ce6146102a057806326d60fb4146102f457806326decd40146102fc5780633406b1521461031f575f80fd5b806303014974146101bf57806312e1ebc5146101e557806315fb0abb14610280575b5f80fd5b6101d26101cd3660046112f9565b6105b0565b6040519081526020015b60405180910390f35b6102556101f336600461132f565b60408051606080820183525f80835260208084018290529284018190526001600160a01b03949094168452600682529282902082519384018352805484526001015460ff8116151591840191909152610100900464ffffffffff169082015290565b60408051825181526020808401511515908201529181015164ffffffffff16908201526060016101dc565b61029361028e3660046113fa565b6105d6565b6040516101dc919061143c565b6102b36102ae36600461146e565b610779565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b031660608201526080016101dc565b6008546101d2565b61030f61030a36600461132f565b610a07565b60405190151581526020016101dc565b61034761032d366004611496565b5f908152600760205260409020546001600160a01b031690565b6040516001600160a01b0390911681526020016101dc565b6101d261036d36600461132f565b610a73565b6004546101d2565b61038d610388366004611496565b610afd565b6040516001600160401b0390911681526020016101dc565b6103b86103b33660046112f9565b610b3f565b6040516101dc91906114c1565b6103b86103d336600461155e565b610c19565b61030f6103e636600461132f565b610df6565b61030f6103f93660046115d1565b610e6b565b61034761040c366004611496565b610eee565b61042461041f36600461132f565b610f1c565b005b61038d610fbd565b610436611036565b6040516001600160e01b031990911681526020016101dc565b6104aa61045d366004611496565b604080518082019091525f8082526020820152505f908152600360209081526040918290208251808401909352546001600160401b0381168352600160401b900460ff1615159082015290565b6040805182516001600160401b03168152602092830151151592810192909252016101dc565b61038d61106c565b61030f6104e6366004611606565b6110bc565b6105136040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6040516101dc9190611678565b6105136040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b5f8051602061177e833981519152546001600160a01b0316610347565b61030f6105743660046112f9565b6111a2565b61030f6105873660046115d1565b6111fe565b6001546001600160a01b0316610347565b6103476105ab36600461168a565b61122c565b6001600160401b0381165f9081526005602052604081206105d09061124d565b92915050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961062d8660648501611678565b602060405180830381865af4158015610648573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066c91906116a6565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156106cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ef91906116bd565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610745573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076991906116d8565b64ffffffffff1690529392505050565b604080516060810182525f80825260208083018290528284018290526001600160a01b038616825260099052828120925163dfe63db960e01b81526004810193909352602483018490529091819073__$8df0087758613aef8a614b5774fdb3323b$__9063dfe63db990604401602060405180830381865af4158015610801573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082591906116bd565b6001600160a01b038681165f908152600a602090815260408083206001600160e01b031986811680865291845282852083516060810185528154815260019091015460e081901b90921694810194909452640100000000900464ffffffffff168383015292549051636ea1af2560e11b8152600481019390935290965092935073__$1d92393fa9ccd763988368ce8a1cb90d26$__92637c3940bf921690636d5115bd90899073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af4158015610905573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092991906116bd565b6040516001600160e01b031960e085901b811682526001600160a01b03909316600482015291166024820152604401602060405180830381865afa158015610973573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099791906116fc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af41580156109d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fd91906116fc565b9150509250929050565b5f805460405163a166aa8960e01b81526001600160a01b0384811660048301529091169063a166aa8990602401602060405180830381865afa158015610a4f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d09190611726565b6001600160a01b0381165f90815260096020526040808220905163868b3e0760e01b8152600481019190915273__$8df0087758613aef8a614b5774fdb3323b$__9063868b3e0790602401602060405180830381865af4158015610ad9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d091906116a6565b5f60048281548110610b1157610b1161173f565b905f5260205f2090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600282529185902085519384019095528454918216835292939192830190600160401b900460ff166003811115610bb757610bb76114ad565b6003811115610bc857610bc86114ad565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610c7657610c766114ad565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610cbe9190611678565b602060405180830381865af4158015610cd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfd91906116a6565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610d49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d6d91906116d8565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610dc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de491906116d8565b64ffffffffff16905295945050505050565b6001600160a01b0381165f90815260066020526040808220600101549051638d38cd4b60e01b815261010090910464ffffffffff16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b906024015b602060405180830381865af4158015610a4f573d5f803e3d5ffd5b5f80546040516368fc2b7760e11b81526001600160401b03841660048201526001600160a01b0385811660248301528392169063d1f856ee906044016040805180830381865afa158015610ec1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ee59190611753565b50949350505050565b5f60088281548110610f0257610f0261173f565b5f918252602090912001546001600160a01b031692915050565b33610f3b5f8051602061177e833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610f7b5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610fb0576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f72565b610fb982611256565b5050565b5f805f9054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103191906116fc565b905090565b5f8051602061177e83398151915280545f9190600160a01b900460ff1661105d575f611066565b638fb3603760e01b5b91505090565b5f805f9054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d5f803e3d5ffd5b5f8054604051636ea1af2560e11b81526001600160e01b0319841660048201526001600160a01b039091169063b7009613908690869073__$0904195350e4c23ecb1d51df0a32586dcd$__9063dd435e4a90602401602060405180830381865af415801561112c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115091906116bd565b60405160e085901b6001600160e01b031990811682526001600160a01b0394851660048301529290931660248401521660448201526064016040805180830381865afa158015610ec1573d5f803e3d5ffd5b6001600160401b0381165f908152600260208190526040808320909101549051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401610e50565b6001600160401b038082165f90815260026020526040812054909161122591859116610e6b565b9392505050565b6001600160401b0382165f90815260056020526040812061122590836112b6565b5f6105d0825490565b5f8051602061177e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61122583835f825f0182815481106112d1576112d161173f565b905f5260205f200154905092915050565b6001600160401b03811681146112f6575f80fd5b50565b5f60208284031215611309575f80fd5b8135611225816112e2565b80356001600160a01b038116811461132a575f80fd5b919050565b5f6020828403121561133f575f80fd5b61122582611314565b6001600160e01b0319811681146112f6575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611380575f80fd5b81356001600160401b038111156113995761139961135d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156113c7576113c761135d565b6040528181528382016020018510156113de575f80fd5b816020850160208301375f918101602001919091529392505050565b5f806040838503121561140b575f80fd5b823561141681611348565b915060208301356001600160401b03811115611430575f80fd5b6109fd85828601611371565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff1690820152606081016105d0565b5f806040838503121561147f575f80fd5b61148883611314565b946020939093013593505050565b5f602082840312156114a6575f80fd5b5035919050565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c0820190600481106114f457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff604084015116604083015260608301516060830152608083015161152d608084018264ffffffffff169052565b5060a083015161154660a084018264ffffffffff169052565b5092915050565b63ffffffff811681146112f6575f80fd5b5f805f8060808587031215611571575f80fd5b843561157c816112e2565b935060208501356004811061158f575f80fd5b9250604085013561159f8161154d565b915060608501356001600160401b038111156115b9575f80fd5b6115c587828801611371565b91505092959194509250565b5f80604083850312156115e2575f80fd5b6115eb83611314565b915060208301356115fb816112e2565b809150509250929050565b5f805f60608486031215611618575f80fd5b61162184611314565b925061162f60208501611314565b9150604084013561163f81611348565b809150509250925092565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611225602083018461164a565b5f806040838503121561169b575f80fd5b8235611488816112e2565b5f602082840312156116b6575f80fd5b5051919050565b5f602082840312156116cd575f80fd5b815161122581611348565b5f602082840312156116e8575f80fd5b815164ffffffffff81168114611225575f80fd5b5f6020828403121561170c575f80fd5b8151611225816112e2565b8051801515811461132a575f80fd5b5f60208284031215611736575f80fd5b61122582611717565b634e487b7160e01b5f52603260045260245ffd5b5f8060408385031215611764575f80fd5b61176d83611717565b915060208301516115fb8161154d56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220b49ed8f55e6f872e4265c58e2aea45d046a06457ae925ad3de803a56ac6a78a164736f6c634300081a0033",
1117
- "linkReferences": {
1447
+ ]
1448
+ },
1118
1449
  "contracts/type/RoleId.sol": {
1119
1450
  "RoleIdLib": [
1120
1451
  {
1121
1452
  "length": 20,
1122
- "start": 328
1453
+ "start": 1842
1454
+ },
1455
+ {
1456
+ "length": 20,
1457
+ "start": 4876
1123
1458
  },
1124
1459
  {
1125
1460
  "length": 20,
1126
- "start": 781
1461
+ "start": 6482
1127
1462
  },
1128
1463
  {
1129
1464
  "length": 20,
1130
- "start": 2106
1465
+ "start": 6887
1131
1466
  },
1132
1467
  {
1133
1468
  "length": 20,
1134
- "start": 4944
1469
+ "start": 7821
1135
1470
  }
1136
1471
  ]
1137
1472
  },
@@ -1139,25 +1474,17 @@
1139
1474
  "SelectorLib": [
1140
1475
  {
1141
1476
  "length": 20,
1142
- "start": 4412
1143
- },
1144
- {
1145
- "length": 20,
1146
- "start": 4982
1147
- },
1148
- {
1149
- "length": 20,
1150
- "start": 7069
1477
+ "start": 1880
1151
1478
  }
1152
1479
  ],
1153
1480
  "SelectorSetLib": [
1154
1481
  {
1155
1482
  "length": 20,
1156
- "start": 4722
1483
+ "start": 1618
1157
1484
  },
1158
1485
  {
1159
1486
  "length": 20,
1160
- "start": 5450
1487
+ "start": 2461
1161
1488
  }
1162
1489
  ]
1163
1490
  },
@@ -1165,19 +1492,23 @@
1165
1492
  "StrLib": [
1166
1493
  {
1167
1494
  "length": 20,
1168
- "start": 991
1495
+ "start": 3950
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 4375
1169
1500
  },
1170
1501
  {
1171
1502
  "length": 20,
1172
- "start": 1925
1503
+ "start": 4538
1173
1504
  },
1174
1505
  {
1175
1506
  "length": 20,
1176
- "start": 4273
1507
+ "start": 4712
1177
1508
  },
1178
1509
  {
1179
1510
  "length": 20,
1180
- "start": 5938
1511
+ "start": 7648
1181
1512
  }
1182
1513
  ]
1183
1514
  },
@@ -1185,71 +1516,99 @@
1185
1516
  "TimestampLib": [
1186
1517
  {
1187
1518
  "length": 20,
1188
- "start": 1114
1519
+ "start": 3049
1189
1520
  },
1190
1521
  {
1191
1522
  "length": 20,
1192
- "start": 1233
1523
+ "start": 3169
1193
1524
  },
1194
1525
  {
1195
1526
  "length": 20,
1196
- "start": 1358
1527
+ "start": 4338
1197
1528
  },
1198
1529
  {
1199
1530
  "length": 20,
1200
- "start": 4521
1531
+ "start": 6946
1201
1532
  },
1202
1533
  {
1203
1534
  "length": 20,
1204
- "start": 6061
1205
- },
1535
+ "start": 7081
1536
+ }
1537
+ ]
1538
+ }
1539
+ },
1540
+ "deployedLinkReferences": {
1541
+ "contracts/authorization/AccessAdminLib.sol": {
1542
+ "AccessAdminLib": [
1206
1543
  {
1207
1544
  "length": 20,
1208
- "start": 6180
1545
+ "start": 6272
1209
1546
  },
1210
1547
  {
1211
1548
  "length": 20,
1212
- "start": 6363
1549
+ "start": 6740
1550
+ }
1551
+ ]
1552
+ },
1553
+ "contracts/shared/ContractLib.sol": {
1554
+ "ContractLib": [
1555
+ {
1556
+ "length": 20,
1557
+ "start": 5514
1213
1558
  },
1214
1559
  {
1215
1560
  "length": 20,
1216
- "start": 7301
1561
+ "start": 5810
1217
1562
  }
1218
1563
  ]
1219
- }
1220
- },
1221
- "deployedLinkReferences": {
1222
- "contracts/type/RoleId.sol": {
1223
- "RoleIdLib": [
1564
+ },
1565
+ "contracts/type/NftId.sol": {
1566
+ "NftIdLib": [
1224
1567
  {
1225
1568
  "length": 20,
1226
- "start": 2215
1569
+ "start": 5967
1227
1570
  }
1228
1571
  ]
1229
1572
  },
1230
- "contracts/type/Selector.sol": {
1231
- "SelectorLib": [
1573
+ "contracts/type/RoleId.sol": {
1574
+ "RoleIdLib": [
1232
1575
  {
1233
1576
  "length": 20,
1234
- "start": 1683
1577
+ "start": 1814
1235
1578
  },
1236
1579
  {
1237
1580
  "length": 20,
1238
- "start": 2253
1581
+ "start": 4848
1239
1582
  },
1240
1583
  {
1241
1584
  "length": 20,
1242
- "start": 4340
1585
+ "start": 6454
1586
+ },
1587
+ {
1588
+ "length": 20,
1589
+ "start": 6859
1590
+ },
1591
+ {
1592
+ "length": 20,
1593
+ "start": 7793
1594
+ }
1595
+ ]
1596
+ },
1597
+ "contracts/type/Selector.sol": {
1598
+ "SelectorLib": [
1599
+ {
1600
+ "length": 20,
1601
+ "start": 1852
1243
1602
  }
1244
1603
  ],
1245
1604
  "SelectorSetLib": [
1246
1605
  {
1247
1606
  "length": 20,
1248
- "start": 1993
1607
+ "start": 1590
1249
1608
  },
1250
1609
  {
1251
1610
  "length": 20,
1252
- "start": 2721
1611
+ "start": 2433
1253
1612
  }
1254
1613
  ]
1255
1614
  },
@@ -1257,11 +1616,23 @@
1257
1616
  "StrLib": [
1258
1617
  {
1259
1618
  "length": 20,
1260
- "start": 1544
1619
+ "start": 3922
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 4347
1624
+ },
1625
+ {
1626
+ "length": 20,
1627
+ "start": 4510
1628
+ },
1629
+ {
1630
+ "length": 20,
1631
+ "start": 4684
1261
1632
  },
1262
1633
  {
1263
1634
  "length": 20,
1264
- "start": 3209
1635
+ "start": 7620
1265
1636
  }
1266
1637
  ]
1267
1638
  },
@@ -1269,23 +1640,23 @@
1269
1640
  "TimestampLib": [
1270
1641
  {
1271
1642
  "length": 20,
1272
- "start": 1792
1643
+ "start": 3021
1273
1644
  },
1274
1645
  {
1275
1646
  "length": 20,
1276
- "start": 3332
1647
+ "start": 3141
1277
1648
  },
1278
1649
  {
1279
1650
  "length": 20,
1280
- "start": 3451
1651
+ "start": 4310
1281
1652
  },
1282
1653
  {
1283
1654
  "length": 20,
1284
- "start": 3634
1655
+ "start": 6918
1285
1656
  },
1286
1657
  {
1287
1658
  "length": 20,
1288
- "start": 4572
1659
+ "start": 7053
1289
1660
  }
1290
1661
  ]
1291
1662
  }