@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff596ab-857

Sign up to get free protection for your applications and to get access to all the features.
Files changed (587) hide show
  1. package/README.md +133 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +174 -601
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +788 -535
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +278 -128
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +595 -96
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +522 -56
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +594 -219
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1833 -761
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +542 -193
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1647 -702
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  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 +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  138. package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +237 -123
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  180. package/artifacts/contracts/product/Product.sol/Product.json +428 -509
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +478 -61
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +920 -125
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -125
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +129 -135
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  236. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +52 -20
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -90
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2576 -128
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
  278. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  279. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  294. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
  304. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  346. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  350. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  351. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  356. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  358. package/contracts/accounting/AccountingService.sol +274 -0
  359. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  360. package/contracts/accounting/IAccountingService.sol +47 -0
  361. package/contracts/authorization/AccessAdmin.sol +780 -0
  362. package/contracts/authorization/AccessAdminLib.sol +396 -0
  363. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  364. package/contracts/authorization/Authorization.sol +169 -0
  365. package/contracts/authorization/IAccess.sol +67 -0
  366. package/contracts/authorization/IAccessAdmin.sol +144 -0
  367. package/contracts/authorization/IAuthorization.sol +26 -0
  368. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  369. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  370. package/contracts/distribution/BasicDistribution.sol +141 -0
  371. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  372. package/contracts/distribution/Distribution.sol +137 -175
  373. package/contracts/distribution/DistributionService.sol +314 -215
  374. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  375. package/contracts/distribution/IDistributionComponent.sol +23 -49
  376. package/contracts/distribution/IDistributionService.sol +61 -33
  377. package/contracts/examples/fire/DamageLevel.sol +59 -0
  378. package/contracts/examples/fire/FirePool.sol +86 -0
  379. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  380. package/contracts/examples/fire/FireProduct.sol +433 -0
  381. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  382. package/contracts/examples/fire/FireUSD.sol +26 -0
  383. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  384. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  386. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  387. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  389. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  390. package/contracts/instance/BundleSet.sol +130 -0
  391. package/contracts/instance/IInstance.sol +117 -49
  392. package/contracts/instance/IInstanceService.sol +81 -37
  393. package/contracts/instance/Instance.sol +252 -134
  394. package/contracts/instance/InstanceAdmin.sol +383 -0
  395. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  396. package/contracts/instance/InstanceReader.sol +505 -241
  397. package/contracts/instance/InstanceService.sol +388 -196
  398. package/contracts/instance/InstanceServiceManager.sol +14 -29
  399. package/contracts/instance/InstanceStore.sol +151 -64
  400. package/contracts/instance/RiskSet.sol +126 -0
  401. package/contracts/instance/base/BalanceStore.sol +121 -0
  402. package/contracts/instance/base/Cloneable.sol +2 -25
  403. package/contracts/instance/base/ObjectCounter.sol +20 -0
  404. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  405. package/contracts/instance/base/ObjectSet.sol +77 -0
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -8
  408. package/contracts/instance/module/IComponents.sol +40 -19
  409. package/contracts/instance/module/IDistribution.sol +21 -9
  410. package/contracts/instance/module/IPolicy.sol +57 -30
  411. package/contracts/instance/module/IRisk.sol +5 -0
  412. package/contracts/mock/Dip.sol +26 -0
  413. package/contracts/oracle/BasicOracle.sol +45 -0
  414. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  415. package/contracts/oracle/IOracle.sol +41 -0
  416. package/contracts/oracle/IOracleComponent.sol +33 -0
  417. package/contracts/oracle/IOracleService.sol +66 -0
  418. package/contracts/oracle/Oracle.sol +154 -0
  419. package/contracts/oracle/OracleService.sol +310 -0
  420. package/contracts/oracle/OracleServiceManager.sol +39 -0
  421. package/contracts/pool/BasicPool.sol +162 -0
  422. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  423. package/contracts/pool/BundleService.sol +250 -246
  424. package/contracts/pool/BundleServiceManager.sol +13 -25
  425. package/contracts/pool/IBundleService.sol +47 -49
  426. package/contracts/pool/IPoolComponent.sol +23 -75
  427. package/contracts/pool/IPoolService.sol +112 -56
  428. package/contracts/pool/Pool.sol +200 -169
  429. package/contracts/pool/PoolLib.sol +341 -0
  430. package/contracts/pool/PoolService.sol +475 -264
  431. package/contracts/pool/PoolServiceManager.sol +12 -24
  432. package/contracts/product/ApplicationService.sol +222 -81
  433. package/contracts/product/ApplicationServiceManager.sol +12 -9
  434. package/contracts/product/BasicProduct.sol +49 -0
  435. package/contracts/product/BasicProductAuthorization.sol +63 -0
  436. package/contracts/product/ClaimService.sol +389 -201
  437. package/contracts/product/ClaimServiceManager.sol +12 -9
  438. package/contracts/product/IApplicationService.sol +30 -4
  439. package/contracts/product/IClaimService.sol +52 -9
  440. package/contracts/product/IPolicyService.sol +62 -40
  441. package/contracts/product/IPricingService.sol +14 -11
  442. package/contracts/product/IProductComponent.sol +31 -10
  443. package/contracts/product/IRiskService.sol +48 -0
  444. package/contracts/product/PolicyService.sol +503 -234
  445. package/contracts/product/PolicyServiceLib.sol +139 -0
  446. package/contracts/product/PolicyServiceManager.sol +12 -27
  447. package/contracts/product/PricingService.sol +133 -102
  448. package/contracts/product/PricingServiceManager.sol +12 -24
  449. package/contracts/product/Product.sol +267 -153
  450. package/contracts/product/RiskService.sol +190 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +72 -39
  453. package/contracts/registry/IRegistry.sol +100 -38
  454. package/contracts/registry/IRegistryService.sol +28 -35
  455. package/contracts/registry/IRelease.sol +29 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +453 -222
  458. package/contracts/registry/RegistryAdmin.sol +191 -0
  459. package/contracts/registry/RegistryAuthorization.sol +336 -0
  460. package/contracts/registry/RegistryService.sol +75 -138
  461. package/contracts/registry/RegistryServiceManager.sol +23 -30
  462. package/contracts/registry/ReleaseAdmin.sol +195 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  464. package/contracts/registry/ReleaseRegistry.sol +525 -0
  465. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  466. package/contracts/registry/TokenRegistry.sol +264 -63
  467. package/contracts/shared/Component.sol +126 -183
  468. package/contracts/shared/ComponentService.sol +636 -99
  469. package/contracts/shared/ComponentServiceManager.sol +38 -0
  470. package/contracts/shared/ContractLib.sol +312 -0
  471. package/contracts/shared/IComponent.sol +18 -50
  472. package/contracts/shared/IComponentService.sol +111 -0
  473. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  474. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  475. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  476. package/contracts/shared/INftOwnable.sol +5 -1
  477. package/contracts/shared/IPolicyHolder.sol +12 -17
  478. package/contracts/shared/IRegisterable.sol +22 -1
  479. package/contracts/shared/IService.sol +11 -6
  480. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  481. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  482. package/contracts/shared/KeyValueStore.sol +131 -0
  483. package/contracts/shared/Lifecycle.sol +88 -0
  484. package/contracts/shared/NftIdSet.sol +65 -0
  485. package/contracts/shared/NftOwnable.sol +35 -24
  486. package/contracts/shared/PolicyHolder.sol +19 -50
  487. package/contracts/shared/Registerable.sol +54 -23
  488. package/contracts/shared/RegistryLinked.sol +9 -14
  489. package/contracts/shared/Service.sol +36 -41
  490. package/contracts/shared/TokenHandler.sol +320 -13
  491. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  492. package/contracts/staking/IStaking.sol +358 -6
  493. package/contracts/staking/IStakingService.sol +98 -76
  494. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  495. package/contracts/staking/Staking.sol +761 -27
  496. package/contracts/staking/StakingLib.sol +195 -0
  497. package/contracts/staking/StakingManager.sol +27 -18
  498. package/contracts/staking/StakingReader.sol +171 -0
  499. package/contracts/staking/StakingService.sol +175 -58
  500. package/contracts/staking/StakingServiceManager.sol +13 -8
  501. package/contracts/staking/StakingStore.sol +1368 -0
  502. package/contracts/staking/TargetHandler.sol +132 -0
  503. package/contracts/staking/TargetManagerLib.sol +234 -0
  504. package/contracts/type/AddressSet.sol +1 -1
  505. package/contracts/type/Amount.sol +48 -3
  506. package/contracts/type/Blocknumber.sol +36 -13
  507. package/contracts/type/ChainId.sol +101 -0
  508. package/contracts/type/ClaimId.sol +6 -1
  509. package/contracts/type/Fee.sol +22 -21
  510. package/contracts/type/Key32.sol +2 -2
  511. package/contracts/type/Key32Set.sol +62 -0
  512. package/contracts/type/NftId.sol +21 -16
  513. package/contracts/type/NftIdSet.sol +1 -1
  514. package/contracts/type/ObjectType.sol +204 -63
  515. package/contracts/type/PayoutId.sol +10 -10
  516. package/contracts/type/Referral.sol +2 -1
  517. package/contracts/type/RequestId.sol +75 -0
  518. package/contracts/type/RiskId.sol +39 -7
  519. package/contracts/type/RoleId.sol +122 -74
  520. package/contracts/type/Seconds.sol +67 -1
  521. package/contracts/type/Selector.sol +107 -0
  522. package/contracts/type/StateId.sol +41 -2
  523. package/contracts/type/String.sol +65 -0
  524. package/contracts/type/Timestamp.sol +20 -9
  525. package/contracts/type/UFixed.sol +62 -125
  526. package/contracts/type/Version.sol +58 -7
  527. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  528. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  529. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  530. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  531. package/package.json +12 -8
  532. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  533. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  534. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  535. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  536. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  537. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  538. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  539. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  540. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  541. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  542. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  544. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  546. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  547. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  548. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  549. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  550. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  551. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  552. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  553. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  554. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  555. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  556. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  557. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  558. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  559. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -620
  560. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  561. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  562. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  563. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  564. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  565. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  566. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  567. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  568. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  569. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  570. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  571. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  572. package/contracts/instance/BundleManager.sol +0 -126
  573. package/contracts/instance/InstanceAccessManager.sol +0 -543
  574. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  575. package/contracts/instance/base/KeyValueStore.sol +0 -169
  576. package/contracts/instance/base/Lifecycle.sol +0 -121
  577. package/contracts/instance/base/ObjectManager.sol +0 -82
  578. package/contracts/instance/module/IAccess.sol +0 -54
  579. package/contracts/instance/module/ISetup.sol +0 -33
  580. package/contracts/instance/module/ITreasury.sol +0 -23
  581. package/contracts/product/IProductService.sol +0 -40
  582. package/contracts/product/ProductService.sol +0 -210
  583. package/contracts/product/ProductServiceManager.sol +0 -54
  584. package/contracts/registry/RegistryAccessManager.sol +0 -207
  585. package/contracts/registry/ReleaseManager.sol +0 -360
  586. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  587. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b46abe232d1056159d3dfcfb5eebfc0f.json"
