@etherisc/gif-next 0.0.2-da2c7dd-538 → 0.0.2-db12733-152

Sign up to get free protection for your applications and to get access to all the features.
Files changed (399) hide show
  1. package/README.md +44 -0
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +38 -38
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +26 -26
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +6 -6
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +366 -251
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +8 -39
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +101 -28
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +283 -189
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +37 -5
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +32 -145
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +101 -46
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1 -87
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +160 -89
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +56 -52
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1 -87
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +68 -5
  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 +44 -74
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +101 -46
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +94 -124
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +101 -46
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  50. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +82 -173
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +101 -46
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +20 -63
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +69 -112
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +101 -46
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +95 -138
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +101 -46
  63. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  64. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  65. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  66. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +104 -8
  67. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +62 -13
  69. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/Instance.sol/Instance.json +119 -26
  71. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  72. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +520 -413
  73. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +101 -46
  75. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +225 -196
  77. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +94 -65
  79. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -36
  81. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +356 -346
  83. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +2 -2
  85. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  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 +2 -2
  94. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +20 -20
  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 +14 -35
  104. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  105. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +98 -35
  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 +0 -21
  109. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +0 -21
  112. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +42 -42
  114. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +31 -31
  116. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  117. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +22 -43
  118. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  119. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +101 -46
  120. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +64 -64
  122. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +39 -39
  124. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +6 -6
  126. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  127. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +10 -31
  128. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +18 -18
  130. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  131. package/artifacts/contracts/pool/Pool.sol/Pool.json +10 -31
  132. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  133. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +34 -34
  134. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +80 -80
  136. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  137. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +41 -41
  138. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  139. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +90 -24
  140. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +34 -22
  142. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  143. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +27 -48
  144. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  145. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +101 -46
  146. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  147. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +78 -78
  148. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +50 -50
  150. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  151. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +42 -0
  152. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  154. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +21 -0
  156. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  157. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +21 -42
  158. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +21 -0
  160. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +62 -62
  162. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  163. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +32 -32
  164. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +41 -41
  166. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PricingService.sol/PricingService.json +63 -82
  168. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +31 -51
  170. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  171. package/artifacts/contracts/product/Product.sol/Product.json +21 -42
  172. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  173. package/artifacts/contracts/product/RiskService.sol/RiskService.json +55 -26
  174. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +27 -23
  176. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  177. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  178. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +15 -15
  179. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  181. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  182. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  183. package/artifacts/contracts/registry/Registry.sol/Registry.json +17 -17
  184. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +445 -355
  186. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  187. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  188. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +18 -18
  190. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +19 -19
  192. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +481 -376
  194. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  196. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +143 -139
  198. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  200. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -14
  202. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  203. package/artifacts/contracts/shared/Component.sol/Component.json +0 -21
  204. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  205. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +114 -129
  206. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  207. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +45 -49
  208. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  210. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +60 -4
  211. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  215. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -21
  216. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +44 -51
  218. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +0 -21
  220. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  222. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  227. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  228. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  229. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +0 -21
  231. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  232. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  234. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  236. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  238. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  239. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  241. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  242. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  246. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  248. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  250. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +83 -39
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  252. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +75 -4
  253. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  254. package/artifacts/contracts/staking/Staking.sol/Staking.json +133 -94
  255. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  256. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  258. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  260. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +41 -37
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  262. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +34 -61
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  264. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +109 -30
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  266. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +27 -23
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  268. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +148 -134
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  270. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +47 -37
  271. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/Amount.sol/AmountLib.json +10 -10
  274. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/Fee.sol/FeeLib.json +93 -37
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  282. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  283. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  284. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  288. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  301. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +60 -36
  309. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  311. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +56 -2
  313. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  314. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  315. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +4 -4
  316. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  317. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  318. package/contracts/accounting/IAccountingService.sol +2 -2
  319. package/contracts/authorization/AccessAdmin.sol +201 -186
  320. package/contracts/authorization/AccessAdminLib.sol +183 -0
  321. package/contracts/authorization/AccessManagerCloneable.sol +40 -31
  322. package/contracts/authorization/Authorization.sol +61 -33
  323. package/contracts/authorization/IAccess.sol +13 -5
  324. package/contracts/authorization/IAccessAdmin.sol +63 -36
  325. package/contracts/authorization/IAuthorization.sol +6 -0
  326. package/contracts/distribution/BasicDistribution.sol +6 -6
  327. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  328. package/contracts/distribution/Distribution.sol +3 -48
  329. package/contracts/distribution/DistributionService.sol +57 -30
  330. package/contracts/distribution/IDistributionComponent.sol +0 -9
  331. package/contracts/distribution/IDistributionService.sol +4 -2
  332. package/contracts/examples/fire/FirePool.sol +0 -4
  333. package/contracts/examples/fire/FireProduct.sol +0 -4
  334. package/contracts/examples/unpermissioned/SimpleDistribution.sol +32 -8
  335. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  336. package/contracts/examples/unpermissioned/SimplePool.sol +0 -4
  337. package/contracts/examples/unpermissioned/SimpleProduct.sol +0 -4
  338. package/contracts/instance/IInstance.sol +45 -9
  339. package/contracts/instance/IInstanceService.sol +19 -3
  340. package/contracts/instance/Instance.sol +73 -16
  341. package/contracts/instance/InstanceAdmin.sol +120 -107
  342. package/contracts/instance/InstanceAuthorizationV3.sol +43 -21
  343. package/contracts/instance/InstanceReader.sol +13 -0
  344. package/contracts/instance/InstanceService.sol +128 -73
  345. package/contracts/instance/module/IBundle.sol +6 -5
  346. package/contracts/instance/module/IComponents.sol +16 -5
  347. package/contracts/instance/module/IDistribution.sol +19 -7
  348. package/contracts/instance/module/IPolicy.sol +28 -8
  349. package/contracts/instance/module/IRisk.sol +2 -0
  350. package/contracts/oracle/BasicOracle.sol +1 -3
  351. package/contracts/oracle/BasicOracleAuthorization.sol +1 -1
  352. package/contracts/oracle/IOracle.sol +9 -4
  353. package/contracts/oracle/Oracle.sol +0 -2
  354. package/contracts/pool/BasicPool.sol +0 -2
  355. package/contracts/pool/BasicPoolAuthorization.sol +1 -1
  356. package/contracts/pool/Pool.sol +0 -2
  357. package/contracts/pool/PoolService.sol +1 -3
  358. package/contracts/product/ApplicationService.sol +21 -6
  359. package/contracts/product/BasicProduct.sol +0 -2
  360. package/contracts/product/BasicProductAuthorization.sol +1 -1
  361. package/contracts/product/IApplicationService.sol +3 -0
  362. package/contracts/product/IPricingService.sol +1 -0
  363. package/contracts/product/IRiskService.sol +3 -0
  364. package/contracts/product/PolicyService.sol +0 -18
  365. package/contracts/product/PricingService.sol +11 -6
  366. package/contracts/product/Product.sol +0 -2
  367. package/contracts/product/RiskService.sol +10 -0
  368. package/contracts/registry/IRegistry.sol +4 -0
  369. package/contracts/registry/IRelease.sol +6 -3
  370. package/contracts/registry/RegistryAdmin.sol +133 -229
  371. package/contracts/registry/RegistryAuthorization.sol +267 -0
  372. package/contracts/registry/ReleaseAdmin.sol +30 -22
  373. package/contracts/registry/ReleaseRegistry.sol +39 -33
  374. package/contracts/registry/ServiceAuthorizationV3.sol +87 -3
  375. package/contracts/registry/TokenRegistry.sol +4 -1
  376. package/contracts/shared/Component.sol +13 -30
  377. package/contracts/shared/ComponentService.sol +58 -42
  378. package/contracts/shared/ContractLib.sol +28 -0
  379. package/contracts/shared/IComponent.sol +0 -3
  380. package/contracts/shared/IComponentService.sol +9 -9
  381. package/contracts/shared/InitializableERC165.sol +9 -1
  382. package/contracts/shared/InstanceLinkedComponent.sol +0 -2
  383. package/contracts/shared/NftOwnable.sol +1 -1
  384. package/contracts/shared/Registerable.sol +1 -4
  385. package/contracts/shared/TokenHandler.sol +5 -4
  386. package/contracts/staking/IStaking.sol +12 -2
  387. package/contracts/staking/IStakingService.sol +8 -1
  388. package/contracts/staking/Staking.sol +35 -15
  389. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +79 -22
  390. package/contracts/staking/StakingReader.sol +5 -15
  391. package/contracts/staking/StakingService.sol +36 -2
  392. package/contracts/staking/StakingStore.sol +2 -1
  393. package/contracts/type/Fee.sol +8 -8
  394. package/contracts/type/ObjectType.sol +5 -14
  395. package/contracts/type/UFixed.sol +27 -10
  396. package/contracts/type/Version.sol +39 -0
  397. package/package.json +2 -2
  398. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  399. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
