@etherisc/gif-next 0.0.2-ff8087d-237 → 0.0.2-ffa91a6-022

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