@etherisc/gif-next 0.0.2-f18fb8b-243 → 0.0.2-f1b01e0-214

Sign up to get free protection for your applications and to get access to all the features.
Files changed (557) hide show
  1. package/README.md +89 -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 +496 -255
  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/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +277 -20
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +395 -203
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +143 -19
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +180 -476
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +265 -31
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +119 -380
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +473 -287
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +151 -109
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +123 -194
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +318 -90
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +242 -45
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +147 -96
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +263 -130
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +738 -328
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +209 -94
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1080 -357
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +175 -281
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +96 -96
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +863 -726
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +133 -350
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +247 -33
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +117 -136
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +109 -318
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +175 -421
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +265 -31
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +337 -210
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +212 -35
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -212
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -308
  136. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  137. package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -392
  138. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +673 -552
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +194 -178
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +100 -90
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +276 -435
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +265 -31
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +260 -229
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
  170. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +232 -333
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +109 -131
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  179. package/artifacts/contracts/product/Product.sol/Product.json +268 -427
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -22
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -80
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +645 -373
  198. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  215. package/artifacts/contracts/shared/Component.sol/Component.json +67 -277
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +608 -539
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +142 -110
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +80 -100
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +568 -252
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +106 -136
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +98 -318
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +196 -143
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +152 -20
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +274 -391
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +126 -95
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +35 -67
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +205 -168
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +103 -85
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +198 -138
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +82 -36
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +109 -35
  341. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  350. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  353. package/contracts/accounting/AccountingService.sol +262 -0
  354. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  355. package/contracts/accounting/IAccountingService.sol +45 -0
  356. package/contracts/authorization/AccessAdmin.sol +338 -225
  357. package/contracts/authorization/AccessAdminLib.sol +183 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  359. package/contracts/authorization/Authorization.sol +350 -203
  360. package/contracts/authorization/IAccess.sol +13 -4
  361. package/contracts/authorization/IAccessAdmin.sol +69 -35
  362. package/contracts/authorization/IAuthorization.sol +33 -7
  363. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  364. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  365. package/contracts/distribution/BasicDistribution.sol +20 -28
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  367. package/contracts/distribution/Distribution.sol +41 -80
  368. package/contracts/distribution/DistributionService.sol +206 -123
  369. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  370. package/contracts/distribution/IDistributionComponent.sol +9 -14
  371. package/contracts/distribution/IDistributionService.sol +40 -22
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +86 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +433 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +68 -48
  387. package/contracts/instance/IInstanceService.sol +30 -34
  388. package/contracts/instance/Instance.sol +121 -71
  389. package/contracts/instance/InstanceAdmin.sol +289 -105
  390. package/contracts/instance/InstanceAuthorizationV3.sol +99 -66
  391. package/contracts/instance/InstanceReader.sol +288 -43
  392. package/contracts/instance/InstanceService.sol +209 -193
  393. package/contracts/instance/InstanceServiceManager.sol +8 -13
  394. package/contracts/instance/InstanceStore.sol +24 -2
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/ObjectCounter.sol +1 -2
  397. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  398. package/contracts/instance/base/ObjectSet.sol +77 -0
  399. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  400. package/contracts/instance/module/IBundle.sol +6 -5
  401. package/contracts/instance/module/IComponents.sol +30 -20
  402. package/contracts/instance/module/IDistribution.sol +21 -9
  403. package/contracts/instance/module/IPolicy.sol +50 -29
  404. package/contracts/instance/module/IRisk.sol +5 -0
  405. package/contracts/mock/Dip.sol +1 -1
  406. package/contracts/oracle/BasicOracle.sol +1 -4
  407. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  408. package/contracts/oracle/IOracle.sol +9 -4
  409. package/contracts/oracle/IOracleComponent.sol +2 -1
  410. package/contracts/oracle/IOracleService.sol +2 -1
  411. package/contracts/oracle/Oracle.sol +21 -24
  412. package/contracts/oracle/OracleService.sol +113 -81
  413. package/contracts/oracle/OracleServiceManager.sol +8 -11
  414. package/contracts/pool/BasicPool.sol +37 -28
  415. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  416. package/contracts/pool/BundleService.sol +204 -105
  417. package/contracts/pool/BundleServiceManager.sol +8 -11
  418. package/contracts/pool/IBundleService.sol +31 -22
  419. package/contracts/pool/IPoolComponent.sol +20 -10
  420. package/contracts/pool/IPoolService.sol +90 -75
  421. package/contracts/pool/Pool.sol +145 -113
  422. package/contracts/pool/PoolLib.sol +216 -0
  423. package/contracts/pool/PoolService.sol +544 -241
  424. package/contracts/pool/PoolServiceManager.sol +6 -9
  425. package/contracts/product/ApplicationService.sol +98 -78
  426. package/contracts/product/ApplicationServiceManager.sol +6 -6
  427. package/contracts/product/BasicProduct.sol +12 -45
  428. package/contracts/product/BasicProductAuthorization.sol +25 -9
  429. package/contracts/product/ClaimService.sol +365 -175
  430. package/contracts/product/ClaimServiceManager.sol +6 -6
  431. package/contracts/product/IApplicationService.sol +9 -2
  432. package/contracts/product/IClaimService.sol +44 -8
  433. package/contracts/product/IPolicyService.sol +53 -36
  434. package/contracts/product/IPricingService.sol +11 -10
  435. package/contracts/product/IProductComponent.sol +28 -5
  436. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  437. package/contracts/product/PolicyService.sol +458 -269
  438. package/contracts/product/PolicyServiceLib.sol +65 -0
  439. package/contracts/product/PolicyServiceManager.sol +6 -9
  440. package/contracts/product/PricingService.sol +69 -60
  441. package/contracts/product/PricingServiceManager.sol +6 -9
  442. package/contracts/product/Product.sol +168 -93
  443. package/contracts/product/RiskService.sol +154 -0
  444. package/contracts/product/RiskServiceManager.sol +39 -0
  445. package/contracts/registry/ChainNft.sol +72 -40
  446. package/contracts/registry/IRegistry.sol +78 -29
  447. package/contracts/registry/IRegistryService.sol +3 -10
  448. package/contracts/registry/IRelease.sol +26 -0
  449. package/contracts/registry/ITransferInterceptor.sol +1 -2
  450. package/contracts/registry/Registry.sol +368 -216
  451. package/contracts/registry/RegistryAdmin.sol +166 -273
  452. package/contracts/registry/RegistryAuthorization.sol +267 -0
  453. package/contracts/registry/RegistryService.sol +41 -66
  454. package/contracts/registry/RegistryServiceManager.sol +5 -5
  455. package/contracts/registry/ReleaseAdmin.sol +253 -0
  456. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  457. package/contracts/registry/ReleaseRegistry.sol +517 -0
  458. package/contracts/registry/ServiceAuthorizationV3.sol +183 -52
  459. package/contracts/registry/TokenRegistry.sol +8 -10
  460. package/contracts/shared/Component.sol +65 -136
  461. package/contracts/shared/ComponentService.sol +463 -336
  462. package/contracts/shared/ComponentServiceManager.sol +10 -7
  463. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  464. package/contracts/shared/ContractLib.sol +281 -0
  465. package/contracts/shared/IComponent.sol +5 -17
  466. package/contracts/shared/IComponentService.sol +51 -41
  467. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  468. package/contracts/shared/ILifecycle.sol +3 -1
  469. package/contracts/shared/INftOwnable.sol +2 -0
  470. package/contracts/shared/IPolicyHolder.sol +12 -22
  471. package/contracts/shared/IRegisterable.sol +23 -1
  472. package/contracts/shared/IService.sol +4 -6
  473. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  474. package/contracts/shared/InstanceLinkedComponent.sol +81 -37
  475. package/contracts/shared/KeyValueStore.sol +1 -1
  476. package/contracts/shared/Lifecycle.sol +15 -4
  477. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  478. package/contracts/shared/NftOwnable.sol +31 -11
  479. package/contracts/shared/PolicyHolder.sol +17 -57
  480. package/contracts/shared/Registerable.sol +52 -21
  481. package/contracts/shared/RegistryLinked.sol +9 -14
  482. package/contracts/shared/Service.sol +18 -36
  483. package/contracts/shared/TokenHandler.sol +310 -26
  484. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  485. package/contracts/staking/IStaking.sol +20 -13
  486. package/contracts/staking/IStakingService.sol +28 -9
  487. package/contracts/staking/Staking.sol +118 -85
  488. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  489. package/contracts/staking/StakingManager.sol +10 -12
  490. package/contracts/staking/StakingReader.sol +26 -33
  491. package/contracts/staking/StakingService.sol +90 -37
  492. package/contracts/staking/StakingServiceManager.sol +8 -7
  493. package/contracts/staking/StakingStore.sol +14 -23
  494. package/contracts/staking/TargetManagerLib.sol +7 -3
  495. package/contracts/type/Amount.sol +27 -5
  496. package/contracts/type/Blocknumber.sol +7 -1
  497. package/contracts/type/ClaimId.sol +6 -1
  498. package/contracts/type/Fee.sol +8 -8
  499. package/contracts/type/Key32.sol +2 -2
  500. package/contracts/type/Key32Set.sol +62 -0
  501. package/contracts/type/NftId.sol +7 -0
  502. package/contracts/type/ObjectType.sol +60 -41
  503. package/contracts/type/PayoutId.sol +10 -10
  504. package/contracts/type/Referral.sol +1 -0
  505. package/contracts/type/RiskId.sol +38 -6
  506. package/contracts/type/RoleId.sol +23 -15
  507. package/contracts/type/Seconds.sol +21 -1
  508. package/contracts/type/Selector.sol +5 -0
  509. package/contracts/type/StateId.sol +15 -1
  510. package/contracts/type/Timestamp.sol +10 -5
  511. package/contracts/type/UFixed.sol +56 -126
  512. package/contracts/type/Version.sol +57 -6
  513. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  514. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  515. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  516. package/package.json +5 -4
  517. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  518. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  519. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  520. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  521. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  522. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  523. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  524. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  525. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  526. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  527. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  528. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  529. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  530. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  531. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  532. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  533. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  534. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  535. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  536. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  537. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  538. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  539. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  540. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  541. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  542. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  543. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  544. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  545. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  546. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  547. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  548. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  549. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  550. package/contracts/instance/BundleManager.sol +0 -126
  551. package/contracts/instance/base/ObjectManager.sol +0 -79
  552. package/contracts/instance/module/IAccess.sol +0 -46
  553. package/contracts/product/ProductService.sol +0 -124
  554. package/contracts/product/ProductServiceManager.sol +0 -42
  555. package/contracts/registry/ReleaseManager.sol +0 -487
  556. package/contracts/shared/InitializableCustom.sol +0 -177
  557. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -0,0 +1,878 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryAuthorization",
