@etherisc/gif-next 0.0.2-da0f894-204 → 0.0.2-da2c7dd-538

Sign up to get free protection for your applications and to get access to all the features.
Files changed (716) hide show
  1. package/README.md +83 -93
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -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 +1130 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +263 -526
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1509 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +864 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +365 -279
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +408 -258
  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 +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -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 +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -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 +357 -2026
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +329 -79
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +442 -2824
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1683 -609
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +352 -373
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +157 -106
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -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 +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  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 +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/IOracleComponent.sol/IOracleComponent.json} +236 -236
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +364 -150
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -519
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +437 -439
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +473 -411
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +211 -149
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +275 -306
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +140 -65
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +499 -26
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +277 -124
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +989 -125
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +352 -260
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +164 -99
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +115 -182
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +267 -82
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +279 -242
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +148 -18
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +134 -106
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +689 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +337 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +143 -0
  364. package/contracts/authorization/IAuthorization.sol +74 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  369. package/contracts/{components → distribution}/Distribution.sol +173 -177
  370. package/contracts/distribution/DistributionService.sol +358 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +101 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +437 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +50 -72
  389. package/contracts/instance/IInstanceService.sol +39 -26
  390. package/contracts/instance/Instance.sol +177 -221
  391. package/contracts/instance/InstanceAdmin.sol +437 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  393. package/contracts/instance/InstanceReader.sol +408 -64
  394. package/contracts/instance/InstanceService.sol +291 -377
  395. package/contracts/instance/InstanceServiceManager.sol +14 -29
  396. package/contracts/instance/InstanceStore.sol +298 -0
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +8 -9
  405. package/contracts/instance/module/IComponents.sol +51 -0
  406. package/contracts/instance/module/IDistribution.sol +8 -7
  407. package/contracts/instance/module/IPolicy.sol +48 -35
  408. package/contracts/instance/module/IRisk.sol +4 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  420. package/contracts/pool/BundleService.sol +395 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +115 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +165 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolLib.sol +216 -0
  427. package/contracts/pool/PoolService.sol +757 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +259 -0
  430. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  431. package/contracts/product/BasicProduct.sol +51 -0
  432. package/contracts/product/BasicProductAuthorization.sol +56 -0
  433. package/contracts/product/ClaimService.sol +632 -0
  434. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  435. package/contracts/{instance/service → product}/IApplicationService.sol +19 -34
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +95 -0
  438. package/contracts/product/IPricingService.sol +39 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +30 -0
  441. package/contracts/product/PolicyService.sol +682 -0
  442. package/contracts/product/PolicyServiceLib.sol +65 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +304 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +469 -0
  447. package/contracts/product/RiskService.sol +144 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +83 -36
  450. package/contracts/registry/IRegistry.sol +97 -30
  451. package/contracts/registry/IRegistryService.sol +36 -41
  452. package/contracts/registry/IRelease.sol +26 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -1
  454. package/contracts/registry/Registry.sol +472 -206
  455. package/contracts/registry/RegistryAdmin.sol +354 -0
  456. package/contracts/registry/RegistryService.sol +89 -131
  457. package/contracts/registry/RegistryServiceManager.sol +23 -32
  458. package/contracts/registry/ReleaseAdmin.sol +245 -0
  459. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  460. package/contracts/registry/ReleaseRegistry.sol +511 -0
  461. package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
  462. package/contracts/registry/TokenRegistry.sol +261 -64
  463. package/contracts/shared/Component.sol +227 -0
  464. package/contracts/shared/ComponentService.sol +692 -0
  465. package/contracts/shared/ComponentServiceManager.sol +38 -0
  466. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  467. package/contracts/shared/ContractLib.sol +253 -0
  468. package/contracts/shared/IComponent.sol +61 -0
  469. package/contracts/shared/IComponentService.sol +112 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +4 -2
  474. package/contracts/shared/IPolicyHolder.sol +23 -14
  475. package/contracts/shared/IRegisterable.sol +23 -1
  476. package/contracts/shared/IRegistryLinked.sol +0 -1
  477. package/contracts/shared/IService.sol +12 -7
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +34 -27
  484. package/contracts/shared/PolicyHolder.sol +22 -41
  485. package/contracts/shared/Registerable.sol +55 -20
  486. package/contracts/shared/RegistryLinked.sol +9 -19
  487. package/contracts/shared/Service.sol +36 -29
  488. package/contracts/shared/TokenHandler.sol +326 -12
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +165 -0
  491. package/contracts/staking/IStakingService.sol +165 -0
  492. package/contracts/staking/StakeManagerLib.sol +224 -0
  493. package/contracts/staking/Staking.sol +526 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +190 -0
  497. package/contracts/staking/StakingService.sol +430 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +605 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +27 -3
  504. package/contracts/{types → type}/ClaimId.sol +31 -3
  505. package/contracts/{types → type}/Fee.sol +33 -23
  506. package/contracts/{types → type}/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/{types → type}/NftId.sol +28 -15
  509. package/contracts/{types → type}/NftIdSet.sol +2 -2
  510. package/contracts/type/ObjectType.sol +303 -0
  511. package/contracts/type/PayoutId.sol +82 -0
  512. package/contracts/{types → type}/Referral.sol +6 -1
  513. package/contracts/type/RequestId.sol +75 -0
  514. package/contracts/type/RiskId.sol +75 -0
  515. package/contracts/type/RoleId.sol +182 -0
  516. package/contracts/type/Seconds.sol +101 -0
  517. package/contracts/type/Selector.sol +107 -0
  518. package/contracts/{types → type}/StateId.sol +48 -4
  519. package/contracts/type/String.sol +53 -0
  520. package/contracts/{types → type}/Timestamp.sol +21 -6
  521. package/contracts/{types → type}/UFixed.sol +41 -121
  522. package/contracts/{types → type}/Version.sol +20 -7
  523. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  524. package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
  525. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  526. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  527. package/package.json +11 -7
  528. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  535. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  536. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  537. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  538. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  539. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  540. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  541. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  543. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  544. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  546. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  547. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  548. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  550. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  552. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  554. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -947
  556. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  557. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  558. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  559. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
  560. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  562. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  563. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  564. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  566. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1553
  568. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
  570. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
  574. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
  578. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1000
  581. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  583. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  585. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  587. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  589. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  591. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  592. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  593. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  594. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  595. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  596. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  597. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  598. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  599. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  600. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  601. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  602. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  603. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  604. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  605. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  606. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  607. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  608. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  609. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  610. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  611. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  612. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  613. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  614. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  615. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  617. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  619. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  620. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  621. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  622. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  623. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  624. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  625. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  626. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  627. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  629. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  631. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  633. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  634. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  635. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  637. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  638. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  639. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  641. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  643. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  645. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  646. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  647. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  649. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  651. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  653. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  655. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  657. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  659. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  661. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  663. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  665. package/contracts/components/Component.sol +0 -221
  666. package/contracts/components/IComponent.sol +0 -68
  667. package/contracts/components/IDistributionComponent.sol +0 -79
  668. package/contracts/components/IPoolComponent.sol +0 -151
  669. package/contracts/components/IProductComponent.sol +0 -40
  670. package/contracts/components/Pool.sol +0 -378
  671. package/contracts/components/Product.sol +0 -289
  672. package/contracts/instance/BundleManager.sol +0 -125
  673. package/contracts/instance/InstanceAccessManager.sol +0 -297
  674. package/contracts/instance/ObjectManager.sol +0 -84
  675. package/contracts/instance/base/ComponentService.sol +0 -134
  676. package/contracts/instance/base/KeyValueStore.sol +0 -172
  677. package/contracts/instance/base/Lifecycle.sol +0 -100
  678. package/contracts/instance/module/IAccess.sol +0 -47
  679. package/contracts/instance/module/ISetup.sol +0 -46
  680. package/contracts/instance/module/ITreasury.sol +0 -23
  681. package/contracts/instance/service/ApplicationService.sol +0 -346
  682. package/contracts/instance/service/BundleService.sol +0 -299
  683. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  684. package/contracts/instance/service/ClaimService.sol +0 -151
  685. package/contracts/instance/service/DistributionService.sol +0 -394
  686. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  687. package/contracts/instance/service/IBundleService.sol +0 -55
  688. package/contracts/instance/service/IClaimService.sol +0 -61
  689. package/contracts/instance/service/IDistributionService.sol +0 -86
  690. package/contracts/instance/service/IPolicyService.sol +0 -70
  691. package/contracts/instance/service/IPoolService.sol +0 -20
  692. package/contracts/instance/service/IProductService.sol +0 -40
  693. package/contracts/instance/service/PolicyService.sol +0 -404
  694. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  695. package/contracts/instance/service/PoolService.sol +0 -109
  696. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  697. package/contracts/instance/service/ProductService.sol +0 -233
  698. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  699. package/contracts/registry/RegistryAccessManager.sol +0 -216
  700. package/contracts/registry/ReleaseManager.sol +0 -322
  701. package/contracts/shared/ContractDeployerLib.sol +0 -72
  702. package/contracts/test/TestFee.sol +0 -25
  703. package/contracts/test/TestRegisterable.sol +0 -18
  704. package/contracts/test/TestRoleId.sol +0 -14
  705. package/contracts/test/TestService.sol +0 -25
  706. package/contracts/test/TestToken.sol +0 -26
  707. package/contracts/test/TestVersion.sol +0 -44
  708. package/contracts/test/TestVersionable.sol +0 -17
  709. package/contracts/types/ChainId.sol +0 -38
  710. package/contracts/types/NumberId.sol +0 -52
  711. package/contracts/types/ObjectType.sol +0 -156
  712. package/contracts/types/PayoutId.sol +0 -54
  713. package/contracts/types/RiskId.sol +0 -43
  714. package/contracts/types/RoleId.sol +0 -95
  715. package/contracts/types/Seconds.sol +0 -54
  716. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,1000 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PolicyService",
