@etherisc/gif-next 0.0.2-f1b01e0-214 → 0.0.2-f1e6957-384

Sign up to get free protection for your applications and to get access to all the features.
Files changed (459) hide show
  1. package/README.md +76 -341
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +100 -32
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +111 -45
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +52 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +367 -126
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1546 -211
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +261 -59
  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 +258 -82
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +97 -14
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +52 -27
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +264 -64
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +20 -11
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +368 -139
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +160 -78
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +19 -10
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +228 -15
  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 +81 -52
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +263 -63
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +109 -68
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +263 -63
  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 +74 -33
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +263 -63
  53. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +35 -26
  55. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +85 -60
  57. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +263 -63
  59. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +264 -78
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +263 -63
  63. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  64. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  67. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  68. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +359 -33
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +297 -3
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +407 -97
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +756 -392
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +231 -75
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +492 -424
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +323 -29
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -42
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1444 -2133
  87. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  88. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  90. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +101 -88
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +2 -2
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +25 -16
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +277 -60
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +19 -10
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +29 -0
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +19 -10
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +83 -38
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +116 -50
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +37 -36
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +263 -63
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +294 -117
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -58
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +180 -27
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +19 -10
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +220 -1
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +19 -10
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +88 -22
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +324 -65
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +141 -63
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +216 -59
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +113 -43
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +19 -10
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +263 -63
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +142 -102
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +128 -70
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +166 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +50 -10
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +55 -0
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +29 -0
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +19 -10
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +203 -18
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +157 -86
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +508 -18
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +138 -72
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +93 -72
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +120 -50
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +19 -10
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +231 -46
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +101 -43
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +33 -22
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +29 -0
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +71 -60
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +537 -300
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +330 -71
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +41 -12
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +96 -38
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +543 -226
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +167 -103
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +119 -59
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Component.sol/Component.json +19 -10
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +169 -174
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +130 -64
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +76 -41
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  223. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +2 -2
  224. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +19 -10
  226. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +84 -105
  228. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -10
  230. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  231. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  232. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  233. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +19 -0
  236. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  239. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  240. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  241. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -10
  242. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  243. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  244. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  245. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  246. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  247. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  248. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  249. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  250. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -0
  251. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  252. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  253. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  254. package/artifacts/contracts/shared/Service.sol/Service.json +29 -0
  255. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  256. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  257. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  258. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  259. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  260. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  261. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  262. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1384 -128
  263. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  264. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +94 -114
  265. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  266. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  267. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  268. package/artifacts/contracts/staking/Staking.sol/Staking.json +1472 -185
  269. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
  270. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +73 -72
  271. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  272. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +139 -64
  273. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  274. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +293 -149
  275. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +128 -164
  277. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  278. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +96 -46
  279. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  280. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1617 -817
  281. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  282. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  283. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  284. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +140 -78
  285. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  286. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Amount.sol/AmountLib.json +2 -2
  288. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  290. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  292. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  294. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  296. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  298. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  300. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  301. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  302. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  304. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  305. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  306. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +6 -6
  308. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  310. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  312. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  314. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  316. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +39 -218
  318. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  320. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  325. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  327. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +2 -2
  329. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  331. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  332. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  333. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  334. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
  335. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  336. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  337. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  338. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  339. package/contracts/accounting/AccountingService.sol +15 -3
  340. package/contracts/accounting/IAccountingService.sol +2 -0
  341. package/contracts/authorization/AccessAdmin.sol +292 -317
  342. package/contracts/authorization/AccessAdminLib.sol +517 -22
  343. package/contracts/authorization/AccessManagerCloneable.sol +0 -18
  344. package/contracts/authorization/Authorization.sol +64 -239
  345. package/contracts/authorization/IAccess.sol +23 -14
  346. package/contracts/authorization/IAccessAdmin.sol +25 -53
  347. package/contracts/authorization/IAuthorization.sol +3 -57
  348. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  349. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  350. package/contracts/distribution/BasicDistribution.sol +3 -4
  351. package/contracts/distribution/BasicDistributionAuthorization.sol +11 -4
  352. package/contracts/distribution/Distribution.sol +9 -8
  353. package/contracts/distribution/DistributionService.sol +98 -35
  354. package/contracts/distribution/IDistributionComponent.sol +3 -1
  355. package/contracts/distribution/IDistributionService.sol +20 -8
  356. package/contracts/examples/fire/FireProduct.sol +6 -6
  357. package/contracts/examples/unpermissioned/SimpleProduct.sol +83 -19
  358. package/contracts/instance/BaseStore.sol +93 -0
  359. package/contracts/instance/IBaseStore.sol +37 -0
  360. package/contracts/instance/IInstance.sol +55 -5
  361. package/contracts/instance/IInstanceService.sol +37 -6
  362. package/contracts/instance/Instance.sol +103 -56
  363. package/contracts/instance/InstanceAdmin.sol +151 -294
  364. package/contracts/instance/InstanceAuthorizationV3.sol +106 -66
  365. package/contracts/instance/InstanceReader.sol +350 -394
  366. package/contracts/instance/InstanceService.sol +180 -125
  367. package/contracts/instance/InstanceStore.sol +153 -128
  368. package/contracts/instance/ProductStore.sol +290 -0
  369. package/contracts/instance/RiskSet.sol +10 -2
  370. package/contracts/instance/TargetNames.sol +10 -0
  371. package/contracts/instance/base/BalanceStore.sol +4 -6
  372. package/contracts/instance/base/ObjectLifecycle.sol +2 -6
  373. package/contracts/instance/module/IComponents.sol +0 -2
  374. package/contracts/oracle/BasicOracle.sol +2 -3
  375. package/contracts/oracle/BasicOracleAuthorization.sol +18 -2
  376. package/contracts/oracle/Oracle.sol +4 -6
  377. package/contracts/oracle/OracleService.sol +8 -8
  378. package/contracts/pool/BasicPool.sol +4 -16
  379. package/contracts/pool/BasicPoolAuthorization.sol +10 -5
  380. package/contracts/pool/BundleService.sol +34 -43
  381. package/contracts/pool/IBundleService.sol +14 -13
  382. package/contracts/pool/IPoolService.sol +7 -2
  383. package/contracts/pool/Pool.sol +6 -18
  384. package/contracts/pool/PoolLib.sol +127 -2
  385. package/contracts/pool/PoolService.sol +40 -181
  386. package/contracts/product/ApplicationService.sol +64 -11
  387. package/contracts/product/BasicProduct.sol +2 -3
  388. package/contracts/product/BasicProductAuthorization.sol +11 -4
  389. package/contracts/product/ClaimService.sol +99 -105
  390. package/contracts/product/IApplicationService.sol +21 -2
  391. package/contracts/product/IClaimService.sol +5 -4
  392. package/contracts/product/IPolicyService.sol +9 -2
  393. package/contracts/product/IRiskService.sol +18 -3
  394. package/contracts/product/PolicyService.sol +40 -59
  395. package/contracts/product/PolicyServiceLib.sol +79 -5
  396. package/contracts/product/PricingService.sol +22 -25
  397. package/contracts/product/Product.sol +40 -16
  398. package/contracts/product/RiskService.sol +50 -15
  399. package/contracts/registry/IRegistry.sol +11 -9
  400. package/contracts/registry/IRelease.sol +6 -3
  401. package/contracts/registry/Registry.sol +15 -9
  402. package/contracts/registry/RegistryAdmin.sol +33 -118
  403. package/contracts/registry/RegistryAuthorization.sol +139 -69
  404. package/contracts/registry/RegistryService.sol +1 -1
  405. package/contracts/registry/ReleaseAdmin.sol +52 -106
  406. package/contracts/registry/ReleaseRegistry.sol +20 -12
  407. package/contracts/registry/ServiceAuthorizationV3.sol +43 -32
  408. package/contracts/registry/TokenRegistry.sol +56 -52
  409. package/contracts/shared/Component.sol +8 -8
  410. package/contracts/shared/ComponentService.sol +245 -262
  411. package/contracts/shared/ContractLib.sol +106 -75
  412. package/contracts/shared/IComponent.sol +1 -1
  413. package/contracts/shared/IComponentService.sol +12 -13
  414. package/contracts/shared/INftOwnable.sol +2 -0
  415. package/contracts/shared/IRegisterable.sol +0 -1
  416. package/contracts/shared/InstanceLinkedComponent.sol +6 -9
  417. package/contracts/shared/NftOwnable.sol +3 -1
  418. package/contracts/shared/PolicyHolder.sol +3 -2
  419. package/contracts/shared/Service.sol +6 -4
  420. package/contracts/staking/IStaking.sol +261 -70
  421. package/contracts/staking/IStakingService.sol +39 -84
  422. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  423. package/contracts/staking/Staking.sol +468 -217
  424. package/contracts/staking/StakingLib.sol +38 -124
  425. package/contracts/staking/StakingManager.sol +4 -3
  426. package/contracts/staking/StakingReader.sol +62 -71
  427. package/contracts/staking/StakingService.sol +42 -185
  428. package/contracts/staking/StakingServiceManager.sol +1 -0
  429. package/contracts/staking/StakingStore.sol +1093 -331
  430. package/contracts/staking/TargetHandler.sol +132 -0
  431. package/contracts/staking/TargetManagerLib.sol +69 -46
  432. package/contracts/type/Amount.sol +4 -0
  433. package/contracts/type/Blocknumber.sol +17 -22
  434. package/contracts/type/ChainId.sol +101 -0
  435. package/contracts/type/NftId.sol +3 -3
  436. package/contracts/type/ObjectType.sol +16 -3
  437. package/contracts/type/RoleId.sol +57 -59
  438. package/contracts/type/Seconds.sol +19 -0
  439. package/contracts/type/String.sol +12 -0
  440. package/contracts/type/Timestamp.sol +4 -2
  441. package/contracts/type/UFixed.sol +1 -0
  442. package/contracts/upgradeability/IVersionable.sol +3 -0
  443. package/contracts/upgradeability/ProxyManager.sol +26 -12
  444. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  445. package/contracts/upgradeability/Versionable.sol +6 -3
  446. package/package.json +1 -1
  447. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +0 -4
  448. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +0 -24
  449. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  450. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -485
  451. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  452. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  453. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  454. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  455. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  456. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  457. package/contracts/shared/IKeyValueStore.sol +0 -54
  458. package/contracts/shared/KeyValueStore.sol +0 -131
  459. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -12,13 +12,23 @@