4
+ "sourceName": "contracts/registry/RegistryAuthorization.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorAuthorizationMainTargetNameEmpty",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "ErrorAuthorizationTargetDomainZero",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "InvalidInitialization",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [],
28
+ "name": "NotInitializing",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": false,
36
+ "internalType": "uint64",
37
+ "name": "version",
38
+ "type": "uint64"
39
+ }
40
+ ],
41
+ "name": "Initialized",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": false,
49
+ "internalType": "string",
50
+ "name": "message",
51
+ "type": "string"
52
+ },
53
+ {
54
+ "indexed": false,
55
+ "internalType": "string",
56
+ "name": "custom",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "indexed": false,
61
+ "internalType": "uint256",
62
+ "name": "value",
63
+ "type": "uint256"
64
+ }
65
+ ],
66
+ "name": "LogAccessAdminDebug",
67
+ "type": "event"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "COMPONENT_SERVICE_ROLE_NAME",
72
+ "outputs": [
73
+ {
74
+ "internalType": "string",
75
+ "name": "",
76
+ "type": "string"
77
+ }
78
+ ],
79
+ "stateMutability": "view",
80
+ "type": "function"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "GIF_ADMIN_ROLE_NAME",
85
+ "outputs": [
86
+ {
87
+ "internalType": "string",
88
+ "name": "",
89
+ "type": "string"
90
+ }
91
+ ],
92
+ "stateMutability": "view",
93
+ "type": "function"
94
+ },
95
+ {
96
+ "inputs": [],
97
+ "name": "GIF_MANAGER_ROLE_NAME",
98
+ "outputs": [
99
+ {
100
+ "internalType": "string",
101
+ "name": "",
102
+ "type": "string"
103
+ }
104
+ ],
105
+ "stateMutability": "view",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "GIF_RELEASE",
111
+ "outputs": [
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "POOL_SERVICE_ROLE_NAME",
124
+ "outputs": [
125
+ {
126
+ "internalType": "string",
127
+ "name": "",
128
+ "type": "string"
129
+ }
130
+ ],
131
+ "stateMutability": "view",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "REGISTRY_ADMIN_TARGET_NAME",
137
+ "outputs": [
138
+ {
139
+ "internalType": "string",
140
+ "name": "",
141
+ "type": "string"
142
+ }
143
+ ],
144
+ "stateMutability": "view",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "REGISTRY_SERVICE_ROLE_NAME",
150
+ "outputs": [
151
+ {
152
+ "internalType": "string",
153
+ "name": "",
154
+ "type": "string"
155
+ }
156
+ ],
157
+ "stateMutability": "view",
158
+ "type": "function"
159
+ },
160
+ {
161
+ "inputs": [],
162
+ "name": "REGISTRY_TARGET_NAME",
163
+ "outputs": [
164
+ {
165
+ "internalType": "string",
166
+ "name": "",
167
+ "type": "string"
168
+ }
169
+ ],
170
+ "stateMutability": "view",
171
+ "type": "function"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "RELEASE_REGISTRY_ROLE_NAME",
176
+ "outputs": [
177
+ {
178
+ "internalType": "string",
179
+ "name": "",
180
+ "type": "string"
181
+ }
182
+ ],
183
+ "stateMutability": "view",
184
+ "type": "function"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "RELEASE_REGISTRY_TARGET_NAME",
189
+ "outputs": [
190
+ {
191
+ "internalType": "string",
192
+ "name": "",
193
+ "type": "string"
194
+ }
195
+ ],
196
+ "stateMutability": "view",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "ROLE_NAME_SUFFIX",
202
+ "outputs": [
203
+ {
204
+ "internalType": "string",
205
+ "name": "",
206
+ "type": "string"
207
+ }
208
+ ],
209
+ "stateMutability": "view",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "SERVICE_ROLE_NAME_SUFFIX",
215
+ "outputs": [
216
+ {
217
+ "internalType": "string",
218
+ "name": "",
219
+ "type": "string"
220
+ }
221
+ ],
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "STAKING_ROLE_NAME",
228
+ "outputs": [
229
+ {
230
+ "internalType": "string",
231
+ "name": "",
232
+ "type": "string"
233
+ }
234
+ ],
235
+ "stateMutability": "view",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "STAKING_SERVICE_ROLE_NAME",
241
+ "outputs": [
242
+ {
243
+ "internalType": "string",
244
+ "name": "",
245
+ "type": "string"
246
+ }
247
+ ],
248
+ "stateMutability": "view",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "STAKING_STORE_TARGET_NAME",
254
+ "outputs": [
255
+ {
256
+ "internalType": "string",
257
+ "name": "",
258
+ "type": "string"
259
+ }
260
+ ],
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "STAKING_TARGET_NAME",
267
+ "outputs": [
268
+ {
269
+ "internalType": "string",
270
+ "name": "",
271
+ "type": "string"
272
+ }
273
+ ],
274
+ "stateMutability": "view",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "STAKING_TH_TARGET_NAME",
280
+ "outputs": [
281
+ {
282
+ "internalType": "string",
283
+ "name": "",
284
+ "type": "string"
285
+ }
286
+ ],
287
+ "stateMutability": "view",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "TOKEN_REGISTRY_TARGET_NAME",
293
+ "outputs": [
294
+ {
295
+ "internalType": "string",
296
+ "name": "",
297
+ "type": "string"
298
+ }
299
+ ],
300
+ "stateMutability": "view",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "Str",
307
+ "name": "target",
308
+ "type": "bytes32"
309
+ },
310
+ {
311
+ "internalType": "RoleId",
312
+ "name": "roleId",
313
+ "type": "uint64"
314
+ }
315
+ ],
316
+ "name": "getAuthorizedFunctions",
317
+ "outputs": [
318
+ {
319
+ "components": [
320
+ {
321
+ "internalType": "Str",
322
+ "name": "name",
323
+ "type": "bytes32"
324
+ },
325
+ {
326
+ "internalType": "Selector",
327
+ "name": "selector",
328
+ "type": "bytes4"
329
+ },
330
+ {
331
+ "internalType": "Timestamp",
332
+ "name": "createdAt",
333
+ "type": "uint40"
334
+ }
335
+ ],
336
+ "internalType": "struct IAccess.FunctionInfo[]",
337
+ "name": "authorizatedFunctions",
338
+ "type": "tuple[]"
339
+ }
340
+ ],
341
+ "stateMutability": "view",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [
346
+ {
347
+ "internalType": "Str",
348
+ "name": "target",
349
+ "type": "bytes32"
350
+ }
351
+ ],
352
+ "name": "getAuthorizedRoles",
353
+ "outputs": [
354
+ {
355
+ "internalType": "RoleId[]",
356
+ "name": "roleIds",
357
+ "type": "uint64[]"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "ObjectType",
367
+ "name": "componentDomain",
368
+ "type": "uint8"
369
+ }
370
+ ],
371
+ "name": "getComponentRole",
372
+ "outputs": [
373
+ {
374
+ "internalType": "RoleId",
375
+ "name": "roleId",
376
+ "type": "uint64"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "getDomain",
385
+ "outputs": [
386
+ {
387
+ "internalType": "ObjectType",
388
+ "name": "targetDomain",
389
+ "type": "uint8"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [],
397
+ "name": "getMainTarget",
398
+ "outputs": [
399
+ {
400
+ "internalType": "Str",
401
+ "name": "",
402
+ "type": "bytes32"
403
+ }
404
+ ],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "getMainTargetName",
411
+ "outputs": [
412
+ {
413
+ "internalType": "string",
414
+ "name": "name",
415
+ "type": "string"
416
+ }
417
+ ],
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [],
423
+ "name": "getRelease",
424
+ "outputs": [
425
+ {
426
+ "internalType": "VersionPart",
427
+ "name": "release",
428
+ "type": "uint8"
429
+ }
430
+ ],
431
+ "stateMutability": "pure",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [
436
+ {
437
+ "internalType": "RoleId",
438
+ "name": "roleId",
439
+ "type": "uint64"
440
+ }
441
+ ],
442
+ "name": "getRoleInfo",
443
+ "outputs": [
444
+ {
445
+ "components": [
446
+ {
447
+ "internalType": "RoleId",
448
+ "name": "adminRoleId",
449
+ "type": "uint64"
450
+ },
451
+ {
452
+ "internalType": "enum IAccess.RoleType",
453
+ "name": "roleType",
454
+ "type": "uint8"
455
+ },
456
+ {
457
+ "internalType": "uint32",
458
+ "name": "maxMemberCount",
459
+ "type": "uint32"
460
+ },
461
+ {
462
+ "internalType": "Timestamp",
463
+ "name": "createdAt",
464
+ "type": "uint40"
465
+ },
466
+ {
467
+ "internalType": "Timestamp",
468
+ "name": "pausedAt",
469
+ "type": "uint40"
470
+ },
471
+ {
472
+ "internalType": "Str",
473
+ "name": "name",
474
+ "type": "bytes32"
475
+ }
476
+ ],
477
+ "internalType": "struct IAccess.RoleInfo",
478
+ "name": "info",
479
+ "type": "tuple"
480
+ }
481
+ ],
482
+ "stateMutability": "view",
483
+ "type": "function"
484
+ },
485
+ {
486
+ "inputs": [],
487
+ "name": "getRoles",
488
+ "outputs": [
489
+ {
490
+ "internalType": "RoleId[]",
491
+ "name": "roles",
492
+ "type": "uint64[]"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [],
500
+ "name": "getServiceDomains",
501
+ "outputs": [
502
+ {
503
+ "internalType": "ObjectType[]",
504
+ "name": "serviceDomains",
505
+ "type": "uint8[]"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [
513
+ {
514
+ "internalType": "ObjectType",
515
+ "name": "serviceDomain",
516
+ "type": "uint8"
517
+ }
518
+ ],
519
+ "name": "getServiceRole",
520
+ "outputs": [
521
+ {
522
+ "internalType": "RoleId",
523
+ "name": "serviceRoleId",
524
+ "type": "uint64"
525
+ }
526
+ ],
527
+ "stateMutability": "pure",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [
532
+ {
533
+ "internalType": "ObjectType",
534
+ "name": "serviceDomain",
535
+ "type": "uint8"
536
+ }
537
+ ],
538
+ "name": "getServiceTarget",
539
+ "outputs": [
540
+ {
541
+ "internalType": "Str",
542
+ "name": "serviceTarget",
543
+ "type": "bytes32"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "string",
553
+ "name": "targetName",
554
+ "type": "string"
555
+ }
556
+ ],
557
+ "name": "getTarget",
558
+ "outputs": [
559
+ {
560
+ "internalType": "Str",
561
+ "name": "target",
562
+ "type": "bytes32"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [
570
+ {
571
+ "internalType": "Str",
572
+ "name": "target",
573
+ "type": "bytes32"
574
+ }
575
+ ],
576
+ "name": "getTargetRole",
577
+ "outputs": [
578
+ {
579
+ "internalType": "RoleId",
580
+ "name": "roleId",
581
+ "type": "uint64"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
586
+ },
587
+ {
588
+ "inputs": [],
589
+ "name": "getTargets",
590
+ "outputs": [
591
+ {
592
+ "internalType": "Str[]",
593
+ "name": "targets",
594
+ "type": "bytes32[]"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [],
602
+ "name": "getTokenHandlerName",
603
+ "outputs": [
604
+ {
605
+ "internalType": "string",
606
+ "name": "",
607
+ "type": "string"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [],
615
+ "name": "getTokenHandlerTarget",
616
+ "outputs": [
617
+ {
618
+ "internalType": "Str",
619
+ "name": "",
620
+ "type": "bytes32"
621
+ }
622
+ ],
623
+ "stateMutability": "view",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [
628
+ {
629
+ "internalType": "RoleId",
630
+ "name": "roleId",
631
+ "type": "uint64"
632
+ }
633
+ ],
634
+ "name": "roleExists",
635
+ "outputs": [
636
+ {
637
+ "internalType": "bool",
638
+ "name": "exists",
639
+ "type": "bool"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "bytes4",
649
+ "name": "interfaceId",
650
+ "type": "bytes4"
651
+ }
652
+ ],
653
+ "name": "supportsInterface",
654
+ "outputs": [
655
+ {
656
+ "internalType": "bool",
657
+ "name": "",
658
+ "type": "bool"
659
+ }
660
+ ],
661
+ "stateMutability": "view",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "Str",
668
+ "name": "target",
669
+ "type": "bytes32"
670
+ }
671
+ ],
672
+ "name": "targetExists",
673
+ "outputs": [
674
+ {
675
+ "internalType": "bool",
676
+ "name": "exists",
677
+ "type": "bool"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ }
683
+ ],
684
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a05260049061002890826125ae565b5060408051808201909152600b81526a086dedae0dedccadce8a8960ab1b602082015260059061005890826125ae565b50348015610064575f80fd5b50604080518082019091526008815267526567697374727960c01b602082015260025f806101028373__$0d958e68cba84670b8f4a3f2f2686b1c6b$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156100d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100f79190612668565b60ff90811691161490565b15610120576040516302e3f24160e11b815260040160405180910390fd5b6101606301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6006805460ff191660ff8516179055600461017b85826125ae565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906101b390879060040161268f565b602060405180830381865af41580156101ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101f291906126c4565b600755600180546001600160401b031916600a17905581156104545760405163037c8cb160e51b815260ff8416600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561025e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028291906126db565b156102a0576040516302e3f24160e11b815260040160405180910390fd5b6040516311da4a5b60e31b815260ff841660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af41580156102f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031d91906126fa565b90505f6103b2600480546103309061252b565b80601f016020809104026020016040519081016040528092919081815260200182805461035c9061252b565b80156103a75780601f1061037e576101008083540402835291602001916103a7565b820191905f5260205f20905b81548152906001019060200180831161038a57829003601f168201915b505061068592505050565b905061044d600480546103c49061252b565b80601f01602080910402602001604051908101604052809291908181526020018280546103f09061252b565b801561043b5780601f106104125761010080835404028352916020019161043b565b820191905f5260205f20905b81548152906001019060200180831161041e57829003601f168201915b505050505083836106cc60201b60201c565b50506104e6565b6104e6600480546104649061252b565b80601f01602080910402602001604051908101604052809291908181526020018280546104909061252b565b80156104db5780601f106104b2576101008083540402835291602001916104db565b820191905f5260205f20905b8154815290600101906020018083116104be57829003601f168201915b505061086292505050565b6104ee61097e565b6104f6610c6f565b6104fe610d74565b801561064157836040516020016105159190612737565b6040516020818303038152906040526005908161053291906125ae565b5060405163cdc23e6960e01b815273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061056b90600590600401612754565b602060405180830381865af4158015610586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105aa91906126c4565b6008556005805461064191906105bf9061252b565b80601f01602080910402602001604051908101604052809291908181526020018280546105eb9061252b565b80156106365780601f1061060d57610100808354040283529160200191610636565b820191905f5260205f20905b81548152906001019060200180831161061957829003601f168201915b5050610dac92505050565b632d137dd560e01b5f9081526020527f54ee35a959a52ed1d05cb9c12a1405c544cbd2b8bde0fa78deaf2875dc10e0e7805460ff191660011790555050505061288d565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016106b69291906127db565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061070590879060040161268f565b602060405180830381865af4158015610720573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074491906126c4565b6009805460018181019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018290555f828152600b6020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061081992869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156107e3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080791906126fa565b6001600160401b039081169116141590565b1561085c5761082783610e31565b610835576108358383610e73565b5f818152600a6020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b600180545f9173__$1d92393fa9ccd763988368ce8a1cb90d26$__91637c3940bf916001600160401b03909116908461089a836127f7565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b81526004016108e991906001600160401b0391909116815260200190565b602060405180830381865af4158015610904573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092891906126fa565b90505f8260405180604001604052806004815260200163526f6c6560e01b81525060405160200161095a9291906127db565b60408051601f1981840301815291905290506109778383836106cc565b505050565b565b610a5373__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e60026040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865af41580156109d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109fd91906126fa565b610a4e610a08610e8f565b60026103e76040518060400160405280601381526020017f526567697374727953657276696365526f6c6500000000000000000000000000815250610f0960201b60201c565b6110e6565b610b1873__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e60036040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865af4158015610aae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad291906126fa565b610a4e610add610e8f565b60026103e7604051806040016040528060128152602001715374616b696e6753657276696365526f6c6560701b815250610f0960201b60201c565b610bda73__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e600f6040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865af4158015610b73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9791906126fa565b610a4e610ba2610e8f565b60026103e76040518060400160405280600f81526020016e506f6f6c53657276696365526f6c6560881b815250610f0960201b60201c565b610c23610be5611231565b610a4e610bf0610e8f565b6002806040518060400160405280600c81526020016b47696641646d696e526f6c6560a01b815250610f0960201b60201c565b61097c610c2e61126b565b610a4e610c39610e8f565b600260016040518060400160405280600e81526020016d4769664d616e61676572526f6c6560901b815250610f0960201b60201c565b60408051808201909152600d81526c2932b3b4b9ba393ca0b236b4b760991b6020820152610c9c90610862565b60408051808201909152600f81526e52656c65617365526567697374727960881b6020820152610ccb90610862565b60408051808201909152600d81526c546f6b656e526567697374727960981b6020820152610cf890610862565b6040805180820190915260078152665374616b696e6760c81b6020820152610d1f90610862565b6040805180820190915260098152680a6e8c2d6d2dccea8960bb1b6020820152610d4890610862565b60408051808201909152600c81526b5374616b696e6753746f726560a01b602082015261097c90610dac565b610d7c6112a5565b610d846114f9565b610d8c6115ab565b610d94611754565b610d9c6118d7565b610da4611d2e565b61097c611e1d565b610e2e8173__$1d92393fa9ccd763988368ce8a1cb90d26$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1b91906126fa565b60408051602081019091525f81526106cc565b50565b5f806001600160401b0383165f908152600d602052604090205468010000000000000000900460ff166003811115610e6b57610e6b61282e565b141592915050565b610e8b82610a4e610e82610e8f565b60018086610f09565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af4158015610ee0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0491906126fa565b905090565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101919091526040518060c00160405280866001600160401b03168152602001856003811115610f6657610f6661282e565b81526020018463ffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe29190612842565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611035573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110599190612842565b64ffffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040161109c919061268f565b602060405180830381865af41580156110b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110db91906126c4565b905295945050505050565b600c805460018101909155600481047fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f908152600d602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b031990921617906801000000000000000090849081111561119c5761119c61282e565b0217905550604082015181546060840151608085015164ffffffffff908116600160901b0264ffffffffff60901b19919092166d01000000000000000000000000000264ffffffffff60681b1963ffffffff90951669010000000000000000000294909416600160481b600160901b031990931692909217929092171617815560a0909101516001909101555050565b600390565b604051637c3940bf60e01b8152600160048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610ec5565b604051637c3940bf60e01b8152600260048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610ec5565b5f6112dd60405180604001604052806008815260200167526567697374727960c01b8152506112d861123160201b60201c565b61219f565b905061131f8163b08c0b5460e01b6040518060400160405280601081526020016f7265676973746572526567697374727960801b81525061227c60201b60201c565b604080518082019091526008815267526567697374727960c01b60208201526113bf9073__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e60025b6040516001600160e01b031960e084901b16815260ff9091166004820152602401602060405180830381865af415801561139b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d891906126fa565b90506113f98163a5df9e4e60e01b604051806040016040528060088152602001673932b3b4b9ba32b960c11b81525061227c60201b60201c565b60408051808201909152601681527f726567697374657257697468437573746f6d54797065000000000000000000006020820152611441908290631a3305b160e31b9061227c565b6114b860405180604001604052806008815260200167526567697374727960c01b8152506112d861149e6040518060400160405280600f81526020016e52656c65617365526567697374727960881b81525061245960201b60201c565b5f908152600a60205260409020546001600160401b031690565b9050610e2e8163a7050a5660e01b6040518060400160405280600f81526020016e72656769737465725365727669636560881b81525061227c60201b60201c565b5f61155c6040518060400160405280600d81526020016c2932b3b4b9ba393ca0b236b4b760991b8152506112d861149e6040518060400160405280600f81526020016e52656c65617365526567697374727960881b81525061245960201b60201c565b9050610e2e8163420e0b3560e01b6040518060400160405280601e81526020017f6772616e7453657276696365526f6c65466f72416c6c56657273696f6e73000081525061227c60201b60201c565b5f6115e56040518060400160405280600f81526020016e52656c65617365526567697374727960881b8152506112d861123160201b60201c565b905061162881630af43fe160e01b604051806040016040528060118152602001706372656174654e65787452656c6561736560781b81525061227c60201b60201c565b60408051808201909152601381527f61637469766174654e65787452656c656173650000000000000000000000000060208201526116709082906328a1120960e21b9061227c565b60408051808201909152600981526873657441637469766560b81b60208201526116a49082906318ce8b7f60e01b9061227c565b60408051808201909152600f81526e52656c65617365526567697374727960881b60208201526116d6906112d861126b565b905061171a816331d5376360e01b60405180604001604052806012815260200171707265706172654e65787452656c6561736560701b81525061227c60201b60201c565b60408051808201909152600f81526e72656769737465725365727669636560881b6020820152610e2e90829063fdd9ec7d60e01b9061227c565b5f61178c6040518060400160405280600d81526020016c546f6b656e526567697374727960981b8152506112d861126b60201b60201c565b90506117cb816309824a8060e01b6040518060400160405280600d81526020016c3932b3b4b9ba32b92a37b5b2b760991b81525061227c60201b60201c565b60408051808201909152601381527f726567697374657252656d6f7465546f6b656e000000000000000000000000006020820152611813908290635fa4428d60e01b9061227c565b60408051808201909152600981526873657441637469766560b81b6020820152611847908290630965fad760e11b9061227c565b60408051808201909152601381527f736574416374697665466f7256657273696f6e00000000000000000000000000602082015261188f90829063378afb8760e11b9061227c565b60408051808201909152601981527f7365744163746976655769746856657273696f6e436865636b000000000000006020820152610e2e90829063f16ddea160e01b9061227c565b5f611909604051806040016040528060078152602001665374616b696e6760c81b8152506112d86124d760201b60201c565b90506119588163419197fe60e01b6040518060400160405280601381526020017f617070726f7665546f6b656e48616e646c65720000000000000000000000000081525061227c60201b60201c565b6040805180820190915260078152665374616b696e6760c81b602082015261199b9073__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e600361135f565b90506119db8163b2ab76ec60e01b6040518060400160405280600e81526020016d1c9959da5cdd195c95185c99d95d60921b81525061227c60201b60201c565b60408051808201909152601081526f1cd95d131bd8dada5b99d4195c9a5bd960821b6020820152611a16908290635ecf260f60e01b9061227c565b60408051808201909152600d81526c7365745265776172645261746560981b6020820152611a4e908290630345861d60e01b9061227c565b6040805180820190915260128152711cd95d13585e14dd185ad959105b5bdd5b9d60721b6020820152611a8b908290631b4e1ff960e21b9061227c565b60408051808201909152601481527f726566696c6c52657761726452657365727665730000000000000000000000006020820152611ad390829063de0eb85f60e01b9061227c565b60408051808201909152601681527f77697468647261775265776172645265736572766573000000000000000000006020820152611b1b90829063e8ce883d60e01b9061227c565b60408051808201909152600b81526a6372656174655374616b6560a81b6020820152611b51908290630c7b317360e21b9061227c565b6040805180820190915260058152647374616b6560d81b6020820152611b81908290636c1e9dff60e01b9061227c565b604080518082019091526007815266756e7374616b6560c81b6020820152611bb3908290636f52667960e11b9061227c565b60408051808201909152600781526672657374616b6560c81b6020820152611be5908290635cbb7d8560e01b9061227c565b60408051808201909152600d81526c7570646174655265776172647360981b6020820152611c1d90829063085031c560e11b9061227c565b60408051808201909152600c81526b636c61696d5265776172647360a01b6020820152611c549082906338cfbb0d60e11b9061227c565b6040805180820190915260078152665374616b696e6760c81b6020820152611c979073__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e600f61135f565b9050611ce68163ea48ce9b60e01b6040518060400160405280601881526020017f696e637265617365546f74616c56616c75654c6f636b6564000000000000000081525061227c60201b60201c565b60408051808201909152601881527f6465637265617365546f74616c56616c75654c6f636b656400000000000000006020820152610e2e90829063d44f8a4b60e01b9061227c565b5f611d7c604051806040016040528060098152602001680a6e8c2d6d2dccea8960bb1b81525073__$1d92393fa9ccd763988368ce8a1cb90d26$__6376d7ed4e61135f61122c60201b60201c565b9050611db58163ea0b3c7360e01b60405180604001604052806007815260200166617070726f766560c81b81525061227c60201b60201c565b604080518082019091526009815268383ab6362a37b5b2b760b91b6020820152611de9908290630f3f86bd60e31b9061227c565b604080518082019091526009815268383ab9b42a37b5b2b760b91b6020820152610e2e9082906333f6af9b60e11b9061227c565b5f611e776040518060400160405280600c81526020016b5374616b696e6753746f726560a01b8152506112d861149e604051806040016040528060078152602001665374616b696e6760c81b81525061245960201b60201c565b9050611eb7816396c9a26060e01b6040518060400160405280600e81526020016d7365745374616b696e675261746560901b81525061227c60201b60201c565b60408051808201909152600c81526b18dc99585d1955185c99d95d60a21b6020820152611eed90829062d04cf960e61b9061227c565b60408051808201909152600c81526b1d5c19185d1955185c99d95d60a21b6020820152611f249082906364274aed60e01b9061227c565b60408051808201909152601081526f696e637265617365526573657276657360801b6020820152611f5f90829063d7537c3760e01b9061227c565b60408051808201909152601081526f6465637265617365526573657276657360801b6020820152611f9a90829063136cfef760e01b9061227c565b60408051808201909152601881527f696e637265617365546f74616c56616c75654c6f636b656400000000000000006020820152611fe290829063d4851fcb60e01b9061227c565b60408051808201909152601881527f6465637265617365546f74616c56616c75654c6f636b65640000000000000000602082015261202a908290633627f07760e11b9061227c565b60408051808201909152600681526563726561746560d01b602082015261205b9082906331420df160e11b9061227c565b60408051808201909152600681526575706461746560d01b602082015261208c9082906312d4768360e21b9061227c565b60408051808201909152600d81526c696e6372656173655374616b6560981b60208201526120c4908290633861317f60e01b9061227c565b60408051808201909152600e81526d72657374616b655265776172647360901b60208201526120fd9082906330f4419960e01b9061227c565b60408051808201909152600d81526c7570646174655265776172647360981b6020820152612135908290634a2101d160e01b9061227c565b604080518082019091526009815268636c61696d5570546f60b81b6020820152612169908290631fdeff1960e11b9061227c565b60408051808201909152600b81526a756e7374616b655570546f60a81b6020820152610e2e90829063075cc74560e51b9061227c565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016121d8919061268f565b602060405180830381865af41580156121f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221791906126c4565b5f818152600e602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600f82528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696122bd866064850161268f565b602060405180830381865af41580156122d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122fc91906126c4565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561235b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237f9190612866565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156123d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f99190612842565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e699061249290859060040161268f565b602060405180830381865af41580156124ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124d191906126c4565b92915050565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610ec5565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061253f57607f821691505b60208210810361255d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561097757805f5260205f20601f840160051c810160208510156125885750805b601f840160051c820191505b818110156125a7575f8155600101612594565b5050505050565b81516001600160401b038111156125c7576125c7612517565b6125db816125d5845461252b565b84612563565b6020601f82116001811461260d575f83156125f65750848201515b5f19600385901b1c1916600184901b1784556125a7565b5f84815260208120601f198516915b8281101561263c578785015182556020948501946001909201910161261c565b508482101561265957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215612678575f80fd5b815160ff81168114612688575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156126d4575f80fd5b5051919050565b5f602082840312156126eb575f80fd5b81518015158114612688575f80fd5b5f6020828403121561270a575f80fd5b81516001600160401b0381168114612688575f80fd5b5f81518060208401855e5f93019283525090919050565b5f6127428284612720565b610a8960f31b81526002019392505050565b602081525f8083546127658161252b565b806020860152600182165f8114612783576001811461279f576127d0565b60ff1983166040870152604082151560051b87010193506127d0565b865f5260205f205f5b838110156127c7578154888201604001526001909101906020016127a8565b87016040019450505b509195945050505050565b5f6127ef6127e98386612720565b84612720565b949350505050565b5f6001600160401b0382166002600160401b0319810161282557634e487b7160e01b5f52601160045260245ffd5b60010192915050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215612852575f80fd5b815164ffffffffff81168114612688575f80fd5b5f60208284031215612876575f80fd5b81516001600160e01b031981168114612688575f80fd5b61121f8061289a5f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c806376b707b71161012a578063c143892b116100b4578063da1b620b11610079578063da1b620b1461068a578063e8eba4351461069d578063f1d01027146106b0578063f720fb3a146106b8578063fef75e6c146106e4575f80fd5b8063c143892b146105cc578063c5f34844146105f6578063c6a0017914610619578063c8ac73da1461062c578063ced7289d1461065f575f80fd5b806391e8af98116100fa57806391e8af98146105325780639279073b146105605780639f8dde8614610592578063b1040cf8146105b9578063b68d1809146105c1575f80fd5b806376b707b7146104d5578063775f14b1146104ef5780638899278a146105175780638c5397b01461051f575f80fd5b80634d1386bb116101b657806368c55b131161017b57806368c55b13146104245780636e752388146104395780636e879e3214610461578063710613981461048e57806371ebc032146104a3575f80fd5b80634d1386bb1461038c57806354e17da9146103ba5780635bfa5027146103dc5780635c935ce0146103fc57806363fe3b561461040f575f80fd5b806327721344116101fc57806327721344146102f2578063363ed4961461031d5780633a591cf8146103485780633d66dcc0146103505780634322699b1461037a575f80fd5b806301ffc9a71461022d57806311a4b5831461026e5780631630d7d6146102a15780631e4afbbf146102d2575b5f80fd5b61025961023b366004610dbf565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610294604051806040016040528060078152602001665374616b696e6760c81b81525081565b6040516102659190610e14565b610294604051806040016040528060128152602001715374616b696e6753657276696365526f6c6560701b81525081565b6102e56102e0366004610e3d565b610710565b6040516102659190610e6b565b6102946040518060400160405280600c81526020016b5374616b696e6753746f726560a01b81525081565b61033061032b366004610ee5565b6107bd565b6040516001600160401b039091168152602001610265565b610294610841565b6102946040518060400160405280600b81526020016a5374616b696e67526f6c6560a81b81525081565b6007545b604051908152602001610265565b6102946040518060400160405280600f81526020016e52656c65617365526567697374727960881b81525081565b61037e6103c8366004610ee5565b60ff165f9081526003602052604090205490565b6103ef6103ea366004610f00565b6108d1565b6040516102659190610f2f565b61025961040a366004610fb9565b6109aa565b6104176109d2565b6040516102659190610fd0565b61042c610a27565b6040516102659190611007565b610294604051806040016040528060098152602001680a6e8c2d6d2dccea8960bb1b81525081565b6102946040518060400160405280600e81526020016d4769664d616e61676572526f6c6560901b81525081565b610496610a99565b6040516102659190611041565b61029460405180604001604052806013815260200172526567697374727953657276696365526f6c6560681b81525081565b6104dd610b1f565b60405160ff9091168152602001610265565b6103306104fd366004610fb9565b5f908152600a60205260409020546001600160401b031690565b61037e600381565b61049661052d366004610fb9565b610b98565b6102946040518060400160405280600f81526020016e506f6f6c53657276696365526f6c6560881b81525081565b6102946040518060400160405280601381526020017252656c656173655265676973747279526f6c6560681b81525081565b61029460405180604001604052806008815260200167526567697374727960c01b81525081565b60085461037e565b60065460ff166104dd565b6102946040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61029460405180604001604052806004815260200163526f6c6560e01b81525081565b610259610627366004610f00565b610c28565b61029460405180604001604052806014815260200173436f6d706f6e656e7453657276696365526f6c6560601b81525081565b6102946040518060400160405280600c81526020016b47696641646d696e526f6c6560a01b81525081565b61037e610698366004611095565b610c65565b6103306106ab366004610ee5565b610cdd565b610294610d2e565b6102946040518060400160405280600d81526020016c546f6b656e526567697374727960981b81525081565b6102946040518060400160405280600d81526020016c2932b3b4b9ba393ca0b236b4b760991b81525081565b5f828152600f602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156107b1575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff1691830191909152908352909201910161074e565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af4158015610817573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083b9190611145565b92915050565b60606005805461085090611160565b80601f016020809104026020016040519081016040528092919081815260200182805461087c90611160565b80156108c75780601f1061089e576101008083540402835291602001916108c7565b820191905f5260205f20905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600d82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561094957610949610f1b565b600381111561095a5761095a610f1b565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b5f6109b782600754610d3d565b8061083b5750505f908152600b602052604090205460ff1690565b606060098054806020026020016040519081016040528092919081815260200182805480156108c757602002820191905f5260205f20905b815481526020019060010190808311610a0a575050505050905090565b606060028054806020026020016040519081016040528092919081815260200182805480156108c757602002820191905f5260205f20905f905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610a615790505050505050905090565b6060600c8054806020026020016040519081016040528092919081815260200182805480156108c757602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610ad35790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b939190611198565b905090565b5f818152600e6020908152604091829020805483518184028101840190945280845260609392830182828015610c1c57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610bd95790505b50505050509050919050565b5f806001600160401b0383165f908152600d6020526040902054600160401b900460ff166003811115610c5d57610c5d610f1b565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c9e908590600401610e14565b602060405180830381865af4158015610cb9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083b91906111b3565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610d01610b1f565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044016107fc565b60606004805461085090611160565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db891906111ca565b9392505050565b5f60208284031215610dcf575f80fd5b81356001600160e01b031981168114610db8575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610db86020830184610de6565b6001600160401b0381168114610e3a575f80fd5b50565b5f8060408385031215610e4e575f80fd5b823591506020830135610e6081610e26565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610ecc578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610e84565b509095945050505050565b60ff81168114610e3a575f80fd5b5f60208284031215610ef5575f80fd5b8135610db881610ed7565b5f60208284031215610f10575f80fd5b8135610db881610e26565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610f6257634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610f91606084018264ffffffffff169052565b506080830151610faa608084018264ffffffffff169052565b5060a092830151919092015290565b5f60208284031215610fc9575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610ecc578351835260209384019390920191600101610fe9565b602080825282518282018190525f918401906040840190835b81811015610ecc57835160ff16835260209384019390920191600101611020565b602080825282518282018190525f918401906040840190835b81811015610ecc5783516001600160401b031683526020938401939092019160010161105a565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156110a5575f80fd5b81356001600160401b038111156110ba575f80fd5b8201601f810184136110ca575f80fd5b80356001600160401b038111156110e3576110e3611081565b604051601f8201601f19908116603f011681016001600160401b038111828210171561111157611111611081565b604052818152828201602001861015611128575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215611155575f80fd5b8151610db881610e26565b600181811c9082168061117457607f821691505b60208210810361119257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156111a8575f80fd5b8151610db881610ed7565b5f602082840312156111c3575f80fd5b5051919050565b5f602082840312156111da575f80fd5b81518015158114610db8575f80fdfea2646970667358221220691739fdc92cafaf31f0135d6b85592da8a94b4d10d62a77724c7863d5457b1964736f6c634300081a0033",
685
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c806376b707b71161012a578063c143892b116100b4578063da1b620b11610079578063da1b620b1461068a578063e8eba4351461069d578063f1d01027146106b0578063f720fb3a146106b8578063fef75e6c146106e4575f80fd5b8063c143892b146105cc578063c5f34844146105f6578063c6a0017914610619578063c8ac73da1461062c578063ced7289d1461065f575f80fd5b806391e8af98116100fa57806391e8af98146105325780639279073b146105605780639f8dde8614610592578063b1040cf8146105b9578063b68d1809146105c1575f80fd5b806376b707b7146104d5578063775f14b1146104ef5780638899278a146105175780638c5397b01461051f575f80fd5b80634d1386bb116101b657806368c55b131161017b57806368c55b13146104245780636e752388146104395780636e879e3214610461578063710613981461048e57806371ebc032146104a3575f80fd5b80634d1386bb1461038c57806354e17da9146103ba5780635bfa5027146103dc5780635c935ce0146103fc57806363fe3b561461040f575f80fd5b806327721344116101fc57806327721344146102f2578063363ed4961461031d5780633a591cf8146103485780633d66dcc0146103505780634322699b1461037a575f80fd5b806301ffc9a71461022d57806311a4b5831461026e5780631630d7d6146102a15780631e4afbbf146102d2575b5f80fd5b61025961023b366004610dbf565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610294604051806040016040528060078152602001665374616b696e6760c81b81525081565b6040516102659190610e14565b610294604051806040016040528060128152602001715374616b696e6753657276696365526f6c6560701b81525081565b6102e56102e0366004610e3d565b610710565b6040516102659190610e6b565b6102946040518060400160405280600c81526020016b5374616b696e6753746f726560a01b81525081565b61033061032b366004610ee5565b6107bd565b6040516001600160401b039091168152602001610265565b610294610841565b6102946040518060400160405280600b81526020016a5374616b696e67526f6c6560a81b81525081565b6007545b604051908152602001610265565b6102946040518060400160405280600f81526020016e52656c65617365526567697374727960881b81525081565b61037e6103c8366004610ee5565b60ff165f9081526003602052604090205490565b6103ef6103ea366004610f00565b6108d1565b6040516102659190610f2f565b61025961040a366004610fb9565b6109aa565b6104176109d2565b6040516102659190610fd0565b61042c610a27565b6040516102659190611007565b610294604051806040016040528060098152602001680a6e8c2d6d2dccea8960bb1b81525081565b6102946040518060400160405280600e81526020016d4769664d616e61676572526f6c6560901b81525081565b610496610a99565b6040516102659190611041565b61029460405180604001604052806013815260200172526567697374727953657276696365526f6c6560681b81525081565b6104dd610b1f565b60405160ff9091168152602001610265565b6103306104fd366004610fb9565b5f908152600a60205260409020546001600160401b031690565b61037e600381565b61049661052d366004610fb9565b610b98565b6102946040518060400160405280600f81526020016e506f6f6c53657276696365526f6c6560881b81525081565b6102946040518060400160405280601381526020017252656c656173655265676973747279526f6c6560681b81525081565b61029460405180604001604052806008815260200167526567697374727960c01b81525081565b60085461037e565b60065460ff166104dd565b6102946040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61029460405180604001604052806004815260200163526f6c6560e01b81525081565b610259610627366004610f00565b610c28565b61029460405180604001604052806014815260200173436f6d706f6e656e7453657276696365526f6c6560601b81525081565b6102946040518060400160405280600c81526020016b47696641646d696e526f6c6560a01b81525081565b61037e610698366004611095565b610c65565b6103306106ab366004610ee5565b610cdd565b610294610d2e565b6102946040518060400160405280600d81526020016c546f6b656e526567697374727960981b81525081565b6102946040518060400160405280600d81526020016c2932b3b4b9ba393ca0b236b4b760991b81525081565b5f828152600f602090815260408083206001600160401b03851684528252808320805482518185028101850190935280835260609492939192909184015b828210156107b1575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff1691830191909152908352909201910161074e565b50505050905092915050565b6040516311da4a5b60e31b815260ff821660048201525f602482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d8906044015b602060405180830381865af4158015610817573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083b9190611145565b92915050565b60606005805461085090611160565b80601f016020809104026020016040519081016040528092919081815260200182805461087c90611160565b80156108c75780601f1061089e576101008083540402835291602001916108c7565b820191905f5260205f20905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b6040805160c080820183525f8083526020808401829052838501829052606084018290526080840182905260a084018290526001600160401b038681168352600d82529185902085519384019095528454918216835292939192830190600160401b900460ff16600381111561094957610949610f1b565b600381111561095a5761095a610f1b565b8152815463ffffffff6901000000000000000000820416602083015264ffffffffff600160681b820481166040840152600160901b90910416606082015260019091015460809091015292915050565b5f6109b782600754610d3d565b8061083b5750505f908152600b602052604090205460ff1690565b606060098054806020026020016040519081016040528092919081815260200182805480156108c757602002820191905f5260205f20905b815481526020019060010190808311610a0a575050505050905090565b606060028054806020026020016040519081016040528092919081815260200182805480156108c757602002820191905f5260205f20905f905b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411610a615790505050505050905090565b6060600c8054806020026020016040519081016040528092919081815260200182805480156108c757602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610ad35790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b939190611198565b905090565b5f818152600e6020908152604091829020805483518184028101840190945280845260609392830182828015610c1c57602002820191905f5260205f20905f905b82829054906101000a90046001600160401b03166001600160401b031681526020019060080190602082600701049283019260010382029150808411610bd95790505b50505050509050919050565b5f806001600160401b0383165f908152600d6020526040902054600160401b900460ff166003811115610c5d57610c5d610f1b565b141592915050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610c9e908590600401610e14565b602060405180830381865af4158015610cb9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083b91906111b3565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610d01610b1f565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044016107fc565b60606004805461085090611160565b6040516303447c0360e41b815260048101839052602481018290525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__90633447c03090604401602060405180830381865af4158015610d94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db891906111ca565b9392505050565b5f60208284031215610dcf575f80fd5b81356001600160e01b031981168114610db8575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610db86020830184610de6565b6001600160401b0381168114610e3a575f80fd5b50565b5f8060408385031215610e4e575f80fd5b823591506020830135610e6081610e26565b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610ecc578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610e84565b509095945050505050565b60ff81168114610e3a575f80fd5b5f60208284031215610ef5575f80fd5b8135610db881610ed7565b5f60208284031215610f10575f80fd5b8135610db881610e26565b634e487b7160e01b5f52602160045260245ffd5b81516001600160401b03168152602082015160c082019060048110610f6257634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151610f91606084018264ffffffffff169052565b506080830151610faa608084018264ffffffffff169052565b5060a092830151919092015290565b5f60208284031215610fc9575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b81811015610ecc578351835260209384019390920191600101610fe9565b602080825282518282018190525f918401906040840190835b81811015610ecc57835160ff16835260209384019390920191600101611020565b602080825282518282018190525f918401906040840190835b81811015610ecc5783516001600160401b031683526020938401939092019160010161105a565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156110a5575f80fd5b81356001600160401b038111156110ba575f80fd5b8201601f810184136110ca575f80fd5b80356001600160401b038111156110e3576110e3611081565b604051601f8201601f19908116603f011681016001600160401b038111828210171561111157611111611081565b604052818152828201602001861015611128575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f60208284031215611155575f80fd5b8151610db881610e26565b600181811c9082168061117457607f821691505b60208210810361119257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156111a8575f80fd5b8151610db881610ed7565b5f602082840312156111c3575f80fd5b5051919050565b5f602082840312156111da575f80fd5b81518015158114610db8575f80fdfea2646970667358221220691739fdc92cafaf31f0135d6b85592da8a94b4d10d62a77724c7863d5457b1964736f6c634300081a0033",
686
+ "linkReferences": {
687
+ "contracts/type/ObjectType.sol": {
688
+ "ObjectTypeLib": [
689
+ {
690
+ "length": 20,
691
+ "start": 142
692
+ },
693
+ {
694
+ "length": 20,
695
+ "start": 550
696
+ }
697
+ ]
698
+ },
699
+ "contracts/type/RoleId.sol": {
700
+ "RoleIdLib": [
701
+ {
702
+ "length": 20,
703
+ "start": 705
704
+ },
705
+ {
706
+ "length": 20,
707
+ "start": 1963
708
+ },
709
+ {
710
+ "length": 20,
711
+ "start": 2154
712
+ },
713
+ {
714
+ "length": 20,
715
+ "start": 2435
716
+ },
717
+ {
718
+ "length": 20,
719
+ "start": 2648
720
+ },
721
+ {
722
+ "length": 20,
723
+ "start": 2845
724
+ },
725
+ {
726
+ "length": 20,
727
+ "start": 3506
728
+ },
729
+ {
730
+ "length": 20,
731
+ "start": 3751
732
+ },
733
+ {
734
+ "length": 20,
735
+ "start": 4681
736
+ },
737
+ {
738
+ "length": 20,
739
+ "start": 4739
740
+ },
741
+ {
742
+ "length": 20,
743
+ "start": 4932
744
+ },
745
+ {
746
+ "length": 20,
747
+ "start": 6524
748
+ },
749
+ {
750
+ "length": 20,
751
+ "start": 7288
752
+ },
753
+ {
754
+ "length": 20,
755
+ "start": 7510
756
+ },
757
+ {
758
+ "length": 20,
759
+ "start": 9461
760
+ },
761
+ {
762
+ "length": 20,
763
+ "start": 12408
764
+ },
765
+ {
766
+ "length": 20,
767
+ "start": 13690
768
+ }
769
+ ]
770
+ },
771
+ "contracts/type/Selector.sol": {
772
+ "SelectorLib": [
773
+ {
774
+ "length": 20,
775
+ "start": 8995
776
+ }
777
+ ]
778
+ },
779
+ "contracts/type/String.sol": {
780
+ "StrLib": [
781
+ {
782
+ "length": 20,
783
+ "start": 395
784
+ },
785
+ {
786
+ "length": 20,
787
+ "start": 1346
788
+ },
789
+ {
790
+ "length": 20,
791
+ "start": 1757
792
+ },
793
+ {
794
+ "length": 20,
795
+ "start": 4199
796
+ },
797
+ {
798
+ "length": 20,
799
+ "start": 8611
800
+ },
801
+ {
802
+ "length": 20,
803
+ "start": 8856
804
+ },
805
+ {
806
+ "length": 20,
807
+ "start": 9322
808
+ },
809
+ {
810
+ "length": 20,
811
+ "start": 13584
812
+ },
813
+ {
814
+ "length": 20,
815
+ "start": 13814
816
+ }
817
+ ]
818
+ },
819
+ "contracts/type/Timestamp.sol": {
820
+ "TimestampLib": [
821
+ {
822
+ "length": 20,
823
+ "start": 3961
824
+ },
825
+ {
826
+ "length": 20,
827
+ "start": 4080
828
+ },
829
+ {
830
+ "length": 20,
831
+ "start": 9104
832
+ }
833
+ ]
834
+ },
835
+ "contracts/type/Version.sol": {
836
+ "VersionPartLib": [
837
+ {
838
+ "length": 20,
839
+ "start": 13265
840
+ }
841
+ ]
842
+ }
843
+ },
844
+ "deployedLinkReferences": {
845
+ "contracts/type/RoleId.sol": {
846
+ "RoleIdLib": [
847
+ {
848
+ "length": 20,
849
+ "start": 2014
850
+ },
851
+ {
852
+ "length": 20,
853
+ "start": 3296
854
+ }
855
+ ]
856
+ },
857
+ "contracts/type/String.sol": {
858
+ "StrLib": [
859
+ {
860
+ "length": 20,
861
+ "start": 3190
862
+ },
863
+ {
864
+ "length": 20,
865
+ "start": 3420
866
+ }
867
+ ]
868
+ },
869
+ "contracts/type/Version.sol": {
870
+ "VersionPartLib": [
871
+ {
872
+ "length": 20,
873
+ "start": 2871
874
+ }
875
+ ]
876
+ }
877
+ }
878
+ }