4
- "sourceName": "contracts/instance/service/PolicyService.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "component",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "name": "ErrorComponentServiceAlreadyRegistered",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [
24
- {
25
- "internalType": "address",
26
- "name": "component",
27
- "type": "address"
28
- }
29
- ],
30
- "name": "ErrorComponentServiceComponentLocked",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "NftId",
37
- "name": "instanceNftId",
38
- "type": "uint96"
39
- },
40
- {
41
- "internalType": "RoleId",
42
- "name": "requiredRole",
43
- "type": "uint64"
44
- },
45
- {
46
- "internalType": "address",
47
- "name": "sender",
48
- "type": "address"
49
- }
50
- ],
51
- "name": "ErrorComponentServiceExpectedRoleMissing",
52
- "type": "error"
53
- },
54
- {
55
- "inputs": [
56
- {
57
- "internalType": "address",
58
- "name": "component",
59
- "type": "address"
60
- },
61
- {
62
- "internalType": "ObjectType",
63
- "name": "requiredType",
64
- "type": "uint8"
65
- },
66
- {
67
- "internalType": "ObjectType",
68
- "name": "componentType",
69
- "type": "uint8"
70
- }
71
- ],
72
- "name": "ErrorComponentServiceInvalidType",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [
77
- {
78
- "internalType": "address",
79
- "name": "component",
80
- "type": "address"
81
- }
82
- ],
83
- "name": "ErrorComponentServiceNotComponent",
84
- "type": "error"
85
- },
86
- {
87
- "inputs": [
88
- {
89
- "internalType": "address",
90
- "name": "component",
91
- "type": "address"
92
- },
93
- {
94
- "internalType": "address",
95
- "name": "initialOwner",
96
- "type": "address"
97
- },
98
- {
99
- "internalType": "address",
100
- "name": "sender",
101
- "type": "address"
102
- }
103
- ],
104
- "name": "ErrorComponentServiceSenderNotOwner",
105
- "type": "error"
106
- },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "address",
111
- "name": "target",
112
- "type": "address"
113
- }
114
- ],
115
- "name": "ErrorIAccessTargetLocked",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "address",
122
- "name": "customer",
123
- "type": "address"
124
- },
125
- {
126
- "internalType": "address",
127
- "name": "tokenHandlerAddress",
128
- "type": "address"
129
- },
130
- {
131
- "internalType": "uint256",
132
- "name": "amount",
133
- "type": "uint256"
134
- }
135
- ],
136
- "name": "ErrorIPolicyServiceInsufficientAllowance",
137
- "type": "error"
138
- },
139
- {
140
- "inputs": [
141
- {
142
- "internalType": "NftId",
143
- "name": "policyNftId",
144
- "type": "uint96"
145
- },
146
- {
147
- "internalType": "uint16",
148
- "name": "openClaimsCount",
149
- "type": "uint16"
150
- }
151
- ],
152
- "name": "ErrorIPolicyServiceOpenClaims",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "NftId",
159
- "name": "policyNftId",
160
- "type": "uint96"
161
- }
162
- ],
163
- "name": "ErrorIPolicyServicePolicyAlreadyClosed",
164
- "type": "error"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "internalType": "NftId",
170
- "name": "policyNftId",
171
- "type": "uint96"
172
- },
173
- {
174
- "internalType": "Timestamp",
175
- "name": "expiredAt",
176
- "type": "uint40"
177
- }
178
- ],
179
- "name": "ErrorIPolicyServicePolicyHasNotExpired",
180
- "type": "error"
181
- },
182
- {
183
- "inputs": [
184
- {
185
- "internalType": "NftId",
186
- "name": "policyNftId",
187
- "type": "uint96"
188
- }
189
- ],
190
- "name": "ErrorIPolicyServicePolicyNotActivated",
191
- "type": "error"
192
- },
193
- {
194
- "inputs": [
195
- {
196
- "internalType": "NftId",
197
- "name": "policyNftId",
198
- "type": "uint96"
199
- },
200
- {
201
- "internalType": "StateId",
202
- "name": "state",
203
- "type": "uint8"
204
- }
205
- ],
206
- "name": "ErrorIPolicyServicePolicyNotActive",
207
- "type": "error"
208
- },
209
- {
210
- "inputs": [
211
- {
212
- "internalType": "NftId",
213
- "name": "policyNftId",
214
- "type": "uint96"
215
- },
216
- {
217
- "internalType": "uint256",
218
- "name": "premiumPaidAmount",
219
- "type": "uint256"
220
- }
221
- ],
222
- "name": "ErrorIPolicyServicePremiumAlreadyPaid",
223
- "type": "error"
224
- },
225
- {
226
- "inputs": [
227
- {
228
- "internalType": "NftId",
229
- "name": "policyNftId",
230
- "type": "uint96"
231
- },
232
- {
233
- "internalType": "uint256",
234
- "name": "premiumAmount",
235
- "type": "uint256"
236
- },
237
- {
238
- "internalType": "uint256",
239
- "name": "premiumPaidAmount",
240
- "type": "uint256"
241
- }
242
- ],
243
- "name": "ErrorIPolicyServicePremiumNotFullyPaid",
244
- "type": "error"
245
- },
246
- {
247
- "inputs": [
248
- {
249
- "internalType": "address",
250
- "name": "caller",
251
- "type": "address"
252
- }
253
- ],
254
- "name": "ErrorIServiceCallerUnknown",
255
- "type": "error"
256
- },
257
- {
258
- "inputs": [
259
- {
260
- "internalType": "NftId",
261
- "name": "nftId",
262
- "type": "uint96"
263
- }
264
- ],
265
- "name": "ErrorNftOwnableAlreadyLinked",
266
- "type": "error"
267
- },
268
- {
269
- "inputs": [
270
- {
271
- "internalType": "address",
272
- "name": "contractAddress",
273
- "type": "address"
274
- }
275
- ],
276
- "name": "ErrorNftOwnableContractNotRegistered",
277
- "type": "error"
278
- },
279
- {
280
- "inputs": [],
281
- "name": "ErrorNftOwnableInitialOwnerZero",
282
- "type": "error"
283
- },
284
- {
285
- "inputs": [
286
- {
287
- "internalType": "address",
288
- "name": "account",
289
- "type": "address"
290
- }
291
- ],
292
- "name": "ErrorNftOwnableNotOwner",
293
- "type": "error"
294
- },
295
- {
296
- "inputs": [
297
- {
298
- "internalType": "address",
299
- "name": "registryAddress",
300
- "type": "address"
301
- }
302
- ],
303
- "name": "ErrorNotRegistry",
304
- "type": "error"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "InvalidInitialization",
309
- "type": "error"
310
- },
311
- {
312
- "inputs": [],
313
- "name": "NotInitializing",
314
- "type": "error"
315
- },
316
- {
317
- "anonymous": false,
318
- "inputs": [
319
- {
320
- "indexed": false,
321
- "internalType": "uint64",
322
- "name": "version",
323
- "type": "uint64"
324
- }
325
- ],
326
- "name": "Initialized",
327
- "type": "event"
328
- },
329
- {
330
- "anonymous": false,
331
- "inputs": [
332
- {
333
- "indexed": false,
334
- "internalType": "address",
335
- "name": "sender",
336
- "type": "address"
337
- }
338
- ],
339
- "name": "LogProductServiceSender",
340
- "type": "event"
341
- },
342
- {
343
- "inputs": [],
344
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
345
- "outputs": [
346
- {
347
- "internalType": "bytes32",
348
- "name": "",
349
- "type": "bytes32"
350
- }
351
- ],
352
- "stateMutability": "view",
353
- "type": "function"
354
- },
355
- {
356
- "inputs": [],
357
- "name": "REGISTERABLE_LOCATION_V1",
358
- "outputs": [
359
- {
360
- "internalType": "bytes32",
361
- "name": "",
362
- "type": "bytes32"
363
- }
364
- ],
365
- "stateMutability": "view",
366
- "type": "function"
367
- },
368
- {
369
- "inputs": [
370
- {
371
- "internalType": "NftId",
372
- "name": "policyNftId",
373
- "type": "uint96"
374
- },
375
- {
376
- "internalType": "Timestamp",
377
- "name": "activateAt",
378
- "type": "uint40"
379
- }
380
- ],
381
- "name": "activate",
382
- "outputs": [],
383
- "stateMutability": "nonpayable",
384
- "type": "function"
385
- },
386
- {
387
- "inputs": [
388
- {
389
- "internalType": "UFixed",
390
- "name": "collateralizationLevel",
391
- "type": "uint256"
392
- },
393
- {
394
- "internalType": "uint256",
395
- "name": "sumInsuredAmount",
396
- "type": "uint256"
397
- }
398
- ],
399
- "name": "calculateRequiredCollateral",
400
- "outputs": [
401
- {
402
- "internalType": "uint256",
403
- "name": "collateralAmount",
404
- "type": "uint256"
405
- }
406
- ],
407
- "stateMutability": "pure",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [
412
- {
413
- "internalType": "NftId",
414
- "name": "policyNftId",
415
- "type": "uint96"
416
- }
417
- ],
418
- "name": "close",
419
- "outputs": [],
420
- "stateMutability": "nonpayable",
421
- "type": "function"
422
- },
423
- {
424
- "inputs": [
425
- {
426
- "internalType": "NftId",
427
- "name": "policyNftId",
428
- "type": "uint96"
429
- },
430
- {
431
- "internalType": "Timestamp",
432
- "name": "activateAt",
433
- "type": "uint40"
434
- }
435
- ],
436
- "name": "collectPremium",
437
- "outputs": [],
438
- "stateMutability": "nonpayable",
439
- "type": "function"
440
- },
441
- {
442
- "inputs": [
443
- {
444
- "internalType": "NftId",
445
- "name": "policyNftId",
446
- "type": "uint96"
447
- }
448
- ],
449
- "name": "decline",
450
- "outputs": [],
451
- "stateMutability": "nonpayable",
452
- "type": "function"
453
- },
454
- {
455
- "inputs": [
456
- {
457
- "internalType": "NftId",
458
- "name": "policyNftId",
459
- "type": "uint96"
460
- }
461
- ],
462
- "name": "expire",
463
- "outputs": [],
464
- "stateMutability": "nonpayable",
465
- "type": "function"
466
- },
467
- {
468
- "inputs": [],
469
- "name": "getDomain",
470
- "outputs": [
471
- {
472
- "internalType": "ObjectType",
473
- "name": "",
474
- "type": "uint8"
475
- }
476
- ],
477
- "stateMutability": "pure",
478
- "type": "function"
479
- },
480
- {
481
- "inputs": [],
482
- "name": "getInitialInfo",
483
- "outputs": [
484
- {
485
- "components": [
486
- {
487
- "internalType": "NftId",
488
- "name": "nftId",
489
- "type": "uint96"
490
- },
491
- {
492
- "internalType": "NftId",
493
- "name": "parentNftId",
494
- "type": "uint96"
495
- },
496
- {
497
- "internalType": "ObjectType",
498
- "name": "objectType",
499
- "type": "uint8"
500
- },
501
- {
502
- "internalType": "bool",
503
- "name": "isInterceptor",
504
- "type": "bool"
505
- },
506
- {
507
- "internalType": "address",
508
- "name": "objectAddress",
509
- "type": "address"
510
- },
511
- {
512
- "internalType": "address",
513
- "name": "initialOwner",
514
- "type": "address"
515
- },
516
- {
517
- "internalType": "bytes",
518
- "name": "data",
519
- "type": "bytes"
520
- }
521
- ],
522
- "internalType": "struct IRegistry.ObjectInfo",
523
- "name": "info",
524
- "type": "tuple"
525
- }
526
- ],
527
- "stateMutability": "view",
528
- "type": "function"
529
- },
530
- {
531
- "inputs": [],
532
- "name": "getInstanceService",
533
- "outputs": [
534
- {
535
- "internalType": "contract InstanceService",
536
- "name": "",
537
- "type": "address"
538
- }
539
- ],
540
- "stateMutability": "view",
541
- "type": "function"
542
- },
543
- {
544
- "inputs": [],
545
- "name": "getMajorVersion",
546
- "outputs": [
547
- {
548
- "internalType": "VersionPart",
549
- "name": "majorVersion",
550
- "type": "uint8"
551
- }
552
- ],
553
- "stateMutability": "view",
554
- "type": "function"
555
- },
556
- {
557
- "inputs": [],
558
- "name": "getNftId",
559
- "outputs": [
560
- {
561
- "internalType": "NftId",
562
- "name": "",
563
- "type": "uint96"
564
- }
565
- ],
566
- "stateMutability": "view",
567
- "type": "function"
568
- },
569
- {
570
- "inputs": [],
571
- "name": "getOwner",
572
- "outputs": [
573
- {
574
- "internalType": "address",
575
- "name": "",
576
- "type": "address"
577
- }
578
- ],
579
- "stateMutability": "view",
580
- "type": "function"
581
- },
582
- {
583
- "inputs": [],
584
- "name": "getRegistry",
585
- "outputs": [
586
- {
587
- "internalType": "contract IRegistry",
588
- "name": "",
589
- "type": "address"
590
- }
591
- ],
592
- "stateMutability": "view",
593
- "type": "function"
594
- },
595
- {
596
- "inputs": [],
597
- "name": "getRegistryAddress",
598
- "outputs": [
599
- {
600
- "internalType": "address",
601
- "name": "",
602
- "type": "address"
603
- }
604
- ],
605
- "stateMutability": "view",
606
- "type": "function"
607
- },
608
- {
609
- "inputs": [],
610
- "name": "getRegistryService",
611
- "outputs": [
612
- {
613
- "internalType": "contract IRegistryService",
614
- "name": "",
615
- "type": "address"
616
- }
617
- ],
618
- "stateMutability": "view",
619
- "type": "function"
620
- },
621
- {
622
- "inputs": [],
623
- "name": "getVersion",
624
- "outputs": [
625
- {
626
- "internalType": "Version",
627
- "name": "",
628
- "type": "uint24"
629
- }
630
- ],
631
- "stateMutability": "pure",
632
- "type": "function"
633
- },
634
- {
635
- "inputs": [],
636
- "name": "initializeERC165",
637
- "outputs": [],
638
- "stateMutability": "nonpayable",
639
- "type": "function"
640
- },
641
- {
642
- "inputs": [
643
- {
644
- "internalType": "address",
645
- "name": "initialOwner",
646
- "type": "address"
647
- },
648
- {
649
- "internalType": "address",
650
- "name": "registryAddress",
651
- "type": "address"
652
- }
653
- ],
654
- "name": "initializeNftOwnable",
655
- "outputs": [],
656
- "stateMutability": "nonpayable",
657
- "type": "function"
658
- },
659
- {
660
- "inputs": [
661
- {
662
- "internalType": "address",
663
- "name": "registryAddress",
664
- "type": "address"
665
- },
666
- {
667
- "internalType": "NftId",
668
- "name": "parentNftId",
669
- "type": "uint96"
670
- },
671
- {
672
- "internalType": "ObjectType",
673
- "name": "objectType",
674
- "type": "uint8"
675
- },
676
- {
677
- "internalType": "bool",
678
- "name": "isInterceptor",
679
- "type": "bool"
680
- },
681
- {
682
- "internalType": "address",
683
- "name": "initialOwner",
684
- "type": "address"
685
- },
686
- {
687
- "internalType": "bytes",
688
- "name": "registryData",
689
- "type": "bytes"
690
- }
691
- ],
692
- "name": "initializeRegisterable",
693
- "outputs": [],
694
- "stateMutability": "nonpayable",
695
- "type": "function"
696
- },
697
- {
698
- "inputs": [
699
- {
700
- "internalType": "address",
701
- "name": "registryAddress",
702
- "type": "address"
703
- }
704
- ],
705
- "name": "initializeRegistryLinked",
706
- "outputs": [],
707
- "stateMutability": "nonpayable",
708
- "type": "function"
709
- },
710
- {
711
- "inputs": [
712
- {
713
- "internalType": "address",
714
- "name": "registry",
715
- "type": "address"
716
- },
717
- {
718
- "internalType": "address",
719
- "name": "initialOwner",
720
- "type": "address"
721
- }
722
- ],
723
- "name": "initializeService",
724
- "outputs": [],
725
- "stateMutability": "nonpayable",
726
- "type": "function"
727
- },
728
- {
729
- "inputs": [
730
- {
731
- "internalType": "address",
732
- "name": "activatedBy",
733
- "type": "address"
734
- },
735
- {
736
- "internalType": "bytes",
737
- "name": "data",
738
- "type": "bytes"
739
- }
740
- ],
741
- "name": "initializeVersionable",
742
- "outputs": [],
743
- "stateMutability": "nonpayable",
744
- "type": "function"
745
- },
746
- {
747
- "inputs": [],
748
- "name": "linkToRegisteredNftId",
749
- "outputs": [],
750
- "stateMutability": "nonpayable",
751
- "type": "function"
752
- },
753
- {
754
- "inputs": [
755
- {
756
- "internalType": "bytes4",
757
- "name": "interfaceId",
758
- "type": "bytes4"
759
- }
760
- ],
761
- "name": "registerInterface",
762
- "outputs": [],
763
- "stateMutability": "nonpayable",
764
- "type": "function"
765
- },
766
- {
767
- "inputs": [
768
- {
769
- "internalType": "bytes4",
770
- "name": "interfaceId",
771
- "type": "bytes4"
772
- }
773
- ],
774
- "name": "supportsInterface",
775
- "outputs": [
776
- {
777
- "internalType": "bool",
778
- "name": "",
779
- "type": "bool"
780
- }
781
- ],
782
- "stateMutability": "view",
783
- "type": "function"
784
- },
785
- {
786
- "inputs": [
787
- {
788
- "internalType": "NftId",
789
- "name": "applicationNftId",
790
- "type": "uint96"
791
- },
792
- {
793
- "internalType": "bool",
794
- "name": "requirePremiumPayment",
795
- "type": "bool"
796
- },
797
- {
798
- "internalType": "Timestamp",
799
- "name": "activateAt",
800
- "type": "uint40"
801
- }
802
- ],
803
- "name": "underwrite",
804
- "outputs": [],
805
- "stateMutability": "nonpayable",
806
- "type": "function"
807
- },
808
- {
809
- "inputs": [
810
- {
811
- "internalType": "bytes",
812
- "name": "data",
813
- "type": "bytes"
814
- }
815
- ],
816
- "name": "upgradeVersionable",
817
- "outputs": [],
818
- "stateMutability": "nonpayable",
819
- "type": "function"
820
- }
821
- ],
822
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6143e980620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635fd1a5f511610104578063b68d1809116100a2578063cde749f411610071578063cde749f4146103ff578063ea86657214610407578063f21de1e814610311578063f7c34ee01461041a57600080fd5b8063b68d1809146103c7578063bbfbbfba146103dc578063caf4e3d4146103ef578063cc9fc59a146103f757600080fd5b8063675393bf116100de578063675393bf14610384578063893d20e8146103975780639ffcede91461039f578063ada9652e146103b257600080fd5b80635fd1a5f514610336578063630361f614610349578063644c45e01461035c57600080fd5b806327bb7a33116101715780633d3cf0231161014b5780633d3cf023146102da57806349bb9e4b146102eb5780634d5e16a9146102fe5780635ab1bd531461031157600080fd5b806327bb7a33146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b80630fec111c116101ad5780630fec111c14610247578063138461e01461025c5780631eff4b2214610264578063214cdb801461029957600080fd5b806301ffc9a7146101d45780630aaba8e8146102165780630d8e6e2c1461022b575b600080fd5b6102016101e2366004613311565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004613350565b61042d565b005b610233610a6b565b60405162ffffff909116815260200161020d565b61024f610af5565b60405161020d91906133bd565b610229610c91565b61028b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102296102a7366004613311565b610e93565b6102296102ba36600461360c565b610ec0565b6102296102cd3660046136a4565b610f4c565b610229611099565b6102296102e8366004613350565b50565b6102296102f93660046136d8565b6110df565b61022961030c36600461373a565b6111de565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b61028b610344366004613773565b611454565b610229610357366004613795565b61155d565b600080516020614374833981519152546040516001600160601b03909116815260200161020d565b6102296103923660046137e0565b611bc4565b61031e611cd1565b6102296103ad366004613350565b611e08565b61028b60008051602061437483398151915281565b60d35b60405160ff909116815260200161020d565b6102296103ea36600461373a565b611e5a565b61031e6121c1565b61031e612258565b6103ca612282565b6102296104153660046137fd565b6122f9565b6102296104283660046137fd565b612391565b6000610439606e612408565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561047c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a0919061382b565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156104f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261051b91908101906138d2565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561057b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059f9190613a58565b156105cd576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa15801561061d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106419190613a80565b905060ff811660641461067b57604051634de91cf360e11b81526001600160601b038616600482015260ff821660248201526044016105c4565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190613a58565b1561072557604051634b80547760e11b81526001600160601b03861660048201526024016105c4565b8160c001518260a001511461076f5760a082015160c0830151604051632b14368360e11b81526001600160601b0388166004820152602481019290925260448201526064016105c4565b61016082015161ffff16156107b35761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190613a9d565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190613a58565b80156108bc57508160800151826101800151105b156108f9576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109669190613a9d565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b50505050836001600160a01b0316631518afb98684610a1460c890565b6040518463ffffffff1660e01b8152600401610a3293929190613aba565b600060405180830381600087803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190613c2d565b905090565b610afd61324e565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610b8d90613c52565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb990613c52565b8015610c065780601f10610bdb57610100808354040283529160200191610c06565b820191906000526020600020905b815481529060010190602001808311610be957829003601f168201915b50505050508152505090506040518060e00160405280610c24600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610c75611cd1565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061437483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190613a58565b15610d505780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b30610d636001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190613a58565b610df75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f9190613c8c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610e9b61267f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ec861267f565b610ed28287612391565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f428382613cf8565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f6e610a6b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190613db7565b6000805160206143948339815191528054600160401b900460ff1680611005575080546001600160401b03808416911610155b156110235760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561104d836126b8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110a161267f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206143948339815191528054600160401b810460ff1615906001600160401b03166000811580156111125750825b90506000826001600160401b0316600114801561112e5750303b155b90508115801561113c575080155b1561115a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118457845460ff60401b1916600160401b1785555b61118e87876126c0565b83156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60006111ea606e612408565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561122d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611251919061382b565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112cc91908101906138d2565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561132c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113509190613a58565b61139c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016105c4565b64ffffffffff8481166101a0830181905260e08301516040516352bcc5a760e11b81526004810192909252909116602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af415801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f9190613a9d565b64ffffffffff166101c08201526001600160a01b038316631518afb986836064610a14565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cd9190613de0565b905060006114db85836129b3565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561152e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115529190613de0565b925050505b92915050565b600080600061156a61324e565b611574606e612408565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115de919061382b565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611635573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261165d91908101906138d2565b80519091506001600160601b038381169116146116bc5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016105c4565b604051639096a1f360e01b81526001600160601b038816600482015261173a906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117319190613a80565b60ff16600a1490565b6117865760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016105c4565b6000806000806118148888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b81526004016117cd91906001600160601b0391909116815260200190565b61014060405180830381865afa1580156117eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180f9190613e52565b6129cf565b93509350935093506000611826602890565b905064ffffffffff8a16156118db57606464ffffffffff8b81166101a0890181905260e08901516040516352bcc5a760e11b81526004810192909252909116602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af41580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190613a9d565b64ffffffffff166101c08701525b60008b1561190f576118f38a898f8a60a00151612b50565b90508660a001518760c00181815161190b9190613f10565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b815260040161198d9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119d49190810190613f23565b9350896001600160a01b0316631518afb98e89856040518463ffffffff1660e01b8152600401611a0693929190613aba565b600060405180830381600087803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101e060405180830381865afa158015611a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaa9190613ffb565b60a0015115611bb5576000611ac76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b3e91908101906140d7565b608001519050806001600160a01b031663da65659d8f8a6101000151898960400151896040518663ffffffff1660e01b8152600401611b819594939291906141a9565b600060405180830381600087803b158015611b9b57600080fd5b505af1158015611baf573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611bcc61267f565b806001600160a01b03163b600003611c025760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611c7c575060408051601f3d908101601f19168201909252611c7991810190613a58565b60015b611ca45760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b80611ccd5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b5050565b60008060008051602061437483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d659190613a58565b15611df2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dec919061382b565b91505090565b54600160601b90046001600160a01b0316919050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016105c4565b600080611e67606e612408565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecf919061382b565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611f22573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f4a91908101906138d2565b90508060a001518160c0015103611f8c5760c081015160405163038a855760e51b81526001600160601b038816600482015260248101919091526044016105c4565b60008160c001518260a00151611fa291906141fa565b90506000611fb68587600001518a85612b50565b9050818360c001818151611fca9190613f10565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561202f57600080fd5b505af1158015612043573d6000803e3d6000fd5b50505050846001600160a01b0316631518afb9898561206060ff90565b6040518463ffffffff1660e01b815260040161207e93929190613aba565b600060405180830381600087803b15801561209857600080fd5b505af11580156120ac573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212a9190613a58565b80156121b257506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561218e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b29190613a58565b15610f4257610f4288886111de565b6000806121d66001546001600160a01b031690565b6001600160a01b031663d39e604360285b6121ef612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612234573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611557919061382b565b60008061226d6001546001600160a01b031690565b6001600160a01b031663d39e604360466121e7565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156122d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190613a80565b61230161267f565b61238182836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123679190613c8c565b603c60008560405180602001604052806000815250610ec0565b611ccd637b6a51fd60e01b610e93565b61239961267f565b6123a281611bc4565b6123aa611099565b6001600160a01b0382166123d15760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061437483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61241061324e565b6000806124256001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561246c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261249491908101906140d7565b92506124aa83604001518560ff90811691161490565b6124ec5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105c4565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612542573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261256a91908101906140d7565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d7919061382b565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126489190613a58565b1561267757608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016105c4565b505050915091565b60008051602061439483398151915254600160401b900460ff166126b657604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf61267f565b6000805160206143948339815191528054600160401b810460ff1615906001600160401b03166000811580156126f35750825b90506000826001600160401b0316600114801561270f5750303b155b90508115801561271d575080155b1561273b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561276557845460ff60401b1916600160401b1785555b6000808780602001905181019061277c919061420d565b909250905061278b828a6122f9565b6001546001600160a01b031663d39e6043608c6127a6612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280f919061382b565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc61283e612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a7919061382b565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d26128d6612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561291b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293f919061382b565b600480546001600160a01b0319166001600160a01b039290921691909117905561296f63310e6c1960e11b610e93565b505083156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016111cc565b60006129c88383670de0b6b3a7640000613165565b9392505050565b6000806129da61328c565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612a39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a619190810190613f23565b80519092506001600160601b03858116911614612ab95760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016105c4565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101e060405180830381865afa158015612b0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2e9190613ffb565b9050612b428160c001518860800151611454565b915050945094509450949050565b6000811561315d576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc919061382b565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161014060405180830381865afa158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190613e52565b90506000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c96919061382b565b60405163bd7d9d8560e01b81526001600160601b03871660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015612ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d0d91908101906138d2565b60208301519091506000612d296001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03891660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9c919061382b565b90506000896001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e02919061382b565b60608601516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101e060405180830381865afa158015612e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7c9190613ffb565b9050600081610160015190506000600460009054906101000a90046001600160a01b03166001600160a01b03166370e314e88c886060015189608001518a60e001518b61010001518c602001518d604001516040518863ffffffff1660e01b8152600401612ef0979695949392919061423c565b6101e060405180830381865afa158015612f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3291906142a2565b905060008760e0015190508160400151866001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa4919061382b565b604051636eb1769f60e11b81526001600160a01b0388811660048301528981166024830152919091169063dd62ed3e90604401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613de0565b1015613057576040808301519051636d675c4360e01b81526001600160a01b0380881660048301528816602482015260448101919091526064016105c4565b856001600160a01b031663beabacc886838560e00151866060015161307c9190613f10565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156130cb57600080fd5b505af11580156130df573d6000803e3d6000fd5b505083516040516317d5759960e31b81526001600160a01b03898116600483015287811660248301526044820192909252908916925063beabacc89150606401600060405180830381600087803b15801561313957600080fd5b505af115801561314d573d6000803e3d6000fd5b5050925199505050505050505050505b949350505050565b600080806000198587098587029250828110838203039150508060000361319f578382816131955761319561435d565b04925050506129c8565b8084116131e65760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016105c4565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016132c5604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561332357600080fd5b81356001600160e01b0319811681146129c857600080fd5b6001600160601b03811681146102e857600080fd5b60006020828403121561336257600080fd5b81356129c88161333b565b60005b83811015613388578181015183820152602001613370565b50506000910152565b600081518084526133a981602086016020860161336d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161342660c08401826001600160a01b03169052565b5060c083015160e08084015261315d610100840182613391565b6001600160a01b03811681146102e857600080fd5b60ff811681146102e857600080fd5b80151581146102e857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156134ab576134ab613472565b60405290565b60405161010081016001600160401b03811182821017156134ab576134ab613472565b60405161012081016001600160401b03811182821017156134ab576134ab613472565b60405161018081016001600160401b03811182821017156134ab576134ab613472565b60405160e081016001600160401b03811182821017156134ab576134ab613472565b6040516101e081016001600160401b03811182821017156134ab576134ab613472565b604051601f8201601f191681016001600160401b038111828210171561358757613587613472565b604052919050565b60006001600160401b038211156135a8576135a8613472565b50601f01601f191660200190565b600082601f8301126135c757600080fd5b81356135da6135d58261358f565b61355f565b8181528460208386010111156135ef57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561362557600080fd5b863561363081613440565b955060208701356136408161333b565b9450604087013561365081613455565b9350606087013561366081613464565b9250608087013561367081613440565b915060a08701356001600160401b0381111561368b57600080fd5b61369789828a016135b6565b9150509295509295509295565b6000602082840312156136b657600080fd5b81356001600160401b038111156136cc57600080fd5b61315d848285016135b6565b600080604083850312156136eb57600080fd5b82356136f681613440565b915060208301356001600160401b0381111561371157600080fd5b61371d858286016135b6565b9150509250929050565b64ffffffffff811681146102e857600080fd5b6000806040838503121561374d57600080fd5b82356137588161333b565b9150602083013561376881613727565b809150509250929050565b6000806040838503121561378657600080fd5b50508035926020909101359150565b6000806000606084860312156137aa57600080fd5b83356137b58161333b565b925060208401356137c581613464565b915060408401356137d581613727565b809150509250925092565b6000602082840312156137f257600080fd5b81356129c881613440565b6000806040838503121561381057600080fd5b823561381b81613440565b9150602083013561376881613440565b60006020828403121561383d57600080fd5b81516129c881613440565b80516138538161333b565b919050565b80516001600160c01b03198116811461385357600080fd5b805161385381613727565b600082601f83011261388c57600080fd5b815161389a6135d58261358f565b8181528460208386010111156138af57600080fd5b61315d82602083016020870161336d565b805161ffff8116811461385357600080fd5b6000602082840312156138e457600080fd5b81516001600160401b03808211156138fb57600080fd5b90830190610200828603121561391057600080fd5b613918613488565b61392183613848565b815261392f60208401613848565b602082015261394060408401613858565b604082015261395160608401613858565b60608201526080830151608082015260a083015160a082015260c083015160c082015261398060e08401613870565b60e0820152610100808401518381111561399957600080fd5b6139a58882870161387b565b82840152505061012080840151838111156139bf57600080fd5b6139cb8882870161387b565b82840152505061014091506139e18284016138c0565b8282015261016091506139f58284016138c0565b82820152610180915081830151828201526101a09150613a16828401613870565b828201526101c09150613a2a828401613870565b828201526101e09150613a3e828401613870565b91810191909152949350505050565b805161385381613464565b600060208284031215613a6a57600080fd5b81516129c881613464565b805161385381613455565b600060208284031215613a9257600080fd5b81516129c881613455565b600060208284031215613aaf57600080fd5b81516129c881613727565b6001600160601b038416815260606020820152613ae36060820184516001600160601b03169052565b60006020840151613aff60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e08701519250610140613b6e8187018564ffffffffff169052565b82880151935061020092506101608381880152613b8f610260880186613391565b9450828901519250610180605f198887030181890152613baf8685613391565b9550828a015193506101a09250613bcb8389018561ffff169052565b9089015192506101c090613be48883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff84166040840152905061315d565b600060208284031215613c3f57600080fd5b815162ffffff811681146129c857600080fd5b600181811c90821680613c6657607f821691505b602082108103613c8657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613c9e57600080fd5b81516129c88161333b565b601f821115613cf357600081815260208120601f850160051c81016020861015613cd05750805b601f850160051c820191505b81811015613cef57828155600101613cdc565b5050505b505050565b81516001600160401b03811115613d1157613d11613472565b613d2581613d1f8454613c52565b84613ca9565b602080601f831160018114613d5a5760008415613d425750858301515b600019600386901b1c1916600185901b178555613cef565b600085815260208120601f198616915b82811015613d8957888601518255948401946001909101908401613d6a565b5085821015613da75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613dc957600080fd5b81516001600160401b03811681146129c857600080fd5b600060208284031215613df257600080fd5b5051919050565b805161385381613440565b600060408284031215613e1657600080fd5b604051604081018181106001600160401b0382111715613e3857613e38613472565b604052825181526020928301519281019290925250919050565b60006101408284031215613e6557600080fd5b613e6d6134b1565b613e7683613df9565b8152613e8460208401613df9565b6020820152613e9560408401613848565b6040820152613ea660608401613848565b6060820152613eb88460808501613e04565b6080820152613eca8460c08501613e04565b60a0820152613edc6101008401613a4d565b60c0820152613eee6101208401613df9565b60e08201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561155757611557613efa565b600060208284031215613f3557600080fd5b81516001600160401b0380821115613f4c57600080fd5b908301906101408286031215613f6157600080fd5b613f696134d4565b613f7283613848565b8152613f818660208501613e04565b6020820152606083015182811115613f9857600080fd5b613fa48782860161387b565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152613fd460e08401613870565b60c08201526101009150613fe9828401613870565b60e0820152613a3e6101208401613870565b60006101e0828403121561400e57600080fd5b6140166134f7565b61401f83613848565b815261402d60208401613df9565b60208201526040830151604082015261404860608401613a4d565b606082015261405960808401613a4d565b608082015261406a60a08401613a4d565b60a082015260c083015160c082015260e083015160e082015261010061409285828601613e04565b908201526101406140a585858301613e04565b6101208301526140b9856101808601613e04565b908201526140ca6101c08401613df9565b6101608201529392505050565b6000602082840312156140e957600080fd5b81516001600160401b038082111561410057600080fd5b9083019060e0828603121561411457600080fd5b61411c61351a565b61412583613848565b815261413360208401613848565b602082015261414460408401613a75565b604082015261415560608401613a4d565b606082015261416660808401613df9565b608082015261417760a08401613df9565b60a082015260c08301518281111561418e57600080fd5b61419a8782860161387b565b60c08301525095945050505050565b60006001600160601b03808816835260a060208401526141cc60a0840188613391565b818716604085015283810360608501526141e68187613391565b925050508260808301529695505050505050565b8181038181111561155757611557613efa565b6000806040838503121561422057600080fd5b825161422b81613440565b602084015190925061376881613440565b60006001600160601b03808a1683526001600160401b0360c01b808a16602085015288604085015264ffffffffff8816606085015260e0608085015261428560e0850188613391565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156142b557600080fd5b6142bd61353c565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d99cec76a5a2656116db72fd28a3a034ad41051c0d53504e856be5ccc688cab164736f6c63430008140033",
823
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80635fd1a5f511610104578063b68d1809116100a2578063cde749f411610071578063cde749f4146103ff578063ea86657214610407578063f21de1e814610311578063f7c34ee01461041a57600080fd5b8063b68d1809146103c7578063bbfbbfba146103dc578063caf4e3d4146103ef578063cc9fc59a146103f757600080fd5b8063675393bf116100de578063675393bf14610384578063893d20e8146103975780639ffcede91461039f578063ada9652e146103b257600080fd5b80635fd1a5f514610336578063630361f614610349578063644c45e01461035c57600080fd5b806327bb7a33116101715780633d3cf0231161014b5780633d3cf023146102da57806349bb9e4b146102eb5780634d5e16a9146102fe5780635ab1bd531461031157600080fd5b806327bb7a33146102ac578063329d6e74146102bf57806336fc697e146102d257600080fd5b80630fec111c116101ad5780630fec111c14610247578063138461e01461025c5780631eff4b2214610264578063214cdb801461029957600080fd5b806301ffc9a7146101d45780630aaba8e8146102165780630d8e6e2c1461022b575b600080fd5b6102016101e2366004613311565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004613350565b61042d565b005b610233610a6b565b60405162ffffff909116815260200161020d565b61024f610af5565b60405161020d91906133bd565b610229610c91565b61028b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102296102a7366004613311565b610e93565b6102296102ba36600461360c565b610ec0565b6102296102cd3660046136a4565b610f4c565b610229611099565b6102296102e8366004613350565b50565b6102296102f93660046136d8565b6110df565b61022961030c36600461373a565b6111de565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b61028b610344366004613773565b611454565b610229610357366004613795565b61155d565b600080516020614374833981519152546040516001600160601b03909116815260200161020d565b6102296103923660046137e0565b611bc4565b61031e611cd1565b6102296103ad366004613350565b611e08565b61028b60008051602061437483398151915281565b60d35b60405160ff909116815260200161020d565b6102296103ea36600461373a565b611e5a565b61031e6121c1565b61031e612258565b6103ca612282565b6102296104153660046137fd565b6122f9565b6102296104283660046137fd565b612391565b6000610439606e612408565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561047c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a0919061382b565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156104f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261051b91908101906138d2565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561057b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059f9190613a58565b156105cd576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa15801561061d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106419190613a80565b905060ff811660641461067b57604051634de91cf360e11b81526001600160601b038616600482015260ff821660248201526044016105c4565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190613a58565b1561072557604051634b80547760e11b81526001600160601b03861660048201526024016105c4565b8160c001518260a001511461076f5760a082015160c0830151604051632b14368360e11b81526001600160601b0388166004820152602481019290925260448201526064016105c4565b61016082015161ffff16156107b35761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190613a9d565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190613a58565b80156108bc57508160800151826101800151105b156108f9576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff90911660248201526044016105c4565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109669190613a9d565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b1580156109e357600080fd5b505af11580156109f7573d6000803e3d6000fd5b50505050836001600160a01b0316631518afb98684610a1460c890565b6040518463ffffffff1660e01b8152600401610a3293929190613aba565b600060405180830381600087803b158015610a4c57600080fd5b505af1158015610a60573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190613c2d565b905090565b610afd61324e565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610b8d90613c52565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb990613c52565b8015610c065780601f10610bdb57610100808354040283529160200191610c06565b820191906000526020600020905b815481529060010190602001808311610be957829003601f168201915b50505050508152505090506040518060e00160405280610c24600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610c75611cd1565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061437483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190613a58565b15610d505780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b30610d636001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190613a58565b610df75760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f9190613c8c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610e9b61267f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ec861267f565b610ed28287612391565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f428382613cf8565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f6e610a6b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190613db7565b6000805160206143948339815191528054600160401b900460ff1680611005575080546001600160401b03808416911610155b156110235760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561104d836126b8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6110a161267f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206143948339815191528054600160401b810460ff1615906001600160401b03166000811580156111125750825b90506000826001600160401b0316600114801561112e5750303b155b90508115801561113c575080155b1561115a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118457845460ff60401b1916600160401b1785555b61118e87876126c0565b83156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60006111ea606e612408565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561122d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611251919061382b565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156112a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112cc91908101906138d2565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561132c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113509190613a58565b61139c5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016105c4565b64ffffffffff8481166101a0830181905260e08301516040516352bcc5a760e11b81526004810192909252909116602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af415801561140b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142f9190613a9d565b64ffffffffff166101c08201526001600160a01b038316631518afb986836064610a14565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156114a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cd9190613de0565b905060006114db85836129b3565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561152e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115529190613de0565b925050505b92915050565b600080600061156a61324e565b611574606e612408565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115de919061382b565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611635573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261165d91908101906138d2565b80519091506001600160601b038381169116146116bc5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016105c4565b604051639096a1f360e01b81526001600160601b038816600482015261173a906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561170d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117319190613a80565b60ff16600a1490565b6117865760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016105c4565b6000806000806118148888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b81526004016117cd91906001600160601b0391909116815260200190565b61014060405180830381865afa1580156117eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180f9190613e52565b6129cf565b93509350935093506000611826602890565b905064ffffffffff8a16156118db57606464ffffffffff8b81166101a0890181905260e08901516040516352bcc5a760e11b81526004810192909252909116602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063a5798b4e90604401602060405180830381865af41580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190613a9d565b64ffffffffff166101c08701525b60008b1561190f576118f38a898f8a60a00151612b50565b90508660a001518760c00181815161190b9190613f10565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b815260040161198d9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af11580156119ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119d49190810190613f23565b9350896001600160a01b0316631518afb98e89856040518463ffffffff1660e01b8152600401611a0693929190613aba565b600060405180830381600087803b158015611a2057600080fd5b505af1158015611a34573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101e060405180830381865afa158015611a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaa9190613ffb565b60a0015115611bb5576000611ac76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b3e91908101906140d7565b608001519050806001600160a01b031663da65659d8f8a6101000151898960400151896040518663ffffffff1660e01b8152600401611b819594939291906141a9565b600060405180830381600087803b158015611b9b57600080fd5b505af1158015611baf573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611bcc61267f565b806001600160a01b03163b600003611c025760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611c7c575060408051601f3d908101601f19168201909252611c7991810190613a58565b60015b611ca45760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b80611ccd5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b5050565b60008060008051602061437483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d659190613a58565b15611df2576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dec919061382b565b91505090565b54600160601b90046001600160a01b0316919050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016105c4565b600080611e67606e612408565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecf919061382b565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611f22573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f4a91908101906138d2565b90508060a001518160c0015103611f8c5760c081015160405163038a855760e51b81526001600160601b038816600482015260248101919091526044016105c4565b60008160c001518260a00151611fa291906141fa565b90506000611fb68587600001518a85612b50565b9050818360c001818151611fca9190613f10565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561202f57600080fd5b505af1158015612043573d6000803e3d6000fd5b50505050846001600160a01b0316631518afb9898561206060ff90565b6040518463ffffffff1660e01b815260040161207e93929190613aba565b600060405180830381600087803b15801561209857600080fd5b505af11580156120ac573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212a9190613a58565b80156121b257506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561218e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b29190613a58565b15610f4257610f4288886111de565b6000806121d66001546001600160a01b031690565b6001600160a01b031663d39e604360285b6121ef612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612234573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611557919061382b565b60008061226d6001546001600160a01b031690565b6001600160a01b031663d39e604360466121e7565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156122d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190613a80565b61230161267f565b61238182836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123679190613c8c565b603c60008560405180602001604052806000815250610ec0565b611ccd637b6a51fd60e01b610e93565b61239961267f565b6123a281611bc4565b6123aa611099565b6001600160a01b0382166123d15760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061437483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61241061324e565b6000806124256001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561246c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261249491908101906140d7565b92506124aa83604001518560ff90811691161490565b6124ec5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105c4565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612542573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261256a91908101906140d7565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d7919061382b565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126489190613a58565b1561267757608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016105c4565b505050915091565b60008051602061439483398151915254600160401b900460ff166126b657604051631afcd79f60e31b815260040160405180910390fd5b565b6101cf61267f565b6000805160206143948339815191528054600160401b810460ff1615906001600160401b03166000811580156126f35750825b90506000826001600160401b0316600114801561270f5750303b155b90508115801561271d575080155b1561273b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561276557845460ff60401b1916600160401b1785555b6000808780602001905181019061277c919061420d565b909250905061278b828a6122f9565b6001546001600160a01b031663d39e6043608c6127a6612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156127eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280f919061382b565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc61283e612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a7919061382b565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e604360d26128d6612282565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561291b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293f919061382b565b600480546001600160a01b0319166001600160a01b039290921691909117905561296f63310e6c1960e11b610e93565b505083156111d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016111cc565b60006129c88383670de0b6b3a7640000613165565b9392505050565b6000806129da61328c565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa158015612a39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a619190810190613f23565b80519092506001600160601b03858116911614612ab95760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016105c4565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101e060405180830381865afa158015612b0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b2e9190613ffb565b9050612b428160c001518860800151611454565b915050945094509450949050565b6000811561315d576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc919061382b565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161014060405180830381865afa158015612c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c309190613e52565b90506000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c96919061382b565b60405163bd7d9d8560e01b81526001600160601b03871660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015612ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612d0d91908101906138d2565b60208301519091506000612d296001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03891660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9c919061382b565b90506000896001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612dde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e02919061382b565b60608601516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101e060405180830381865afa158015612e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7c9190613ffb565b9050600081610160015190506000600460009054906101000a90046001600160a01b03166001600160a01b03166370e314e88c886060015189608001518a60e001518b61010001518c602001518d604001516040518863ffffffff1660e01b8152600401612ef0979695949392919061423c565b6101e060405180830381865afa158015612f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3291906142a2565b905060008760e0015190508160400151866001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa4919061382b565b604051636eb1769f60e11b81526001600160a01b0388811660048301528981166024830152919091169063dd62ed3e90604401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613de0565b1015613057576040808301519051636d675c4360e01b81526001600160a01b0380881660048301528816602482015260448101919091526064016105c4565b856001600160a01b031663beabacc886838560e00151866060015161307c9190613f10565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156130cb57600080fd5b505af11580156130df573d6000803e3d6000fd5b505083516040516317d5759960e31b81526001600160a01b03898116600483015287811660248301526044820192909252908916925063beabacc89150606401600060405180830381600087803b15801561313957600080fd5b505af115801561314d573d6000803e3d6000fd5b5050925199505050505050505050505b949350505050565b600080806000198587098587029250828110838203039150508060000361319f578382816131955761319561435d565b04925050506129c8565b8084116131e65760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016105c4565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016132c5604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561332357600080fd5b81356001600160e01b0319811681146129c857600080fd5b6001600160601b03811681146102e857600080fd5b60006020828403121561336257600080fd5b81356129c88161333b565b60005b83811015613388578181015183820152602001613370565b50506000910152565b600081518084526133a981602086016020860161336d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161342660c08401826001600160a01b03169052565b5060c083015160e08084015261315d610100840182613391565b6001600160a01b03811681146102e857600080fd5b60ff811681146102e857600080fd5b80151581146102e857600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156134ab576134ab613472565b60405290565b60405161010081016001600160401b03811182821017156134ab576134ab613472565b60405161012081016001600160401b03811182821017156134ab576134ab613472565b60405161018081016001600160401b03811182821017156134ab576134ab613472565b60405160e081016001600160401b03811182821017156134ab576134ab613472565b6040516101e081016001600160401b03811182821017156134ab576134ab613472565b604051601f8201601f191681016001600160401b038111828210171561358757613587613472565b604052919050565b60006001600160401b038211156135a8576135a8613472565b50601f01601f191660200190565b600082601f8301126135c757600080fd5b81356135da6135d58261358f565b61355f565b8181528460208386010111156135ef57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561362557600080fd5b863561363081613440565b955060208701356136408161333b565b9450604087013561365081613455565b9350606087013561366081613464565b9250608087013561367081613440565b915060a08701356001600160401b0381111561368b57600080fd5b61369789828a016135b6565b9150509295509295509295565b6000602082840312156136b657600080fd5b81356001600160401b038111156136cc57600080fd5b61315d848285016135b6565b600080604083850312156136eb57600080fd5b82356136f681613440565b915060208301356001600160401b0381111561371157600080fd5b61371d858286016135b6565b9150509250929050565b64ffffffffff811681146102e857600080fd5b6000806040838503121561374d57600080fd5b82356137588161333b565b9150602083013561376881613727565b809150509250929050565b6000806040838503121561378657600080fd5b50508035926020909101359150565b6000806000606084860312156137aa57600080fd5b83356137b58161333b565b925060208401356137c581613464565b915060408401356137d581613727565b809150509250925092565b6000602082840312156137f257600080fd5b81356129c881613440565b6000806040838503121561381057600080fd5b823561381b81613440565b9150602083013561376881613440565b60006020828403121561383d57600080fd5b81516129c881613440565b80516138538161333b565b919050565b80516001600160c01b03198116811461385357600080fd5b805161385381613727565b600082601f83011261388c57600080fd5b815161389a6135d58261358f565b8181528460208386010111156138af57600080fd5b61315d82602083016020870161336d565b805161ffff8116811461385357600080fd5b6000602082840312156138e457600080fd5b81516001600160401b03808211156138fb57600080fd5b90830190610200828603121561391057600080fd5b613918613488565b61392183613848565b815261392f60208401613848565b602082015261394060408401613858565b604082015261395160608401613858565b60608201526080830151608082015260a083015160a082015260c083015160c082015261398060e08401613870565b60e0820152610100808401518381111561399957600080fd5b6139a58882870161387b565b82840152505061012080840151838111156139bf57600080fd5b6139cb8882870161387b565b82840152505061014091506139e18284016138c0565b8282015261016091506139f58284016138c0565b82820152610180915081830151828201526101a09150613a16828401613870565b828201526101c09150613a2a828401613870565b828201526101e09150613a3e828401613870565b91810191909152949350505050565b805161385381613464565b600060208284031215613a6a57600080fd5b81516129c881613464565b805161385381613455565b600060208284031215613a9257600080fd5b81516129c881613455565b600060208284031215613aaf57600080fd5b81516129c881613727565b6001600160601b038416815260606020820152613ae36060820184516001600160601b03169052565b60006020840151613aff60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160c01b0319811660c084015250608084015160e083015260a0840151610100818185015260c08601519150610120828186015260e08701519250610140613b6e8187018564ffffffffff169052565b82880151935061020092506101608381880152613b8f610260880186613391565b9450828901519250610180605f198887030181890152613baf8685613391565b9550828a015193506101a09250613bcb8389018561ffff169052565b9089015192506101c090613be48883018561ffff169052565b8901516101e0888101919091529189015164ffffffffff9081169488019490945288015183166102208701528701519091166102408501525060ff84166040840152905061315d565b600060208284031215613c3f57600080fd5b815162ffffff811681146129c857600080fd5b600181811c90821680613c6657607f821691505b602082108103613c8657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613c9e57600080fd5b81516129c88161333b565b601f821115613cf357600081815260208120601f850160051c81016020861015613cd05750805b601f850160051c820191505b81811015613cef57828155600101613cdc565b5050505b505050565b81516001600160401b03811115613d1157613d11613472565b613d2581613d1f8454613c52565b84613ca9565b602080601f831160018114613d5a5760008415613d425750858301515b600019600386901b1c1916600185901b178555613cef565b600085815260208120601f198616915b82811015613d8957888601518255948401946001909101908401613d6a565b5085821015613da75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613dc957600080fd5b81516001600160401b03811681146129c857600080fd5b600060208284031215613df257600080fd5b5051919050565b805161385381613440565b600060408284031215613e1657600080fd5b604051604081018181106001600160401b0382111715613e3857613e38613472565b604052825181526020928301519281019290925250919050565b60006101408284031215613e6557600080fd5b613e6d6134b1565b613e7683613df9565b8152613e8460208401613df9565b6020820152613e9560408401613848565b6040820152613ea660608401613848565b6060820152613eb88460808501613e04565b6080820152613eca8460c08501613e04565b60a0820152613edc6101008401613a4d565b60c0820152613eee6101208401613df9565b60e08201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561155757611557613efa565b600060208284031215613f3557600080fd5b81516001600160401b0380821115613f4c57600080fd5b908301906101408286031215613f6157600080fd5b613f696134d4565b613f7283613848565b8152613f818660208501613e04565b6020820152606083015182811115613f9857600080fd5b613fa48782860161387b565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152613fd460e08401613870565b60c08201526101009150613fe9828401613870565b60e0820152613a3e6101208401613870565b60006101e0828403121561400e57600080fd5b6140166134f7565b61401f83613848565b815261402d60208401613df9565b60208201526040830151604082015261404860608401613a4d565b606082015261405960808401613a4d565b608082015261406a60a08401613a4d565b60a082015260c083015160c082015260e083015160e082015261010061409285828601613e04565b908201526101406140a585858301613e04565b6101208301526140b9856101808601613e04565b908201526140ca6101c08401613df9565b6101608201529392505050565b6000602082840312156140e957600080fd5b81516001600160401b038082111561410057600080fd5b9083019060e0828603121561411457600080fd5b61411c61351a565b61412583613848565b815261413360208401613848565b602082015261414460408401613a75565b604082015261415560608401613a4d565b606082015261416660808401613df9565b608082015261417760a08401613df9565b60a082015260c08301518281111561418e57600080fd5b61419a8782860161387b565b60c08301525095945050505050565b60006001600160601b03808816835260a060208401526141cc60a0840188613391565b818716604085015283810360608501526141e68187613391565b925050508260808301529695505050505050565b8181038181111561155757611557613efa565b6000806040838503121561422057600080fd5b825161422b81613440565b602084015190925061376881613440565b60006001600160601b03808a1683526001600160401b0360c01b808a16602085015288604085015264ffffffffff8816606085015260e0608085015261428560e0850188613391565b9590911660a08401529290921660c0909101525095945050505050565b60006101e082840312156142b557600080fd5b6142bd61353c565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d99cec76a5a2656116db72fd28a3a034ad41051c0d53504e856be5ccc688cab164736f6c63430008140033",
824
- "linkReferences": {
825
- "contracts/types/NftId.sol": {
826
- "NftIdLib": [
827
- {
828
- "length": 20,
829
- "start": 3500
830
- },
831
- {
832
- "length": 20,
833
- "start": 7661
834
- }
835
- ]
836
- },
837
- "contracts/types/Timestamp.sol": {
838
- "TimestampLib": [
839
- {
840
- "length": 20,
841
- "start": 1575
842
- },
843
- {
844
- "length": 20,
845
- "start": 1924
846
- },
847
- {
848
- "length": 20,
849
- "start": 2203
850
- },
851
- {
852
- "length": 20,
853
- "start": 2352
854
- },
855
- {
856
- "length": 20,
857
- "start": 2529
858
- },
859
- {
860
- "length": 20,
861
- "start": 5080
862
- },
863
- {
864
- "length": 20,
865
- "start": 5303
866
- },
867
- {
868
- "length": 20,
869
- "start": 6485
870
- },
871
- {
872
- "length": 20,
873
- "start": 8624
874
- },
875
- {
876
- "length": 20,
877
- "start": 8762
878
- }
879
- ]
880
- },
881
- "contracts/types/UFixed.sol": {
882
- "UFixedLib": [
883
- {
884
- "length": 20,
885
- "start": 5461
886
- },
887
- {
888
- "length": 20,
889
- "start": 5594
890
- }
891
- ]
892
- },
893
- "contracts/types/Version.sol": {
894
- "VersionLib": [
895
- {
896
- "length": 20,
897
- "start": 2936
898
- },
899
- {
900
- "length": 20,
901
- "start": 4148
902
- }
903
- ],
904
- "VersionPartLib": [
905
- {
906
- "length": 20,
907
- "start": 9089
908
- }
909
- ]
910
- }
911
- },
912
- "deployedLinkReferences": {
913
- "contracts/types/NftId.sol": {
914
- "NftIdLib": [
915
- {
916
- "length": 20,
917
- "start": 3270
918
- },
919
- {
920
- "length": 20,
921
- "start": 7431
922
- }
923
- ]
924
- },
925
- "contracts/types/Timestamp.sol": {
926
- "TimestampLib": [
927
- {
928
- "length": 20,
929
- "start": 1345
930
- },
931
- {
932
- "length": 20,
933
- "start": 1694
934
- },
935
- {
936
- "length": 20,
937
- "start": 1973
938
- },
939
- {
940
- "length": 20,
941
- "start": 2122
942
- },
943
- {
944
- "length": 20,
945
- "start": 2299
946
- },
947
- {
948
- "length": 20,
949
- "start": 4850
950
- },
951
- {
952
- "length": 20,
953
- "start": 5073
954
- },
955
- {
956
- "length": 20,
957
- "start": 6255
958
- },
959
- {
960
- "length": 20,
961
- "start": 8394
962
- },
963
- {
964
- "length": 20,
965
- "start": 8532
966
- }
967
- ]
968
- },
969
- "contracts/types/UFixed.sol": {
970
- "UFixedLib": [
971
- {
972
- "length": 20,
973
- "start": 5231
974
- },
975
- {
976
- "length": 20,
977
- "start": 5364
978
- }
979
- ]
980
- },
981
- "contracts/types/Version.sol": {
982
- "VersionLib": [
983
- {
984
- "length": 20,
985
- "start": 2706
986
- },
987
- {
988
- "length": 20,
989
- "start": 3918
990
- }
991
- ],
992
- "VersionPartLib": [
993
- {
994
- "length": 20,
995
- "start": 8859
996
- }
997
- ]
998
- }
999
- }
1000
- }