12
12
  },
13
13
  {
14
14
  "internalType": "ObjectType",
15
- "name": "targetDomain",
15
+ "name": "domain",
16
16
  "type": "uint8"
17
17
  },
18
18
  {
19
- "internalType": "bool",
20
- "name": "isComponent",
21
- "type": "bool"
19
+ "internalType": "uint8",
20
+ "name": "release",
21
+ "type": "uint8"
22
+ },
23
+ {
24
+ "internalType": "string",
25
+ "name": "commitHash",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "internalType": "enum IAccess.TargetType",
30
+ "name": "targetType",
31
+ "type": "uint8"
22
32
  },
23
33
  {
24
34
  "internalType": "bool",
@@ -29,11 +39,33 @@
29
39
  "stateMutability": "nonpayable",
30
40
  "type": "constructor"
31
41
  },
42
+ {
43
+ "inputs": [
44
+ {
45
+ "internalType": "string",
46
+ "name": "commitHash",
47
+ "type": "string"
48
+ }
49
+ ],
50
+ "name": "ErrorAuthorizationCommitHashInvalid",
51
+ "type": "error"
52
+ },
32
53
  {
33
54
  "inputs": [],
34
55
  "name": "ErrorAuthorizationMainTargetNameEmpty",
35
56
  "type": "error"
36
57
  },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "uint8",
62
+ "name": "release",
63
+ "type": "uint8"
64
+ }
65
+ ],
66
+ "name": "ErrorAuthorizationReleaseInvalid",
67
+ "type": "error"
68
+ },
37
69
  {
38
70
  "inputs": [],
39
71
  "name": "ErrorAuthorizationTargetDomainZero",
@@ -64,7 +96,59 @@
64
96
  },
65
97
  {
66
98
  "inputs": [],
67
- "name": "GIF_RELEASE",
99
+ "name": "COMMIT_HASH",
100
+ "outputs": [
101
+ {
102
+ "internalType": "string",
103
+ "name": "",
104
+ "type": "string"
105
+ }
106
+ ],
107
+ "stateMutability": "view",
108
+ "type": "function"
109
+ },
110
+ {
111
+ "inputs": [],
112
+ "name": "COMMIT_HASH_LENGTH",
113
+ "outputs": [
114
+ {
115
+ "internalType": "uint256",
116
+ "name": "",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "COMPONENT_ROLE_MIN",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint64",
129
+ "name": "",
130
+ "type": "uint64"
131
+ }
132
+ ],
133
+ "stateMutability": "view",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "DOMAIN",
139
+ "outputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "",
143
+ "type": "uint8"
144
+ }
145
+ ],
146
+ "stateMutability": "view",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [],
151
+ "name": "GIF_INITIAL_VERSION",
68
152
  "outputs": [
69
153
  {
70
154
  "internalType": "uint256",
@@ -75,6 +159,19 @@
75
159
  "stateMutability": "view",
76
160
  "type": "function"
77
161
  },
162
+ {
163
+ "inputs": [],
164
+ "name": "INSTANCE_ROLE_MIN",
165
+ "outputs": [
166
+ {
167
+ "internalType": "uint64",
168
+ "name": "",
169
+ "type": "uint64"
170
+ }
171
+ ],
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
78
175
  {
79
176
  "inputs": [],
80
177
  "name": "ROLE_NAME_SUFFIX",
@@ -90,7 +187,7 @@
90
187
  },
91
188
  {
92
189
  "inputs": [],
93
- "name": "SERVICE_ROLE_NAME_SUFFIX",
190
+ "name": "SERVICE_NAME_SUFFIX",
94
191
  "outputs": [
95
192
  {
96
193
  "internalType": "string",
@@ -132,6 +229,11 @@
132
229
  "internalType": "Timestamp",
133
230
  "name": "createdAt",
134
231
  "type": "uint40"
232
+ },
233
+ {
234
+ "internalType": "Blocknumber",
235
+ "name": "lastUpdateIn",
236
+ "type": "uint40"
135
237
  }
136
238
  ],
137
239
  "internalType": "struct IAccess.FunctionInfo[]",
@@ -162,19 +264,13 @@
162
264
  "type": "function"
163
265
  },
164
266
  {
165
- "inputs": [
166
- {
167
- "internalType": "ObjectType",
168
- "name": "componentDomain",
169
- "type": "uint8"
170
- }
171
- ],
172
- "name": "getComponentRole",
267
+ "inputs": [],
268
+ "name": "getCommitHash",
173
269
  "outputs": [
174
270
  {
175
- "internalType": "RoleId",
176
- "name": "roleId",
177
- "type": "uint64"
271
+ "internalType": "string",
272
+ "name": "commitHash",
273
+ "type": "string"
178
274
  }
179
275
  ],
180
276
  "stateMutability": "view",
@@ -199,7 +295,7 @@
199
295
  "outputs": [
200
296
  {
201
297
  "internalType": "Str",
202
- "name": "",
298
+ "name": "target",
203
299
  "type": "bytes32"
204
300
  }
205
301
  ],
@@ -229,7 +325,7 @@
229
325
  "type": "uint8"
230
326
  }
231
327
  ],
232
- "stateMutability": "pure",
328
+ "stateMutability": "view",
233
329
  "type": "function"
234
330
  },