4
- }
@@ -1,285 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "RegistryAccessManager",
4
- "sourceName": "contracts/registry/RegistryAccessManager.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "manager",
11
- "type": "address"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "address",
21
- "name": "authority",
22
- "type": "address"
23
- }
24
- ],
25
- "name": "AccessManagedInvalidAuthority",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [
30
- {
31
- "internalType": "address",
32
- "name": "caller",
33
- "type": "address"
34
- },
35
- {
36
- "internalType": "uint32",
37
- "name": "delay",
38
- "type": "uint32"
39
- }
40
- ],
41
- "name": "AccessManagedRequiredDelay",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "caller",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AccessManagedUnauthorized",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [],
57
- "name": "AlreadyInitialized",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [],
62
- "name": "NotInitialized",
63
- "type": "error"
64
- },
65
- {
66
- "anonymous": false,
67
- "inputs": [
68
- {
69
- "indexed": false,
70
- "internalType": "address",
71
- "name": "authority",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "AuthorityUpdated",
76
- "type": "event"
77
- },
78
- {
79
- "inputs": [],
80
- "name": "UNIQUE_ROLE_ID_MIN",
81
- "outputs": [
82
- {
83
- "internalType": "uint64",
84
- "name": "",
85
- "type": "uint64"
86
- }
87
- ],
88
- "stateMutability": "view",
89
- "type": "function"
90
- },
91
- {
92
- "inputs": [],
93
- "name": "authority",
94
- "outputs": [
95
- {
96
- "internalType": "address",
97
- "name": "",
98
- "type": "address"
99
- }
100
- ],
101
- "stateMutability": "view",
102
- "type": "function"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "getAccessManager",
107
- "outputs": [
108
- {
109
- "internalType": "contract AccessManager",
110
- "name": "",
111
- "type": "address"
112
- }
113
- ],
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
117
- {
118
- "inputs": [
119
- {
120
- "internalType": "address",
121
- "name": "releaseManager",
122
- "type": "address"
123
- },
124
- {
125
- "internalType": "address",
126
- "name": "tokenRegistry",
127
- "type": "address"
128
- }
129
- ],
130
- "name": "initialize",
131
- "outputs": [],
132
- "stateMutability": "nonpayable",
133
- "type": "function"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "isConsumingScheduledOp",
138
- "outputs": [
139
- {
140
- "internalType": "bytes4",
141
- "name": "",
142
- "type": "bytes4"
143
- }
144
- ],
145
- "stateMutability": "view",
146
- "type": "function"
147
- },
148
- {
149
- "inputs": [
150
- {
151
- "internalType": "address",
152
- "name": "account",
153
- "type": "address"
154
- },
155
- {
156
- "internalType": "address",
157
- "name": "target",
158
- "type": "address"
159
- },
160
- {
161
- "internalType": "bytes4[]",
162
- "name": "selector",
163
- "type": "bytes4[]"
164
- }
165
- ],
166
- "name": "setAndGrantUniqueRole",
167
- "outputs": [
168
- {
169
- "internalType": "RoleId",
170
- "name": "",
171
- "type": "uint64"
172
- }
173
- ],
174
- "stateMutability": "nonpayable",
175
- "type": "function"
176
- },
177
- {
178
- "inputs": [
179
- {
180
- "internalType": "address",
181
- "name": "newAuthority",
182
- "type": "address"
183
- }
184
- ],
185
- "name": "setAuthority",
186
- "outputs": [],
187
- "stateMutability": "nonpayable",
188
- "type": "function"
189
- }
190
- ],
191
- "bytecode": "0x60a06040523480156200001157600080fd5b50604051620046a3380380620046a38339810160408190526200003491620004d0565b336200004081620000f2565b50306040516200005090620004c2565b6001600160a01b039091168152602001604051809103906000f0801580156200007d573d6000803e3d6000fd5b506001600160a01b03166080819052620000979062000146565b60028054600160a01b600160e01b031916613d0960a61b179055620000bb620001ca565b33620000d3620000ca6200023c565b826000620002bd565b620000ea620000e1620003cd565b836000620002bd565b5050620005c5565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60005433906001600160a01b03168114620001835760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b600003620001bb576040516361798f2f60e11b81526001600160a01b03831660048201526024016200017a565b620001c682620000f2565b5050565b6040805160018082528183019092526000916020808301908036833701905050905063485cc95560e01b816000815181106200020a576200020a62000502565b6001600160e01b031990921660209283029190910190910152620002393082620002336200023c565b6200040a565b50565b6040516368aebf7b60e01b81526105dc600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af415801562000292573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b891906200052e565b905090565b608051604051631517388760e21b81526001600160401b03851660048201526001600160a01b03909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156200032b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200035191906200052e565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015263ffffffff841660448201526064015b600060405180830381600087803b158015620003af57600080fd5b505af1158015620003c4573d6000803e3d6000fd5b50505050505050565b6040516368aebf7b60e01b8152610640600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240162000274565b608051604051631517388760e21b81526001600160401b03831660048201526001600160a01b03909116906308d6122d908590859073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156200047c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004a291906200052e565b6040518463ffffffff1660e01b815260040162000394939291906200054e565b612e73806200183083390190565b600060208284031215620004e357600080fd5b81516001600160a01b0381168114620004fb57600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b6001600160401b03811681146200023957600080fd5b6000602082840312156200054157600080fd5b8151620004fb8162000518565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015620005a35784516001600160e01b031916835293830193918301916001016200057b565b50506001600160401b0395909516604094909401939093525091949350505050565b608051611233620005fd60003960008181610107015281816101890152818161086c01528181610a2b0152610cca01526112336000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806384d349381161005b57806384d34938146100da5780638fb36037146100e45780639f4bc3c314610105578063bf7e214f1461013f57600080fd5b8063485cc9551461008257806361bc3b41146100975780637a9e5e4b146100c7575b600080fd5b610095610090366004610e4e565b610150565b005b6100aa6100a5366004610eba565b61036f565b6040516001600160401b0390911681526020015b60405180910390f35b6100956100d5366004610fa5565b6103cf565b6100aa620f424081565b6100ec610449565b6040516001600160e01b031990911681526020016100be565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100be565b6000546001600160a01b0316610127565b61015d335b60003661046f565b600254600160e01b900460ff16156101875760405162dc149f60e41b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102139190610fc9565b6001600160a01b0316146102945760405162461bcd60e51b815260206004820152603b60248201527f52656769737472794163636573734d616e616765723a2072656c65617365206d60448201527f616e6167657220617574686f7269747920697320696e76616c6964000000000060648201526084015b60405180910390fd5b6001600160a01b0381166102fd5760405162461bcd60e51b815260206004820152602a60248201527f52656769737472794163636573734d616e616765723a20746f6b656e207265676044820152690697374727920697320360b41b606482015260840161028b565b600180546001600160a01b038085166001600160a01b031992831617909255600280549284169290911691909117905561033561056f565b61033d610655565b610345610776565b6103586103506107d5565b83600061084e565b50506002805460ff60e01b1916600160e01b179055565b600061037a33610155565b600254600160e01b900460ff166103a4576040516321c4e35760e21b815260040160405180910390fd5b60006103ae610975565b90506103bb848483610a05565b6103c78186600061084e565b509392505050565b60005433906001600160a01b031681146104065760405162d1953b60e31b81526001600160a01b038216600482015260240161028b565b816001600160a01b03163b60000361043c576040516361798f2f60e11b81526001600160a01b038316600482015260240161028b565b61044582610ad4565b5050565b60008054600160a01b900460ff166104615750600090565b638fb3603760e01b5b905090565b6000806104a56104876000546001600160a01b031690565b863061049760046000898b610fe6565b6104a091611010565b610b28565b91509150816105685763ffffffff811615610545576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061050090889088908890600401611040565b600060405180830381600087803b15801561051a57600080fd5b505af115801561052e573d6000803e3d6000fd5b50506000805460ff60a01b19169055506105689050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161028b565b5050505050565b604080516003808252608082019092526000916020820160608036833701905050905063c4c79d8b60e01b816000815181106105ad576105ad611080565b6001600160e01b0319909216602092830291909101909101528051630af43fe160e01b90829060019081106105e4576105e4611080565b6001600160e01b03199092166020928302919091019091015280516328a1120960e21b908290600290811061061b5761061b611080565b6001600160e01b031990921660209283029190910190910152600154610652906001600160a01b03168261064d610c34565b610a05565b50565b60408051600180825281830190925260009160208083019080368337019050509050636141740f60e01b8160008151811061069257610692611080565b6001600160e01b0319909216602092830291909101909101526002546106c4906001600160a01b03168261064d610c70565b63fdd9ec7d60e01b816000815181106106df576106df611080565b6001600160e01b031990921660209283029190910190910152600154610711906001600160a01b03168261064d610c70565b6310d6ccbf60e01b8160008151811061072c5761072c611080565b6001600160e01b03199092166020928302919091019091015260015461075e906001600160a01b03168261064d610c70565b610652610769610c70565b610771610c34565b610cac565b604080516001808252818301909252600091602080830190803683370190505090506361bc3b4160e01b816000815181106107b3576107b3611080565b6001600160e01b031990921660209283029190910190910152610652308261064d5b6040516368aebf7b60e01b81526106a4600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af415801561082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a91906110ab565b604051631517388760e21b81526001600160401b03841660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156108d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb91906110ab565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015263ffffffff841660448201526064015b600060405180830381600087803b15801561095857600080fd5b505af115801561096c573d6000803e3d6000fd5b50505050505050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6002601481819054906101000a90046001600160401b0316809291906109b6906110c8565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b815260040161080d91906001600160401b0391909116815260200190565b604051631517388760e21b81526001600160401b03821660048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906308d6122d908590859073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab691906110ab565b6040518463ffffffff1660e01b815260040161093e939291906110fc565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251610b97919061116e565b600060405180830381855afa9150503d8060008114610bd2576040519150601f19603f3d011682016040523d82523d6000602084013e610bd7565b606091505b50915091508115610c29576040815110610c095780806020019051810190610bff91906111ad565b9094509250610c29565b6020815110610c295780806020019051810190610c2691906111e2565b93505b505094509492505050565b6040516368aebf7b60e01b81526105dc600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240161080d565b6040516368aebf7b60e01b8152610640600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240161080d565b604051631517388760e21b81526001600160401b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330cae1879073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5991906110ab565b604051631517388760e21b81526001600160401b038516600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd591906110ab565b6040516001600160e01b031960e085901b1681526001600160401b03928316600482015291166024820152604401600060405180830381600087803b158015610e1d57600080fd5b505af1158015610e31573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461065257600080fd5b60008060408385031215610e6157600080fd5b8235610e6c81610e39565b91506020830135610e7c81610e39565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b80356001600160e01b031981168114610eb557600080fd5b919050565b600080600060608486031215610ecf57600080fd5b8335610eda81610e39565b9250602084810135610eeb81610e39565b925060408501356001600160401b0380821115610f0757600080fd5b818701915087601f830112610f1b57600080fd5b813581811115610f2d57610f2d610e87565b8060051b604051601f19603f83011681018181108582111715610f5257610f52610e87565b60405291825284820192508381018501918a831115610f7057600080fd5b938501935b82851015610f9557610f8685610e9d565b84529385019392850192610f75565b8096505050505050509250925092565b600060208284031215610fb757600080fd5b8135610fc281610e39565b9392505050565b600060208284031215610fdb57600080fd5b8151610fc281610e39565b60008085851115610ff657600080fd5b8386111561100357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156110385780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b600052603260045260246000fd5b6001600160401b038116811461065257600080fd5b6000602082840312156110bd57600080fd5b8151610fc281611096565b60006001600160401b038083168181036110f257634e487b7160e01b600052601160045260246000fd5b6001019392505050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561114f5784516001600160e01b03191683529383019391830191600101611129565b50508093505050506001600160401b0383166040830152949350505050565b6000825160005b8181101561118f5760208186018101518583015201611175565b506000920191825250919050565b80518015158114610eb557600080fd5b600080604083850312156111c057600080fd5b6111c98361119d565b9150602083015163ffffffff81168114610e7c57600080fd5b6000602082840312156111f457600080fd5b610fc28261119d56fea26469706673582212200135bd5c8b7545caaf3879c158636484c621bf8a9132c6a481e4c2ac50bceb3c64736f6c6343000814003360806040523480156200001157600080fd5b5060405162002e7338038062002e7383398101604081905262000034916200048f565b6001600160a01b0381166200006457604051630409d6d160e11b8152600060048201526024015b60405180910390fd5b6200007360008281806200007b565b505062000519565b60006002600160401b03196001600160401b03861601620000bb5760405163061c6a4360e21b81526001600160401b03861660048201526024016200005b565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115620001ba5763ffffffff85166200010a620002d2565b620001169190620004d0565b905060405180604001604052808265ffffffffffff168152602001620001488663ffffffff16620002e460201b60201c565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c16845282529091208351815494909201519092166601000000000000026001600160a01b031990931665ffffffffffff9091161791909117905562000264565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a168452909152812054620002099166010000000000009091046001600160701b0316908690620002ed565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316660100000000000002600160301b600160a01b03199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6000620002df42620003a2565b905090565b63ffffffff1690565b60008080620003056001600160701b038716620003db565b90506000620003488563ffffffff168763ffffffff168463ffffffff1611620003305760006200033c565b6200033c8885620004f9565b63ffffffff16620003fc565b905063ffffffff81166200035b620002d2565b620003679190620004d0565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b600065ffffffffffff821115620003d7576040516306dfcc6560e41b815260306004820152602481018390526044016200005b565b5090565b600080620003f26001600160701b03841662000416565b5090949350505050565b60008183116200040d57816200040f565b825b9392505050565b600080806200042f8462000429620002d2565b6200043c565b9250925092509193909250565b600080806001600160501b03602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156200047a578282826200047f565b816000805b9550955095505050509250925092565b600060208284031215620004a257600080fd5b81516001600160a01b03811681146200040f57600080fd5b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff818116838216019080821115620004f257620004f2620004ba565b5092915050565b63ffffffff828116828216039080821115620004f257620004f2620004ba565b61294a80620005296000396000f3fe6080604052600436106101e35760003560e01c80636d5115bd11610102578063b700961311610095578063d22b598911610064578063d22b598914610681578063d6bb62c6146106a1578063f801a698146106c1578063fe0776f5146106fb57600080fd5b8063b7009613146105ef578063b7d2b1621461062b578063cc1b6c811461064b578063d1f856ee1461066157600080fd5b8063a166aa89116100d1578063a166aa8914610521578063a64d95ce14610574578063abd9bd2a14610594578063ac9650d8146105c257600080fd5b80636d5115bd146104ac57806375b238fc146104cc578063853551b8146104e157806394c7d7ee1461050157600080fd5b806330cae1871161017a5780634665096d116101495780634665096d146104195780634c1da1e21461042f578063529629521461044f578063530dd4561461046f57600080fd5b806330cae1871461036d5780633adc277a1461038d5780633ca7c02a146103c45780634136a33c146103df57600080fd5b806318ff183c116101b657806318ff183c146102c05780631cff79cd146102e057806325c471a0146102f35780633078f1141461031357600080fd5b806308d6122d146101e85780630b0a93ba1461020a57806312be87271461026b578063167bd395146102a0575b600080fd5b3480156101f457600080fd5b506102086102033660046121c5565b61071b565b005b34801561021657600080fd5b5061024e61022536600461222b565b6001600160401b0390811660009081526001602081905260409091200154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561027757600080fd5b5061028b61028636600461222b565b610776565b60405163ffffffff9091168152602001610262565b3480156102ac57600080fd5b506102086102bb366004612246565b6107b1565b3480156102cc57600080fd5b506102086102db366004612284565b6107c7565b61028b6102ee3660046122f3565b61082e565b3480156102ff57600080fd5b5061020861030e36600461235b565b61095e565b34801561031f57600080fd5b5061033361032e3660046123a0565b610980565b604051610262949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561037957600080fd5b506102086103883660046123bc565b6109e5565b34801561039957600080fd5b506103ad6103a83660046123ef565b6109f7565b60405165ffffffffffff9091168152602001610262565b3480156103d057600080fd5b5061024e6001600160401b0381565b3480156103eb57600080fd5b5061028b6103fa3660046123ef565b600090815260026020526040902054600160301b900463ffffffff1690565b34801561042557600080fd5b5062093a8061028b565b34801561043b57600080fd5b5061028b61044a366004612408565b610a2a565b34801561045b57600080fd5b5061020861046a3660046123bc565b610a58565b34801561047b57600080fd5b5061024e61048a36600461222b565b6001600160401b03908116600090815260016020819052604090912001541690565b3480156104b857600080fd5b5061024e6104c736600461243b565b610a6a565b3480156104d857600080fd5b5061024e600081565b3480156104ed57600080fd5b506102086104fc366004612469565b610aa5565b34801561050d57600080fd5b5061020861051c3660046122f3565b610b3c565b34801561052d57600080fd5b5061056461053c366004612408565b6001600160a01b0316600090815260208190526040902060010154600160701b900460ff1690565b6040519015158152602001610262565b34801561058057600080fd5b5061020861058f366004612487565b610be8565b3480156105a057600080fd5b506105b46105af3660046124b1565b610bfa565b604051908152602001610262565b3480156105ce57600080fd5b506105e26105dd366004612515565b610c33565b604051610262919061257a565b3480156105fb57600080fd5b5061060f61060a3660046125f4565b610d27565b60408051921515835263ffffffff909116602083015201610262565b34801561063757600080fd5b506102086106463660046123a0565b610dca565b34801561065757600080fd5b506206978061028b565b34801561066d57600080fd5b5061060f61067c3660046123a0565b610de1565b34801561068d57600080fd5b5061020861069c36600461263f565b610e5e565b3480156106ad57600080fd5b5061028b6106bc3660046124b1565b610e70565b3480156106cd57600080fd5b506106e16106dc36600461265d565b610fca565b6040805192835263ffffffff909116602083015201610262565b34801561070757600080fd5b506102086107163660046123a0565b61110f565b610723611138565b60005b8281101561076f5761075f85858584818110610744576107446126cf565b905060200201602081019061075991906126e5565b846111b3565b61076881612718565b9050610726565b5050505050565b6001600160401b0381166000908152600160208190526040822001546107ab90600160801b90046001600160701b0316611235565b92915050565b6107b9611138565b6107c38282611254565b5050565b6107cf611138565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561081257600080fd5b505af1158015610826573d6000803e3d6000fd5b505050505050565b600033818061083f838888886112fa565b9150915081158015610855575063ffffffff8116155b156108a8578287610866888861134d565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b684898989610bfa565b9050600063ffffffff83161515806108dd57506108d2826109f7565b65ffffffffffff1615155b156108ee576108eb82611365565b90505b6003546109048a6108ff8b8b61134d565b611465565b60038190555061094c8a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506114a7915050565b506003559450505050505b9392505050565b610966611138565b61097a838361097486610776565b84611544565b50505050565b6001600160401b03821660009081526001602090815260408083206001600160a01b03851684529091528120805465ffffffffffff8116929182918291906109d790600160301b90046001600160701b031661178f565b969991985096509350505050565b6109ed611138565b6107c382826117b2565b60008181526002602052604081205465ffffffffffff16610a1781611856565b610a215780610957565b60009392505050565b6001600160a01b0381166000908152602081905260408120600101546107ab906001600160701b0316611235565b610a60611138565b6107c38282611885565b6001600160a01b0382166000908152602081815260408083206001600160e01b0319851684529091529020546001600160401b031692915050565b610aad611138565b6001600160401b0383161580610acb57506001600160401b03838116145b15610af45760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b2f92919061275a565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612776565b6001600160e01b03191614610bd457604051630641fee960e31b81526001600160a01b038216600482015260240161089f565b61076f610be385838686610bfa565b611365565b610bf0611138565b6107c38282611937565b600084848484604051602001610c139493929190612793565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610c4d57610c4d6127c0565b604051908082528060200260200182016040528015610c8057816020015b6060815260200190600190039081610c6b5790505b50905060005b82811015610d2057610cf030858584818110610ca457610ca46126cf565b9050602002810190610cb691906127d6565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a4892505050565b828281518110610d0257610d026126cf565b60200260200101819052508080610d1890612718565b915050610c86565b5092915050565b6001600160a01b0382166000908152602081905260408120600101548190600160701b900460ff1615610d5f57506000905080610dc2565b306001600160a01b03861603610d8457610d798484611abe565b600091509150610dc2565b6000610d908585610a6a565b9050600080610d9f8389610de1565b9150915081610db057600080610dba565b63ffffffff811615815b945094505050505b935093915050565b610dd2611138565b610ddc8282611ad5565b505050565b60008067fffffffffffffffe196001600160401b03851601610e095750600190506000610e57565b600080610e168686610980565b5050915091508165ffffffffffff16600014158015610e4c5750610e38611bc2565b65ffffffffffff168265ffffffffffff1611155b93509150610e579050565b9250929050565b610e66611138565b6107c38282611bd2565b60003381610e7e858561134d565b90506000610e8e88888888610bfa565b60008181526002602052604081205491925065ffffffffffff9091169003610ecc5760405163060a299b60e41b81526004810182905260240161089f565b826001600160a01b0316886001600160a01b031614610f68576000610ef2600085610de1565b5090506000610f0d610f076102258b87610a6a565b86610de1565b50905081158015610f1c575080155b15610f6557604051630ff89d4760e21b81526001600160a01b038087166004830152808c1660248301528a1660448201526001600160e01b03198516606482015260840161089f565b50505b600081815260026020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a398975050505050505050565b6000803381610fdb828989896112fa565b91505060008163ffffffff16610fef611bc2565b610ff9919061281c565b905063ffffffff82161580611030575060008665ffffffffffff1611801561103057508065ffffffffffff168665ffffffffffff16105b156110415782896108668a8a61134d565b61105b8665ffffffffffff168265ffffffffffff16611c8f565b9550611069838a8a8a610bfa565b945061107485611ca5565b60008581526002602052604090819020805465ffffffffffff891669ffffffffffffffffffff19821617600160301b9182900463ffffffff90811660010190811692830291909117909255915190955086907f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b4906110fb908a9088908f908f908f9061283b565b60405180910390a350505094509492505050565b6001600160a01b0381163314610dd257604051635f159e6360e01b815260040160405180910390fd5b33600080611147838236611cf2565b9150915081610ddc578063ffffffff166000036111a357600061116a8136611daa565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061089f565b61097a610be38430600036610bfa565b6001600160a01b0383166000818152602081815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b60008061124a836001600160701b031661178f565b5090949350505050565b306001600160a01b0383160361128857604051630b40d17960e31b81526001600160a01b038316600482015260240161089f565b6001600160a01b038216600081815260208190526040908190206001018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb138906112ee90841515815260200190565b60405180910390a25050565b600080306001600160a01b0386160361132157611318868585611cf2565b91509150611344565b6004831061133d57611338868661060a878761134d565b611318565b5060009050805b94509492505050565b600061135c6004828486612881565b610957916128ab565b60008181526002602052604081205465ffffffffffff811690600160301b900463ffffffff168183036113ae5760405163060a299b60e41b81526004810185905260240161089f565b6113b6611bc2565b65ffffffffffff168265ffffffffffff1611156113e957604051630c65b5bd60e11b81526004810185905260240161089f565b6113f282611856565b1561141357604051631e2975b960e21b81526004810185905260240161089f565b600084815260026020526040808220805465ffffffffffff191690555163ffffffff83169186917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a39392505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156114cc5760405163cd78605960e01b815230600482015260240161089f565b600080856001600160a01b031684866040516114e891906128db565b60006040518083038185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e61152a565b606091505b509150915061153a868383611f93565b9695505050505050565b600067fffffffffffffffe196001600160401b038616016115835760405163061c6a4360e21b81526001600160401b038616600482015260240161089f565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115611675578463ffffffff166115cf611bc2565b6115d9919061281c565b905060405180604001604052808265ffffffffffff1681526020016116078663ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611721565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a1684529091528120546116bf91600160301b9091046001600160701b0316908690611fef565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b60008060006117a5846117a0611bc2565b612099565b9250925092509193909250565b6001600160401b03821615806117d057506001600160401b03828116145b156117f95760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b038281166000818152600160208190526040808320909101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6000611860611bc2565b65ffffffffffff1661187562093a808461281c565b65ffffffffffff16111592915050565b6001600160401b03821615806118a357506001600160401b03828116145b156118cc5760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b03828116600081815260016020819052604080832090910180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b67fffffffffffffffe196001600160401b038316016119745760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b0382166000908152600160208190526040822001546119ae90600160801b90046001600160701b03168362069780611fef565b6001600160401b0385166000818152600160208190526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890610b2f908590859063ffffffff92909216825265ffffffffffff16602082015260400190565b6060600080846001600160a01b031684604051611a6591906128db565b600060405180830381855af49150503d8060008114611aa0576040519150601f19603f3d011682016040523d82523d6000602084013e611aa5565b606091505b5091509150611ab5858383611f93565b95945050505050565b6000611aca8383611465565b600354149392505050565b600067fffffffffffffffe196001600160401b03841601611b145760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b6001600160401b03831660009081526001602090815260408083206001600160a01b038616845290915281205465ffffffffffff169003611b57575060006107ab565b6001600160401b03831660008181526001602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b6000611bcd426120ed565b905090565b6001600160a01b038216600090815260208190526040812060010154611c05906001600160701b03168362069780611fef565b6001600160a01b0385166000818152602081815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8716815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101610b2f565b6000818311611c9e5781610957565b5090919050565b60008181526002602052604090205465ffffffffffff168015801590611cd15750611ccf81611856565b155b156107c35760405163813e945960e01b81526004810183905260240161089f565b6000806004831015611d0957506000905080610dc2565b306001600160a01b03861603611d2c57610d7930611d27868661134d565b611abe565b6000806000611d3b8787611daa565b92509250925082611d555760008094509450505050610dc2565b600080611d62848b610de1565b9150915081611d7c57600080965096505050505050610dc2565b611d928363ffffffff168263ffffffff16611c8f565b63ffffffff8116159b909a5098505050505050505050565b600080806004841015611dc557506000915081905080611f8c565b6000611dd1868661134d565b90506001600160e01b031981166310a6aa3760e31b1480611e0257506001600160e01b031981166330cae18760e01b145b80611e1d57506001600160e01b0319811663294b14a960e11b145b80611e3857506001600160e01b03198116635326cae760e11b145b80611e5357506001600160e01b0319811663d22b598960e01b145b15611e6957600160008093509350935050611f8c565b6001600160e01b0319811663063fc60f60e21b1480611e9857506001600160e01b0319811663167bd39560e01b145b80611eb357506001600160e01b031981166308d6122d60e01b145b15611ef5576000611ec860246004888a612881565b810190611ed59190612408565b90506000611ee282610a2a565b60019650600095509350611f8c92505050565b6001600160e01b0319811663012e238d60e51b1480611f2457506001600160e01b03198116635be958b160e11b145b15611f7f576000611f3960246004888a612881565b810190611f46919061222b565b90506001611f70826001600160401b03908116600090815260016020819052604090912001541690565b60009450945094505050611f8c565b6000806000935093509350505b9250925092565b606082611fa857611fa382612124565b610957565b8151158015611fbf57506001600160a01b0384163b155b15611fe857604051639996b31560e01b81526001600160a01b038516600482015260240161089f565b5080610957565b6000806000612006866001600160701b0316611235565b905060006120438563ffffffff168763ffffffff168463ffffffff161161202e576000612038565b61203888856128f7565b63ffffffff16611c8f565b90508063ffffffff16612054611bc2565b61205e919061281c565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156120d8578282826120dd565b816000805b9550955095505050509250925092565b600065ffffffffffff821115612120576040516306dfcc6560e41b8152603060048201526024810183905260440161089f565b5090565b8051156121345780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461214d57600080fd5b60008083601f84011261217757600080fd5b5081356001600160401b0381111561218e57600080fd5b6020830191508360208260051b8501011115610e5757600080fd5b80356001600160401b03811681146121c057600080fd5b919050565b600080600080606085870312156121db57600080fd5b84356121e681612150565b935060208501356001600160401b0381111561220157600080fd5b61220d87828801612165565b90945092506122209050604086016121a9565b905092959194509250565b60006020828403121561223d57600080fd5b610957826121a9565b6000806040838503121561225957600080fd5b823561226481612150565b91506020830135801515811461227957600080fd5b809150509250929050565b6000806040838503121561229757600080fd5b82356122a281612150565b9150602083013561227981612150565b60008083601f8401126122c457600080fd5b5081356001600160401b038111156122db57600080fd5b602083019150836020828501011115610e5757600080fd5b60008060006040848603121561230857600080fd5b833561231381612150565b925060208401356001600160401b0381111561232e57600080fd5b61233a868287016122b2565b9497909650939450505050565b803563ffffffff811681146121c057600080fd5b60008060006060848603121561237057600080fd5b612379846121a9565b9250602084013561238981612150565b915061239760408501612347565b90509250925092565b600080604083850312156123b357600080fd5b6122a2836121a9565b600080604083850312156123cf57600080fd5b6123d8836121a9565b91506123e6602084016121a9565b90509250929050565b60006020828403121561240157600080fd5b5035919050565b60006020828403121561241a57600080fd5b813561095781612150565b6001600160e01b03198116811461214d57600080fd5b6000806040838503121561244e57600080fd5b823561245981612150565b9150602083013561227981612425565b60008060006040848603121561247e57600080fd5b612313846121a9565b6000806040838503121561249a57600080fd5b6124a3836121a9565b91506123e660208401612347565b600080600080606085870312156124c757600080fd5b84356124d281612150565b935060208501356124e281612150565b925060408501356001600160401b038111156124fd57600080fd5b612509878288016122b2565b95989497509550505050565b6000806020838503121561252857600080fd5b82356001600160401b0381111561253e57600080fd5b61254a85828601612165565b90969095509350505050565b60005b83811015612571578181015183820152602001612559565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156125e757878503603f19018452815180518087526125c8818989018a8501612556565b601f01601f1916959095018601945092850192908501906001016125a1565b5092979650505050505050565b60008060006060848603121561260957600080fd5b833561261481612150565b9250602084013561262481612150565b9150604084013561263481612425565b809150509250925092565b6000806040838503121561265257600080fd5b82356124a381612150565b6000806000806060858703121561267357600080fd5b843561267e81612150565b935060208501356001600160401b0381111561269957600080fd5b6126a5878288016122b2565b909450925050604085013565ffffffffffff811681146126c457600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126f757600080fd5b813561095781612425565b634e487b7160e01b600052601160045260246000fd5b60006001820161272a5761272a612702565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061276e602083018486612731565b949350505050565b60006020828403121561278857600080fd5b815161095781612425565b6001600160a01b0385811682528416602082015260606040820181905260009061153a9083018486612731565b634e487b7160e01b600052604160045260246000fd5b6000808335601e198436030181126127ed57600080fd5b8301803591506001600160401b0382111561280757600080fd5b602001915036819003821315610e5757600080fd5b65ffffffffffff818116838216019080821115610d2057610d20612702565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190526000906128769083018486612731565b979650505050505050565b6000808585111561289157600080fd5b8386111561289e57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128d35780818660040360031b1b83161692505b505092915050565b600082516128ed818460208701612556565b9190910192915050565b63ffffffff828116828216039080821115610d2057610d2061270256fea2646970667358221220852e1b06c04d0d52371fd43f8845e54b847a0e8aa854c61f246ae78531fd2ee364736f6c63430008140033",
192
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c806384d349381161005b57806384d34938146100da5780638fb36037146100e45780639f4bc3c314610105578063bf7e214f1461013f57600080fd5b8063485cc9551461008257806361bc3b41146100975780637a9e5e4b146100c7575b600080fd5b610095610090366004610e4e565b610150565b005b6100aa6100a5366004610eba565b61036f565b6040516001600160401b0390911681526020015b60405180910390f35b6100956100d5366004610fa5565b6103cf565b6100aa620f424081565b6100ec610449565b6040516001600160e01b031990911681526020016100be565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100be565b6000546001600160a01b0316610127565b61015d335b60003661046f565b600254600160e01b900460ff16156101875760405162dc149f60e41b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102139190610fc9565b6001600160a01b0316146102945760405162461bcd60e51b815260206004820152603b60248201527f52656769737472794163636573734d616e616765723a2072656c65617365206d60448201527f616e6167657220617574686f7269747920697320696e76616c6964000000000060648201526084015b60405180910390fd5b6001600160a01b0381166102fd5760405162461bcd60e51b815260206004820152602a60248201527f52656769737472794163636573734d616e616765723a20746f6b656e207265676044820152690697374727920697320360b41b606482015260840161028b565b600180546001600160a01b038085166001600160a01b031992831617909255600280549284169290911691909117905561033561056f565b61033d610655565b610345610776565b6103586103506107d5565b83600061084e565b50506002805460ff60e01b1916600160e01b179055565b600061037a33610155565b600254600160e01b900460ff166103a4576040516321c4e35760e21b815260040160405180910390fd5b60006103ae610975565b90506103bb848483610a05565b6103c78186600061084e565b509392505050565b60005433906001600160a01b031681146104065760405162d1953b60e31b81526001600160a01b038216600482015260240161028b565b816001600160a01b03163b60000361043c576040516361798f2f60e11b81526001600160a01b038316600482015260240161028b565b61044582610ad4565b5050565b60008054600160a01b900460ff166104615750600090565b638fb3603760e01b5b905090565b6000806104a56104876000546001600160a01b031690565b863061049760046000898b610fe6565b6104a091611010565b610b28565b91509150816105685763ffffffff811615610545576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee9061050090889088908890600401611040565b600060405180830381600087803b15801561051a57600080fd5b505af115801561052e573d6000803e3d6000fd5b50506000805460ff60a01b19169055506105689050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161028b565b5050505050565b604080516003808252608082019092526000916020820160608036833701905050905063c4c79d8b60e01b816000815181106105ad576105ad611080565b6001600160e01b0319909216602092830291909101909101528051630af43fe160e01b90829060019081106105e4576105e4611080565b6001600160e01b03199092166020928302919091019091015280516328a1120960e21b908290600290811061061b5761061b611080565b6001600160e01b031990921660209283029190910190910152600154610652906001600160a01b03168261064d610c34565b610a05565b50565b60408051600180825281830190925260009160208083019080368337019050509050636141740f60e01b8160008151811061069257610692611080565b6001600160e01b0319909216602092830291909101909101526002546106c4906001600160a01b03168261064d610c70565b63fdd9ec7d60e01b816000815181106106df576106df611080565b6001600160e01b031990921660209283029190910190910152600154610711906001600160a01b03168261064d610c70565b6310d6ccbf60e01b8160008151811061072c5761072c611080565b6001600160e01b03199092166020928302919091019091015260015461075e906001600160a01b03168261064d610c70565b610652610769610c70565b610771610c34565b610cac565b604080516001808252818301909252600091602080830190803683370190505090506361bc3b4160e01b816000815181106107b3576107b3611080565b6001600160e01b031990921660209283029190910190910152610652308261064d5b6040516368aebf7b60e01b81526106a4600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af415801561082a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a91906110ab565b604051631517388760e21b81526001600160401b03841660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156108d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fb91906110ab565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015263ffffffff841660448201526064015b600060405180830381600087803b15801561095857600080fd5b505af115801561096c573d6000803e3d6000fd5b50505050505050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__6368aebf7b6002601481819054906101000a90046001600160401b0316809291906109b6906110c8565b91906101000a8154816001600160401b0302191690836001600160401b031602179055506040518263ffffffff1660e01b815260040161080d91906001600160401b0391909116815260200190565b604051631517388760e21b81526001600160401b03821660048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906308d6122d908590859073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab691906110ab565b6040518463ffffffff1660e01b815260040161093e939291906110fc565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251610b97919061116e565b600060405180830381855afa9150503d8060008114610bd2576040519150601f19603f3d011682016040523d82523d6000602084013e610bd7565b606091505b50915091508115610c29576040815110610c095780806020019051810190610bff91906111ad565b9094509250610c29565b6020815110610c295780806020019051810190610c2691906111e2565b93505b505094509492505050565b6040516368aebf7b60e01b81526105dc600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240161080d565b6040516368aebf7b60e01b8152610640600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240161080d565b604051631517388760e21b81526001600160401b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330cae1879073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5991906110ab565b604051631517388760e21b81526001600160401b038516600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015610db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd591906110ab565b6040516001600160e01b031960e085901b1681526001600160401b03928316600482015291166024820152604401600060405180830381600087803b158015610e1d57600080fd5b505af1158015610e31573d6000803e3d6000fd5b505050505050565b6001600160a01b038116811461065257600080fd5b60008060408385031215610e6157600080fd5b8235610e6c81610e39565b91506020830135610e7c81610e39565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b80356001600160e01b031981168114610eb557600080fd5b919050565b600080600060608486031215610ecf57600080fd5b8335610eda81610e39565b9250602084810135610eeb81610e39565b925060408501356001600160401b0380821115610f0757600080fd5b818701915087601f830112610f1b57600080fd5b813581811115610f2d57610f2d610e87565b8060051b604051601f19603f83011681018181108582111715610f5257610f52610e87565b60405291825284820192508381018501918a831115610f7057600080fd5b938501935b82851015610f9557610f8685610e9d565b84529385019392850192610f75565b8096505050505050509250925092565b600060208284031215610fb757600080fd5b8135610fc281610e39565b9392505050565b600060208284031215610fdb57600080fd5b8151610fc281610e39565b60008085851115610ff657600080fd5b8386111561100357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156110385780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b634e487b7160e01b600052603260045260246000fd5b6001600160401b038116811461065257600080fd5b6000602082840312156110bd57600080fd5b8151610fc281611096565b60006001600160401b038083168181036110f257634e487b7160e01b600052601160045260246000fd5b6001019392505050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561114f5784516001600160e01b03191683529383019391830191600101611129565b50508093505050506001600160401b0383166040830152949350505050565b6000825160005b8181101561118f5760208186018101518583015201611175565b506000920191825250919050565b80518015158114610eb557600080fd5b600080604083850312156111c057600080fd5b6111c98361119d565b9150602083015163ffffffff81168114610e7c57600080fd5b6000602082840312156111f457600080fd5b610fc28261119d56fea26469706673582212200135bd5c8b7545caaf3879c158636484c621bf8a9132c6a481e4c2ac50bceb3c64736f6c63430008140033",
193
- "linkReferences": {
194
- "contracts/type/RoleId.sol": {
195
- "RoleIdLib": [
196
- {
197
- "length": 20,
198
- "start": 598
199
- },
200
- {
201
- "length": 20,
202
- "start": 752
203
- },
204
- {
205
- "length": 20,
206
- "start": 999
207
- },
208
- {
209
- "length": 20,
210
- "start": 1089
211
- },
212
- {
213
- "length": 20,
214
- "start": 3564
215
- },
216
- {
217
- "length": 20,
218
- "start": 3738
219
- },
220
- {
221
- "length": 20,
222
- "start": 3958
223
- },
224
- {
225
- "length": 20,
226
- "start": 4181
227
- },
228
- {
229
- "length": 20,
230
- "start": 4683
231
- },
232
- {
233
- "length": 20,
234
- "start": 4743
235
- },
236
- {
237
- "length": 20,
238
- "start": 4856
239
- },
240
- {
241
- "length": 20,
242
- "start": 4980
243
- }
244
- ]
245
- }
246
- },
247
- "deployedLinkReferences": {
248
- "contracts/type/RoleId.sol": {
249
- "RoleIdLib": [
250
- {
251
- "length": 20,
252
- "start": 2031
253
- },
254
- {
255
- "length": 20,
256
- "start": 2205
257
- },
258
- {
259
- "length": 20,
260
- "start": 2425
261
- },
262
- {
263
- "length": 20,
264
- "start": 2648
265
- },
266
- {
267
- "length": 20,
268
- "start": 3150
269
- },
270
- {
271
- "length": 20,
272
- "start": 3210
273
- },
274
- {
275
- "length": 20,
276
- "start": 3323
277
- },
278
- {
279
- "length": 20,
280
- "start": 3447
281
- }
282
- ]
283
- }
284
- }
285
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b46abe232d1056159d3dfcfb5eebfc0f.json"
4
- }