@etherisc/gif-next 0.0.2-ebf1a6b-485 → 0.0.2-ec19f94-589

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