235
331
  {
@@ -250,8 +346,8 @@
250
346
  "type": "uint64"
251
347
  },
252
348
  {
253
- "internalType": "enum IAccess.RoleType",
254
- "name": "roleType",
349
+ "internalType": "enum IAccess.TargetType",
350
+ "name": "targetType",
255
351
  "type": "uint8"
256
352
  },
257
353
  {
@@ -269,6 +365,11 @@
269
365
  "name": "pausedAt",
270
366
  "type": "uint40"
271
367
  },
368
+ {
369
+ "internalType": "Blocknumber",
370
+ "name": "lastUpdateIn",
371
+ "type": "uint40"
372
+ },
272
373
  {
273
374
  "internalType": "Str",
274
375
  "name": "name",
@@ -283,6 +384,25 @@
283
384
  "stateMutability": "view",
284
385
  "type": "function"
285
386
  },
387
+ {
388
+ "inputs": [
389
+ {
390
+ "internalType": "RoleId",
391
+ "name": "roleId",
392
+ "type": "uint64"
393
+ }
394
+ ],
395
+ "name": "getRoleName",
396
+ "outputs": [
397
+ {
398
+ "internalType": "string",
399
+ "name": "roleName",
400
+ "type": "string"
401
+ }
402
+ ],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
286
406
  {
287
407
  "inputs": [],
288
408
  "name": "getRoles",
@@ -296,6 +416,44 @@
296
416
  "stateMutability": "view",
297
417
  "type": "function"
298
418
  },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "ObjectType",
423
+ "name": "serviceDomain",
424
+ "type": "uint8"
425
+ }
426
+ ],
427
+ "name": "getServiceAddress",
428
+ "outputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "service",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "uint256",
442
+ "name": "idx",
443
+ "type": "uint256"
444
+ }
445
+ ],
446
+ "name": "getServiceDomain",
447
+ "outputs": [
448
+ {
449
+ "internalType": "ObjectType",
450
+ "name": "serviceDomain",
451
+ "type": "uint8"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
299
457
  {
300
458
  "inputs": [],
301
459
  "name": "getServiceDomains",
@@ -325,7 +483,7 @@
325
483
  "type": "uint64"
326
484
  }
327
485
  ],
328
- "stateMutability": "pure",
486
+ "stateMutability": "view",
329
487
  "type": "function"
330
488
  },
331
489
  {
@@ -340,7 +498,7 @@
340
498
  "outputs": [
341
499
  {
342
500
  "internalType": "Str",
343
- "name": "serviceTarget",
501
+ "name": "target",
344
502
  "type": "bytes32"
345
503
  }
346
504
  ],
@@ -363,7 +521,7 @@
363
521
  "type": "bytes32"
364
522
  }
365
523
  ],
366
- "stateMutability": "view",
524
+ "stateMutability": "pure",
367
525
  "type": "function"
368
526
  },
369
527
  {
@@ -482,18 +640,38 @@
482
640
  "type": "function"
483
641
  }
484
642
  ],