@@ -0,0 +1,673 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AccessAdminLib",
4
+ "sourceName": "contracts/authorization/AccessAdminLib.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authorization",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "ErrorAccessAdminAlreadyInitialized",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "authorization",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "ObjectType",
26
+ "name": "expectedDomain",
27
+ "type": "uint8"
28
+ },
29
+ {
30
+ "internalType": "ObjectType",
31
+ "name": "actualDomain",
32
+ "type": "uint8"
33
+ }
34
+ ],
35
+ "name": "ErrorAccessAdminDomainMismatch",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "authorization",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorAccessAdminNotAuthorization",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "registerable",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAccessAdminNotRegistered",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "authorization",
65
+ "type": "address"
66
+ },
67
+ {
68
+ "internalType": "VersionPart",
69
+ "name": "expectedRelease",
70
+ "type": "uint8"
71
+ },
72
+ {
73
+ "internalType": "VersionPart",
74
+ "name": "actualRelease",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ErrorAccessAdminReleaseMismatch",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "adminRoleId",
86
+ "type": "uint64"
87
+ }
88
+ ],
89
+ "name": "ErrorAccessAdminRoleAdminNotExisting",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "RoleId",
96
+ "name": "roleId",
97
+ "type": "uint64"
98
+ },
99
+ {
100
+ "internalType": "string",
101
+ "name": "name",
102
+ "type": "string"
103
+ }
104
+ ],
105
+ "name": "ErrorAccessAdminRoleAlreadyCreated",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "RoleId",
112
+ "name": "roleId",
113
+ "type": "uint64"
114
+ },
115
+ {
116
+ "internalType": "string",
117
+ "name": "name",
118
+ "type": "string"
119
+ },
120
+ {
121
+ "internalType": "RoleId",
122
+ "name": "existingRoleId",
123
+ "type": "uint64"
124
+ }
125
+ ],
126
+ "name": "ErrorAccessAdminRoleNameAlreadyExists",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "RoleId",
133
+ "name": "roleId",
134
+ "type": "uint64"
135
+ }
136
+ ],
137
+ "name": "ErrorAccessAdminRoleNameEmpty",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "target",
145
+ "type": "address"
146
+ },
147
+ {
148
+ "internalType": "string",
149
+ "name": "name",
150
+ "type": "string"
151
+ }
152
+ ],
153
+ "name": "ErrorAccessAdminTargetAlreadyCreated",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "expectedAuthority",
161
+ "type": "address"
162
+ },
163
+ {
164
+ "internalType": "address",
165
+ "name": "actualAuthority",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorAccessAdminTargetAuthorityMismatch",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "string",
181
+ "name": "name",
182
+ "type": "string"
183
+ },
184
+ {
185
+ "internalType": "address",
186
+ "name": "existingTarget",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "name": "ErrorAccessAdminTargetNameAlreadyExists",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "target",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "name": "ErrorAccessAdminTargetNameEmpty",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "address",
208
+ "name": "target",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "ErrorAccessAdminTargetNotAccessManaged",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "address",
219
+ "name": "target",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "internalType": "ObjectType",
224
+ "name": "expectedType",
225
+ "type": "uint8"
226
+ },
227
+ {
228
+ "internalType": "ObjectType",
229
+ "name": "actualType",
230
+ "type": "uint8"
231
+ }
232
+ ],
233
+ "name": "ErrorAccessAdminTargetTypeMismatch",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "authorizationOld",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "authorization",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "ObjectType",
250
+ "name": "expectedDomain",
251
+ "type": "uint8"
252
+ },
253
+ {
254
+ "internalType": "VersionPart",
255
+ "name": "expectedRelease",
256
+ "type": "uint8"
257
+ },
258
+ {
259
+ "internalType": "bool",
260
+ "name": "checkAlreadyInitialized",
261
+ "type": "bool"
262
+ }
263
+ ],
264
+ "name": "checkAuthorization",
265
+ "outputs": [],
266
+ "stateMutability": "view",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [
271
+ {
272
+ "internalType": "address",
273
+ "name": "registry",
274
+ "type": "address"
275
+ },
276
+ {
277
+ "internalType": "address",
278
+ "name": "target",
279
+ "type": "address"
280
+ },
281
+ {
282
+ "internalType": "ObjectType",
283
+ "name": "expectedType",
284
+ "type": "uint8"
285
+ }
286
+ ],
287
+ "name": "checkIsRegistered",
288
+ "outputs": [],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [
294
+ {
295
+ "internalType": "contract IAccessAdmin",
296
+ "name": "accessAdmin",
297
+ "type": "IAccessAdmin"
298
+ },
299
+ {
300
+ "internalType": "RoleId",
301
+ "name": "roleId",
302
+ "type": "uint64"
303
+ },
304
+ {
305
+ "components": [
306
+ {
307
+ "internalType": "RoleId",
308
+ "name": "adminRoleId",
309
+ "type": "uint64"
310
+ },
311
+ {
312
+ "internalType": "enum IAccess.RoleType",
313
+ "name": "roleType",
314
+ "type": "IAccess.RoleType"
315
+ },
316
+ {
317
+ "internalType": "uint32",
318
+ "name": "maxMemberCount",
319
+ "type": "uint32"
320
+ },
321
+ {
322
+ "internalType": "Timestamp",
323
+ "name": "createdAt",
324
+ "type": "uint40"
325
+ },
326
+ {
327
+ "internalType": "Timestamp",
328
+ "name": "pausedAt",
329
+ "type": "uint40"
330
+ },
331
+ {
332
+ "internalType": "Str",
333
+ "name": "name",
334
+ "type": "bytes32"
335
+ }
336
+ ],
337
+ "internalType": "struct IAccess.RoleInfo",
338
+ "name": "info",
339
+ "type": "tuple"
340
+ }
341
+ ],
342
+ "name": "checkRoleCreation",
343
+ "outputs": [],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [
349
+ {
350
+ "internalType": "contract IAccessAdmin",
351
+ "name": "accessAdmin",
352
+ "type": "IAccessAdmin"
353
+ },
354
+ {
355
+ "internalType": "address",
356
+ "name": "target",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "internalType": "string",
361
+ "name": "targetName",
362
+ "type": "string"
363
+ },
364
+ {
365
+ "internalType": "bool",
366
+ "name": "checkAuthority",
367
+ "type": "bool"
368
+ }
369
+ ],
370
+ "name": "checkTargetCreation",
371
+ "outputs": [],
372
+ "stateMutability": "view",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [
377
+ {
378
+ "internalType": "bytes4",
379
+ "name": "selector",
380
+ "type": "bytes4"
381
+ },
382
+ {
383
+ "internalType": "string",
384
+ "name": "name",
385
+ "type": "string"
386
+ }
387
+ ],
388
+ "name": "toFunction",
389
+ "outputs": [
390
+ {
391
+ "components": [
392
+ {
393
+ "internalType": "Str",
394
+ "name": "name",
395
+ "type": "bytes32"
396
+ },
397
+ {
398
+ "internalType": "Selector",
399
+ "name": "selector",
400
+ "type": "bytes4"
401
+ },
402
+ {
403
+ "internalType": "Timestamp",
404
+ "name": "createdAt",
405
+ "type": "uint40"
406
+ }
407
+ ],
408
+ "internalType": "struct IAccess.FunctionInfo",
409
+ "name": "",
410
+ "type": "tuple"
411
+ }
412
+ ],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "RoleId",
420
+ "name": "adminRoleId",
421
+ "type": "uint64"
422
+ },
423
+ {
424
+ "internalType": "enum IAccess.RoleType",
425
+ "name": "roleType",
426
+ "type": "IAccess.RoleType"
427
+ },
428
+ {
429
+ "internalType": "uint32",
430
+ "name": "maxMemberCount",
431
+ "type": "uint32"
432
+ },
433
+ {
434
+ "internalType": "string",
435
+ "name": "name",
436
+ "type": "string"
437
+ }
438
+ ],
439
+ "name": "toRole",
440
+ "outputs": [
441
+ {
442
+ "components": [
443
+ {
444
+ "internalType": "RoleId",
445
+ "name": "adminRoleId",
446
+ "type": "uint64"
447
+ },
448
+ {
449
+ "internalType": "enum IAccess.RoleType",
450
+ "name": "roleType",
451
+ "type": "IAccess.RoleType"
452
+ },
453
+ {
454
+ "internalType": "uint32",
455
+ "name": "maxMemberCount",
456
+ "type": "uint32"
457
+ },
458
+ {
459
+ "internalType": "Timestamp",
460
+ "name": "createdAt",
461
+ "type": "uint40"
462
+ },
463
+ {
464
+ "internalType": "Timestamp",
465
+ "name": "pausedAt",
466
+ "type": "uint40"
467
+ },
468
+ {
469
+ "internalType": "Str",
470
+ "name": "name",
471
+ "type": "bytes32"
472
+ }
473
+ ],
474
+ "internalType": "struct IAccess.RoleInfo",
475
+ "name": "",
476
+ "type": "tuple"
477
+ }
478
+ ],
479
+ "stateMutability": "view",
480
+ "type": "function"
481
+ }
482
+ ],
483
+ "bytecode": "0x611b91610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806301c7b6b21461006f57806315fb0abb146100845780634924730a146100cf5780635a819662146100e25780639b7ec44c14610102578063cdfdf2a814610115575b5f80fd5b61008261007d36600461126b565b610128565b005b6100976100923660046113f3565b61036d565b60408051825181526020808401516001600160e01b031916908201529181015164ffffffffff16908201526060015b60405180910390f35b6100826100dd36600461143f565b610510565b6100f56100f03660046114e0565b610a41565b6040516100c69190611564565b6100826101103660046115ee565b610c1e565b610082610123366004611648565b610d78565b80801561013d57506001600160a01b03851615155b1561016b57604051631032fd6b60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b60405163d905700760e01b81526001600160a01b0385166004820152632d137dd560e01b602482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790604401602060405180830381865af41580156101ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f29190611713565b61021a57604051637737699b60e01b81526001600160a01b0385166004820152602401610162565b5f846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015610257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027b9190611740565b905060ff808216908516146102bf5760405163a1eb7bc960e01b81526001600160a01b038616600482015260ff808616602483015282166044820152606401610162565b5f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103209190611740565b905060ff8082169085161461036457604051630fc1a0bf60e41b81526001600160a01b038716600482015260ff808616602483015282166044820152606401610162565b50505050505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696103c48660648501611789565b602060405180830381865af41580156103df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610403919061179b565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610462573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048691906117b2565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156104dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050091906117cd565b64ffffffffff1690529392505050565b60405163302d508560e11b81526001600160a01b03848116600483015285169063605aa10a90602401602060405180830381865afa158015610554573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105789190611713565b15610679576040516312e1ebc560e01b81526001600160a01b0380851660048301528491908616906312e1ebc590602401606060405180830381865afa1580156105c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906117e8565b51604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610637573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261065e9190810190611886565b604051630bf898a560e31b81526004016101629291906118d2565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906106b2908690600401611789565b602060405180830381865af41580156106cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f1919061179b565b60405163a9dbaf2560e01b81526004810182905290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610742573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610766919061179b565b5f0361079057604051638a0b84e560e01b81526001600160a01b0385166004820152602401610162565b604051631a0358a960e11b8152600481018290525f906001600160a01b03871690633406b15290602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190611900565b90506001600160a01b038116156108295784848260405163375fd50360e11b81526004016101629392919061191b565b6040516303d2026b60e21b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90630f4809ac90602401602060405180830381865af415801561087f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190611713565b6108cb57604051637693f8d560e01b81526001600160a01b0386166004820152602401610162565b8215610a39575f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611900565b9050866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109949190611900565b6001600160a01b0316816001600160a01b03161461036457866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c9190611900565b604051630deaa28d60e31b81526001600160a01b0391821660048201529082166024820152604401610162565b505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610a9e57610a9e611550565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610af6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1a91906117cd565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9191906117cd565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610bd49190611789565b602060405180830381865af4158015610bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c13919061179b565b905295945050505050565b6040516308b09a5f60e41b81526001600160a01b0383811660048301525f9190851690638b09a5f0906024015f60405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8b919081019061198f565b604090810151905163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d079190611713565b15610d3057604051633b69638960e11b81526001600160a01b0384166004820152602401610162565b60ff80821690831614610d725760405163b1feebfb60e01b81526001600160a01b038416600482015260ff808416602483015282166044820152606401610162565b50505050565b60405163c6a0017960e01b81526001600160401b03831660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de79190611713565b15610ef157604051635bfa502760e01b81526001600160401b038316600482015282906001600160a01b03851690635bfa50279060240160c060405180830381865afa158015610e39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5d9190611a5f565b60a00151604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ed69190810190611886565b60405163c2f92fd360e01b8152600401610162929190611ae5565b805160405163c6a0017960e01b81526001600160401b0390911660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610f3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f639190611713565b610f8e578051604051634731add760e11b81526001600160401b039091166004820152602401610162565b60a081015160405163a9dbaf2560e01b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610fe2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611006919061179b565b5f036110305760405163ce242fe760e01b81526001600160401b0383166004820152602401610162565b5f836001600160a01b0316639cad005273__$9a094f9b231ed0f5f85a69be8408d93180$__63b11a19e88560a001516040518263ffffffff1660e01b815260040161107d91815260200190565b5f60405180830381865af4158015611097573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110be9190810190611886565b6040518263ffffffff1660e01b81526004016110da9190611789565b602060405180830381865afa1580156110f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111199190611b06565b60405163a42e52e960e01b81526001600160401b038216600482015290915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111969190611713565b15610d725760a0820151604051631623433d60e31b8152849173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916111db9160040190815260200190565b5f60405180830381865af41580156111f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261121c9190810190611886565b8260405163ab0b63a360e01b815260040161016293929190611b21565b6001600160a01b038116811461124d575f80fd5b50565b60ff8116811461124d575f80fd5b801515811461124d575f80fd5b5f805f805f60a0868803121561127f575f80fd5b853561128a81611239565b9450602086013561129a81611239565b935060408601356112aa81611250565b925060608601356112ba81611250565b915060808601356112ca8161125e565b809150509295509295909350565b6001600160e01b03198116811461124d575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b0381118282101715611323576113236112ed565b60405290565b60405160e081016001600160401b0381118282101715611323576113236112ed565b604051601f8201601f191681016001600160401b0381118282101715611373576113736112ed565b604052919050565b5f6001600160401b03821115611393576113936112ed565b50601f01601f191660200190565b5f82601f8301126113b0575f80fd5b81356113c36113be8261137b565b61134b565b8181528460208386010111156113d7575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611404575f80fd5b823561140f816112d8565b915060208301356001600160401b03811115611429575f80fd5b611435858286016113a1565b9150509250929050565b5f805f8060808587031215611452575f80fd5b843561145d81611239565b9350602085013561146d81611239565b925060408501356001600160401b03811115611487575f80fd5b611493878288016113a1565b92505060608501356114a48161125e565b939692955090935050565b6001600160401b038116811461124d575f80fd5b6004811061124d575f80fd5b63ffffffff8116811461124d575f80fd5b5f805f80608085870312156114f3575f80fd5b84356114fe816114af565b9350602085013561150e816114c3565b9250604085013561151e816114cf565b915060608501356001600160401b03811115611538575f80fd5b611544878288016113a1565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c08201906004811061159757634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff604084015116604083015260608301516115c6606084018264ffffffffff169052565b5060808301516115df608084018264ffffffffff169052565b5060a092830151919092015290565b5f805f60608486031215611600575f80fd5b833561160b81611239565b9250602084013561161b81611239565b9150604084013561162b81611250565b809150509250925092565b64ffffffffff8116811461124d575f80fd5b5f805f83850361010081121561165c575f80fd5b843561166781611239565b93506020850135611677816114af565b925060c0603f198201121561168a575f80fd5b50611693611301565b60408501356116a1816114af565b815260608501356116b1816114c3565b602082015260808501356116c4816114cf565b604082015260a08501356116d781611636565b606082015260c08501356116ea81611636565b608082015260e0949094013560a0850152509093909250565b805161170e8161125e565b919050565b5f60208284031215611723575f80fd5b815161172e8161125e565b9392505050565b805161170e81611250565b5f60208284031215611750575f80fd5b815161172e81611250565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61172e602083018461175b565b5f602082840312156117ab575f80fd5b5051919050565b5f602082840312156117c2575f80fd5b815161172e816112d8565b5f602082840312156117dd575f80fd5b815161172e81611636565b5f60608284031280156117f9575f80fd5b50604051606081016001600160401b038111828210171561181c5761181c6112ed565b6040528251815260208301516118318161125e565b6020820152604083015161184481611636565b60408201529392505050565b5f61185d6113be8461137b565b9050828152838383011115611870575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215611896575f80fd5b81516001600160401b038111156118ab575f80fd5b8201601f810184136118bb575f80fd5b6118ca84825160208401611850565b949350505050565b6001600160a01b03831681526040602082018190525f906118ca9083018461175b565b805161170e81611239565b5f60208284031215611910575f80fd5b815161172e81611239565b6001600160a01b03841681526060602082018190525f9061193e9083018561175b565b905060018060a01b0383166040830152949350505050565b80516bffffffffffffffffffffffff8116811461170e575f80fd5b5f82601f830112611980575f80fd5b61172e83835160208501611850565b5f6020828403121561199f575f80fd5b81516001600160401b038111156119b4575f80fd5b820160e081850312156119c5575f80fd5b6119cd611329565b6119d682611956565b81526119e460208301611956565b60208201526119f560408301611735565b6040820152611a0660608301611703565b6060820152611a17608083016118f5565b6080820152611a2860a083016118f5565b60a082015260c08201516001600160401b03811115611a45575f80fd5b611a5186828501611971565b60c083015250949350505050565b5f60c0828403128015611a70575f80fd5b50611a79611301565b8251611a84816114af565b81526020830151611a94816114c3565b60208201526040830151611aa7816114cf565b60408201526060830151611aba81611636565b60608201526080830151611acd81611636565b608082015260a0928301519281019290925250919050565b6001600160401b0383168152604060208201525f6118ca604083018461175b565b5f60208284031215611b16575f80fd5b815161172e816114af565b6001600160401b0384168152606060208201525f611b42606083018561175b565b90506001600160401b038316604083015294935050505056fea26469706673582212206caaabebe143e82caf50726141461d2194b348d71c203df700527a00377c0e9364736f6c634300081a0033",
484
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806301c7b6b21461006f57806315fb0abb146100845780634924730a146100cf5780635a819662146100e25780639b7ec44c14610102578063cdfdf2a814610115575b5f80fd5b61008261007d36600461126b565b610128565b005b6100976100923660046113f3565b61036d565b60408051825181526020808401516001600160e01b031916908201529181015164ffffffffff16908201526060015b60405180910390f35b6100826100dd36600461143f565b610510565b6100f56100f03660046114e0565b610a41565b6040516100c69190611564565b6100826101103660046115ee565b610c1e565b610082610123366004611648565b610d78565b80801561013d57506001600160a01b03851615155b1561016b57604051631032fd6b60e01b81526001600160a01b03861660048201526024015b60405180910390fd5b60405163d905700760e01b81526001600160a01b0385166004820152632d137dd560e01b602482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__9063d905700790604401602060405180830381865af41580156101ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f29190611713565b61021a57604051637737699b60e01b81526001600160a01b0385166004820152602401610162565b5f846001600160a01b031663b68d18096040518163ffffffff1660e01b8152600401602060405180830381865afa158015610257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027b9190611740565b905060ff808216908516146102bf5760405163a1eb7bc960e01b81526001600160a01b038616600482015260ff808616602483015282166044820152606401610162565b5f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103209190611740565b905060ff8082169085161461036457604051630fc1a0bf60e41b81526001600160a01b038716600482015260ff808616602483015282166044820152606401610162565b50505050505050565b60408051606080820183525f808352602083018190528284015282519081019283905263cdc23e6960e01b909252908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696103c48660648501611789565b602060405180830381865af41580156103df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610403919061179b565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610462573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048691906117b2565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156104dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050091906117cd565b64ffffffffff1690529392505050565b60405163302d508560e11b81526001600160a01b03848116600483015285169063605aa10a90602401602060405180830381865afa158015610554573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105789190611713565b15610679576040516312e1ebc560e01b81526001600160a01b0380851660048301528491908616906312e1ebc590602401606060405180830381865afa1580156105c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e891906117e8565b51604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610637573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261065e9190810190611886565b604051630bf898a560e31b81526004016101629291906118d2565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906106b2908690600401611789565b602060405180830381865af41580156106cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f1919061179b565b60405163a9dbaf2560e01b81526004810182905290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610742573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610766919061179b565b5f0361079057604051638a0b84e560e01b81526001600160a01b0385166004820152602401610162565b604051631a0358a960e11b8152600481018290525f906001600160a01b03871690633406b15290602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190611900565b90506001600160a01b038116156108295784848260405163375fd50360e11b81526004016101629392919061191b565b6040516303d2026b60e21b81526001600160a01b038616600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90630f4809ac90602401602060405180830381865af415801561087f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a39190611713565b6108cb57604051637693f8d560e01b81526001600160a01b0386166004820152602401610162565b8215610a39575f856001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109329190611900565b9050866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109949190611900565b6001600160a01b0316816001600160a01b03161461036457866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c9190611900565b604051630deaa28d60e31b81526001600160a01b0391821660048201529082166024820152604401610162565b505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610a9e57610a9e611550565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610af6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1a91906117cd565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9191906117cd565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610bd49190611789565b602060405180830381865af4158015610bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c13919061179b565b905295945050505050565b6040516308b09a5f60e41b81526001600160a01b0383811660048301525f9190851690638b09a5f0906024015f60405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8b919081019061198f565b604090810151905163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015610ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d079190611713565b15610d3057604051633b69638960e11b81526001600160a01b0384166004820152602401610162565b60ff80821690831614610d725760405163b1feebfb60e01b81526001600160a01b038416600482015260ff808416602483015282166044820152606401610162565b50505050565b60405163c6a0017960e01b81526001600160401b03831660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de79190611713565b15610ef157604051635bfa502760e01b81526001600160401b038316600482015282906001600160a01b03851690635bfa50279060240160c060405180830381865afa158015610e39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e5d9190611a5f565b60a00151604051631623433d60e31b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063b11a19e8906024015f60405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ed69190810190611886565b60405163c2f92fd360e01b8152600401610162929190611ae5565b805160405163c6a0017960e01b81526001600160401b0390911660048201526001600160a01b0384169063c6a0017990602401602060405180830381865afa158015610f3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f639190611713565b610f8e578051604051634731add760e11b81526001600160401b039091166004820152602401610162565b60a081015160405163a9dbaf2560e01b8152600481019190915273__$9a094f9b231ed0f5f85a69be8408d93180$__9063a9dbaf2590602401602060405180830381865af4158015610fe2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611006919061179b565b5f036110305760405163ce242fe760e01b81526001600160401b0383166004820152602401610162565b5f836001600160a01b0316639cad005273__$9a094f9b231ed0f5f85a69be8408d93180$__63b11a19e88560a001516040518263ffffffff1660e01b815260040161107d91815260200190565b5f60405180830381865af4158015611097573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110be9190810190611886565b6040518263ffffffff1660e01b81526004016110da9190611789565b602060405180830381865afa1580156110f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111199190611b06565b60405163a42e52e960e01b81526001600160401b038216600482015290915073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063a42e52e990602401602060405180830381865af4158015611172573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111969190611713565b15610d725760a0820151604051631623433d60e31b8152849173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e8916111db9160040190815260200190565b5f60405180830381865af41580156111f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261121c9190810190611886565b8260405163ab0b63a360e01b815260040161016293929190611b21565b6001600160a01b038116811461124d575f80fd5b50565b60ff8116811461124d575f80fd5b801515811461124d575f80fd5b5f805f805f60a0868803121561127f575f80fd5b853561128a81611239565b9450602086013561129a81611239565b935060408601356112aa81611250565b925060608601356112ba81611250565b915060808601356112ca8161125e565b809150509295509295909350565b6001600160e01b03198116811461124d575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b0381118282101715611323576113236112ed565b60405290565b60405160e081016001600160401b0381118282101715611323576113236112ed565b604051601f8201601f191681016001600160401b0381118282101715611373576113736112ed565b604052919050565b5f6001600160401b03821115611393576113936112ed565b50601f01601f191660200190565b5f82601f8301126113b0575f80fd5b81356113c36113be8261137b565b61134b565b8181528460208386010111156113d7575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215611404575f80fd5b823561140f816112d8565b915060208301356001600160401b03811115611429575f80fd5b611435858286016113a1565b9150509250929050565b5f805f8060808587031215611452575f80fd5b843561145d81611239565b9350602085013561146d81611239565b925060408501356001600160401b03811115611487575f80fd5b611493878288016113a1565b92505060608501356114a48161125e565b939692955090935050565b6001600160401b038116811461124d575f80fd5b6004811061124d575f80fd5b63ffffffff8116811461124d575f80fd5b5f805f80608085870312156114f3575f80fd5b84356114fe816114af565b9350602085013561150e816114c3565b9250604085013561151e816114cf565b915060608501356001600160401b03811115611538575f80fd5b611544878288016113a1565b91505092959194509250565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c08201906004811061159757634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff604084015116604083015260608301516115c6606084018264ffffffffff169052565b5060808301516115df608084018264ffffffffff169052565b5060a092830151919092015290565b5f805f60608486031215611600575f80fd5b833561160b81611239565b9250602084013561161b81611239565b9150604084013561162b81611250565b809150509250925092565b64ffffffffff8116811461124d575f80fd5b5f805f83850361010081121561165c575f80fd5b843561166781611239565b93506020850135611677816114af565b925060c0603f198201121561168a575f80fd5b50611693611301565b60408501356116a1816114af565b815260608501356116b1816114c3565b602082015260808501356116c4816114cf565b604082015260a08501356116d781611636565b606082015260c08501356116ea81611636565b608082015260e0949094013560a0850152509093909250565b805161170e8161125e565b919050565b5f60208284031215611723575f80fd5b815161172e8161125e565b9392505050565b805161170e81611250565b5f60208284031215611750575f80fd5b815161172e81611250565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61172e602083018461175b565b5f602082840312156117ab575f80fd5b5051919050565b5f602082840312156117c2575f80fd5b815161172e816112d8565b5f602082840312156117dd575f80fd5b815161172e81611636565b5f60608284031280156117f9575f80fd5b50604051606081016001600160401b038111828210171561181c5761181c6112ed565b6040528251815260208301516118318161125e565b6020820152604083015161184481611636565b60408201529392505050565b5f61185d6113be8461137b565b9050828152838383011115611870575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215611896575f80fd5b81516001600160401b038111156118ab575f80fd5b8201601f810184136118bb575f80fd5b6118ca84825160208401611850565b949350505050565b6001600160a01b03831681526040602082018190525f906118ca9083018461175b565b805161170e81611239565b5f60208284031215611910575f80fd5b815161172e81611239565b6001600160a01b03841681526060602082018190525f9061193e9083018561175b565b905060018060a01b0383166040830152949350505050565b80516bffffffffffffffffffffffff8116811461170e575f80fd5b5f82601f830112611980575f80fd5b61172e83835160208501611850565b5f6020828403121561199f575f80fd5b81516001600160401b038111156119b4575f80fd5b820160e081850312156119c5575f80fd5b6119cd611329565b6119d682611956565b81526119e460208301611956565b60208201526119f560408301611735565b6040820152611a0660608301611703565b6060820152611a17608083016118f5565b6080820152611a2860a083016118f5565b60a082015260c08201516001600160401b03811115611a45575f80fd5b611a5186828501611971565b60c083015250949350505050565b5f60c0828403128015611a70575f80fd5b50611a79611301565b8251611a84816114af565b81526020830151611a94816114c3565b60208201526040830151611aa7816114cf565b60408201526060830151611aba81611636565b60608201526080830151611acd81611636565b608082015260a0928301519281019290925250919050565b6001600160401b0383168152604060208201525f6118ca604083018461175b565b5f60208284031215611b16575f80fd5b815161172e816114af565b6001600160401b0384168152606060208201525f611b42606083018561175b565b90506001600160401b038316604083015294935050505056fea26469706673582212206caaabebe143e82caf50726141461d2194b348d71c203df700527a00377c0e9364736f6c634300081a0033",
485
+ "linkReferences": {
486
+ "contracts/shared/ContractLib.sol": {
487
+ "ContractLib": [
488
+ {
489
+ "length": 20,
490
+ "start": 458
491
+ },
492
+ {
493
+ "length": 20,
494
+ "start": 2171
495
+ }
496
+ ]
497
+ },
498
+ "contracts/type/ObjectType.sol": {
499
+ "ObjectTypeLib": [
500
+ {
501
+ "length": 20,
502
+ "start": 3295
503
+ }
504
+ ]
505
+ },
506
+ "contracts/type/RoleId.sol": {
507
+ "RoleIdLib": [
508
+ {
509
+ "length": 20,
510
+ "start": 4462
511
+ }
512
+ ]
513
+ },
514
+ "contracts/type/Selector.sol": {
515
+ "SelectorLib": [
516
+ {
517
+ "length": 20,
518
+ "start": 1118
519
+ }
520
+ ]
521
+ },
522
+ "contracts/type/String.sol": {
523
+ "StrLib": [
524
+ {
525
+ "length": 20,
526
+ "start": 979
527
+ },
528
+ {
529
+ "length": 20,
530
+ "start": 1588
531
+ },
532
+ {
533
+ "length": 20,
534
+ "start": 1726
535
+ },
536
+ {
537
+ "length": 20,
538
+ "start": 1854
539
+ },
540
+ {
541
+ "length": 20,
542
+ "start": 3027
543
+ },
544
+ {
545
+ "length": 20,
546
+ "start": 3756
547
+ },
548
+ {
549
+ "length": 20,
550
+ "start": 4062
551
+ },
552
+ {
553
+ "length": 20,
554
+ "start": 4214
555
+ },
556
+ {
557
+ "length": 20,
558
+ "start": 4581
559
+ }
560
+ ]
561
+ },
562
+ "contracts/type/Timestamp.sol": {
563
+ "TimestampLib": [
564
+ {
565
+ "length": 20,
566
+ "start": 1227
567
+ },
568
+ {
569
+ "length": 20,
570
+ "start": 2789
571
+ },
572
+ {
573
+ "length": 20,
574
+ "start": 2908
575
+ }
576
+ ]
577
+ }
578
+ },
579
+ "deployedLinkReferences": {
580
+ "contracts/shared/ContractLib.sol": {
581
+ "ContractLib": [
582
+ {
583
+ "length": 20,
584
+ "start": 406
585
+ },
586
+ {
587
+ "length": 20,
588
+ "start": 2119
589
+ }
590
+ ]
591
+ },
592
+ "contracts/type/ObjectType.sol": {
593
+ "ObjectTypeLib": [
594
+ {
595
+ "length": 20,
596
+ "start": 3243
597
+ }
598
+ ]
599
+ },
600
+ "contracts/type/RoleId.sol": {
601
+ "RoleIdLib": [
602
+ {
603
+ "length": 20,
604
+ "start": 4410
605
+ }
606
+ ]
607
+ },
608
+ "contracts/type/Selector.sol": {
609
+ "SelectorLib": [
610
+ {
611
+ "length": 20,
612
+ "start": 1066
613
+ }
614
+ ]
615
+ },
616
+ "contracts/type/String.sol": {
617
+ "StrLib": [
618
+ {
619
+ "length": 20,
620
+ "start": 927
621
+ },
622
+ {
623
+ "length": 20,
624
+ "start": 1536
625
+ },
626
+ {
627
+ "length": 20,
628
+ "start": 1674
629
+ },
630
+ {
631
+ "length": 20,
632
+ "start": 1802
633
+ },
634
+ {
635
+ "length": 20,
636
+ "start": 2975
637
+ },
638
+ {
639
+ "length": 20,
640
+ "start": 3704
641
+ },
642
+ {
643
+ "length": 20,
644
+ "start": 4010
645
+ },
646
+ {
647
+ "length": 20,
648
+ "start": 4162
649
+ },
650
+ {
651
+ "length": 20,
652
+ "start": 4529
653
+ }
654
+ ]
655
+ },
656
+ "contracts/type/Timestamp.sol": {
657
+ "TimestampLib": [
658
+ {
659
+ "length": 20,
660
+ "start": 1175
661
+ },
662
+ {
663
+ "length": 20,
664
+ "start": 2737
665
+ },
666
+ {
667
+ "length": 20,
668
+ "start": 2856
669
+ }
670
+ ]
671
+ }
672
+ }
673
+ }