@etherisc/gif-next 0.0.2-eb7c077-523 → 0.0.2-eba4d8b-925

Sign up to get free protection for your applications and to get access to all the features.
Files changed (541) hide show
  1. package/README.md +46 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +203 -77
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +200 -16
  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 +142 -44
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +107 -15
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +194 -377
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +206 -27
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +140 -315
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +404 -289
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +147 -109
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +154 -139
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +255 -90
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +158 -57
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -103
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +194 -154
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +446 -143
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +150 -90
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +997 -303
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +131 -266
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +102 -92
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +623 -496
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +139 -335
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +180 -29
  109. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +128 -126
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +115 -303
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +162 -387
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +206 -27
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +330 -203
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +206 -29
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +143 -195
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -312
  134. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  135. package/artifacts/contracts/pool/Pool.sol/Pool.json +128 -370
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  137. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  139. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +653 -532
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  143. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +134 -184
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +91 -93
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  147. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -396
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +206 -27
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +94 -9
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +136 -83
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  163. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +250 -198
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  165. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +67 -8
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +230 -312
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +120 -122
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  177. package/artifacts/contracts/product/Product.sol/Product.json +256 -394
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +22 -3
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +343 -32
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  189. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +447 -117
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +319 -262
  196. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  198. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  200. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  202. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  204. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +428 -235
  206. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  208. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  210. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  211. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  212. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +579 -495
  214. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +143 -107
  216. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +547 -224
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +117 -126
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +104 -303
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  263. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +77 -16
  275. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +85 -105
  277. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  278. package/artifacts/contracts/staking/Staking.sol/Staking.json +210 -366
  279. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +122 -95
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +122 -164
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +99 -85
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +153 -107
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  293. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  294. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  296. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  298. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  300. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  302. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  304. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  306. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  307. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  308. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  310. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  311. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  312. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  314. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  316. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  318. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  320. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  322. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  324. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  328. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  330. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  332. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  337. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +47 -2
  341. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  342. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  343. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
  344. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  345. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  346. package/contracts/accounting/AccountingService.sol +262 -0
  347. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  348. package/contracts/accounting/IAccountingService.sol +45 -0
  349. package/contracts/authorization/AccessAdmin.sol +232 -133
  350. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  351. package/contracts/authorization/Authorization.sol +321 -202
  352. package/contracts/authorization/IAccess.sol +1 -0
  353. package/contracts/authorization/IAccessAdmin.sol +17 -10
  354. package/contracts/authorization/IAuthorization.sol +27 -7
  355. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  356. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  357. package/contracts/distribution/BasicDistribution.sol +17 -25
  358. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  359. package/contracts/distribution/Distribution.sol +46 -40
  360. package/contracts/distribution/DistributionService.sol +163 -93
  361. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  362. package/contracts/distribution/IDistributionComponent.sol +9 -5
  363. package/contracts/distribution/IDistributionService.sol +37 -21
  364. package/contracts/examples/fire/DamageLevel.sol +59 -0
  365. package/contracts/examples/fire/FirePool.sol +90 -0
  366. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  367. package/contracts/examples/fire/FireProduct.sol +437 -0
  368. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  369. package/contracts/examples/fire/FireUSD.sol +26 -0
  370. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  371. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  372. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  373. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  374. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  375. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  376. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  377. package/contracts/instance/BundleSet.sol +42 -38
  378. package/contracts/instance/IInstance.sol +21 -37
  379. package/contracts/instance/IInstanceService.sol +9 -29
  380. package/contracts/instance/Instance.sol +59 -66
  381. package/contracts/instance/InstanceAdmin.sol +256 -85
  382. package/contracts/instance/InstanceAuthorizationV3.sol +56 -45
  383. package/contracts/instance/InstanceReader.sol +275 -43
  384. package/contracts/instance/InstanceService.sol +125 -164
  385. package/contracts/instance/InstanceServiceManager.sol +6 -7
  386. package/contracts/instance/InstanceStore.sol +24 -2
  387. package/contracts/instance/RiskSet.sol +118 -0
  388. package/contracts/instance/base/ObjectCounter.sol +1 -2
  389. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  390. package/contracts/instance/base/ObjectSet.sol +31 -33
  391. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  392. package/contracts/instance/module/IBundle.sol +1 -1
  393. package/contracts/instance/module/IComponents.sol +14 -15
  394. package/contracts/instance/module/IDistribution.sol +2 -2
  395. package/contracts/instance/module/IPolicy.sol +26 -25
  396. package/contracts/instance/module/IRisk.sol +3 -0
  397. package/contracts/mock/Dip.sol +1 -1
  398. package/contracts/oracle/BasicOracle.sol +0 -1
  399. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  400. package/contracts/oracle/IOracleComponent.sol +2 -1
  401. package/contracts/oracle/IOracleService.sol +2 -1
  402. package/contracts/oracle/Oracle.sol +21 -22
  403. package/contracts/oracle/OracleService.sol +113 -81
  404. package/contracts/oracle/OracleServiceManager.sol +6 -6
  405. package/contracts/pool/BasicPool.sol +38 -27
  406. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  407. package/contracts/pool/BundleService.sol +194 -83
  408. package/contracts/pool/BundleServiceManager.sol +6 -6
  409. package/contracts/pool/IBundleService.sol +31 -22
  410. package/contracts/pool/IPoolComponent.sol +20 -10
  411. package/contracts/pool/IPoolService.sol +90 -75
  412. package/contracts/pool/Pool.sol +145 -111
  413. package/contracts/pool/PoolLib.sol +216 -0
  414. package/contracts/pool/PoolService.sol +540 -219
  415. package/contracts/pool/PoolServiceManager.sol +4 -4
  416. package/contracts/product/ApplicationService.sol +72 -43
  417. package/contracts/product/ApplicationServiceManager.sol +4 -4
  418. package/contracts/product/BasicProduct.sol +13 -44
  419. package/contracts/product/BasicProductAuthorization.sol +25 -9
  420. package/contracts/product/ClaimService.sol +367 -151
  421. package/contracts/product/ClaimServiceManager.sol +4 -4
  422. package/contracts/product/IApplicationService.sol +6 -2
  423. package/contracts/product/IClaimService.sol +44 -8
  424. package/contracts/product/IPolicyService.sol +53 -36
  425. package/contracts/product/IPricingService.sol +10 -10
  426. package/contracts/product/IProductComponent.sol +28 -5
  427. package/contracts/product/{IProductService.sol → IRiskService.sol} +6 -9
  428. package/contracts/product/PolicyService.sol +476 -269
  429. package/contracts/product/PolicyServiceLib.sol +65 -0
  430. package/contracts/product/PolicyServiceManager.sol +4 -4
  431. package/contracts/product/PricingService.sol +66 -62
  432. package/contracts/product/PricingServiceManager.sol +4 -4
  433. package/contracts/product/Product.sol +169 -92
  434. package/contracts/product/RiskService.sol +144 -0
  435. package/contracts/product/RiskServiceManager.sol +39 -0
  436. package/contracts/registry/ChainNft.sol +58 -27
  437. package/contracts/registry/IRegistry.sol +58 -25
  438. package/contracts/registry/IRegistryService.sol +5 -12
  439. package/contracts/registry/IRelease.sol +26 -0
  440. package/contracts/registry/ITransferInterceptor.sol +1 -2
  441. package/contracts/registry/Registry.sol +341 -178
  442. package/contracts/registry/RegistryAdmin.sol +142 -235
  443. package/contracts/registry/RegistryService.sol +37 -48
  444. package/contracts/registry/RegistryServiceManager.sol +3 -3
  445. package/contracts/registry/ReleaseAdmin.sol +245 -0
  446. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  447. package/contracts/registry/ReleaseRegistry.sol +244 -266
  448. package/contracts/registry/ServiceAuthorizationV3.sol +99 -52
  449. package/contracts/registry/TokenRegistry.sol +6 -8
  450. package/contracts/shared/Component.sol +74 -128
  451. package/contracts/shared/ComponentService.sol +453 -342
  452. package/contracts/shared/ComponentServiceManager.sol +8 -5
  453. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  454. package/contracts/shared/ContractLib.sol +253 -0
  455. package/contracts/shared/IComponent.sol +8 -17
  456. package/contracts/shared/IComponentService.sol +49 -39
  457. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  458. package/contracts/shared/ILifecycle.sol +3 -1
  459. package/contracts/shared/INftOwnable.sol +2 -0
  460. package/contracts/shared/IPolicyHolder.sol +12 -22
  461. package/contracts/shared/IRegisterable.sol +23 -1
  462. package/contracts/shared/IService.sol +3 -5
  463. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  464. package/contracts/shared/InstanceLinkedComponent.sol +81 -35
  465. package/contracts/shared/KeyValueStore.sol +1 -1
  466. package/contracts/shared/Lifecycle.sol +15 -4
  467. package/contracts/shared/NftOwnable.sol +31 -11
  468. package/contracts/shared/PolicyHolder.sol +17 -57
  469. package/contracts/shared/Registerable.sol +55 -21
  470. package/contracts/shared/RegistryLinked.sol +9 -14
  471. package/contracts/shared/Service.sol +15 -32
  472. package/contracts/shared/TokenHandler.sol +309 -26
  473. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  474. package/contracts/staking/IStaking.sol +7 -9
  475. package/contracts/staking/IStakingService.sol +8 -3
  476. package/contracts/staking/StakeManagerLib.sol +19 -26
  477. package/contracts/staking/Staking.sol +76 -60
  478. package/contracts/staking/StakingManager.sol +8 -6
  479. package/contracts/staking/StakingReader.sol +13 -6
  480. package/contracts/staking/StakingService.sol +54 -35
  481. package/contracts/staking/StakingServiceManager.sol +6 -5
  482. package/contracts/staking/TargetManagerLib.sol +7 -3
  483. package/contracts/type/Amount.sol +27 -5
  484. package/contracts/type/Blocknumber.sol +7 -1
  485. package/contracts/type/ClaimId.sol +6 -1
  486. package/contracts/type/Key32.sol +2 -2
  487. package/contracts/type/Key32Set.sol +62 -0
  488. package/contracts/type/NftId.sol +7 -0
  489. package/contracts/type/ObjectType.sol +52 -20
  490. package/contracts/type/PayoutId.sol +10 -10
  491. package/contracts/type/Referral.sol +1 -0
  492. package/contracts/type/RiskId.sol +38 -6
  493. package/contracts/type/RoleId.sol +23 -15
  494. package/contracts/type/Seconds.sol +21 -1
  495. package/contracts/type/Selector.sol +5 -0
  496. package/contracts/type/StateId.sol +15 -1
  497. package/contracts/type/Timestamp.sol +10 -5
  498. package/contracts/type/UFixed.sol +35 -122
  499. package/contracts/type/Version.sol +15 -5
  500. package/contracts/upgradeability/ProxyManager.sol +68 -34
  501. package/contracts/upgradeability/Versionable.sol +2 -2
  502. package/package.json +4 -3
  503. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  504. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  505. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  506. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  507. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  508. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  509. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  510. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  511. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  512. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  513. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  514. package/artifacts/contracts/registry/GlobalRegistry.sol/GlobalRegistry.dbg.json +0 -4
  515. package/artifacts/contracts/registry/GlobalRegistry.sol/GlobalRegistry.json +0 -1503
  516. package/artifacts/contracts/registry/GlobalRegistryAdmin.sol/GlobalRegistryAdmin.dbg.json +0 -4
  517. package/artifacts/contracts/registry/GlobalRegistryAdmin.sol/GlobalRegistryAdmin.json +0 -1881
  518. package/artifacts/contracts/registry/IGlobalRegistry.sol/IGlobalRegistry.dbg.json +0 -4
  519. package/artifacts/contracts/registry/IGlobalRegistry.sol/IGlobalRegistry.json +0 -974
  520. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  521. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  522. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  523. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  524. package/artifacts/contracts/shared/MainnetId.sol/MainnetContract.dbg.json +0 -4
  525. package/artifacts/contracts/shared/MainnetId.sol/MainnetContract.json +0 -34
  526. package/artifacts/contracts/shared/MainnetId.sol/MainnetId.dbg.json +0 -4
  527. package/artifacts/contracts/shared/MainnetId.sol/MainnetId.json +0 -24
  528. package/artifacts/contracts/shared/MainnetId.sol/SidenetContract.dbg.json +0 -4
  529. package/artifacts/contracts/shared/MainnetId.sol/SidenetContract.json +0 -34
  530. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  531. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  532. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  533. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  534. package/contracts/instance/module/IAccess.sol +0 -46
  535. package/contracts/product/ProductService.sol +0 -99
  536. package/contracts/product/ProductServiceManager.sol +0 -39
  537. package/contracts/registry/GlobalRegistry.sol +0 -95
  538. package/contracts/registry/GlobalRegistryAdmin.sol +0 -38
  539. package/contracts/registry/IGlobalRegistry.sol +0 -17
  540. package/contracts/shared/InitializableCustom.sol +0 -177
  541. package/contracts/shared/MainnetId.sol +0 -29
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c7f3b92dc32cfbf1bffefa1484c6a449.json"
3
+ "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
4
4
  }