485
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526004906100289082610e9b565b5060408051808201909152600b81526a086dedae0dedccadce8a8960ab1b60208201526005906100589082610e9b565b50348015610064575f80fd5b506040516120f83803806120f883398101604081905261008391610f79565b83515f036100a45760405163c0348f3560e01b815260040160405180910390fd5b61011e8373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610113919061105a565b60ff90811691161490565b1561013c576040516302e3f24160e11b815260040160405180910390fd5b61017c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6006805460ff191660ff851617905560046101978582610e9b565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906101cf90879060040161107a565b602060405180830381865af41580156101ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061020e91906110af565b600755600180546001600160401b031916600a17905581156104705760405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561027a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029e91906110c6565b156102bc576040516302e3f24160e11b815260040160405180910390fd5b6040516311da4a5b60e31b815260ff841660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af4158015610315573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061033991906110df565b90505f6103ce6004805461034c90610e18565b80601f016020809104026020016040519081016040528092919081815260200182805461037890610e18565b80156103c35780601f1061039a576101008083540402835291602001916103c3565b820191905f5260205f20905b8154815290600101906020018083116103a657829003601f168201915b505061068992505050565b9050610469600480546103e090610e18565b80601f016020809104026020016040519081016040528092919081815260200182805461040c90610e18565b80156104575780601f1061042e57610100808354040283529160200191610457565b820191905f5260205f20905b81548152906001019060200180831161043a57829003601f168201915b505050505083836106d060201b60201c565b5050610502565b6105026004805461048090610e18565b80601f01602080910402602001604051908101604052809291908181526020018280546104ac90610e18565b80156104f75780601f106104ce576101008083540402835291602001916104f7565b820191905f5260205f20905b8154815290600101906020018083116104da57829003601f168201915b505061086692505050565b80156106455783604051602001610519919061111c565b604051602081830303815290604052600590816105369190610e9b565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061056f90600590600401611139565b602060405180830381865af415801561058a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ae91906110af565b6008556005805461064591906105c390610e18565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90610e18565b801561063a5780601f106106115761010080835404028352916020019161063a565b820191905f5260205f20905b81548152906001019060200180831161061d57829003601f168201915b505061098092505050565b632d137dd560e01b5f9081526020527f54ee35a959a52ed1d05cb9c12a1405c544cbd2b8bde0fa78deaf2875dc10e0e7805460ff191660011790555050505061124b565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016106ba9291906111c0565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061070990879060040161107a565b602060405180830381865af4158015610724573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074891906110af565b6009805460018181019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290555f828152600b6020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061081d92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156107e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080b91906110df565b6001600160401b039081169116141590565b156108605761082b83610a05565b610839576108398383610a47565b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b600180545f9173__$1d92393fa9ccd763988368ce8a1cb90d26$__91637c3940bf916001600160401b03909116908461089e836111dc565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b81526004016108ed91906001600160401b0391909116815260200190565b602060405180830381865af4158015610908573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092c91906110df565b90505f8260405180604001604052806004815260200163526f6c6560e01b81525060405160200161095e9291906111c0565b60408051601f19818403018152919052905061097b8383836106d0565b505050565b610a028173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ef91906110df565b60408051602081019091525f81526106d0565b50565b5f806001600160401b0383165f908152600d602052604090205468010000000000000000900460ff166003811115610a3f57610a3f611213565b141592915050565b610a6482610a5f610a56610a68565b60018086610ae1565b610cbe565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401602060405180830381865af4158015610ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610adc91906110df565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610b3e57610b3e611213565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bba9190611227565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c319190611227565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610c74919061107a565b602060405180830381865af4158015610c8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb391906110af565b905295945050505050565b600c805460018101909155600481047fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f908152600d602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610d7457610d74611213565b0217905550604082015181546060840151608085015164ffffffffff908116600160901b0264ffffffffff60901b19919092166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90951669010000000000000000000294909416600160481b600160901b031990931692909217929092171617815560a0909101516001909101555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610e2c57607f821691505b602082108103610e4a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561097b57805f5260205f20601f840160051c81016020851015610e755750805b601f840160051c820191505b81811015610e94575f8155600101610e81565b5050505050565b81516001600160401b03811115610eb457610eb4610e04565b610ec881610ec28454610e18565b84610e50565b6020601f821160018114610efa575f8315610ee35750848201515b5f19600385901b1c1916600184901b178455610e94565b5f84815260208120601f198516915b82811015610f295787850151825560209485019460019092019101610f09565b5084821015610f4657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805160ff81168114610f65575f80fd5b919050565b80518015158114610f65575f80fd5b5f805f8060808587031215610f8c575f80fd5b84516001600160401b03811115610fa1575f80fd5b8501601f81018713610fb1575f80fd5b80516001600160401b03811115610fca57610fca610e04565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ff857610ff8610e04565b60405281815282820160200189101561100f575f80fd5b8160208401602083015e5f6020838301015280965050505061103360208601610f55565b925061104160408601610f6a565b915061104f60608601610f6a565b905092959194509250565b5f6020828403121561106a575f80fd5b61107382610f55565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156110bf575f80fd5b5051919050565b5f602082840312156110d6575f80fd5b61107382610f6a565b5f602082840312156110ef575f80fd5b81516001600160401b0381168114611073575f80fd5b5f81518060208401855e5f93019283525090919050565b5f6111278284611105565b610a8960f31b81526002019392505050565b602081525f80835461114a81610e18565b806020860152600182165f81146111685760018114611184576111b5565b60ff1983166040870152604082151560051b87010193506111b5565b865f5260205f205f5b838110156111ac5781548882016040015260019091019060200161118d565b87016040019450505b509195945050505050565b5f6111d46111ce8386611105565b84611105565b949350505050565b5f6001600160401b0382166002600160401b0319810161120a57634e487b7160e01b5f52601160045260245ffd5b60010192915050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215611237575f80fd5b815164ffffffffff81168114611073575f80fd5b610ea0806112585f395ff3fe608060405234801561000f575f80fd5b5060043610610148575f3560e01c806376b707b7116100bf578063c143892b11610079578063c143892b14610303578063c5f348441461032d578063c6a0017914610350578063da1b620b14610363578063e8eba43514610376578063f1d0102714610389575f80fd5b806376b707b714610293578063775f14b1146102ad5780638899278a146102d55780638c5397b0146102dd578063b1040cf8146102f0578063b68d1809146102f8575f80fd5b806354e17da91161011057806354e17da9146101ff5780635bfa5027146102215780635c935ce01461024157806363fe3b561461025457806368c55b1314610269578063710613981461027e575f80fd5b806301ffc9a71461014c5780631e4afbbf1461018d578063363ed496146101ad5780633a591cf8146101d85780634322699b146101ed575b5f80fd5b61017861015a366004610a40565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a061019b366004610a7e565b610391565b6040516101849190610aac565b6101c06101bb366004610b26565b61043e565b6040516001600160401b039091168152602001610184565b6101e06104c2565b6040516101849190610b6f565b6007545b604051908152602001610184565b6101f161020d366004610b26565b60ff165f9081526003602052604090205490565b61023461022f366004610b81565b610552565b6040516101849190610bb0565b61017861024f366004610c3a565b61062b565b61025c610653565b6040516101849190610c51565b6102716106a8565b6040516101849190610c88565b61028661071a565b6040516101849190610cc2565b61029b6107a0565b60405160ff9091168152602001610184565b6101c06102bb366004610c3a565b5f908152600a60205260409020546001600160401b031690565b6101f1600381565b6102866102eb366004610c3a565b610819565b6008546101f1565b60065460ff1661029b565b6101e06040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b6101e060405180604001604052806004815260200163526f6c6560e01b81525081565b61017861035e366004610b81565b6108a9565b6101f1610371366004610d16565b6108e6565b6101c0610384366004610b26565b61095e565b6101e06109af565b5f828152600f602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610432575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103cf565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af4158015610498573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610dc6565b92915050565b6060600580546104d190610de1565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610de1565b80156105485780601f1061051f57610100808354040283529160200191610548565b820191905f5260205f20905b81548152906001019060200180831161052b57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600d82529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156105ca576105ca610b9c565b60038111156105db576105db610b9c565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b5f610638826007546109be565b806104bc5750505f908152600b602052604090205460ff1690565b6060600980548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905b81548152602001906001019080831161068b575050505050905090565b6060600280548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106e25790505050505050905090565b6060600c80548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107545790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108149190610e19565b905090565b5f818152600e602090815260409182902080548351818402810184019094528084526060939283018282801561089d57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161085a5790505b50505050509050919050565b5f806001600160401b0383165f908152600d6020526040902054600160401b900460ff1660038111156108de576108de610b9c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061091f908590600401610b6f565b602060405180830381865af415801561093a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610e34565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836109826107a0565b6040516001600160e01b031960e085901b16815260ff92831660048201529116602482015260440161047d565b6060600480546104d190610de1565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610a15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a399190610e4b565b9392505050565b5f60208284031215610a50575f80fd5b81356001600160e01b031981168114610a39575f80fd5b6001600160401b0381168114610a7b575f80fd5b50565b5f8060408385031215610a8f575f80fd5b823591506020830135610aa181610a67565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610ac5565b509095945050505050565b60ff81168114610a7b575f80fd5b5f60208284031215610b36575f80fd5b8135610a3981610b18565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a396020830184610b41565b5f60208284031215610b91575f80fd5b8135610a3981610a67565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610be357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610c12606084018264ffffffffff169052565b506080830151610c2b608084018264ffffffffff169052565b5060a092830151919092015290565b5f60208284031215610c4a575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351835260209384019390920191600101610c6a565b602080825282518282018190525f918401906040840190835b81811015610b0d57835160ff16835260209384019390920191600101610ca1565b602080825282518282018190525f918401906040840190835b81811015610b0d5783516001600160401b0316835260209384019390920191600101610cdb565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610d26575f80fd5b81356001600160401b03811115610d3b575f80fd5b8201601f81018413610d4b575f80fd5b80356001600160401b03811115610d6457610d64610d02565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d9257610d92610d02565b604052818152828201602001861015610da9575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610dd6575f80fd5b8151610a3981610a67565b600181811c90821680610df557607f821691505b602082108103610e1357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610e29575f80fd5b8151610a3981610b18565b5f60208284031215610e44575f80fd5b5051919050565b5f60208284031215610e5b575f80fd5b81518015158114610a39575f80fdfea26469706673582212201fac753f2df880dd0f78c8388153757d44dfe1e90f874d09746beb863405df2664736f6c634300081a0033",
486
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610148575f3560e01c806376b707b7116100bf578063c143892b11610079578063c143892b14610303578063c5f348441461032d578063c6a0017914610350578063da1b620b14610363578063e8eba43514610376578063f1d0102714610389575f80fd5b806376b707b714610293578063775f14b1146102ad5780638899278a146102d55780638c5397b0146102dd578063b1040cf8146102f0578063b68d1809146102f8575f80fd5b806354e17da91161011057806354e17da9146101ff5780635bfa5027146102215780635c935ce01461024157806363fe3b561461025457806368c55b1314610269578063710613981461027e575f80fd5b806301ffc9a71461014c5780631e4afbbf1461018d578063363ed496146101ad5780633a591cf8146101d85780634322699b146101ed575b5f80fd5b61017861015a366004610a40565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a061019b366004610a7e565b610391565b6040516101849190610aac565b6101c06101bb366004610b26565b61043e565b6040516001600160401b039091168152602001610184565b6101e06104c2565b6040516101849190610b6f565b6007545b604051908152602001610184565b6101f161020d366004610b26565b60ff165f9081526003602052604090205490565b61023461022f366004610b81565b610552565b6040516101849190610bb0565b61017861024f366004610c3a565b61062b565b61025c610653565b6040516101849190610c51565b6102716106a8565b6040516101849190610c88565b61028661071a565b6040516101849190610cc2565b61029b6107a0565b60405160ff9091168152602001610184565b6101c06102bb366004610c3a565b5f908152600a60205260409020546001600160401b031690565b6101f1600381565b6102866102eb366004610c3a565b610819565b6008546101f1565b60065460ff1661029b565b6101e06040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b6101e060405180604001604052806004815260200163526f6c6560e01b81525081565b61017861035e366004610b81565b6108a9565b6101f1610371366004610d16565b6108e6565b6101c0610384366004610b26565b61095e565b6101e06109af565b5f828152600f602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610432575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016103cf565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af4158015610498573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610dc6565b92915050565b6060600580546104d190610de1565b80601f01602080910402602001604051908101604052809291908181526020018280546104fd90610de1565b80156105485780601f1061051f57610100808354040283529160200191610548565b820191905f5260205f20905b81548152906001019060200180831161052b57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600d82529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156105ca576105ca610b9c565b60038111156105db576105db610b9c565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b5f610638826007546109be565b806104bc5750505f908152600b602052604090205460ff1690565b6060600980548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905b81548152602001906001019080831161068b575050505050905090565b6060600280548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106e25790505050505050905090565b6060600c80548060200260200160405190810160405280929190818152602001828054801561054857602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116107545790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108149190610e19565b905090565b5f818152600e602090815260409182902080548351818402810184019094528084526060939283018282801561089d57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161085a5790505b50505050509050919050565b5f806001600160401b0383165f908152600d6020526040902054600160401b900460ff1660038111156108de576108de610b9c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061091f908590600401610b6f565b602060405180830381865af415801561093a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104bc9190610e34565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836109826107a0565b6040516001600160e01b031960e085901b16815260ff92831660048201529116602482015260440161047d565b6060600480546104d190610de1565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610a15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a399190610e4b565b9392505050565b5f60208284031215610a50575f80fd5b81356001600160e01b031981168114610a39575f80fd5b6001600160401b0381168114610a7b575f80fd5b50565b5f8060408385031215610a8f575f80fd5b823591506020830135610aa181610a67565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610ac5565b509095945050505050565b60ff81168114610a7b575f80fd5b5f60208284031215610b36575f80fd5b8135610a3981610b18565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610a396020830184610b41565b5f60208284031215610b91575f80fd5b8135610a3981610a67565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610be357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610c12606084018264ffffffffff169052565b506080830151610c2b608084018264ffffffffff169052565b5060a092830151919092015290565b5f60208284031215610c4a575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610b0d578351835260209384019390920191600101610c6a565b602080825282518282018190525f918401906040840190835b81811015610b0d57835160ff16835260209384019390920191600101610ca1565b602080825282518282018190525f918401906040840190835b81811015610b0d5783516001600160401b0316835260209384019390920191600101610cdb565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610d26575f80fd5b81356001600160401b03811115610d3b575f80fd5b8201601f81018413610d4b575f80fd5b80356001600160401b03811115610d6457610d64610d02565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d9257610d92610d02565b604052818152828201602001861015610da9575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610dd6575f80fd5b8151610a3981610a67565b600181811c90821680610df557607f821691505b602082108103610e1357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610e29575f80fd5b8151610a3981610b18565b5f60208284031215610e44575f80fd5b5051919050565b5f60208284031215610e5b575f80fd5b81518015158114610a39575f80fdfea26469706673582212201fac753f2df880dd0f78c8388153757d44dfe1e90f874d09746beb863405df2664736f6c634300081a0033",
643
+ "bytecode": "0x610100604052600b60c09081526a086dedae0dedccadce8a8d60ab1b60e052600e9061002b9082611207565b50348015610037575f80fd5b50604051612aba380380612aba833981016040819052610056916113a2565b8585858583515f0361007b5760405163c0348f3560e01b815260040160405180910390fd5b6100f58373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100ea919061144a565b60ff90811691161490565b15610113576040516302e3f24160e11b815260040160405180910390fd5b73__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63bb41432a6040518163ffffffff1660e01b8152600401602060405180830381865af415801561015a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061017e919061144a565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156101cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f3919061146c565b8260ff1610806102e5575073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__63fbcaa8ed6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610245573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610269919061144a565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af41580156102ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102de919061146c565b8260ff1610155b1561030d57604051636164474d60e01b815260ff831660048201526024015b60405180910390fd5b602881511461033157806040516369306ec360e01b815260040161030491906114b1565b6103716301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62d1d15b60e11b5f9081526020527fbfdfbaeb6ce3cef2dc92e70fc8227f58737fb6598199eb8999f7714e506efecb805460ff1916600117905560026103b78582611207565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906103ef9087906004016114b1565b602060405180830381865af415801561040a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042e919061146c565b60035560ff808416608052821660a052600161044a8282611207565b506104c6610456610a59565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63d09ce86c6040518163ffffffff1660e01b815260040160e060405180830381865af415801561049d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c191906114ed565b610ad3565b6105186104d1610c3b565b73__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63aec48fc76040518163ffffffff1660e01b815260040160e060405180830381865af415801561049d573d5f803e3d5ffd5b5050600d80546001600160801b0319166a0186a00000000000000064179055506001905082600781111561054e5761054e611584565b036105ea576105e56002805461056390611184565b80601f016020809104026020016040519081016040528092919081815260200182805461058f90611184565b80156105da5780601f106105b1576101008083540402835291602001916105da565b820191905f5260205f20905b8154815290600101906020018083116105bd57829003601f168201915b5050610c7b92505050565b6108d0565b60048260078111156105fe576105fe611584565b03610695576105e56002805461061390611184565b80601f016020809104026020016040519081016040528092919081815260200182805461063f90611184565b801561068a5780601f106106615761010080835404028352916020019161068a565b820191905f5260205f20905b81548152906001019060200180831161066d57829003601f168201915b5050610d9692505050565b60405163037c8cb160e51b815260ff8616600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156106e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107099190611598565b15610727576040516302e3f24160e11b815260040160405180910390fd5b6040516368aebf7b60e01b81526201adb060048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d91906115b1565b90505f610832600280546107b090611184565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90611184565b80156108275780601f106107fe57610100808354040283529160200191610827565b820191905f5260205f20905b81548152906001019060200180831161080a57829003601f168201915b5050610e7d92505050565b90506108cd6002805461084490611184565b80601f016020809104026020016040519081016040528092919081815260200182805461087090611184565b80156108bb5780601f10610892576101008083540402835291602001916108bb565b820191905f5260205f20905b81548152906001019060200180831161089e57829003601f168201915b50505050508383610ec560201b60201c565b50505b8015610a1357856040516020016108e791906115e1565b604051602081830303815290604052600e90816109049190611207565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061093d90600e906004016115fe565b602060405180830381865af4158015610958573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097c919061146c565b600f55600e8054610a13919061099190611184565b80601f01602080910402602001604051908101604052809291908181526020018280546109bd90611184565b8015610a085780601f106109df57610100808354040283529160200191610a08565b820191905f5260205f20905b8154815290600101906020018083116109eb57829003601f168201915b50506110a792505050565b635a183bdb60e11b5f9081526020527f7eca8d71090247e4ddb022896f9503bf26cbfa0d8fb0110212f077e5ed799af8805460ff191660011790555050505050506116d8565b6040516368aebf7b60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af4158015610aaa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ace91906115b1565b905090565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f6004820401805460039092166008026101000a6001600160401b0381810219909316858416918202179091555f908152600760208181526040909220845181546001600160401b031981169190951690811782559285015185949193909284926001600160481b0319169091179068010000000000000000908490811115610b8957610b89611584565b0217905550604082015181546060840151608085015160a086015164ffffffffff908116600160b81b0264ffffffffff60b81b19928216600160901b0292909216600160901b600160e01b0319919093166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90961669010000000000000000000295909516600160481b600160901b03199094169390931793909317919091161717815560c0909101516001909101555050565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401610a8f565b600d80545f9173__$1d92393fa9ccd763988368ce8a1cb90d26$__916368aebf7b916001600160401b039091169084610cb383611685565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b8152600401610d0291906001600160401b0391909116815260200190565b602060405180830381865af4158015610d1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4191906115b1565b90505f82604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610d749291906116bc565b60408051601f198184030181529190529050610d91838383610ec5565b505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b600d600881819054906101000a90046001600160401b031680929190610dd690611685565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b8152600401610e2591906001600160401b0391909116815260200190565b602060405180830381865af4158015610e40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e6491906115b1565b90505f610e7083610e7d565b9050610d91838383610ec5565b606081604051806040016040528060058152602001645f526f6c6560d81b815250604051602001610eaf9291906116bc565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610efe9087906004016114b1565b602060405180830381865af4158015610f19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3d919061146c565b6008805460018181019092557ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3018290555f82815260096020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061101292869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100091906115b1565b6001600160401b039081169116141590565b156110a1576110208361112c565b61107a5761107a8373__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__63650cbf89856040518263ffffffff1660e01b815260040161105f91906114b1565b60e060405180830381865af415801561049d573d5f803e3d5ffd5b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b6111298173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111691906115b1565b60408051602081019091525f8152610ec5565b50565b5f806001600160401b0383165f9081526007602081905260409091205468010000000000000000900460ff169081111561116857611168611584565b141592915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061119857607f821691505b6020821081036111b657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d9157805f5260205f20601f840160051c810160208510156111e15750805b601f840160051c820191505b81811015611200575f81556001016111ed565b5050505050565b81516001600160401b0381111561122057611220611170565b6112348161122e8454611184565b846111bc565b6020601f821160018114611266575f831561124f5750848201515b5f19600385901b1c1916600184901b178455611200565b5f84815260208120601f198516915b828110156112955787850151825560209485019460019092019101611275565b50848210156112b257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60405160e081016001600160401b03811182821017156112e3576112e3611170565b60405290565b5f82601f8301126112f8575f80fd5b81516001600160401b0381111561131157611311611170565b604051601f8201601f19908116603f011681016001600160401b038111828210171561133f5761133f611170565b604052818152838201602001851015611356575f80fd5b8160208501602083015e5f918101602001919091529392505050565b60ff81168114611129575f80fd5b80516008811061138e575f80fd5b919050565b8051801515811461138e575f80fd5b5f805f805f8060c087890312156113b7575f80fd5b86516001600160401b038111156113cc575f80fd5b6113d889828a016112e9565b96505060208701516113e981611372565b60408801519095506113fa81611372565b60608801519094506001600160401b03811115611415575f80fd5b61142189828a016112e9565b93505061143060808801611380565b915061143e60a08801611393565b90509295509295509295565b5f6020828403121561145a575f80fd5b815161146581611372565b9392505050565b5f6020828403121561147c575f80fd5b5051919050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6114656020830184611483565b80516001600160401b038116811461138e575f80fd5b805164ffffffffff8116811461138e575f80fd5b5f60e08284031280156114fe575f80fd5b506115076112c1565b611510836114c3565b815261151e60208401611380565b6020820152604083015163ffffffff81168114611539575f80fd5b604082015261154a606084016114d9565b606082015261155b608084016114d9565b608082015261156c60a084016114d9565b60a082015260c0928301519281019290925250919050565b634e487b7160e01b5f52602160045260245ffd5b5f602082840312156115a8575f80fd5b61146582611393565b5f602082840312156115c1575f80fd5b611465826114c3565b5f81518060208401855e5f93019283525090919050565b5f6115ec82846115ca565b610a8d60f31b81526002019392505050565b602081525f80835461160f81611184565b806020860152600182165f811461162d57600181146116495761167a565b60ff1983166040870152604082151560051b870101935061167a565b865f5260205f205f5b8381101561167157815488820160400152600190910190602001611652565b87016040019450505b509195945050505050565b5f6001600160401b0382166002600160401b031981016116b357634e487b7160e01b5f52601160045260245ffd5b60010192915050565b5f6116d06116ca83866115ca565b846115ca565b949350505050565b60805160a0516113ba6117005f395f610aac01525f818161030b015261043601526113ba5ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637106139811610109578063b79e14941161009e578063da44d6af1161006e578063da44d6af146104ac578063e8eba435146104b4578063f1d01027146104c7578063fef30334146104cf575f80fd5b8063b79e14941461045a578063c5f3484414610462578063c6a0017914610486578063da1b620b14610499575f80fd5b80638c5397b0116100d95780638c5397b01461040f578063a43e328114610422578063b1040cf81461042c578063b68d180914610434575f80fd5b806371061398146103b757806376b707b7146103cc578063775f14b1146103d457806384be8c00146103fc575f80fd5b806350a388ea1161017f5780635c935ce01161014f5780635c935ce01461037257806363fe3b561461038557806368c55b131461039a578063694ca5d3146103af575f80fd5b806350a388ea146102f357806352a9674b1461030657806354e17da91461033f5780635bfa502714610352575f80fd5b80631e4afbbf116101ba5780631e4afbbf146102865780633a591cf8146102a65780634322699b146102bb5780634a34a4de146102cd575f80fd5b806301ffc9a7146101e05780630ccbae511461022157806313efdd7a14610243575b5f80fd5b61020c6101ee366004610e12565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022b620186a081565b6040516001600160401b039091168152602001610218565b61026e610251366004610e4a565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610218565b610299610294366004610e79565b6104d7565b6040516102189190610ea7565b6102ae610594565b6040516102189190610f54565b6003545b604051908152602001610218565b6102ae604051806040016040528060078152602001665365727669636560c81b81525081565b6102ae610301366004610f66565b610624565b61032d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610218565b6102bf61034d366004610e4a565b6106c3565b610365610360366004610f66565b61082b565b6040516102189190610f95565b61020c610380366004611040565b610919565b61038d610941565b6040516102189190611057565b6103a2610996565b604051610218919061108e565b6102ae610a08565b6103bf610a17565b60405161021891906110c8565b61032d610a9d565b61022b6103e2366004611040565b5f908152600a60205260409020546001600160401b031690565b61032d61040a366004611040565b610b35565b6103bf61041d366004611040565b610b6e565b61022b6201adb081565b600f546102bf565b7f000000000000000000000000000000000000000000000000000000000000000061032d565b6102bf602881565b6102ae604051806040016040528060058152602001645f526f6c6560d81b81525081565b61020c610494366004610f66565b610bfe565b6102bf6104a7366004611172565b610c3d565b6102bf600381565b61022b6104c2366004610e4a565b610cb5565b6102ae610cf2565b6102ae610d01565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610588575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b900490911660608301529083529092019101610515565b50505050905092915050565b6060600e80546105a3906111eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf906111eb565b801561061a5780601f106105f15761010080835404028352916020019161061a565b820191905f5260205f20905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e89161067c9160040190815260200190565b5f60405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106bd9190810190611223565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107459190810190611223565b61074d610a9d565b6040518363ffffffff1660e01b815260040161076a929190611297565b5f60405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ab9190810190611223565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906107e5908490600401610f54565b602060405180830381865af4158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906112dc565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff16908111156108b0576108b0610f81565b60078111156108c1576108c1610f81565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b5f61092682600354610d1d565b806106bd5750505f9081526009602052604090205460ff1690565b6060600880548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905b815481526020019060010190808311610979575050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109d05790505050505050905090565b6060600180546105a3906111eb565b6060600680548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a515790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3091906112f3565b905090565b5f60048281548110610b4957610b4961130e565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610bf257602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610baf5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610c3557610c35610f81565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c76908590600401610f54565b602060405180830381865af4158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd91906112dc565b5f60ff8216606303610cc9576106bd610d98565b5f610cd3836106c3565b5f818152600a60205260409020549091506001600160401b0316610824565b6060600280546105a3906111eb565b60405180606001604052806028815260200161135d6028913981565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d74573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108249190611322565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b309190611341565b5f60208284031215610e22575f80fd5b81356001600160e01b031981168114610824575f80fd5b60ff81168114610e47575f80fd5b50565b5f60208284031215610e5a575f80fd5b813561082481610e39565b6001600160401b0381168114610e47575f80fd5b5f8060408385031215610e8a575f80fd5b823591506020830135610e9c81610e65565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610f1b5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610ec0565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108246020830184610f26565b5f60208284031215610f76575f80fd5b813561082481610e65565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610fc857634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610fe6604084018263ffffffff169052565b506060830151610fff606084018264ffffffffff169052565b506080830151611018608084018264ffffffffff169052565b5060a083015161103160a084018264ffffffffff169052565b5060c092830151919092015290565b5f60208284031215611050575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610f1b578351835260209384019390920191600101611070565b602080825282518282018190525f918401906040840190835b81811015610f1b57835160ff168352602093840193909201916001016110a7565b602080825282518282018190525f918401906040840190835b81811015610f1b5783516001600160401b03168352602093840193909201916001016110e1565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561114457611144611108565b604052919050565b5f6001600160401b0382111561116457611164611108565b50601f01601f191660200190565b5f60208284031215611182575f80fd5b81356001600160401b03811115611197575f80fd5b8201601f810184136111a7575f80fd5b80356111ba6111b58261114c565b61111c565b8181528560208385010111156111ce575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c908216806111ff57607f821691505b60208210810361121d57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611233575f80fd5b81516001600160401b03811115611248575f80fd5b8201601f81018413611258575f80fd5b80516112666111b58261114c565b81815285602083850101111561127a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f6112a96060830185610f26565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f602082840312156112ec575f80fd5b5051919050565b5f60208284031215611303575f80fd5b815161082481610e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611332575f80fd5b81518015158114610824575f80fd5b5f60208284031215611351575f80fd5b815161082481610e6556fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122023370a66fee95568a88de920fe0e1db728ba081983055861bb90446ca182842564736f6c634300081a0033",
644
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637106139811610109578063b79e14941161009e578063da44d6af1161006e578063da44d6af146104ac578063e8eba435146104b4578063f1d01027146104c7578063fef30334146104cf575f80fd5b8063b79e14941461045a578063c5f3484414610462578063c6a0017914610486578063da1b620b14610499575f80fd5b80638c5397b0116100d95780638c5397b01461040f578063a43e328114610422578063b1040cf81461042c578063b68d180914610434575f80fd5b806371061398146103b757806376b707b7146103cc578063775f14b1146103d457806384be8c00146103fc575f80fd5b806350a388ea1161017f5780635c935ce01161014f5780635c935ce01461037257806363fe3b561461038557806368c55b131461039a578063694ca5d3146103af575f80fd5b806350a388ea146102f357806352a9674b1461030657806354e17da91461033f5780635bfa502714610352575f80fd5b80631e4afbbf116101ba5780631e4afbbf146102865780633a591cf8146102a65780634322699b146102bb5780634a34a4de146102cd575f80fd5b806301ffc9a7146101e05780630ccbae511461022157806313efdd7a14610243575b5f80fd5b61020c6101ee366004610e12565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61022b620186a081565b6040516001600160401b039091168152602001610218565b61026e610251366004610e4a565b60ff165f908152600560205260409020546001600160a01b031690565b6040516001600160a01b039091168152602001610218565b610299610294366004610e79565b6104d7565b6040516102189190610ea7565b6102ae610594565b6040516102189190610f54565b6003545b604051908152602001610218565b6102ae604051806040016040528060078152602001665365727669636560c81b81525081565b6102ae610301366004610f66565b610624565b61032d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610218565b6102bf61034d366004610e4a565b6106c3565b610365610360366004610f66565b61082b565b6040516102189190610f95565b61020c610380366004611040565b610919565b61038d610941565b6040516102189190611057565b6103a2610996565b604051610218919061108e565b6102ae610a08565b6103bf610a17565b60405161021891906110c8565b61032d610a9d565b61022b6103e2366004611040565b5f908152600a60205260409020546001600160401b031690565b61032d61040a366004611040565b610b35565b6103bf61041d366004611040565b610b6e565b61022b6201adb081565b600f546102bf565b7f000000000000000000000000000000000000000000000000000000000000000061032d565b6102bf602881565b6102ae604051806040016040528060058152602001645f526f6c6560d81b81525081565b61020c610494366004610f66565b610bfe565b6102bf6104a7366004611172565b610c3d565b6102bf600381565b61022b6104c2366004610e4a565b610cb5565b6102ae610cf2565b6102ae610d01565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b82821015610588575f8481526020908190206040805160808101825260028602909201805483526001908101546001600160e01b031960e082901b168486015264ffffffffff6401000000008204811693850193909352600160481b900490911660608301529083529092019101610515565b50505050905092915050565b6060600e80546105a3906111eb565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf906111eb565b801561061a5780601f106105f15761010080835404028352916020019161061a565b820191905f5260205f20905b8154815290600101906020018083116105fd57829003601f168201915b5050505050905090565b6001600160401b0381165f9081526007602052604090819020600101549051631623433d60e31b815260609173__$9a094f9b231ed0f5f85a69be8408d93180$__9163b11a19e89161067c9160040190815260200190565b5f60405180830381865af4158015610696573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106bd9190810190611223565b92915050565b604051632b95d28f60e21b815260ff821660048201525f90819073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90630c3258f990829063ae574a3c906024015f60405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107459190810190611223565b61074d610a9d565b6040518363ffffffff1660e01b815260040161076a929190611297565b5f60405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107ab9190810190611223565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906107e5908490600401610f54565b602060405180830381865af4158015610800573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082491906112dc565b9392505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001600160401b038281165f90815260076020818152604092839020835160e0810190945280549485168452929390840191600160401b90910460ff16908111156108b0576108b0610f81565b60078111156108c1576108c1610f81565b8152815463ffffffff600160481b820416602083015264ffffffffff600160681b820481166040840152600160901b820481166060840152600160b81b90910416608082015260019091015460a09091015292915050565b5f61092682600354610d1d565b806106bd5750505f9081526009602052604090205460ff1690565b6060600880548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905b815481526020019060010190808311610979575050505050905090565b6060600480548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116109d05790505050505050905090565b6060600180546105a3906111eb565b6060600680548060200260200160405190810160405280929190818152602001828054801561061a57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610a515790505050505050905090565b604051632392b61b60e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3091906112f3565b905090565b5f60048281548110610b4957610b4961130e565b905f5260205f2090602091828204019190069054906101000a900460ff169050919050565b5f818152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610bf257602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610baf5790505b50505050509050919050565b5f806001600160401b0383165f90815260076020819052604090912054600160401b900460ff1690811115610c3557610c35610f81565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c76908590600401610f54565b602060405180830381865af4158015610c91573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd91906112dc565b5f60ff8216606303610cc9576106bd610d98565b5f610cd3836106c3565b5f818152600a60205260409020549091506001600160401b0316610824565b6060600280546105a3906111eb565b60405180606001604052806028815260200161135d6028913981565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d74573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108249190611322565b6040516368aebf7b60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b309190611341565b5f60208284031215610e22575f80fd5b81356001600160e01b031981168114610824575f80fd5b60ff81168114610e47575f80fd5b50565b5f60208284031215610e5a575f80fd5b813561082481610e39565b6001600160401b0381168114610e47575f80fd5b5f8060408385031215610e8a575f80fd5b823591506020830135610e9c81610e65565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610f1b5783518051845263ffffffff60e01b602082015116602085015264ffffffffff604082015116604085015264ffffffffff606082015116606085015250608083019250602084019350600181019050610ec0565b509095945050505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108246020830184610f26565b5f60208284031215610f76575f80fd5b813561082481610e65565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160e082019060088110610fc857634e487b7160e01b5f52602160045260245ffd5b806020840152506040830151610fe6604084018263ffffffff169052565b506060830151610fff606084018264ffffffffff169052565b506080830151611018608084018264ffffffffff169052565b5060a083015161103160a084018264ffffffffff169052565b5060c092830151919092015290565b5f60208284031215611050575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610f1b578351835260209384019390920191600101611070565b602080825282518282018190525f918401906040840190835b81811015610f1b57835160ff168352602093840193909201916001016110a7565b602080825282518282018190525f918401906040840190835b81811015610f1b5783516001600160401b03168352602093840193909201916001016110e1565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b038111828210171561114457611144611108565b604052919050565b5f6001600160401b0382111561116457611164611108565b50601f01601f191660200190565b5f60208284031215611182575f80fd5b81356001600160401b03811115611197575f80fd5b8201601f810184136111a7575f80fd5b80356111ba6111b58261114c565b61111c565b8181528560208385010111156111ce575f80fd5b816020840160208301375f91810160200191909152949350505050565b600181811c908216806111ff57607f821691505b60208210810361121d57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611233575f80fd5b81516001600160401b03811115611248575f80fd5b8201601f81018413611258575f80fd5b80516112666111b58261114c565b81815285602083850101111561127a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b606081525f6112a96060830185610f26565b828103602084015260078152665365727669636560c81b60208201526040810191505060ff831660408301529392505050565b5f602082840312156112ec575f80fd5b5051919050565b5f60208284031215611303575f80fd5b815161082481610e39565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611332575f80fd5b81518015158114610824575f80fd5b5f60208284031215611351575f80fd5b815161082481610e6556fe31613161316131613161316131613161316131613161316131613161316131613161316131613161a264697066735822122023370a66fee95568a88de920fe0e1db728ba081983055861bb90446ca182842564736f6c634300081a0033",
487
645
  "linkReferences": {
646
+ "contracts/authorization/AccessAdminLib.sol": {
647
+ "AccessAdminLib": [
648
+ {
649
+ "length": 20,
650
+ "start": 1112
651
+ },
652
+ {
653
+ "length": 20,
654
+ "start": 1235
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 4138
659
+ }
660
+ ]
661
+ },
488
662
  "contracts/type/ObjectType.sol": {
489
663
  "ObjectTypeLib": [
490
664
  {
491
665
  "length": 20,
492
- "start": 170
666
+ "start": 129
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 1709
493
671
  },
494
672
  {
495
673
  "length": 20,
496
- "start": 578
674
+ "start": 7647
497
675
  }
498
676
  ]
499
677
  },
@@ -501,31 +679,35 @@
501
679
  "RoleIdLib": [
502
680
  {
503
681
  "length": 20,
504
- "start": 733
682
+ "start": 1857
683
+ },
684
+ {
685
+ "length": 20,
686
+ "start": 2673
505
687
  },
506
688
  {
507
689
  "length": 20,
508
- "start": 1967
690
+ "start": 3161
509
691
  },
510
692
  {
511
693
  "length": 20,
512
- "start": 2158
694
+ "start": 3203
513
695
  },
514
696
  {
515
697
  "length": 20,
516
- "start": 2438
698
+ "start": 3481
517
699
  },
518
700
  {
519
701
  "length": 20,
520
- "start": 2688
702
+ "start": 4004
521
703
  },
522
704
  {
523
705
  "length": 20,
524
- "start": 5815
706
+ "start": 4269
525
707
  },
526
708
  {
527
709
  "length": 20,
528
- "start": 7097
710
+ "start": 9398
529
711
  }
530
712
  ]
531
713
  },