@@ -16,7 +16,17 @@
16
16
  },
17
17
  {
18
18
  "inputs": [],
19
- "name": "GIF_VERSION",
19
+ "name": "ErrorAuthorizationMainTargetNameEmpty",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "ErrorAuthorizationTargetDomainZero",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "GIF_RELEASE",
20
30
  "outputs": [
21
31
  {
22
32
  "internalType": "uint256",
@@ -113,6 +123,51 @@
113
123
  "stateMutability": "view",
114
124
  "type": "function"
115
125
  },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "ObjectType",
130
+ "name": "componentDomain",
131
+ "type": "uint8"
132
+ }
133
+ ],
134
+ "name": "getComponentRole",
135
+ "outputs": [
136
+ {
137
+ "internalType": "RoleId",
138
+ "name": "roleId",
139
+ "type": "uint64"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "getMainTarget",
148
+ "outputs": [
149
+ {
150
+ "internalType": "Str",
151
+ "name": "",
152
+ "type": "bytes32"
153
+ }
154
+ ],
155
+ "stateMutability": "view",
156
+ "type": "function"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "getMainTargetName",
161
+ "outputs": [
162
+ {
163
+ "internalType": "string",
164
+ "name": "name",
165
+ "type": "string"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
116
171
  {
117
172
  "inputs": [],
118
173
  "name": "getRelease",
@@ -162,6 +217,11 @@
162
217
  "internalType": "Timestamp",
163
218
  "name": "createdAt",
164
219
  "type": "uint40"
220
+ },
221
+ {
222
+ "internalType": "Timestamp",
223
+ "name": "pausedAt",
224
+ "type": "uint40"
165
225
  }
166
226
  ],
167
227
  "internalType": "struct IAccess.RoleInfo",
@@ -185,6 +245,19 @@
185
245
  "stateMutability": "view",
186
246
  "type": "function"
187
247
  },
248
+ {
249
+ "inputs": [],
250
+ "name": "getServiceDomains",
251
+ "outputs": [
252
+ {
253
+ "internalType": "ObjectType[]",
254
+ "name": "serviceDomains",
255
+ "type": "uint8[]"
256
+ }
257
+ ],
258
+ "stateMutability": "view",
259
+ "type": "function"
260
+ },
188
261
  {
189
262
  "inputs": [
190
263
  {
@@ -205,12 +278,18 @@
205
278
  "type": "function"
206
279
  },
207
280
  {
208
- "inputs": [],
209
- "name": "getTarget",
281
+ "inputs": [
282
+ {
283
+ "internalType": "ObjectType",
284
+ "name": "serviceDomain",
285
+ "type": "uint8"
286
+ }
287
+ ],
288
+ "name": "getServiceTarget",
210
289
  "outputs": [
211
290
  {
212
291
  "internalType": "Str",
213
- "name": "",
292
+ "name": "serviceTarget",
214
293
  "type": "bytes32"
215
294
  }
216
295
  ],
@@ -218,15 +297,21 @@
218
297
  "type": "function"
219
298
  },
220
299
  {
221
- "inputs": [],
222
- "name": "getTargetName",
223
- "outputs": [
300
+ "inputs": [
224
301
  {
225
302
  "internalType": "string",
226
- "name": "name",
303
+ "name": "targetName",
227
304
  "type": "string"
228
305
  }
229
306
  ],
307
+ "name": "getTarget",
308
+ "outputs": [
309
+ {
310
+ "internalType": "Str",
311
+ "name": "target",
312
+ "type": "bytes32"
313
+ }
314
+ ],
230
315
  "stateMutability": "view",
231
316
  "type": "function"
232
317
  },
@@ -262,6 +347,32 @@
262
347
  "stateMutability": "view",
263
348
  "type": "function"
264
349
  },
350
+ {
351
+ "inputs": [],
352
+ "name": "getTokenHandlerName",
353
+ "outputs": [
354
+ {
355
+ "internalType": "string",
356
+ "name": "",
357
+ "type": "string"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "getTokenHandlerTarget",
366
+ "outputs": [
367
+ {
368
+ "internalType": "Str",
369
+ "name": "",
370
+ "type": "bytes32"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
265
376
  {
266
377
  "inputs": [
267
378
  {
@@ -301,30 +412,58 @@
301
412
  "type": "function"
302
413
  }
303
414
  ],
304
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610bc3565b50348015610033575f80fd5b5060405161195838038061195883398101604081905261005291610c7d565b805f61005e8282610bc3565b50610067610078565b61006f610082565b5050610e38565b565b610076600e6101dc565b5f61009b61008e610276565b610096610305565b610385565b90506100d48163b6b412ba60e01b604051806040016040528060078152602001667365744665657360c81b81525061046260201b60201c565b60408051808201909152601581527f6372656174654469737472696275746f72547970650000000000000000000000602082015261011c908290632b5198b160e01b90610462565b60408051808201909152601181527031b932b0ba32a234b9ba3934b13aba37b960791b6020820152610158908290632ee59dd760e11b90610462565b60408051808201909152601581527f7570646174654469737472696275746f7254797065000000000000000000000060208201526101a0908290633d683fd960e01b90610462565b60408051808201909152600e81526d18dc99585d19549959995c9c985b60921b60208201526101d9908290632cb305f560e11b90610462565b50565b6101d96101e7610276565b6040516311da4a5b60e31b815260ff841660048201525f602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af415801561023d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102619190610d2d565b61027161026c610276565b61063f565b610686565b60605f805461028490610b3f565b80601f01602080910402602001604051908101604052809291908181526020018280546102b090610b3f565b80156102fb5780601f106102d2576101008083540402835291602001916102fb565b820191905f5260205f20905b8154815290600101906020018083116102de57829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561035c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103809190610d2d565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016103be9190610d5a565b602060405180830381865af41580156103d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103fd9190610d8f565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696104a38660648501610d5a565b602060405180830381865af41580156104be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e29190610d8f565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105659190610da6565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156105bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105df9190610dcd565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b815250604051602001610670929190610e08565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906106bf908790600401610d5a565b602060405180830381865af41580156106da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fe9190610d8f565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b815290519293506107d092869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af415801561079a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107be9190610d2d565b6001600160401b039081169116141590565b15610813576107de83610819565b6107ec576107ec838361085b565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff16600381111561085357610853610e24565b141592915050565b6108788261087361086a61087c565b600180866108b6565b610a15565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610341565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111561090c5761090c610e24565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016109549190610d5a565b602060405180830381865af415801561096f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109939190610d8f565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156109df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a039190610dcd565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610ac957610ac9610e24565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610b5357607f821691505b602082108103610b7157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610bbe57805f5260205f20601f840160051c81016020851015610b9c5750805b601f840160051c820191505b81811015610bbb575f8155600101610ba8565b50505b505050565b81516001600160401b03811115610bdc57610bdc610b2b565b610bf081610bea8454610b3f565b84610b77565b6020601f821160018114610c22575f8315610c0b5750848201515b5f19600385901b1c1916600184901b178455610bbb565b5f84815260208120601f198516915b82811015610c515787850151825560209485019460019092019101610c31565b5084821015610c6e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610c8d575f80fd5b81516001600160401b03811115610ca2575f80fd5b8201601f81018413610cb2575f80fd5b80516001600160401b03811115610ccb57610ccb610b2b565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610cf957610cf9610b2b565b604052818152828201602001861015610d10575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610d3d575f80fd5b81516001600160401b0381168114610d53575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610d9f575f80fd5b5051919050565b5f60208284031215610db6575f80fd5b81516001600160e01b031981168114610d53575f80fd5b5f60208284031215610ddd575f80fd5b815164ffffffffff81168114610d53575f80fd5b5f81518060208401855e5f93019283525090919050565b5f610e1c610e168386610df1565b84610df1565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b1380610e455f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea264697066735822122086029a6ae101a42ec96669acad522f0ea47e48c9684d2aaa24aa0b5d5aa9e26864736f6c634300081a0033",
305
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea264697066735822122086029a6ae101a42ec96669acad522f0ea47e48c9684d2aaa24aa0b5d5aa9e26864736f6c634300081a0033",
415
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a05260029061002890826116c0565b5060408051808201909152600b81526a086dedae0dedccadce8a8960ab1b602082015260039061005890826116c0565b50348015610064575f80fd5b506040516128ea3803806128ea8339810160408190526100839161177a565b80600e81515f036100a75760405163c0348f3560e01b815260040160405180910390fd5b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156100f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061011b919061182a565b15610139576040516302e3f24160e11b815260040160405180910390fd5b600261014583826116c0565b50816040516020016101579190611867565b6040516020818303038152906040526003908161017491906116c0565b506040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af41580156101ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f29190611884565b90505f6101fe846104b7565b9050610299600280546102109061163c565b80601f016020809104026020016040519081016040528092919081815260200182805461023c9061163c565b80156102875780601f1061025e57610100808354040283529160200191610287565b820191905f5260205f20905b81548152906001019060200180831161026a57829003601f168201915b505050505083836104fe60201b60201c565b60405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906102d09087906004016118d8565b602060405180830381865af41580156102eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030f91906118ea565b60048190555f90815260076020526040902080546001600160401b0319166001600160401b03841617905561035183610346600c90565b60ff90811691161490565b80610362575061036283600e610346565b80610373575061037383600d610346565b80610384575061038483600f610346565b1561041b5761041b600380546103999061163c565b80601f01602080910402602001604051908101604052809291908181526020018280546103c59061163c565b80156104105780601f106103e757610100808354040283529160200191610410565b820191905f5260205f20905b8154815290600101906020018083116103f357829003601f168201915b505061069492505050565b60405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061045390600390600401611901565b602060405180830381865af415801561046e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049291906118ea565b60055561049d610719565b6104a5610725565b6104ad610834565b5050505050611aab565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016104e8929190611988565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906105379087906004016118d8565b602060405180830381865af4158015610552573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057691906118ea565b6006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f018290555f82815260086020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061064b92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015610615573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106399190611884565b6001600160401b039081169116141590565b1561068e57610659836109fa565b610667576106678383610a3c565b5f81815260076020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b6107168173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107039190611884565b60408051602081019091525f81526104fe565b50565b610723600b610a5d565b565b5f610740610731610e05565b61073b600b610e95565b610f26565b90506107798163ea0b3c7360e01b60405180604001604052806007815260200166617070726f766560c81b81525061100360201b60201c565b6040805180820190915260098152681cd95d15d85b1b195d60ba1b60208201526107ad90829063deaa59df60e01b90611003565b60408051808201909152600c81526b383ab9b42332b2aa37b5b2b760a11b60208201526107e4908290633fd3433360e01b90611003565b6107f96107ef610e05565b61073b600e610e95565b9050610716816367ed5f3660e01b60405180604001604052806009815260200168383ab9b42a37b5b2b760b91b81525061100360201b60201c565b5f6108486108406111e0565b61073b6111ef565b90506108818163b6b412ba60e01b604051806040016040528060078152602001667365744665657360c81b81525061100360201b60201c565b60408051808201909152601581527f6372656174654469737472696275746f7254797065000000000000000000000060208201526108c990829063017e8bdd60e51b90611003565b60408051808201909152601181527031b932b0ba32a234b9ba3934b13aba37b960791b6020820152610905908290632ee59dd760e11b90611003565b60408051808201909152601581527f6368616e67654469737472696275746f72547970650000000000000000000000602082015261094d90829063ab3fc75f60e01b90611003565b60408051808201909152600e81526d18dc99585d19549959995c9c985b60921b6020820152610986908290632cb305f560e11b90611003565b60408051808201909152600c81526b77697468647261774665657360a01b60208201526109bd9082906301c6b21960e41b90611003565b6040805180820190915260128152713bb4ba34323930bba1b7b6b6b4b9b9b4b7b760711b60208201526107169082906303f38d3760e11b90611003565b5f806001600160401b0383165f908152600a602052604090205468010000000000000000900460ff166003811115610a3457610a346119a4565b141592915050565b610a5982610a54610a4b61126f565b600180866112a9565b611486565b5050565b5f8054600181018255818052602081047f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56301805460ff858116601f9094166101000a848102910219909116179055604051632b95d28f60e21b8152600481019190915273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063f7fa7a7c90829063ae574a3c906024015f60405180830381865af4158015610b01573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b28919081019061177a565b610b306115b4565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610b81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba591906118ea565b6040518363ffffffff1660e01b8152600401610bc29291906119b8565b5f60405180830381865af4158015610bdc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c03919081019061177a565b60405163cdc23e6960e01b815290915073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c3d9084906004016118d8565b602060405180830381865af4158015610c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c7c91906118ea565b60ff83165f90815260016020526040812091909155610c9a83610e95565b604051632b95d28f60e21b815260ff851660048201529091505f9073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063f7fa7a7c90829063ae574a3c906024015f60405180830381865af4158015610cf6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d1d919081019061177a565b610d256115b4565b604051632b10f60d60e21b815260ff909116600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610d76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9a91906118ea565b6040518363ffffffff1660e01b8152600401610db79291906119fa565b5f60405180830381865af4158015610dd1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df8919081019061177a565b905061068e8383836104fe565b606060038054610e149061163c565b80601f0160208091040260200160405190810160405280929190818152602001828054610e409061163c565b8015610e8b5780601f10610e6257610100808354040283529160200191610e8b565b820191905f5260205f20905b815481529060010190602001808311610e6e57829003601f168201915b5050505050905090565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610eb96115b4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610efc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f209190611884565b92915050565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610f5f91906118d8565b602060405180830381865af4158015610f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9e91906118ea565b5f818152600b602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600c82528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e6961104486606485016118d8565b602060405180830381865af415801561105f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108391906118ea565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156110e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111069190611a40565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561115c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111809190611a67565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b606060028054610e149061163c565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015611246573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126a9190611884565b905090565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240161122b565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115611306576113066119a4565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161134e91906118d8565b602060405180830381865af4158015611369573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061138d91906118ea565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156113d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113fd9190611a67565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114749190611a67565b64ffffffffff16905295945050505050565b6009805460018101909155600481047f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f908152600a602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b031990921617906801000000000000000090849081111561153c5761153c6119a4565b02179055506040820151815463ffffffff90911669010000000000000000000263ffffffff60481b199091161781556060820151600182015560808201516002909101805460a09093015164ffffffffff90811665010000000000026001600160501b03199094169216919091179190911790555050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611604573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126a9190611a8b565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061165057607f821691505b60208210810361166e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156116bb57805f5260205f20601f840160051c810160208510156116995750805b601f840160051c820191505b818110156116b8575f81556001016116a5565b50505b505050565b81516001600160401b038111156116d9576116d9611628565b6116ed816116e7845461163c565b84611674565b6020601f82116001811461171f575f83156117085750848201515b5f19600385901b1c1916600184901b1784556116b8565b5f84815260208120601f198516915b8281101561174e578785015182556020948501946001909201910161172e565b508482101561176b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561178a575f80fd5b81516001600160401b0381111561179f575f80fd5b8201601f810184136117af575f80fd5b80516001600160401b038111156117c8576117c8611628565b604051601f8201601f19908116603f011681016001600160401b03811182821017156117f6576117f6611628565b60405281815282820160200186101561180d575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f6020828403121561183a575f80fd5b81518015158114611849575f80fd5b9392505050565b5f81518060208401855e5f93019283525090919050565b5f6118728284611850565b610a8960f31b81526002019392505050565b5f60208284031215611894575f80fd5b81516001600160401b0381168114611849575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61184960208301846118aa565b5f602082840312156118fa575f80fd5b5051919050565b602081525f8083546119128161163c565b806020860152600182165f8114611930576001811461194c5761197d565b60ff1983166040870152604082151560051b870101935061197d565b865f5260205f205f5b8381101561197457815488820160400152600190910190602001611955565b87016040019450505b509195945050505050565b5f61199c6119968386611850565b84611850565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b606081525f6119ca60608301856118aa565b828103602084015260078152665365727669636560c81b6020820152604081019150508260408301529392505050565b606081525f611a0c60608301856118aa565b8281036020840152600b81526a53657276696365526f6c6560a81b6020820152604081019150508260408301529392505050565b5f60208284031215611a50575f80fd5b81516001600160e01b031981168114611849575f80fd5b5f60208284031215611a77575f80fd5b815164ffffffffff81168114611849575f80fd5b5f60208284031215611a9b575f80fd5b815160ff81168114611849575f80fd5b610e3280611ab85f395ff3fe608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b707b7116100b4578063c143892b11610079578063c143892b146102ba578063c5f34844146102e4578063c6a0017914610307578063da1b620b1461031a578063e8eba4351461032d578063f1d0102714610340575f80fd5b806376b707b714610255578063775f14b11461026f5780638899278a146102975780638c5397b01461029f578063b1040cf8146102b2575f80fd5b80635bfa5027116100fa5780635bfa5027146101d35780635c935ce0146101f357806363fe3b561461021657806368c55b131461022b5780637106139814610240575f80fd5b80631e4afbbf14610136578063363ed4961461015f5780633a591cf81461018a5780634322699b1461019f57806354e17da9146101b1575b5f80fd5b610149610144366004610a0e565b610348565b6040516101569190610a3c565b60405180910390f35b61017261016d366004610ab6565b6103f5565b6040516001600160401b039091168152602001610156565b610192610479565b6040516101569190610aff565b6004545b604051908152602001610156565b6101a36101bf366004610ab6565b60ff165f9081526001602052604090205490565b6101e66101e1366004610b11565b610509565b6040516101569190610b40565b610206610201366004610bcc565b6105e3565b6040519015158152602001610156565b61021e61060b565b6040516101569190610be3565b610233610660565b6040516101569190610c1a565b6102486106d1565b6040516101569190610c54565b61025d610757565b60405160ff9091168152602001610156565b61017261027d366004610bcc565b5f908152600760205260409020546001600160401b031690565b6101a3600381565b6102486102ad366004610bcc565b6107d0565b6005546101a3565b6101926040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61019260405180604001604052806004815260200163526f6c6560e01b81525081565b610206610315366004610b11565b610860565b6101a3610328366004610ca8565b61089d565b61017261033b366004610ab6565b610915565b610192610966565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103e9575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610386565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af415801561044f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610d58565b92915050565b60606003805461048890610d73565b80601f01602080910402602001604051908101604052809291908181526020018280546104b490610d73565b80156104ff5780601f106104d6576101008083540402835291602001916104ff565b820191905f5260205f20905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600a82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561058157610581610b2c565b600381111561059257610592610b2c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b5f6105f082600454610975565b806104735750505f9081526008602052604090205460ff1690565b606060068054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905b815481526020019060010190808311610643575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106995790505050505050905090565b606060098054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161070b5790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107cb9190610dab565b905090565b5f818152600b602090815260409182902080548351818402810184019094528084526060939283018282801561085457602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108115790505b50505050509050919050565b5f806001600160401b0383165f908152600a6020526040902054600160401b900460ff16600381111561089557610895610b2c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108d6908590600401610aff565b602060405180830381865af41580156108f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610dc6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610939610757565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401610434565b60606002805461048890610d73565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f09190610ddd565b9392505050565b6001600160401b0381168114610a0b575f80fd5b50565b5f8060408385031215610a1f575f80fd5b823591506020830135610a31816109f7565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610a55565b509095945050505050565b60ff81168114610a0b575f80fd5b5f60208284031215610ac6575f80fd5b81356109f081610aa8565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109f06020830184610ad1565b5f60208284031215610b21575f80fd5b81356109f0816109f7565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610b7357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610bac608084018264ffffffffff169052565b5060a0830151610bc560a084018264ffffffffff169052565b5092915050565b5f60208284031215610bdc575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351835260209384019390920191600101610bfc565b602080825282518282018190525f918401906040840190835b81811015610a9d57835160ff16835260209384019390920191600101610c33565b602080825282518282018190525f918401906040840190835b81811015610a9d5783516001600160401b0316835260209384019390920191600101610c6d565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610cb8575f80fd5b81356001600160401b03811115610ccd575f80fd5b8201601f81018413610cdd575f80fd5b80356001600160401b03811115610cf657610cf6610c94565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2457610d24610c94565b604052818152828201602001861015610d3b575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610d68575f80fd5b81516109f0816109f7565b600181811c90821680610d8757607f821691505b602082108103610da557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610dbb575f80fd5b81516109f081610aa8565b5f60208284031215610dd6575f80fd5b5051919050565b5f60208284031215610ded575f80fd5b815180151581146109f0575f80fdfea264697066735822122051e2c2cfa22b035c5d7d8d5cfbea0247a9baff9a8c2afe67a1b82bfd2192fc2164736f6c634300081a0033",
416
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b707b7116100b4578063c143892b11610079578063c143892b146102ba578063c5f34844146102e4578063c6a0017914610307578063da1b620b1461031a578063e8eba4351461032d578063f1d0102714610340575f80fd5b806376b707b714610255578063775f14b11461026f5780638899278a146102975780638c5397b01461029f578063b1040cf8146102b2575f80fd5b80635bfa5027116100fa5780635bfa5027146101d35780635c935ce0146101f357806363fe3b561461021657806368c55b131461022b5780637106139814610240575f80fd5b80631e4afbbf14610136578063363ed4961461015f5780633a591cf81461018a5780634322699b1461019f57806354e17da9146101b1575b5f80fd5b610149610144366004610a0e565b610348565b6040516101569190610a3c565b60405180910390f35b61017261016d366004610ab6565b6103f5565b6040516001600160401b039091168152602001610156565b610192610479565b6040516101569190610aff565b6004545b604051908152602001610156565b6101a36101bf366004610ab6565b60ff165f9081526001602052604090205490565b6101e66101e1366004610b11565b610509565b6040516101569190610b40565b610206610201366004610bcc565b6105e3565b6040519015158152602001610156565b61021e61060b565b6040516101569190610be3565b610233610660565b6040516101569190610c1a565b6102486106d1565b6040516101569190610c54565b61025d610757565b60405160ff9091168152602001610156565b61017261027d366004610bcc565b5f908152600760205260409020546001600160401b031690565b6101a3600381565b6102486102ad366004610bcc565b6107d0565b6005546101a3565b6101926040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61019260405180604001604052806004815260200163526f6c6560e01b81525081565b610206610315366004610b11565b610860565b6101a3610328366004610ca8565b61089d565b61017261033b366004610ab6565b610915565b610192610966565b5f828152600c602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156103e9575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff16918301919091529083529092019101610386565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af415801561044f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610d58565b92915050565b60606003805461048890610d73565b80601f01602080910402602001604051908101604052809291908181526020018280546104b490610d73565b80156104ff5780601f106104d6576101008083540402835291602001916104ff565b820191905f5260205f20905b8154815290600101906020018083116104e257829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600a82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561058157610581610b2c565b600381111561059257610592610b2c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff8082166060840152650100000000009091041660809091015292915050565b5f6105f082600454610975565b806104735750505f9081526008602052604090205460ff1690565b606060068054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905b815481526020019060010190808311610643575050505050905090565b60605f8054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106995790505050505050905090565b606060098054806020026020016040519081016040528092919081815260200182805480156104ff57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b03168152602001906008019060208260070104928301926001038202915080841161070b5790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107cb9190610dab565b905090565b5f818152600b602090815260409182902080548351818402810184019094528084526060939283018282801561085457602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116108115790505b50505050509050919050565b5f806001600160401b0383165f908152600a6020526040902054600160401b900460ff16600381111561089557610895610b2c565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108d6908590600401610aff565b602060405180830381865af41580156108f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104739190610dc6565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610939610757565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401610434565b60606002805461048890610d73565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f09190610ddd565b9392505050565b6001600160401b0381168114610a0b575f80fd5b50565b5f8060408385031215610a1f575f80fd5b823591506020830135610a31816109f7565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610a55565b509095945050505050565b60ff81168114610a0b575f80fd5b5f60208284031215610ac6575f80fd5b81356109f081610aa8565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6109f06020830184610ad1565b5f60208284031215610b21575f80fd5b81356109f0816109f7565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610b7357634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff6040840151166040830152606083015160608301526080830151610bac608084018264ffffffffff169052565b5060a0830151610bc560a084018264ffffffffff169052565b5092915050565b5f60208284031215610bdc575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610a9d578351835260209384019390920191600101610bfc565b602080825282518282018190525f918401906040840190835b81811015610a9d57835160ff16835260209384019390920191600101610c33565b602080825282518282018190525f918401906040840190835b81811015610a9d5783516001600160401b0316835260209384019390920191600101610c6d565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610cb8575f80fd5b81356001600160401b03811115610ccd575f80fd5b8201601f81018413610cdd575f80fd5b80356001600160401b03811115610cf657610cf6610c94565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2457610d24610c94565b604052818152828201602001861015610d3b575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215610d68575f80fd5b81516109f0816109f7565b600181811c90821680610d8757607f821691505b602082108103610da557634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610dbb575f80fd5b81516109f081610aa8565b5f60208284031215610dd6575f80fd5b5051919050565b5f60208284031215610ded575f80fd5b815180151581146109f0575f80fdfea264697066735822122051e2c2cfa22b035c5d7d8d5cfbea0247a9baff9a8c2afe67a1b82bfd2192fc2164736f6c634300081a0033",
306
417
  "linkReferences": {
418
+ "contracts/type/ObjectType.sol": {
419
+ "ObjectTypeLib": [
420
+ {
421
+ "length": 20,
422
+ "start": 191
423
+ },
424
+ {
425
+ "length": 20,
426
+ "start": 2754
427
+ },
428
+ {
429
+ "length": 20,
430
+ "start": 3255
431
+ }
432
+ ]
433
+ },
307
434
  "contracts/type/RoleId.sol": {
308
435
  "RoleIdLib": [
309
436
  {
310
437
  "length": 20,
311
- "start": 517
438
+ "start": 406
312
439
  },
313
440
  {
314
441
  "length": 20,
315
- "start": 803
442
+ "start": 1501
316
443
  },
317
444
  {
318
445
  "length": 20,
319
- "start": 1890
446
+ "start": 1690
320
447
  },
321
448
  {
322
449
  "length": 20,
323
- "start": 2196
450
+ "start": 3736
324
451
  },
325
452
  {
326
453
  "length": 20,
327
- "start": 5399
454
+ "start": 4621
455
+ },
456
+ {
457
+ "length": 20,
458
+ "start": 4743
459
+ },
460
+ {
461
+ "length": 20,
462
+ "start": 7886
463
+ },
464
+ {
465
+ "length": 20,
466
+ "start": 9168
328
467
  }
329
468
  ]
330
469
  },
@@ -332,7 +471,7 @@
332
471
  "SelectorLib": [
333
472
  {
334
473
  "length": 20,
335
- "start": 1289
474
+ "start": 4266
336
475
  }
337
476
  ]
338
477
  },
@@ -340,23 +479,39 @@
340
479
  "StrLib": [
341
480
  {
342
481
  "length": 20,
343
- "start": 905
482
+ "start": 680
483
+ },
484
+ {
485
+ "length": 20,
486
+ "start": 1066
487
+ },
488
+ {
489
+ "length": 20,
490
+ "start": 1295
344
491
  },
345
492
  {
346
493
  "length": 20,
347
- "start": 1150
494
+ "start": 3093
348
495
  },
349
496
  {
350
497
  "length": 20,
351
- "start": 1687
498
+ "start": 3882
352
499
  },
353
500
  {
354
501
  "length": 20,
355
- "start": 2335
502
+ "start": 4127
356
503
  },
357
504
  {
358
505
  "length": 20,
359
- "start": 5612
506
+ "start": 4889
507
+ },
508
+ {
509
+ "length": 20,
510
+ "start": 9062
511
+ },
512
+ {
513
+ "length": 20,
514
+ "start": 9292
360
515
  }
361
516
  ]
362
517
  },
@@ -364,11 +519,15 @@
364
519
  "TimestampLib": [
365
520
  {
366
521
  "length": 20,
367
- "start": 1398
522
+ "start": 4375
368
523
  },
369
524
  {
370
525
  "length": 20,
371
- "start": 2458
526
+ "start": 5012
527
+ },
528
+ {
529
+ "length": 20,
530
+ "start": 5131
372
531
  }
373
532
  ]
374
533
  },
@@ -376,7 +535,19 @@
376
535
  "VersionPartLib": [
377
536
  {
378
537
  "length": 20,
379
- "start": 5091
538
+ "start": 2889
539
+ },
540
+ {
541
+ "length": 20,
542
+ "start": 3390
543
+ },
544
+ {
545
+ "length": 20,
546
+ "start": 5580
547
+ },
548
+ {
549
+ "length": 20,
550
+ "start": 8743
380
551
  }
381
552
  ]
382
553
  }
@@ -386,7 +557,11 @@
386
557
  "RoleIdLib": [
387
558
  {
388
559
  "length": 20,
389
- "start": 1746
560
+ "start": 1046
561
+ },
562
+ {
563
+ "length": 20,
564
+ "start": 2328
390
565
  }
391
566
  ]
392
567
  },
@@ -394,7 +569,11 @@
394
569
  "StrLib": [
395
570
  {
396
571
  "length": 20,
397
- "start": 1959
572
+ "start": 2222
573
+ },
574
+ {
575
+ "length": 20,
576
+ "start": 2452
398
577
  }
399
578
  ]
400
579
  },
@@ -402,7 +581,7 @@
402
581
  "VersionPartLib": [
403
582
  {
404
583
  "length": 20,
405
- "start": 1438
584
+ "start": 1903
406
585
  }
407
586
  ]
408
587
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c7f3b92dc32cfbf1bffefa1484c6a449.json"
3
+ "buildInfo": "../../../build-info/fe6349146d06341fb21f060b157460cc.json"
4
4
  }