@@ -533,39 +715,31 @@
533
715
  "StrLib": [
534
716
  {
535
717
  "length": 20,
536
- "start": 423
718
+ "start": 967
537
719
  },
538
720
  {
539
721
  "length": 20,
540
- "start": 1350
722
+ "start": 2324
541
723
  },
542
724
  {
543
725
  "length": 20,
544
- "start": 1761
726
+ "start": 3798
545
727
  },
546
728
  {
547
729
  "length": 20,
548
- "start": 3135
730
+ "start": 7506
549
731
  },
550
732
  {
551
733
  "length": 20,
552
- "start": 6991
734
+ "start": 7869
553
735
  },
554
736
  {
555
737
  "length": 20,
556
- "start": 7221
557
- }
558
- ]
559
- },
560
- "contracts/type/Timestamp.sol": {
561
- "TimestampLib": [
562
- {
563
- "length": 20,
564
- "start": 2897
738
+ "start": 9038
565
739
  },
566
740
  {
567
741
  "length": 20,
568
- "start": 3016
742
+ "start": 9276
569
743
  }
570
744
  ]
571
745
  },
@@ -573,21 +747,41 @@
573
747
  "VersionPartLib": [
574
748
  {
575
749
  "length": 20,
576
- "start": 6672
750
+ "start": 277
751
+ },
752
+ {
753
+ "length": 20,
754
+ "start": 407
755
+ },
756
+ {
757
+ "length": 20,
758
+ "start": 512
759
+ },
760
+ {
761
+ "length": 20,
762
+ "start": 642
763
+ },
764
+ {
765
+ "length": 20,
766
+ "start": 8660
577
767
  }
578
768
  ]
579
769
  }
580
770
  },
581
771
  "deployedLinkReferences": {
582
- "contracts/type/RoleId.sol": {
583
- "RoleIdLib": [
772
+ "contracts/type/ObjectType.sol": {
773
+ "ObjectTypeLib": [
584
774
  {
585
775
  "length": 20,
586
- "start": 1119
587
- },
776
+ "start": 1759
777
+ }
778
+ ]
779
+ },
780
+ "contracts/type/RoleId.sol": {
781
+ "RoleIdLib": [
588
782
  {
589
783
  "length": 20,
590
- "start": 2401
784
+ "start": 3510
591
785
  }
592
786
  ]
593
787
  },
@@ -595,11 +789,19 @@
595
789
  "StrLib": [
596
790
  {
597
791
  "length": 20,
598
- "start": 2295
792
+ "start": 1618
793
+ },
794
+ {
795
+ "length": 20,
796
+ "start": 1981
797
+ },
798
+ {
799
+ "length": 20,
800
+ "start": 3150
599
801
  },
600
802
  {
601
803
  "length": 20,
602
- "start": 2525
804
+ "start": 3388
603
805
  }
604
806
  ]
605
807
  },
@@ -607,7 +809,7 @@
607
809
  "VersionPartLib": [
608
810
  {
609
811
  "length": 20,
610
- "start": 1976
812
+ "start": 2772
611
813
  }
612
814
  ]
613
815
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/49cf76454bc9678c0cab9d2da194f1c8.json"
3
+ "buildInfo": "../../../build-info/a11472d155cc1e3900b16d2850f59142.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/49cf76454bc9678c0cab9d2da194f1c8.json"
3
+ "buildInfo": "../../../build-info/a11472d155cc1e3900b16d2850f59142.json"
4
4
  }