@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
@@ -13,6 +13,162 @@
13
13
  "name": "ErrorInstanceReaderInstanceAddressZero",
14
14
  "type": "error"
15
15
  },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "poolNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "activeBundles",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "activeRisks",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "bundles",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
75
+ {
76
+ "internalType": "NftId",
77
+ "name": "policyNftId",
78
+ "type": "uint96"
79
+ }
80
+ ],
81
+ "name": "claims",
82
+ "outputs": [
83
+ {
84
+ "internalType": "uint16",
85
+ "name": "claimCount",
86
+ "type": "uint16"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "components",
95
+ "outputs": [
96
+ {
97
+ "internalType": "uint256",
98
+ "name": "componentCount",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "NftId",
109
+ "name": "poolNftId",
110
+ "type": "uint96"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "idx",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "getActiveBundleNftId",
119
+ "outputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "bundleNftId",
123
+ "type": "uint96"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
133
+ "name": "productNftId",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "idx",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "getActiveRiskId",
143
+ "outputs": [
144
+ {
145
+ "internalType": "RiskId",
146
+ "name": "riskId",
147
+ "type": "bytes8"
148
+ }
149
+ ],
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "NftId",
157
+ "name": "targetNftId",
158
+ "type": "uint96"
159
+ }
160
+ ],
161
+ "name": "getBalanceAmount",
162
+ "outputs": [
163
+ {
164
+ "internalType": "Amount",
165
+ "name": "",
166
+ "type": "uint96"
167
+ }
168
+ ],
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
16
172
  {
17
173
  "inputs": [
18
174
  {
@@ -53,23 +209,8 @@
53
209
  "type": "bytes"
54
210
  },
55
211
  {
56
- "internalType": "Amount",
57
- "name": "capitalAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Amount",
62
- "name": "lockedAmount",
63
- "type": "uint96"
64
- },
65
- {
66
- "internalType": "Amount",
67
- "name": "feeAmount",
68
- "type": "uint96"
69
- },
70
- {
71
- "internalType": "Seconds",
72
- "name": "lifetime",
212
+ "internalType": "Timestamp",
213
+ "name": "activatedAt",
73
214
  "type": "uint40"
74
215
  },
75
216
  {
@@ -91,6 +232,81 @@
91
232
  "stateMutability": "view",
92
233
  "type": "function"
93
234
  },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "NftId",
239
+ "name": "poolNftId",
240
+ "type": "uint96"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "idx",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "name": "getBundleNftId",
249
+ "outputs": [
250
+ {
251
+ "internalType": "NftId",
252
+ "name": "bundleNftId",
253
+ "type": "uint96"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getBundleSet",
262
+ "outputs": [
263
+ {
264
+ "internalType": "contract BundleSet",
265
+ "name": "bundleSet",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "NftId",
276
+ "name": "bundleNftId",
277
+ "type": "uint96"
278
+ }
279
+ ],
280
+ "name": "getBundleState",
281
+ "outputs": [
282
+ {
283
+ "internalType": "StateId",
284
+ "name": "state",
285
+ "type": "uint8"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "idx",
296
+ "type": "uint256"
297
+ }
298
+ ],
299
+ "name": "getClaimId",
300
+ "outputs": [
301
+ {
302
+ "internalType": "ClaimId",
303
+ "name": "claimId",
304
+ "type": "uint16"
305
+ }
306
+ ],
307
+ "stateMutability": "view",
308
+ "type": "function"
309
+ },
94
310
  {
95
311
  "inputs": [
96
312
  {
@@ -119,18 +335,23 @@
119
335
  "type": "uint96"
120
336
  },
121
337
  {
122
- "internalType": "uint8",
338
+ "internalType": "uint24",
123
339
  "name": "payoutsCount",
124
- "type": "uint8"
340
+ "type": "uint24"
125
341
  },
126
342
  {
127
- "internalType": "uint8",
343
+ "internalType": "uint24",
128
344
  "name": "openPayoutsCount",
129
- "type": "uint8"
345
+ "type": "uint24"
130
346
  },
131
347
  {
132
348
  "internalType": "bytes",
133
- "name": "data",
349
+ "name": "submissionData",
350
+ "type": "bytes"
351
+ },
352
+ {
353
+ "internalType": "bytes",
354
+ "name": "processData",
134
355
  "type": "bytes"
135
356
  },
136
357
  {
@@ -175,7 +396,7 @@
175
396
  "inputs": [
176
397
  {
177
398
  "internalType": "NftId",
178
- "name": "poolNftId",
399
+ "name": "componentNftId",
179
400
  "type": "uint96"
180
401
  }
181
402
  ],
@@ -188,31 +409,11 @@
188
409
  "name": "name",
189
410
  "type": "string"
190
411
  },
191
- {
192
- "internalType": "contract IERC20Metadata",
193
- "name": "token",
194
- "type": "address"
195
- },
196
412
  {
197
413
  "internalType": "contract TokenHandler",
198
414
  "name": "tokenHandler",
199
415
  "type": "address"
200
416
  },
201
- {
202
- "internalType": "address",
203
- "name": "wallet",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "Amount",
208
- "name": "balanceAmount",
209
- "type": "uint96"
210
- },
211
- {
212
- "internalType": "Amount",
213
- "name": "feeAmount",
214
- "type": "uint96"
215
- },
216
417
  {
217
418
  "internalType": "bytes",
218
419
  "name": "data",
@@ -255,93 +456,18 @@
255
456
  "inputs": [
256
457
  {
257
458
  "internalType": "NftId",
258
- "name": "distributionNftId",
459
+ "name": "distributorNftId",
259
460
  "type": "uint96"
260
461
  }
261
462
  ],
262
- "name": "getDistributionSetupInfo",
463
+ "name": "getDistributorInfo",
263
464
  "outputs": [
264
465
  {
265
466
  "components": [
266
467
  {
267
- "internalType": "NftId",
268
- "name": "productNftId",
269
- "type": "uint96"
270
- },
271
- {
272
- "internalType": "contract TokenHandler",
273
- "name": "tokenHandler",
274
- "type": "address"
275
- },
276
- {
277
- "components": [
278
- {
279
- "internalType": "UFixed",
280
- "name": "fractionalFee",
281
- "type": "uint256"
282
- },
283
- {
284
- "internalType": "uint256",
285
- "name": "fixedFee",
286
- "type": "uint256"
287
- }
288
- ],
289
- "internalType": "struct Fee",
290
- "name": "minDistributionOwnerFee",
291
- "type": "tuple"
292
- },
293
- {
294
- "components": [
295
- {
296
- "internalType": "UFixed",
297
- "name": "fractionalFee",
298
- "type": "uint256"
299
- },
300
- {
301
- "internalType": "uint256",
302
- "name": "fixedFee",
303
- "type": "uint256"
304
- }
305
- ],
306
- "internalType": "struct Fee",
307
- "name": "distributionFee",
308
- "type": "tuple"
309
- },
310
- {
311
- "internalType": "address",
312
- "name": "wallet",
313
- "type": "address"
314
- },
315
- {
316
- "internalType": "uint256",
317
- "name": "sumDistributionOwnerFees",
318
- "type": "uint256"
319
- }
320
- ],
321
- "internalType": "struct ISetup.DistributionSetupInfo",
322
- "name": "info",
323
- "type": "tuple"
324
- }
325
- ],
326
- "stateMutability": "view",
327
- "type": "function"
328
- },
329
- {
330
- "inputs": [
331
- {
332
- "internalType": "NftId",
333
- "name": "distributorNftId",
334
- "type": "uint96"
335
- }
336
- ],
337
- "name": "getDistributorInfo",
338
- "outputs": [
339
- {
340
- "components": [
341
- {
342
- "internalType": "DistributorType",
343
- "name": "distributorType",
344
- "type": "bytes8"
468
+ "internalType": "DistributorType",
469
+ "name": "distributorType",
470
+ "type": "bytes8"
345
471
  },
346
472
  {
347
473
  "internalType": "bool",
@@ -353,11 +479,6 @@
353
479
  "name": "data",
354
480
  "type": "bytes"
355
481
  },
356
- {
357
- "internalType": "Amount",
358
- "name": "commissionAmount",
359
- "type": "uint96"
360
- },
361
482
  {
362
483
  "internalType": "uint32",
363
484
  "name": "numPoliciesSold",
@@ -389,6 +510,11 @@
389
510
  "name": "name",
390
511
  "type": "string"
391
512
  },
513
+ {
514
+ "internalType": "NftId",
515
+ "name": "distributionNftId",
516
+ "type": "uint96"
517
+ },
392
518
  {
393
519
  "internalType": "UFixed",
394
520
  "name": "minDiscountPercentage",
@@ -410,9 +536,9 @@
410
536
  "type": "uint32"
411
537
  },
412
538
  {
413
- "internalType": "uint32",
539
+ "internalType": "Seconds",
414
540
  "name": "maxReferralLifetime",
415
- "type": "uint32"
541
+ "type": "uint40"
416
542
  },
417
543
  {
418
544
  "internalType": "bool",
@@ -439,26 +565,19 @@
439
565
  "type": "function"
440
566
  },
441
567
  {
442
- "inputs": [],
443
- "name": "getInstance",
444
- "outputs": [
568
+ "inputs": [
445
569
  {
446
- "internalType": "contract IInstance",
447
- "name": "instance",
448
- "type": "address"
570
+ "internalType": "NftId",
571
+ "name": "targetNftId",
572
+ "type": "uint96"
449
573
  }
450
574
  ],
451
- "stateMutability": "view",
452
- "type": "function"
453
- },
454
- {
455
- "inputs": [],
456
- "name": "getInstanceStore",
575
+ "name": "getFeeAmount",
457
576
  "outputs": [
458
577
  {
459
- "internalType": "contract IKeyValueStore",
460
- "name": "store",
461
- "type": "address"
578
+ "internalType": "Amount",
579
+ "name": "",
580
+ "type": "uint96"
462
581
  }
463
582
  ],
464
583
  "stateMutability": "view",
@@ -467,43 +586,137 @@
467
586
  {
468
587
  "inputs": [
469
588
  {
470
- "internalType": "Key32",
471
- "name": "key",
472
- "type": "bytes32"
589
+ "internalType": "NftId",
590
+ "name": "productNftId",
591
+ "type": "uint96"
473
592
  }
474
593
  ],
475
- "name": "getMetadata",
594
+ "name": "getFeeInfo",
476
595
  "outputs": [
477
596
  {
478
597
  "components": [
479
598
  {
480
- "internalType": "ObjectType",
481
- "name": "objectType",
482
- "type": "uint8"
599
+ "components": [
600
+ {
601
+ "internalType": "UFixed",
602
+ "name": "fractionalFee",
603
+ "type": "uint256"
604
+ },
605
+ {
606
+ "internalType": "uint256",
607
+ "name": "fixedFee",
608
+ "type": "uint256"
609
+ }
610
+ ],
611
+ "internalType": "struct Fee",
612
+ "name": "productFee",
613
+ "type": "tuple"
483
614
  },
484
615
  {
485
- "internalType": "StateId",
486
- "name": "state",
487
- "type": "uint8"
616
+ "components": [
617
+ {
618
+ "internalType": "UFixed",
619
+ "name": "fractionalFee",
620
+ "type": "uint256"
621
+ },
622
+ {
623
+ "internalType": "uint256",
624
+ "name": "fixedFee",
625
+ "type": "uint256"
626
+ }
627
+ ],
628
+ "internalType": "struct Fee",
629
+ "name": "processingFee",
630
+ "type": "tuple"
488
631
  },
489
632
  {
490
- "internalType": "address",
491
- "name": "updatedBy",
492
- "type": "address"
633
+ "components": [
634
+ {
635
+ "internalType": "UFixed",
636
+ "name": "fractionalFee",
637
+ "type": "uint256"
638
+ },
639
+ {
640
+ "internalType": "uint256",
641
+ "name": "fixedFee",
642
+ "type": "uint256"
643
+ }
644
+ ],
645
+ "internalType": "struct Fee",
646
+ "name": "distributionFee",
647
+ "type": "tuple"
493
648
  },
494
649
  {
495
- "internalType": "Blocknumber",
496
- "name": "updatedIn",
497
- "type": "uint32"
650
+ "components": [
651
+ {
652
+ "internalType": "UFixed",
653
+ "name": "fractionalFee",
654
+ "type": "uint256"
655
+ },
656
+ {
657
+ "internalType": "uint256",
658
+ "name": "fixedFee",
659
+ "type": "uint256"
660
+ }
661
+ ],
662
+ "internalType": "struct Fee",
663
+ "name": "minDistributionOwnerFee",
664
+ "type": "tuple"
498
665
  },
499
666
  {
500
- "internalType": "Blocknumber",
501
- "name": "createdIn",
502
- "type": "uint32"
667
+ "components": [
668
+ {
669
+ "internalType": "UFixed",
670
+ "name": "fractionalFee",
671
+ "type": "uint256"
672
+ },
673
+ {
674
+ "internalType": "uint256",
675
+ "name": "fixedFee",
676
+ "type": "uint256"
677
+ }
678
+ ],
679
+ "internalType": "struct Fee",
680
+ "name": "poolFee",
681
+ "type": "tuple"
682
+ },
683
+ {
684
+ "components": [
685
+ {
686
+ "internalType": "UFixed",
687
+ "name": "fractionalFee",
688
+ "type": "uint256"
689
+ },
690
+ {
691
+ "internalType": "uint256",
692
+ "name": "fixedFee",
693
+ "type": "uint256"
694
+ }
695
+ ],
696
+ "internalType": "struct Fee",
697
+ "name": "stakingFee",
698
+ "type": "tuple"
699
+ },
700
+ {
701
+ "components": [
702
+ {
703
+ "internalType": "UFixed",
704
+ "name": "fractionalFee",
705
+ "type": "uint256"
706
+ },
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "fixedFee",
710
+ "type": "uint256"
711
+ }
712
+ ],
713
+ "internalType": "struct Fee",
714
+ "name": "performanceFee",
715
+ "type": "tuple"
503
716
  }
504
717
  ],
505
- "internalType": "struct IKeyValueStore.Metadata",
506
- "name": "metadata",
718
+ "internalType": "struct IComponents.FeeInfo",
719
+ "name": "feeInfo",
507
720
  "type": "tuple"
508
721
  }
509
722
  ],
@@ -511,23 +724,146 @@
511
724
  "type": "function"
512
725
  },
513
726
  {
514
- "inputs": [
515
- {
516
- "internalType": "NftId",
517
- "name": "policyNftId",
518
- "type": "uint96"
519
- },
727
+ "inputs": [],
728
+ "name": "getInstance",
729
+ "outputs": [
520
730
  {
521
- "internalType": "PayoutId",
522
- "name": "payoutId",
523
- "type": "uint24"
731
+ "internalType": "contract IInstance",
732
+ "name": "instance",
733
+ "type": "address"
524
734
  }
525
735
  ],
526
- "name": "getPayoutInfo",
527
- "outputs": [
528
- {
529
- "components": [
530
- {
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [],
741
+ "name": "getInstanceNftId",
742
+ "outputs": [
743
+ {
744
+ "internalType": "NftId",
745
+ "name": "instanceNftid",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getInstanceStore",
755
+ "outputs": [
756
+ {
757
+ "internalType": "contract IKeyValueStore",
758
+ "name": "store",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "NftId",
769
+ "name": "targetNftId",
770
+ "type": "uint96"
771
+ }
772
+ ],
773
+ "name": "getLockedAmount",
774
+ "outputs": [
775
+ {
776
+ "internalType": "Amount",
777
+ "name": "",
778
+ "type": "uint96"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [
786
+ {
787
+ "internalType": "Key32",
788
+ "name": "key",
789
+ "type": "bytes32"
790
+ }
791
+ ],
792
+ "name": "getMetadata",
793
+ "outputs": [
794
+ {
795
+ "components": [
796
+ {
797
+ "internalType": "ObjectType",
798
+ "name": "objectType",
799
+ "type": "uint8"
800
+ },
801
+ {
802
+ "internalType": "StateId",
803
+ "name": "state",
804
+ "type": "uint8"
805
+ },
806
+ {
807
+ "internalType": "Blocknumber",
808
+ "name": "updatedIn",
809
+ "type": "uint32"
810
+ },
811
+ {
812
+ "internalType": "Blocknumber",
813
+ "name": "createdIn",
814
+ "type": "uint32"
815
+ }
816
+ ],
817
+ "internalType": "struct IKeyValueStore.Metadata",
818
+ "name": "metadata",
819
+ "type": "tuple"
820
+ }
821
+ ],
822
+ "stateMutability": "view",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "ClaimId",
829
+ "name": "claimId",
830
+ "type": "uint16"
831
+ },
832
+ {
833
+ "internalType": "uint24",
834
+ "name": "idx",
835
+ "type": "uint24"
836
+ }
837
+ ],
838
+ "name": "getPayoutId",
839
+ "outputs": [
840
+ {
841
+ "internalType": "PayoutId",
842
+ "name": "payoutId",
843
+ "type": "uint40"
844
+ }
845
+ ],
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "inputs": [
851
+ {
852
+ "internalType": "NftId",
853
+ "name": "policyNftId",
854
+ "type": "uint96"
855
+ },
856
+ {
857
+ "internalType": "PayoutId",
858
+ "name": "payoutId",
859
+ "type": "uint40"
860
+ }
861
+ ],
862
+ "name": "getPayoutInfo",
863
+ "outputs": [
864
+ {
865
+ "components": [
866
+ {
531
867
  "internalType": "ClaimId",
532
868
  "name": "claimId",
533
869
  "type": "uint16"
@@ -537,6 +873,11 @@
537
873
  "name": "amount",
538
874
  "type": "uint96"
539
875
  },
876
+ {
877
+ "internalType": "address",
878
+ "name": "beneficiary",
879
+ "type": "address"
880
+ },
540
881
  {
541
882
  "internalType": "bytes",
542
883
  "name": "data",
@@ -566,7 +907,7 @@
566
907
  {
567
908
  "internalType": "PayoutId",
568
909
  "name": "payoutId",
569
- "type": "uint24"
910
+ "type": "uint40"
570
911
  }
571
912
  ],
572
913
  "name": "getPayoutState",
@@ -622,11 +963,6 @@
622
963
  "name": "premiumAmount",
623
964
  "type": "uint96"
624
965
  },
625
- {
626
- "internalType": "Amount",
627
- "name": "premiumPaidAmount",
628
- "type": "uint96"
629
- },
630
966
  {
631
967
  "internalType": "Seconds",
632
968
  "name": "lifetime",
@@ -639,7 +975,7 @@
639
975
  },
640
976
  {
641
977
  "internalType": "bytes",
642
- "name": "policyData",
978
+ "name": "processData",
643
979
  "type": "bytes"
644
980
  },
645
981
  {
@@ -686,6 +1022,30 @@
686
1022
  "stateMutability": "view",
687
1023
  "type": "function"
688
1024
  },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "RiskId",
1029
+ "name": "riskId",
1030
+ "type": "bytes8"
1031
+ },
1032
+ {
1033
+ "internalType": "uint256",
1034
+ "name": "idx",
1035
+ "type": "uint256"
1036
+ }
1037
+ ],
1038
+ "name": "getPolicyNftIdForRisk",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "NftId",
1042
+ "name": "linkedPolicyNftId",
1043
+ "type": "uint96"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
689
1049
  {
690
1050
  "inputs": [
691
1051
  {
@@ -709,80 +1069,51 @@
709
1069
  "inputs": [
710
1070
  {
711
1071
  "internalType": "NftId",
712
- "name": "productNftId",
1072
+ "name": "poolNftId",
713
1073
  "type": "uint96"
714
1074
  }
715
1075
  ],
716
- "name": "getProductSetupInfo",
1076
+ "name": "getPoolInfo",
717
1077
  "outputs": [
718
1078
  {
719
1079
  "components": [
720
1080
  {
721
- "internalType": "contract IERC20Metadata",
722
- "name": "token",
723
- "type": "address"
724
- },
725
- {
726
- "internalType": "contract TokenHandler",
727
- "name": "tokenHandler",
728
- "type": "address"
729
- },
730
- {
731
- "internalType": "NftId",
732
- "name": "distributionNftId",
1081
+ "internalType": "Amount",
1082
+ "name": "maxBalanceAmount",
733
1083
  "type": "uint96"
734
1084
  },
735
1085
  {
736
- "internalType": "NftId",
737
- "name": "poolNftId",
738
- "type": "uint96"
1086
+ "internalType": "bool",
1087
+ "name": "isInterceptingBundleTransfers",
1088
+ "type": "bool"
739
1089
  },
740
1090
  {
741
- "components": [
742
- {
743
- "internalType": "UFixed",
744
- "name": "fractionalFee",
745
- "type": "uint256"
746
- },
747
- {
748
- "internalType": "uint256",
749
- "name": "fixedFee",
750
- "type": "uint256"
751
- }
752
- ],
753
- "internalType": "struct Fee",
754
- "name": "productFee",
755
- "type": "tuple"
1091
+ "internalType": "bool",
1092
+ "name": "isProcessingConfirmedClaims",
1093
+ "type": "bool"
756
1094
  },
757
1095
  {
758
- "components": [
759
- {
760
- "internalType": "UFixed",
761
- "name": "fractionalFee",
762
- "type": "uint256"
763
- },
764
- {
765
- "internalType": "uint256",
766
- "name": "fixedFee",
767
- "type": "uint256"
768
- }
769
- ],
770
- "internalType": "struct Fee",
771
- "name": "processingFee",
772
- "type": "tuple"
1096
+ "internalType": "bool",
1097
+ "name": "isExternallyManaged",
1098
+ "type": "bool"
773
1099
  },
774
1100
  {
775
1101
  "internalType": "bool",
776
- "name": "isIntercepting",
1102
+ "name": "isVerifyingApplications",
777
1103
  "type": "bool"
778
1104
  },
779
1105
  {
780
- "internalType": "address",
781
- "name": "wallet",
782
- "type": "address"
1106
+ "internalType": "UFixed",
1107
+ "name": "collateralizationLevel",
1108
+ "type": "uint256"
1109
+ },
1110
+ {
1111
+ "internalType": "UFixed",
1112
+ "name": "retentionLevel",
1113
+ "type": "uint256"
783
1114
  }
784
1115
  ],
785
- "internalType": "struct ISetup.ProductSetupInfo",
1116
+ "internalType": "struct IComponents.PoolInfo",
786
1117
  "name": "info",
787
1118
  "type": "tuple"
788
1119
  }
@@ -793,55 +1124,387 @@
793
1124
  {
794
1125
  "inputs": [
795
1126
  {
796
- "internalType": "ReferralId",
797
- "name": "referralId",
798
- "type": "bytes8"
1127
+ "internalType": "NftId",
1128
+ "name": "policyNftId",
1129
+ "type": "uint96"
799
1130
  }
800
1131
  ],
801
- "name": "getReferralInfo",
1132
+ "name": "getPremiumInfo",
802
1133
  "outputs": [
803
1134
  {
804
1135
  "components": [
805
1136
  {
806
- "internalType": "NftId",
807
- "name": "distributorNftId",
1137
+ "internalType": "Amount",
1138
+ "name": "productFeeAmount",
808
1139
  "type": "uint96"
809
1140
  },
810
1141
  {
811
- "internalType": "string",
812
- "name": "referralCode",
813
- "type": "string"
1142
+ "internalType": "Amount",
1143
+ "name": "distributionFeeAndCommissionAmount",
1144
+ "type": "uint96"
814
1145
  },
815
1146
  {
816
- "internalType": "UFixed",
817
- "name": "discountPercentage",
818
- "type": "uint256"
1147
+ "internalType": "Amount",
1148
+ "name": "poolPremiumAndFeeAmount",
1149
+ "type": "uint96"
819
1150
  },
820
1151
  {
821
- "internalType": "uint32",
822
- "name": "maxReferrals",
823
- "type": "uint32"
1152
+ "internalType": "Amount",
1153
+ "name": "netPremiumAmount",
1154
+ "type": "uint96"
824
1155
  },
825
1156
  {
826
- "internalType": "uint32",
827
- "name": "usedReferrals",
828
- "type": "uint32"
1157
+ "internalType": "Amount",
1158
+ "name": "fullPremiumAmount",
1159
+ "type": "uint96"
829
1160
  },
830
1161
  {
831
- "internalType": "Timestamp",
832
- "name": "expiryAt",
833
- "type": "uint40"
1162
+ "internalType": "Amount",
1163
+ "name": "premiumAmount",
1164
+ "type": "uint96"
834
1165
  },
835
1166
  {
836
- "internalType": "bytes",
837
- "name": "data",
838
- "type": "bytes"
839
- }
840
- ],
841
- "internalType": "struct IDistribution.ReferralInfo",
842
- "name": "info",
843
- "type": "tuple"
844
- }
1167
+ "internalType": "Amount",
1168
+ "name": "productFeeFixAmount",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "poolFeeFixAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "Amount",
1178
+ "name": "bundleFeeFixAmount",
1179
+ "type": "uint96"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "distributionFeeFixAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "productFeeVarAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "poolFeeVarAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Amount",
1198
+ "name": "bundleFeeVarAmount",
1199
+ "type": "uint96"
1200
+ },
1201
+ {
1202
+ "internalType": "Amount",
1203
+ "name": "distributionFeeVarAmount",
1204
+ "type": "uint96"
1205
+ },
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "distributionOwnerFeeFixAmount",
1209
+ "type": "uint96"
1210
+ },
1211
+ {
1212
+ "internalType": "Amount",
1213
+ "name": "distributionOwnerFeeVarAmount",
1214
+ "type": "uint96"
1215
+ },
1216
+ {
1217
+ "internalType": "Amount",
1218
+ "name": "commissionAmount",
1219
+ "type": "uint96"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "discountAmount",
1224
+ "type": "uint96"
1225
+ }
1226
+ ],
1227
+ "internalType": "struct IPolicy.PremiumInfo",
1228
+ "name": "info",
1229
+ "type": "tuple"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [
1237
+ {
1238
+ "internalType": "NftId",
1239
+ "name": "policyNftId",
1240
+ "type": "uint96"
1241
+ }
1242
+ ],
1243
+ "name": "getPremiumInfoState",
1244
+ "outputs": [
1245
+ {
1246
+ "internalType": "StateId",
1247
+ "name": "state",
1248
+ "type": "uint8"
1249
+ }
1250
+ ],
1251
+ "stateMutability": "view",
1252
+ "type": "function"
1253
+ },
1254
+ {
1255
+ "inputs": [
1256
+ {
1257
+ "internalType": "NftId",
1258
+ "name": "productNftId",
1259
+ "type": "uint96"
1260
+ }
1261
+ ],
1262
+ "name": "getProductInfo",
1263
+ "outputs": [
1264
+ {
1265
+ "components": [
1266
+ {
1267
+ "internalType": "bool",
1268
+ "name": "isProcessingFundedClaims",
1269
+ "type": "bool"
1270
+ },
1271
+ {
1272
+ "internalType": "bool",
1273
+ "name": "isInterceptingPolicyTransfers",
1274
+ "type": "bool"
1275
+ },
1276
+ {
1277
+ "internalType": "bool",
1278
+ "name": "hasDistribution",
1279
+ "type": "bool"
1280
+ },
1281
+ {
1282
+ "internalType": "uint8",
1283
+ "name": "expectedNumberOfOracles",
1284
+ "type": "uint8"
1285
+ },
1286
+ {
1287
+ "internalType": "uint8",
1288
+ "name": "numberOfOracles",
1289
+ "type": "uint8"
1290
+ },
1291
+ {
1292
+ "internalType": "NftId",
1293
+ "name": "poolNftId",
1294
+ "type": "uint96"
1295
+ },
1296
+ {
1297
+ "internalType": "NftId",
1298
+ "name": "distributionNftId",
1299
+ "type": "uint96"
1300
+ },
1301
+ {
1302
+ "internalType": "NftId[]",
1303
+ "name": "oracleNftId",
1304
+ "type": "uint96[]"
1305
+ }
1306
+ ],
1307
+ "internalType": "struct IComponents.ProductInfo",
1308
+ "name": "info",
1309
+ "type": "tuple"
1310
+ }
1311
+ ],
1312
+ "stateMutability": "view",
1313
+ "type": "function"
1314
+ },
1315
+ {
1316
+ "inputs": [
1317
+ {
1318
+ "internalType": "uint256",
1319
+ "name": "idx",
1320
+ "type": "uint256"
1321
+ }
1322
+ ],
1323
+ "name": "getProductNftId",
1324
+ "outputs": [
1325
+ {
1326
+ "internalType": "NftId",
1327
+ "name": "productNftId",
1328
+ "type": "uint96"
1329
+ }
1330
+ ],
1331
+ "stateMutability": "view",
1332
+ "type": "function"
1333
+ },
1334
+ {
1335
+ "inputs": [
1336
+ {
1337
+ "internalType": "ReferralId",
1338
+ "name": "referralId",
1339
+ "type": "bytes8"
1340
+ }
1341
+ ],
1342
+ "name": "getReferralInfo",
1343
+ "outputs": [
1344
+ {
1345
+ "components": [
1346
+ {
1347
+ "internalType": "NftId",
1348
+ "name": "distributionNftId",
1349
+ "type": "uint96"
1350
+ },
1351
+ {
1352
+ "internalType": "NftId",
1353
+ "name": "distributorNftId",
1354
+ "type": "uint96"
1355
+ },
1356
+ {
1357
+ "internalType": "string",
1358
+ "name": "referralCode",
1359
+ "type": "string"
1360
+ },
1361
+ {
1362
+ "internalType": "UFixed",
1363
+ "name": "discountPercentage",
1364
+ "type": "uint256"
1365
+ },
1366
+ {
1367
+ "internalType": "uint32",
1368
+ "name": "maxReferrals",
1369
+ "type": "uint32"
1370
+ },
1371
+ {
1372
+ "internalType": "uint32",
1373
+ "name": "usedReferrals",
1374
+ "type": "uint32"
1375
+ },
1376
+ {
1377
+ "internalType": "Timestamp",
1378
+ "name": "expiryAt",
1379
+ "type": "uint40"
1380
+ },
1381
+ {
1382
+ "internalType": "bytes",
1383
+ "name": "data",
1384
+ "type": "bytes"
1385
+ }
1386
+ ],
1387
+ "internalType": "struct IDistribution.ReferralInfo",
1388
+ "name": "info",
1389
+ "type": "tuple"
1390
+ }
1391
+ ],
1392
+ "stateMutability": "view",
1393
+ "type": "function"
1394
+ },
1395
+ {
1396
+ "inputs": [],
1397
+ "name": "getRegistry",
1398
+ "outputs": [
1399
+ {
1400
+ "internalType": "contract IRegistry",
1401
+ "name": "registry",
1402
+ "type": "address"
1403
+ }
1404
+ ],
1405
+ "stateMutability": "view",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [
1410
+ {
1411
+ "internalType": "NftId",
1412
+ "name": "policyNftId",
1413
+ "type": "uint96"
1414
+ }
1415
+ ],
1416
+ "name": "getRemainingClaimableAmount",
1417
+ "outputs": [
1418
+ {
1419
+ "internalType": "Amount",
1420
+ "name": "remainingClaimableAmount",
1421
+ "type": "uint96"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "internalType": "RequestId",
1431
+ "name": "requestId",
1432
+ "type": "uint64"
1433
+ }
1434
+ ],
1435
+ "name": "getRequestInfo",
1436
+ "outputs": [
1437
+ {
1438
+ "components": [
1439
+ {
1440
+ "internalType": "NftId",
1441
+ "name": "requesterNftId",
1442
+ "type": "uint96"
1443
+ },
1444
+ {
1445
+ "internalType": "string",
1446
+ "name": "callbackMethodName",
1447
+ "type": "string"
1448
+ },
1449
+ {
1450
+ "internalType": "NftId",
1451
+ "name": "oracleNftId",
1452
+ "type": "uint96"
1453
+ },
1454
+ {
1455
+ "internalType": "bytes",
1456
+ "name": "requestData",
1457
+ "type": "bytes"
1458
+ },
1459
+ {
1460
+ "internalType": "bytes",
1461
+ "name": "responseData",
1462
+ "type": "bytes"
1463
+ },
1464
+ {
1465
+ "internalType": "Timestamp",
1466
+ "name": "respondedAt",
1467
+ "type": "uint40"
1468
+ },
1469
+ {
1470
+ "internalType": "Timestamp",
1471
+ "name": "expiredAt",
1472
+ "type": "uint40"
1473
+ },
1474
+ {
1475
+ "internalType": "bool",
1476
+ "name": "isCancelled",
1477
+ "type": "bool"
1478
+ }
1479
+ ],
1480
+ "internalType": "struct IOracle.RequestInfo",
1481
+ "name": "requestInfo",
1482
+ "type": "tuple"
1483
+ }
1484
+ ],
1485
+ "stateMutability": "view",
1486
+ "type": "function"
1487
+ },
1488
+ {
1489
+ "inputs": [
1490
+ {
1491
+ "internalType": "NftId",
1492
+ "name": "productNftId",
1493
+ "type": "uint96"
1494
+ },
1495
+ {
1496
+ "internalType": "uint256",
1497
+ "name": "idx",
1498
+ "type": "uint256"
1499
+ }
1500
+ ],
1501
+ "name": "getRiskId",
1502
+ "outputs": [
1503
+ {
1504
+ "internalType": "RiskId",
1505
+ "name": "riskId",
1506
+ "type": "bytes8"
1507
+ }
845
1508
  ],
846
1509
  "stateMutability": "view",
847
1510
  "type": "function"
@@ -863,6 +1526,11 @@
863
1526
  "name": "productNftId",
864
1527
  "type": "uint96"
865
1528
  },
1529
+ {
1530
+ "internalType": "Timestamp",
1531
+ "name": "createdAt",
1532
+ "type": "uint40"
1533
+ },
866
1534
  {
867
1535
  "internalType": "bytes",
868
1536
  "name": "data",
@@ -878,19 +1546,294 @@
878
1546
  "type": "function"
879
1547
  },
880
1548
  {
881
- "inputs": [
882
- {
883
- "internalType": "NftId",
884
- "name": "productNftId",
885
- "type": "uint96"
886
- }
887
- ],
888
- "name": "getTokenHandler",
1549
+ "inputs": [],
1550
+ "name": "getRiskSet",
1551
+ "outputs": [
1552
+ {
1553
+ "internalType": "contract RiskSet",
1554
+ "name": "riskSet",
1555
+ "type": "address"
1556
+ }
1557
+ ],
1558
+ "stateMutability": "view",
1559
+ "type": "function"
1560
+ },
1561
+ {
1562
+ "inputs": [
1563
+ {
1564
+ "internalType": "RiskId",
1565
+ "name": "riskId",
1566
+ "type": "bytes8"
1567
+ }
1568
+ ],
1569
+ "name": "getRiskState",
1570
+ "outputs": [
1571
+ {
1572
+ "internalType": "StateId",
1573
+ "name": "stateId",
1574
+ "type": "uint8"
1575
+ }
1576
+ ],
1577
+ "stateMutability": "view",
1578
+ "type": "function"
1579
+ },
1580
+ {
1581
+ "inputs": [
1582
+ {
1583
+ "internalType": "Key32",
1584
+ "name": "key",
1585
+ "type": "bytes32"
1586
+ }
1587
+ ],
1588
+ "name": "getState",
1589
+ "outputs": [
1590
+ {
1591
+ "internalType": "StateId",
1592
+ "name": "state",
1593
+ "type": "uint8"
1594
+ }
1595
+ ],
1596
+ "stateMutability": "view",
1597
+ "type": "function"
1598
+ },
1599
+ {
1600
+ "inputs": [
1601
+ {
1602
+ "internalType": "NftId",
1603
+ "name": "componentNftId",
1604
+ "type": "uint96"
1605
+ }
1606
+ ],
1607
+ "name": "getToken",
1608
+ "outputs": [
1609
+ {
1610
+ "internalType": "contract IERC20Metadata",
1611
+ "name": "token",
1612
+ "type": "address"
1613
+ }
1614
+ ],
1615
+ "stateMutability": "view",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "internalType": "NftId",
1622
+ "name": "componentNftId",
1623
+ "type": "uint96"
1624
+ }
1625
+ ],
1626
+ "name": "getTokenHandler",
1627
+ "outputs": [
1628
+ {
1629
+ "internalType": "contract TokenHandler",
1630
+ "name": "tokenHandler",
1631
+ "type": "address"
1632
+ }
1633
+ ],
1634
+ "stateMutability": "view",
1635
+ "type": "function"
1636
+ },
1637
+ {
1638
+ "inputs": [
1639
+ {
1640
+ "internalType": "NftId",
1641
+ "name": "componentNftId",
1642
+ "type": "uint96"
1643
+ }
1644
+ ],
1645
+ "name": "getWallet",
1646
+ "outputs": [
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "wallet",
1650
+ "type": "address"
1651
+ }
1652
+ ],
1653
+ "stateMutability": "view",
1654
+ "type": "function"
1655
+ },
1656
+ {
1657
+ "inputs": [
1658
+ {
1659
+ "internalType": "address",
1660
+ "name": "account",
1661
+ "type": "address"
1662
+ },
1663
+ {
1664
+ "internalType": "RoleId",
1665
+ "name": "roleId",
1666
+ "type": "uint64"
1667
+ }
1668
+ ],
1669
+ "name": "hasAdminRole",
1670
+ "outputs": [
1671
+ {
1672
+ "internalType": "bool",
1673
+ "name": "isMember",
1674
+ "type": "bool"
1675
+ }
1676
+ ],
1677
+ "stateMutability": "view",
1678
+ "type": "function"
1679
+ },
1680
+ {
1681
+ "inputs": [
1682
+ {
1683
+ "internalType": "address",
1684
+ "name": "account",
1685
+ "type": "address"
1686
+ },
1687
+ {
1688
+ "internalType": "RoleId",
1689
+ "name": "roleId",
1690
+ "type": "uint64"
1691
+ }
1692
+ ],
1693
+ "name": "hasRole",
1694
+ "outputs": [
1695
+ {
1696
+ "internalType": "bool",
1697
+ "name": "isMember",
1698
+ "type": "bool"
1699
+ }
1700
+ ],
1701
+ "stateMutability": "view",
1702
+ "type": "function"
1703
+ },
1704
+ {
1705
+ "inputs": [],
1706
+ "name": "initialize",
1707
+ "outputs": [],
1708
+ "stateMutability": "nonpayable",
1709
+ "type": "function"
1710
+ },
1711
+ {
1712
+ "inputs": [
1713
+ {
1714
+ "internalType": "address",
1715
+ "name": "instanceAddress",
1716
+ "type": "address"
1717
+ }
1718
+ ],
1719
+ "name": "initializeWithInstance",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1722
+ "type": "function"
1723
+ },
1724
+ {
1725
+ "inputs": [
1726
+ {
1727
+ "internalType": "address",
1728
+ "name": "target",
1729
+ "type": "address"
1730
+ }
1731
+ ],
1732
+ "name": "isLocked",
1733
+ "outputs": [
1734
+ {
1735
+ "internalType": "bool",
1736
+ "name": "",
1737
+ "type": "bool"
1738
+ }
1739
+ ],
1740
+ "stateMutability": "view",
1741
+ "type": "function"
1742
+ },
1743
+ {
1744
+ "inputs": [
1745
+ {
1746
+ "internalType": "NftId",
1747
+ "name": "distributionNftId",
1748
+ "type": "uint96"
1749
+ },
1750
+ {
1751
+ "internalType": "ReferralId",
1752
+ "name": "referralId",
1753
+ "type": "bytes8"
1754
+ }
1755
+ ],
1756
+ "name": "isReferralValid",
1757
+ "outputs": [
1758
+ {
1759
+ "internalType": "bool",
1760
+ "name": "isValid",
1761
+ "type": "bool"
1762
+ }
1763
+ ],
1764
+ "stateMutability": "view",
1765
+ "type": "function"
1766
+ },
1767
+ {
1768
+ "inputs": [
1769
+ {
1770
+ "internalType": "NftId",
1771
+ "name": "policyNftId",
1772
+ "type": "uint96"
1773
+ },
1774
+ {
1775
+ "internalType": "ClaimId",
1776
+ "name": "claimId",
1777
+ "type": "uint16"
1778
+ }
1779
+ ],
1780
+ "name": "payouts",
1781
+ "outputs": [
1782
+ {
1783
+ "internalType": "uint24",
1784
+ "name": "payoutCount",
1785
+ "type": "uint24"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view",
1789
+ "type": "function"
1790
+ },
1791
+ {
1792
+ "inputs": [
1793
+ {
1794
+ "internalType": "RiskId",
1795
+ "name": "riskId",
1796
+ "type": "bytes8"
1797
+ }
1798
+ ],
1799
+ "name": "policiesForRisk",
1800
+ "outputs": [
1801
+ {
1802
+ "internalType": "uint256",
1803
+ "name": "linkedPolicies",
1804
+ "type": "uint256"
1805
+ }
1806
+ ],
1807
+ "stateMutability": "view",
1808
+ "type": "function"
1809
+ },
1810
+ {
1811
+ "inputs": [
1812
+ {
1813
+ "internalType": "NftId",
1814
+ "name": "policyNftId",
1815
+ "type": "uint96"
1816
+ }
1817
+ ],
1818
+ "name": "policyIsActive",
1819
+ "outputs": [
1820
+ {
1821
+ "internalType": "bool",
1822
+ "name": "isCloseable",
1823
+ "type": "bool"
1824
+ }
1825
+ ],
1826
+ "stateMutability": "view",
1827
+ "type": "function"
1828
+ },
1829
+ {
1830
+ "inputs": [],
1831
+ "name": "products",
889
1832
  "outputs": [
890
1833
  {
891
- "internalType": "address",
892
- "name": "tokenHandler",
893
- "type": "address"
1834
+ "internalType": "uint256",
1835
+ "name": "productCount",
1836
+ "type": "uint256"
894
1837
  }
895
1838
  ],
896
1839
  "stateMutability": "view",
@@ -904,136 +1847,12 @@
904
1847
  "type": "uint96"
905
1848
  }
906
1849
  ],
907
- "name": "getTreasuryInfo",
1850
+ "name": "risks",
908
1851
  "outputs": [
909
1852
  {
910
- "components": [
911
- {
912
- "internalType": "contract IERC20Metadata",
913
- "name": "token",
914
- "type": "address"
915
- },
916
- {
917
- "internalType": "contract TokenHandler",
918
- "name": "tokenHandler",
919
- "type": "address"
920
- },
921
- {
922
- "internalType": "NftId",
923
- "name": "distributionNftId",
924
- "type": "uint96"
925
- },
926
- {
927
- "internalType": "NftId",
928
- "name": "poolNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "components": [
933
- {
934
- "internalType": "UFixed",
935
- "name": "fractionalFee",
936
- "type": "uint256"
937
- },
938
- {
939
- "internalType": "uint256",
940
- "name": "fixedFee",
941
- "type": "uint256"
942
- }
943
- ],
944
- "internalType": "struct Fee",
945
- "name": "distributionFee",
946
- "type": "tuple"
947
- },
948
- {
949
- "components": [
950
- {
951
- "internalType": "UFixed",
952
- "name": "fractionalFee",
953
- "type": "uint256"
954
- },
955
- {
956
- "internalType": "uint256",
957
- "name": "fixedFee",
958
- "type": "uint256"
959
- }
960
- ],
961
- "internalType": "struct Fee",
962
- "name": "productFee",
963
- "type": "tuple"
964
- },
965
- {
966
- "components": [
967
- {
968
- "internalType": "UFixed",
969
- "name": "fractionalFee",
970
- "type": "uint256"
971
- },
972
- {
973
- "internalType": "uint256",
974
- "name": "fixedFee",
975
- "type": "uint256"
976
- }
977
- ],
978
- "internalType": "struct Fee",
979
- "name": "processingFee",
980
- "type": "tuple"
981
- },
982
- {
983
- "components": [
984
- {
985
- "internalType": "UFixed",
986
- "name": "fractionalFee",
987
- "type": "uint256"
988
- },
989
- {
990
- "internalType": "uint256",
991
- "name": "fixedFee",
992
- "type": "uint256"
993
- }
994
- ],
995
- "internalType": "struct Fee",
996
- "name": "poolFee",
997
- "type": "tuple"
998
- },
999
- {
1000
- "components": [
1001
- {
1002
- "internalType": "UFixed",
1003
- "name": "fractionalFee",
1004
- "type": "uint256"
1005
- },
1006
- {
1007
- "internalType": "uint256",
1008
- "name": "fixedFee",
1009
- "type": "uint256"
1010
- }
1011
- ],
1012
- "internalType": "struct Fee",
1013
- "name": "stakingFee",
1014
- "type": "tuple"
1015
- },
1016
- {
1017
- "components": [
1018
- {
1019
- "internalType": "UFixed",
1020
- "name": "fractionalFee",
1021
- "type": "uint256"
1022
- },
1023
- {
1024
- "internalType": "uint256",
1025
- "name": "fixedFee",
1026
- "type": "uint256"
1027
- }
1028
- ],
1029
- "internalType": "struct Fee",
1030
- "name": "performanceFee",
1031
- "type": "tuple"
1032
- }
1033
- ],
1034
- "internalType": "struct ITreasury.TreasuryInfo",
1035
- "name": "info",
1036
- "type": "tuple"
1853
+ "internalType": "uint256",
1854
+ "name": "riskCount",
1855
+ "type": "uint256"
1037
1856
  }
1038
1857
  ],
1039
1858
  "stateMutability": "view",
@@ -1042,44 +1861,50 @@
1042
1861
  {
1043
1862
  "inputs": [
1044
1863
  {
1045
- "internalType": "address",
1046
- "name": "instance",
1047
- "type": "address"
1864
+ "internalType": "NftId",
1865
+ "name": "poolNftId",
1866
+ "type": "uint96"
1048
1867
  }
1049
1868
  ],
1050
- "name": "initialize",
1051
- "outputs": [],
1052
- "stateMutability": "nonpayable",
1869
+ "name": "toBundleKey",
1870
+ "outputs": [
1871
+ {
1872
+ "internalType": "Key32",
1873
+ "name": "",
1874
+ "type": "bytes32"
1875
+ }
1876
+ ],
1877
+ "stateMutability": "pure",
1053
1878
  "type": "function"
1054
1879
  },
1055
1880
  {
1056
1881
  "inputs": [
1057
1882
  {
1058
1883
  "internalType": "NftId",
1059
- "name": "policyNftId",
1884
+ "name": "componentNftId",
1060
1885
  "type": "uint96"
1061
1886
  }
1062
1887
  ],
1063
- "name": "policyIsCloseable",
1888
+ "name": "toComponentKey",
1064
1889
  "outputs": [
1065
1890
  {
1066
- "internalType": "bool",
1067
- "name": "isCloseable",
1068
- "type": "bool"
1891
+ "internalType": "Key32",
1892
+ "name": "",
1893
+ "type": "bytes32"
1069
1894
  }
1070
1895
  ],
1071
- "stateMutability": "view",
1896
+ "stateMutability": "pure",
1072
1897
  "type": "function"
1073
1898
  },
1074
1899
  {
1075
1900
  "inputs": [
1076
1901
  {
1077
1902
  "internalType": "NftId",
1078
- "name": "poolNftId",
1903
+ "name": "distributionNftId",
1079
1904
  "type": "uint96"
1080
1905
  }
1081
1906
  ],
1082
- "name": "toBundleKey",
1907
+ "name": "toDistributionKey",
1083
1908
  "outputs": [
1084
1909
  {
1085
1910
  "internalType": "Key32",
@@ -1094,11 +1919,11 @@
1094
1919
  "inputs": [
1095
1920
  {
1096
1921
  "internalType": "NftId",
1097
- "name": "distributionNftId",
1922
+ "name": "distributorNftId",
1098
1923
  "type": "uint96"
1099
1924
  }
1100
1925
  ],
1101
- "name": "toDistributionKey",
1926
+ "name": "toDistributorKey",
1102
1927
  "outputs": [
1103
1928
  {
1104
1929
  "internalType": "Key32",
@@ -1113,11 +1938,11 @@
1113
1938
  "inputs": [
1114
1939
  {
1115
1940
  "internalType": "NftId",
1116
- "name": "distributorNftId",
1941
+ "name": "productNftId",
1117
1942
  "type": "uint96"
1118
1943
  }
1119
1944
  ],
1120
- "name": "toDistributorKey",
1945
+ "name": "toFeeKey",
1121
1946
  "outputs": [
1122
1947
  {
1123
1948
  "internalType": "Key32",
@@ -1189,11 +2014,11 @@
1189
2014
  "inputs": [
1190
2015
  {
1191
2016
  "internalType": "NftId",
1192
- "name": "productNftId",
2017
+ "name": "policyNftId",
1193
2018
  "type": "uint96"
1194
2019
  }
1195
2020
  ],
1196
- "name": "toProductKey",
2021
+ "name": "toPremiumKey",
1197
2022
  "outputs": [
1198
2023
  {
1199
2024
  "internalType": "Key32",
@@ -1208,21 +2033,16 @@
1208
2033
  "inputs": [
1209
2034
  {
1210
2035
  "internalType": "NftId",
1211
- "name": "distributionNftId",
2036
+ "name": "productNftId",
1212
2037
  "type": "uint96"
1213
- },
1214
- {
1215
- "internalType": "string",
1216
- "name": "referralCode",
1217
- "type": "string"
1218
2038
  }
1219
2039
  ],
1220
- "name": "toReferralId",
2040
+ "name": "toProductKey",
1221
2041
  "outputs": [
1222
2042
  {
1223
- "internalType": "ReferralId",
1224
- "name": "referralId",
1225
- "type": "bytes8"
2043
+ "internalType": "Key32",
2044
+ "name": "",
2045
+ "type": "bytes32"
1226
2046
  }
1227
2047
  ],
1228
2048
  "stateMutability": "pure",
@@ -1232,16 +2052,21 @@
1232
2052
  "inputs": [
1233
2053
  {
1234
2054
  "internalType": "NftId",
1235
- "name": "productNftId",
2055
+ "name": "distributionNftId",
1236
2056
  "type": "uint96"
2057
+ },
2058
+ {
2059
+ "internalType": "string",
2060
+ "name": "referralCode",
2061
+ "type": "string"
1237
2062
  }
1238
2063
  ],
1239
- "name": "toTreasuryKey",
2064
+ "name": "toReferralId",
1240
2065
  "outputs": [
1241
2066
  {
1242
- "internalType": "Key32",
1243
- "name": "",
1244
- "type": "bytes32"
2067
+ "internalType": "ReferralId",
2068
+ "name": "referralId",
2069
+ "type": "bytes8"
1245
2070
  }
1246
2071
  ],
1247
2072
  "stateMutability": "pure",
@@ -1272,296 +2097,360 @@
1272
2097
  "type": "function"
1273
2098
  }
1274
2099
  ],
1275
- "bytecode": "0x608060405234801561001057600080fd5b506137fd806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b610208610203366004612052565b61063a565b6040519081526020015b60405180910390f35b61022e6102293660046120a1565b6106c2565b604051610212919061210e565b6102086102493660046121bf565b61081b565b61026161025c3660046121bf565b6108b5565b60405161021291906121dc565b61020861027c3660046121bf565b61097f565b61029461028f366004612249565b6109ac565b604051610212919061227f565b6102b46102af366004612460565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db3660046124f2565b610b7b565b6102f36102ee3660046121bf565b610bb6565b604051610212919061250b565b61031361030e366004612249565b610c5c565b60405160ff9091168152602001610212565b6102086103333660046121bf565b610d5d565b61034b6103463660046121bf565b610d8a565b6040519015158152602001610212565b6103136103693660046125fe565b611019565b61020861037c3660046121bf565b61107d565b61020861038f3660046121bf565b6110aa565b6103a76103a23660046120a1565b6110d7565b604051610212919061262c565b6103136103c23660046121bf565b611200565b6103da6103d53660046121bf565b61127f565b6040516102129190612662565b6103fa6103f53660046121bf565b611325565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6104896104843660046121bf565b6113cb565b6040516001600160a01b039091168152602001610212565b6104b46104af3660046124f2565b611479565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c3660046125fe565b61150d565b604051610212919061270f565b61054161053c3660046120a1565b61165b565b6040805192835260ff909116602083015201610212565b61056b6105663660046121bf565b611903565b6040516102129190612783565b61058b610586366004612932565b611a29565b005b6105a061059b3660046120a1565b611ab8565b604051610212919061294f565b6001546001600160a01b0316610489565b6102086105cc3660046121bf565b611c2b565b60005461010090046001600160a01b0316610489565b6105fa6105f53660046121bf565b611c58565b60405161021291906129ff565b61061a6106153660046121bf565b611d2d565b6040516102129190612a80565b6102086106353660046121bf565b611e75565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612b82565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612b82565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612be0565b805190915015610815578080602001905181019061080e9190612c5f565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612b82565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110aa565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612be0565b805190915015610815578080602001905181019061080e9190612d58565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612b82565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612be0565b805190915015610af75780806020019051810190610aef9190612e20565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610b3a9086908690600401612edf565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f01565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610874565b610bbe611f29565b6001546000906001600160a01b03166354f6127f610bdb85611e75565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612be0565b805190915015610815578080602001905181019061080e9190612f4e565b60008054604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044015b602060405180830381865af4158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe9190612b82565b6040518263ffffffff1660e01b8152600401610d1c91815260200190565b602060405180830381865afa158015610d39573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613064565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610844565b600080610d9683611903565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e189190613081565b15610e265750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea79190613081565b15610eb55750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f369190613081565b15610f445750600092915050565b61016081015161ffff1615610f5c5750600092915050565b610f6f8161018001518260800151611ea2565b15610f7d5750600192915050565b61100273__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fed919061309c565b826101e0015164ffffffffff90811691161090565b156110105750600092915050565b50600192915050565b60008054604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401610cbd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610844565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561115b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117f9190612b82565b6040518263ffffffff1660e01b815260040161119d91815260200190565b600060405180830381865afa1580156111ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111e29190810190612be0565b805190915015610815578080602001905181019061080e91906130b9565b6000805461010090046001600160a01b03166309648a9d61122084610d5d565b6040518263ffffffff1660e01b815260040161123e91815260200190565b602060405180830381865afa15801561125b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190613064565b611287611f9a565b6001546000906001600160a01b03166354f6127f6112a48561107d565b6040518263ffffffff1660e01b81526004016112c291815260200190565b600060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113079190810190612be0565b805190915015610815578080602001905181019061080e9190613143565b61132d61200a565b6001546000906001600160a01b03166354f6127f61134a8561097f565b6040518263ffffffff1660e01b815260040161136891815260200190565b600060405180830381865afa158015611385573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ad9190810190612be0565b805190915015610815578080602001905181019061080e91906131eb565b60015460009081906001600160a01b03166354f6127f6113ea8561081b565b6040518263ffffffff1660e01b815260040161140891815260200190565b600060405180830381865afa158015611425573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261144d9190810190612be0565b8051909150156108155760008180602001905181019061146d919061326f565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190613340565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af41580156115b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115da9190612b82565b6040518263ffffffff1660e01b81526004016115f891815260200190565b600060405180830381865afa158015611615573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163d9190810190612be0565b805190915015610af75780806020019051810190610aef91906133ba565b6000806000611669846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156116c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ec9190613081565b1561176b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561173a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175e9190612b82565b60645b9250925050915091565b6117ef8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e0919061309c565b64ffffffffff90811691161090565b156118685773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561183d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118619190612b82565b606e611761565b806060015163ffffffff16816080015163ffffffff16106118f75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f09190612b82565b6078611761565b6040810151600a611761565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a885610d5d565b6040518263ffffffff1660e01b81526004016119c691815260200190565b600060405180830381865afa1580156119e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0b9190810190612be0565b805190915015610815578080602001905181019061080e9190613481565b60005460ff1615611a4d5760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7457604051630cc51a5560e21b815260040160405180910390fd5b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b611b1760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611baa9190612b82565b6040518263ffffffff1660e01b8152600401611bc891815260200190565b600060405180830381865afa158015611be5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0d9190810190612be0565b805190915015610815578080602001905181019061080e919061361d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611cac85611c2b565b6040518263ffffffff1660e01b8152600401611cca91815260200190565b600060405180830381865afa158015611ce7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0f9190810190612be0565b805190915015610815578080602001905181019061080e9190613714565b611dd7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611df48561081b565b6040518263ffffffff1660e01b8152600401611e1291815260200190565b600060405180830381865afa158015611e2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e579190810190612be0565b805190915015610815578080602001905181019061080e919061326f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015611f05573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613081565b60405180610120016040528060006001600160601b03168152602001611f62604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611ff6604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611fd4604051806040016040528060008152602001600081525090565b6000806040838503121561206557600080fd5b8235915060208301358060000b811461207d57600080fd5b809150509250929050565b6001600160c01b03198116811461209e57600080fd5b50565b6000602082840312156120b357600080fd5b813561080e81612088565b60005b838110156120d95781810151838201526020016120c1565b50506000910152565b600081518084526120fa8160208601602086016120be565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261213e6101008401826120e2565b90506040840151606084015263ffffffff6060850151166080840152608084015161217160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526121a182826120e2565b95945050505050565b6001600160601b038116811461209e57600080fd5b6000602082840312156121d157600080fd5b813561080e816121aa565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261221a60c08401826120e2565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b6000806040838503121561225c57600080fd5b8235612267816121aa565b9150602083013562ffffff8116811461207d57600080fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260006040830151608060608401526122bc60a08401826120e2565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612311576123116122d9565b60405290565b60405160a081016001600160401b0381118282101715612311576123116122d9565b604080519081016001600160401b0381118282101715612311576123116122d9565b60405161012081016001600160401b0381118282101715612311576123116122d9565b60405161010081016001600160401b0381118282101715612311576123116122d9565b60405160c081016001600160401b0381118282101715612311576123116122d9565b60405161014081016001600160401b0381118282101715612311576123116122d9565b60405161022081016001600160401b0381118282101715612311576123116122d9565b604051601f8201601f191681016001600160401b0381118282101715612431576124316122d9565b604052919050565b60006001600160401b03821115612452576124526122d9565b50601f01601f191660200190565b6000806040838503121561247357600080fd5b823561247e816121aa565b915060208301356001600160401b0381111561249957600080fd5b8301601f810185136124aa57600080fd5b80356124bd6124b882612439565b612409565b8181528660208385010111156124d257600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561250457600080fd5b5035919050565b602081526125256020820183516001600160601b03169052565b60006020830151612543604084018280518252602090810151910152565b5060408301516101408060808501526125606101608501836120e2565b9150606085015161257c60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006125c18187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461209e57600080fd5b6000806040838503121561261157600080fd5b823561261c816121aa565b9150602083013561207d816125ee565b602081526001600160601b0382511660208201526000602083015160408084015261265a60608401826120e2565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916126b1908401826001600160601b03169052565b5060808301516126ce608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261276660e08401826120e2565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261279d6020820183516001600160601b03169052565b600060208301516127b960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010061283f8185018364ffffffffff169052565b80850151915050610220610120818186015261285f6102408601846120e2565b9250808601519050610140601f19868503018187015261287f84836120e2565b93508087015191505061016061289a8187018361ffff169052565b86015190506101806128b18682018361ffff169052565b86015190506101a06128cd868201836001600160601b03169052565b86015190506101c06128e9868201836001600160601b03169052565b86015190506101e06129038682018364ffffffffff169052565b86015190506102006125d78682018364ffffffffff169052565b6001600160a01b038116811461209e57600080fd5b60006020828403121561294457600080fd5b813561080e8161291d565b602081526000825161012080602085015261296e6101408501836120e2565b915060208501516040850152604085015160608501526060850151608085015260808501516129a560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006129db8187018315159052565b860151858403601f19018387015290506129f583826120e2565b9695505050505050565b602081526000825160e06020840152612a1c6101008401826120e2565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612a6660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612185565b81516001600160a01b0316815261020081016020830151612aac60208401826001600160a01b03169052565b506040830151612ac760408401826001600160601b03169052565b506060830151612ae260608401826001600160601b03169052565b506080830151612aff608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612b358185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612b9457600080fd5b5051919050565b600082601f830112612bac57600080fd5b8151612bba6124b882612439565b818152846020838601011115612bcf57600080fd5b61265a8260208301602087016120be565b600060208284031215612bf257600080fd5b81516001600160401b03811115612c0857600080fd5b61265a84828501612b9b565b8051612c1f816121aa565b919050565b63ffffffff8116811461209e57600080fd5b8051612c1f81612c24565b64ffffffffff8116811461209e57600080fd5b8051612c1f81612c41565b600060208284031215612c7157600080fd5b81516001600160401b0380821115612c8857600080fd5b9083019060e08286031215612c9c57600080fd5b612ca46122ef565b612cad83612c14565b8152602083015182811115612cc157600080fd5b612ccd87828601612b9b565b60208301525060408301516040820152612ce960608401612c36565b6060820152612cfa60808401612c36565b6080820152612d0b60a08401612c54565b60a082015260c083015182811115612d2257600080fd5b612d2e87828601612b9b565b60c08301525095945050505050565b8051612c1f81612088565b80518015158114612c1f57600080fd5b600060208284031215612d6a57600080fd5b81516001600160401b0380821115612d8157600080fd5b9083019060a08286031215612d9557600080fd5b612d9d612317565b8251612da881612088565b8152612db660208401612d48565b6020820152604083015182811115612dcd57600080fd5b612dd987828601612b9b565b60408301525060608301519150612def826121aa565b81606082015260808301519250612e0583612c24565b6080810192909252509392505050565b8051612c1f816125ee565b600060208284031215612e3257600080fd5b81516001600160401b0380821115612e4957600080fd5b9083019060808286031215612e5d57600080fd5b604051608081018181108382111715612e7857612e786122d9565b6040528251612e86816125ee565b81526020830151612e96816121aa565b6020820152604083015182811115612ead57600080fd5b612eb987828601612b9b565b60408301525060608301519250612ecf83612c41565b6060810192909252509392505050565b6001600160601b038316815260406020820152600061265a60408301846120e2565b600060208284031215612f1357600080fd5b815161080e81612088565b600060408284031215612f3057600080fd5b612f38612339565b9050815181526020820151602082015292915050565b600060208284031215612f6057600080fd5b81516001600160401b0380821115612f7757600080fd5b908301906101408286031215612f8c57600080fd5b612f9461235b565b612f9d83612c14565b8152612fac8660208501612f1e565b6020820152606083015182811115612fc357600080fd5b612fcf87828601612b9b565b604083015250612fe160808401612c14565b6060820152612ff260a08401612c14565b608082015261300360c08401612c14565b60a082015261301460e08401612c54565b60c08201526101009150613029828401612c54565b60e082015261303b6101208401612c54565b91810191909152949350505050565b60ff8116811461209e57600080fd5b8051612c1f8161304a565b60006020828403121561307657600080fd5b815161080e8161304a565b60006020828403121561309357600080fd5b6106b982612d48565b6000602082840312156130ae57600080fd5b815161080e81612c41565b6000602082840312156130cb57600080fd5b81516001600160401b03808211156130e257600080fd5b90830190604082860312156130f657600080fd5b6130fe612339565b8251613109816121aa565b815260208301518281111561311d57600080fd5b61312987828601612b9b565b60208301525095945050505050565b8051612c1f8161291d565b6000610140828403121561315657600080fd5b61315e61237e565b61316783613138565b815261317560208401613138565b602082015261318660408401612c14565b604082015261319760608401612c14565b60608201526131a98460808501612f1e565b60808201526131bb8460c08501612f1e565b60a08201526131cd6101008401612d48565b60c08201526131df6101208401613138565b60e08201529392505050565b600061010082840312156131fe57600080fd5b6132066123a1565b8251613211816121aa565b815260208301516132218161291d565b60208201526132338460408501612f1e565b60408201526132458460808501612f1e565b606082015260c08301516132588161291d565b608082015260e0929092015160a083015250919050565b6000610200828403121561328257600080fd5b61328a6123c3565b61329383613138565b81526132a160208401613138565b60208201526132b260408401612c14565b60408201526132c360608401612c14565b60608201526132d58460808501612f1e565b60808201526132e78460c08501612f1e565b60a08201526101006132fb85828601612f1e565b60c083015261330e856101408601612f1e565b60e0830152613321856101808601612f1e565b90820152613333846101c08501612f1e565b6101208201529392505050565b600060a0828403121561335257600080fd5b61335a612317565b82516133658161304a565b815260208301516133758161304a565b602082015260408301516133888161291d565b6040820152606083015161339b81612c24565b606082015260808301516133ae81612c24565b60808201529392505050565b6000602082840312156133cc57600080fd5b81516001600160401b03808211156133e357600080fd5b9083019060c082860312156133f757600080fd5b6133ff6123a1565b825161340a816121aa565b8152602083015161341a816121aa565b6020820152604083015161342d8161304a565b604082015261343e60608401613059565b606082015260808301518281111561345557600080fd5b61346187828601612b9b565b60808301525061347360a08401612c54565b60a082015295945050505050565b60006020828403121561349357600080fd5b81516001600160401b03808211156134aa57600080fd5b9083019061022082860312156134bf57600080fd5b6134c76123e6565b6134d083612c14565b81526134de60208401612c14565b60208201526134ef60408401612d3d565b604082015261350060608401612d3d565b606082015261351160808401612c14565b608082015261352260a08401612c14565b60a082015261353360c08401612c14565b60c082015261354460e08401612c54565b60e0820152610100808401518381111561355d57600080fd5b61356988828701612b9b565b828401525050610120808401518381111561358357600080fd5b61358f88828701612b9b565b82840152505061014091506135a5828401612e15565b8282015261016091506135b9828401612e15565b8282015261018091506135cd828401612c14565b828201526101a091506135e1828401612c14565b828201526101c091506135f5828401612c54565b828201526101e09150613609828401612c54565b82820152610200915061303b828401612c54565b60006020828403121561362f57600080fd5b81516001600160401b038082111561364657600080fd5b90830190610120828603121561365b57600080fd5b61366361235b565b82518281111561367257600080fd5b61367e87828601612b9b565b8252506020830151602082015260408301516040820152606083015160608201526136ab60808401612c36565b60808201526136bc60a08401612c36565b60a08201526136cd60c08401612d48565b60c08201526136de60e08401612d48565b60e082015261010080840151838111156136f757600080fd5b61370388828701612b9b565b918301919091525095945050505050565b60006020828403121561372657600080fd5b81516001600160401b038082111561373d57600080fd5b9083019060e0828603121561375157600080fd5b6137596122ef565b82518281111561376857600080fd5b61377487828601612b9b565b82525061378360208401613138565b602082015261379460408401613138565b60408201526137a560608401613138565b60608201526137b660808401612c14565b6080820152612d0b60a08401612c1456fea264697066735822122038d0bf3fa1fa62080a1ddc35945791be3f59e5cb31281de25783aaf14667fb4264736f6c63430008140033",
1276
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b610208610203366004612052565b61063a565b6040519081526020015b60405180910390f35b61022e6102293660046120a1565b6106c2565b604051610212919061210e565b6102086102493660046121bf565b61081b565b61026161025c3660046121bf565b6108b5565b60405161021291906121dc565b61020861027c3660046121bf565b61097f565b61029461028f366004612249565b6109ac565b604051610212919061227f565b6102b46102af366004612460565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db3660046124f2565b610b7b565b6102f36102ee3660046121bf565b610bb6565b604051610212919061250b565b61031361030e366004612249565b610c5c565b60405160ff9091168152602001610212565b6102086103333660046121bf565b610d5d565b61034b6103463660046121bf565b610d8a565b6040519015158152602001610212565b6103136103693660046125fe565b611019565b61020861037c3660046121bf565b61107d565b61020861038f3660046121bf565b6110aa565b6103a76103a23660046120a1565b6110d7565b604051610212919061262c565b6103136103c23660046121bf565b611200565b6103da6103d53660046121bf565b61127f565b6040516102129190612662565b6103fa6103f53660046121bf565b611325565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6104896104843660046121bf565b6113cb565b6040516001600160a01b039091168152602001610212565b6104b46104af3660046124f2565b611479565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c3660046125fe565b61150d565b604051610212919061270f565b61054161053c3660046120a1565b61165b565b6040805192835260ff909116602083015201610212565b61056b6105663660046121bf565b611903565b6040516102129190612783565b61058b610586366004612932565b611a29565b005b6105a061059b3660046120a1565b611ab8565b604051610212919061294f565b6001546001600160a01b0316610489565b6102086105cc3660046121bf565b611c2b565b60005461010090046001600160a01b0316610489565b6105fa6105f53660046121bf565b611c58565b60405161021291906129ff565b61061a6106153660046121bf565b611d2d565b6040516102129190612a80565b6102086106353660046121bf565b611e75565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612b82565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612b82565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612be0565b805190915015610815578080602001905181019061080e9190612c5f565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612b82565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110aa565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612be0565b805190915015610815578080602001905181019061080e9190612d58565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612b82565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612be0565b805190915015610af75780806020019051810190610aef9190612e20565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690610b3a9086908690600401612edf565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f01565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610874565b610bbe611f29565b6001546000906001600160a01b03166354f6127f610bdb85611e75565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612be0565b805190915015610815578080602001905181019061080e9190612f4e565b60008054604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__906359273411906044015b602060405180830381865af4158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe9190612b82565b6040518263ffffffff1660e01b8152600401610d1c91815260200190565b602060405180830381865afa158015610d39573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613064565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610844565b600080610d9683611903565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e189190613081565b15610e265750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea79190613081565b15610eb55750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f369190613081565b15610f445750600092915050565b61016081015161ffff1615610f5c5750600092915050565b610f6f8161018001518260800151611ea2565b15610f7d5750600192915050565b61100273__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fed919061309c565b826101e0015164ffffffffff90811691161090565b156110105750600092915050565b50600192915050565b60008054604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526101009091046001600160a01b0316906309648a9d9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401610cbd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610844565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561115b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117f9190612b82565b6040518263ffffffff1660e01b815260040161119d91815260200190565b600060405180830381865afa1580156111ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111e29190810190612be0565b805190915015610815578080602001905181019061080e91906130b9565b6000805461010090046001600160a01b03166309648a9d61122084610d5d565b6040518263ffffffff1660e01b815260040161123e91815260200190565b602060405180830381865afa15801561125b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190613064565b611287611f9a565b6001546000906001600160a01b03166354f6127f6112a48561107d565b6040518263ffffffff1660e01b81526004016112c291815260200190565b600060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113079190810190612be0565b805190915015610815578080602001905181019061080e9190613143565b61132d61200a565b6001546000906001600160a01b03166354f6127f61134a8561097f565b6040518263ffffffff1660e01b815260040161136891815260200190565b600060405180830381865afa158015611385573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ad9190810190612be0565b805190915015610815578080602001905181019061080e91906131eb565b60015460009081906001600160a01b03166354f6127f6113ea8561081b565b6040518263ffffffff1660e01b815260040161140891815260200190565b600060405180830381865afa158015611425573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261144d9190810190612be0565b8051909150156108155760008180602001905181019061146d919061326f565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190613340565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082015260a0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b2290604401602060405180830381865af41580156115b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115da9190612b82565b6040518263ffffffff1660e01b81526004016115f891815260200190565b600060405180830381865afa158015611615573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163d9190810190612be0565b805190915015610af75780806020019051810190610aef91906133ba565b6000806000611669846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156116c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ec9190613081565b1561176b5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561173a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175e9190612b82565b60645b9250925050915091565b6117ef8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e0919061309c565b64ffffffffff90811691161090565b156118685773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561183d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118619190612b82565b606e611761565b806060015163ffffffff16816080015163ffffffff16106118f75773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f09190612b82565b6078611761565b6040810151600a611761565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a885610d5d565b6040518263ffffffff1660e01b81526004016119c691815260200190565b600060405180830381865afa1580156119e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a0b9190810190612be0565b805190915015610815578080602001905181019061080e9190613481565b60005460ff1615611a4d5760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7457604051630cc51a5560e21b815260040160405180910390fd5b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b611b1760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611baa9190612b82565b6040518263ffffffff1660e01b8152600401611bc891815260200190565b600060405180830381865afa158015611be5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0d9190810190612be0565b805190915015610815578080602001905181019061080e919061361d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611cac85611c2b565b6040518263ffffffff1660e01b8152600401611cca91815260200190565b600060405180830381865afa158015611ce7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0f9190810190612be0565b805190915015610815578080602001905181019061080e9190613714565b611dd7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611df48561081b565b6040518263ffffffff1660e01b8152600401611e1291815260200190565b600060405180830381865afa158015611e2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e579190810190612be0565b805190915015610815578080602001905181019061080e919061326f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015611f05573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613081565b60405180610120016040528060006001600160601b03168152602001611f62604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611ff6604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611fd4604051806040016040528060008152602001600081525090565b6000806040838503121561206557600080fd5b8235915060208301358060000b811461207d57600080fd5b809150509250929050565b6001600160c01b03198116811461209e57600080fd5b50565b6000602082840312156120b357600080fd5b813561080e81612088565b60005b838110156120d95781810151838201526020016120c1565b50506000910152565b600081518084526120fa8160208601602086016120be565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261213e6101008401826120e2565b90506040840151606084015263ffffffff6060850151166080840152608084015161217160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526121a182826120e2565b95945050505050565b6001600160601b038116811461209e57600080fd5b6000602082840312156121d157600080fd5b813561080e816121aa565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261221a60c08401826120e2565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b6000806040838503121561225c57600080fd5b8235612267816121aa565b9150602083013562ffffff8116811461207d57600080fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260006040830151608060608401526122bc60a08401826120e2565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612311576123116122d9565b60405290565b60405160a081016001600160401b0381118282101715612311576123116122d9565b604080519081016001600160401b0381118282101715612311576123116122d9565b60405161012081016001600160401b0381118282101715612311576123116122d9565b60405161010081016001600160401b0381118282101715612311576123116122d9565b60405160c081016001600160401b0381118282101715612311576123116122d9565b60405161014081016001600160401b0381118282101715612311576123116122d9565b60405161022081016001600160401b0381118282101715612311576123116122d9565b604051601f8201601f191681016001600160401b0381118282101715612431576124316122d9565b604052919050565b60006001600160401b03821115612452576124526122d9565b50601f01601f191660200190565b6000806040838503121561247357600080fd5b823561247e816121aa565b915060208301356001600160401b0381111561249957600080fd5b8301601f810185136124aa57600080fd5b80356124bd6124b882612439565b612409565b8181528660208385010111156124d257600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561250457600080fd5b5035919050565b602081526125256020820183516001600160601b03169052565b60006020830151612543604084018280518252602090810151910152565b5060408301516101408060808501526125606101608501836120e2565b9150606085015161257c60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006125c18187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461209e57600080fd5b6000806040838503121561261157600080fd5b823561261c816121aa565b9150602083013561207d816125ee565b602081526001600160601b0382511660208201526000602083015160408084015261265a60608401826120e2565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916126b1908401826001600160601b03169052565b5060808301516126ce608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261276660e08401826120e2565b905064ffffffffff60a08501511660c08401528091505092915050565b6020815261279d6020820183516001600160601b03169052565b600060208301516127b960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010061283f8185018364ffffffffff169052565b80850151915050610220610120818186015261285f6102408601846120e2565b9250808601519050610140601f19868503018187015261287f84836120e2565b93508087015191505061016061289a8187018361ffff169052565b86015190506101806128b18682018361ffff169052565b86015190506101a06128cd868201836001600160601b03169052565b86015190506101c06128e9868201836001600160601b03169052565b86015190506101e06129038682018364ffffffffff169052565b86015190506102006125d78682018364ffffffffff169052565b6001600160a01b038116811461209e57600080fd5b60006020828403121561294457600080fd5b813561080e8161291d565b602081526000825161012080602085015261296e6101408501836120e2565b915060208501516040850152604085015160608501526060850151608085015260808501516129a560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006129db8187018315159052565b860151858403601f19018387015290506129f583826120e2565b9695505050505050565b602081526000825160e06020840152612a1c6101008401826120e2565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612a6660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152612185565b81516001600160a01b0316815261020081016020830151612aac60208401826001600160a01b03169052565b506040830151612ac760408401826001600160601b03169052565b506060830151612ae260608401826001600160601b03169052565b506080830151612aff608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612b358185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612b9457600080fd5b5051919050565b600082601f830112612bac57600080fd5b8151612bba6124b882612439565b818152846020838601011115612bcf57600080fd5b61265a8260208301602087016120be565b600060208284031215612bf257600080fd5b81516001600160401b03811115612c0857600080fd5b61265a84828501612b9b565b8051612c1f816121aa565b919050565b63ffffffff8116811461209e57600080fd5b8051612c1f81612c24565b64ffffffffff8116811461209e57600080fd5b8051612c1f81612c41565b600060208284031215612c7157600080fd5b81516001600160401b0380821115612c8857600080fd5b9083019060e08286031215612c9c57600080fd5b612ca46122ef565b612cad83612c14565b8152602083015182811115612cc157600080fd5b612ccd87828601612b9b565b60208301525060408301516040820152612ce960608401612c36565b6060820152612cfa60808401612c36565b6080820152612d0b60a08401612c54565b60a082015260c083015182811115612d2257600080fd5b612d2e87828601612b9b565b60c08301525095945050505050565b8051612c1f81612088565b80518015158114612c1f57600080fd5b600060208284031215612d6a57600080fd5b81516001600160401b0380821115612d8157600080fd5b9083019060a08286031215612d9557600080fd5b612d9d612317565b8251612da881612088565b8152612db660208401612d48565b6020820152604083015182811115612dcd57600080fd5b612dd987828601612b9b565b60408301525060608301519150612def826121aa565b81606082015260808301519250612e0583612c24565b6080810192909252509392505050565b8051612c1f816125ee565b600060208284031215612e3257600080fd5b81516001600160401b0380821115612e4957600080fd5b9083019060808286031215612e5d57600080fd5b604051608081018181108382111715612e7857612e786122d9565b6040528251612e86816125ee565b81526020830151612e96816121aa565b6020820152604083015182811115612ead57600080fd5b612eb987828601612b9b565b60408301525060608301519250612ecf83612c41565b6060810192909252509392505050565b6001600160601b038316815260406020820152600061265a60408301846120e2565b600060208284031215612f1357600080fd5b815161080e81612088565b600060408284031215612f3057600080fd5b612f38612339565b9050815181526020820151602082015292915050565b600060208284031215612f6057600080fd5b81516001600160401b0380821115612f7757600080fd5b908301906101408286031215612f8c57600080fd5b612f9461235b565b612f9d83612c14565b8152612fac8660208501612f1e565b6020820152606083015182811115612fc357600080fd5b612fcf87828601612b9b565b604083015250612fe160808401612c14565b6060820152612ff260a08401612c14565b608082015261300360c08401612c14565b60a082015261301460e08401612c54565b60c08201526101009150613029828401612c54565b60e082015261303b6101208401612c54565b91810191909152949350505050565b60ff8116811461209e57600080fd5b8051612c1f8161304a565b60006020828403121561307657600080fd5b815161080e8161304a565b60006020828403121561309357600080fd5b6106b982612d48565b6000602082840312156130ae57600080fd5b815161080e81612c41565b6000602082840312156130cb57600080fd5b81516001600160401b03808211156130e257600080fd5b90830190604082860312156130f657600080fd5b6130fe612339565b8251613109816121aa565b815260208301518281111561311d57600080fd5b61312987828601612b9b565b60208301525095945050505050565b8051612c1f8161291d565b6000610140828403121561315657600080fd5b61315e61237e565b61316783613138565b815261317560208401613138565b602082015261318660408401612c14565b604082015261319760608401612c14565b60608201526131a98460808501612f1e565b60808201526131bb8460c08501612f1e565b60a08201526131cd6101008401612d48565b60c08201526131df6101208401613138565b60e08201529392505050565b600061010082840312156131fe57600080fd5b6132066123a1565b8251613211816121aa565b815260208301516132218161291d565b60208201526132338460408501612f1e565b60408201526132458460808501612f1e565b606082015260c08301516132588161291d565b608082015260e0929092015160a083015250919050565b6000610200828403121561328257600080fd5b61328a6123c3565b61329383613138565b81526132a160208401613138565b60208201526132b260408401612c14565b60408201526132c360608401612c14565b60608201526132d58460808501612f1e565b60808201526132e78460c08501612f1e565b60a08201526101006132fb85828601612f1e565b60c083015261330e856101408601612f1e565b60e0830152613321856101808601612f1e565b90820152613333846101c08501612f1e565b6101208201529392505050565b600060a0828403121561335257600080fd5b61335a612317565b82516133658161304a565b815260208301516133758161304a565b602082015260408301516133888161291d565b6040820152606083015161339b81612c24565b606082015260808301516133ae81612c24565b60808201529392505050565b6000602082840312156133cc57600080fd5b81516001600160401b03808211156133e357600080fd5b9083019060c082860312156133f757600080fd5b6133ff6123a1565b825161340a816121aa565b8152602083015161341a816121aa565b6020820152604083015161342d8161304a565b604082015261343e60608401613059565b606082015260808301518281111561345557600080fd5b61346187828601612b9b565b60808301525061347360a08401612c54565b60a082015295945050505050565b60006020828403121561349357600080fd5b81516001600160401b03808211156134aa57600080fd5b9083019061022082860312156134bf57600080fd5b6134c76123e6565b6134d083612c14565b81526134de60208401612c14565b60208201526134ef60408401612d3d565b604082015261350060608401612d3d565b606082015261351160808401612c14565b608082015261352260a08401612c14565b60a082015261353360c08401612c14565b60c082015261354460e08401612c54565b60e0820152610100808401518381111561355d57600080fd5b61356988828701612b9b565b828401525050610120808401518381111561358357600080fd5b61358f88828701612b9b565b82840152505061014091506135a5828401612e15565b8282015261016091506135b9828401612e15565b8282015261018091506135cd828401612c14565b828201526101a091506135e1828401612c14565b828201526101c091506135f5828401612c54565b828201526101e09150613609828401612c54565b82820152610200915061303b828401612c54565b60006020828403121561362f57600080fd5b81516001600160401b038082111561364657600080fd5b90830190610120828603121561365b57600080fd5b61366361235b565b82518281111561367257600080fd5b61367e87828601612b9b565b8252506020830151602082015260408301516040820152606083015160608201526136ab60808401612c36565b60808201526136bc60a08401612c36565b60a08201526136cd60c08401612d48565b60c08201526136de60e08401612d48565b60e082015261010080840151838111156136f757600080fd5b61370388828701612b9b565b918301919091525095945050505050565b60006020828403121561372657600080fd5b81516001600160401b038082111561373d57600080fd5b9083019060e0828603121561375157600080fd5b6137596122ef565b82518281111561376857600080fd5b61377487828601612b9b565b82525061378360208401613138565b602082015261379460408401613138565b60408201526137a560608401613138565b60608201526137b660808401612c14565b6080820152612d0b60a08401612c1456fea264697066735822122038d0bf3fa1fa62080a1ddc35945791be3f59e5cb31281de25783aaf14667fb4264736f6c63430008140033",
2100
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615504806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610417575f3560e01c806378ae935011610221578063cd55e51b1161012a578063f0b1d210116100b4578063f7f318d311610084578063f7f318d314610ae4578063fad77c3b14610af7578063fcad2c4b14610b0a578063fd80249214610b1d578063febe92af14610b3d575f80fd5b8063f0b1d21014610a8b578063f0ea17c314610a9e578063f3ed991914610abe578063f4809edd14610ad1575f80fd5b8063dd26287a116100fa578063dd26287a14610a0b578063de7b5d1414610a1e578063dfbf164014610a2f578063e444c3df14610a42578063e98413ff14610a62575f80fd5b8063cd55e51b146109b4578063d06458c6146109c7578063d4cda0d8146109e7578063db70354c146109f8575f80fd5b806394b9929b116101ab578063b82d7ef51161017b578063b82d7ef514610947578063ba579bdc14610971578063ba62fbe414610984578063bd7d9d851461098c578063c71e261f146109ac575f80fd5b806394b9929b146108a5578063a310e2a3146108b8578063a5961b4c146108cb578063a7ef3d2114610927575f80fd5b80637e798669116101f15780637e7986691461084f5780638129fc1c14610857578063887b1fa91461085f5780638eb9000d1461087f5780639096a1f314610892575f80fd5b806378ae9350146108035780637bfd3217146108165780637d8f1e81146108295780637e54602a1461083c575f80fd5b8063380bd9501161032357806357f80bbf116102ad5780636553994c1161027d5780636553994c146107975780636791f7ab146107aa5780636a05a413146107bf5780636dddada4146107df5780636ebed908146107f0575f80fd5b806357f80bbf146106e35780635ab1bd531461075c57806364eb3a9b1461077157806364fc314214610784575f80fd5b806344aa6836116102f357806344aa6836146106675780634793b4ab1461067a5780634a4fbeec1461069a5780634d21a63d146106bd5780634fb784f5146106d0575f80fd5b8063380bd950146106085780633b046f091461061b5780633f071275146106415780633f093cd614610654575f80fd5b806315b74532116103a45780632c0cd060116103745780632c0cd060146105a95780632f458a11146105bc57806333fc7dee146105cf57806334bd5be3146105e257806335898f5d146105f5575f80fd5b806315b74532146105435780631d3be47714610556578063228e42ec1461057657806327b1d79214610589575f80fd5b80630e0c586d116103ea5780630e0c586d146104a357806310bf267b146104c8578063128817d4146104ef57806313ab148d1461050f5780631488c84514610530575f80fd5b80630232ca491461041b57806309648a9d1461044b57806309c5844f146104705780630b5d931c14610483575b5f80fd5b61042e6104293660046136c3565b610b5d565b6040516001600160601b0390911681526020015b60405180910390f35b61045e6104593660046136de565b610bd7565b60405160ff9091168152602001610442565b61045e61047e3660046136c3565b610c4c565b6104966104913660046136c3565b610cc5565b6040516104429190613738565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610442565b6104db6104d63660046137df565b610daa565b60405162ffffff9091168152602001610442565b6105026104fd366004613816565b610dc0565b6040516104429190613840565b61052261051d3660046136c3565b610e40565b604051908152602001610442565b61052261053e366004613855565b610eb4565b61042e6105513660046136de565b610f30565b610569610564366004613892565b610f61565b60405161044291906138db565b61042e6105843660046136c3565b6110b2565b61059c6105973660046136c3565b6110eb565b6040516104429190613994565b61042e6105b73660046136c3565b6111a8565b6105226105ca3660046136c3565b6111c8565b6105226105dd3660046136c3565b611206565b6105226105f03660046136c3565b611244565b6105226106033660046136c3565b6112b7565b61042e6106163660046139ed565b6112e3565b61062e6106293660046136c3565b611364565b60405161ffff9091168152602001610442565b61052261064f3660046136c3565b611379565b610502610662366004613baf565b6113a5565b6105226106753660046136de565b6113fb565b61068d6106883660046136c3565b611435565b6040516104429190613c3b565b6106ad6106a8366004613cda565b6114d6565b6040519015158152602001610442565b6104b06106cb3660046136c3565b6115aa565b6105226106de3660046136c3565b611626565b6106f66106f13660046136c3565b611652565b60405161044291905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f5461010090046001600160a01b03166104b0565b61052261077f3660046136c3565b611723565b6106ad610792366004613d09565b61174f565b6105226107a5366004613892565b611834565b6107bd6107b8366004613cda565b611865565b005b6107d26107cd3660046136c3565b611bbe565b6040516104429190613d35565b6003546001600160a01b03166104b0565b61042e6107fe366004613816565b611c5f565b61045e6108113660046137df565b611c9f565b6105226108243660046136c3565b611d96565b61045e6108373660046136c3565b611dc2565b61052261084a3660046136c3565b611dde565b61042e611e0a565b6107bd611e82565b61087261086d366004613892565b611eb0565b6040516104429190613dde565b61042e61088d3660046136c3565b611fdd565b61045e6108a03660046136c3565b612016565b6105226108b33660046136c3565b612032565b6104b06108c63660046136c3565b61206b565b6108de6108d93660046136de565b612111565b60405161044291905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61093a6109353660046137df565b61219b565b6040516104429190613e1c565b61095a610955366004613892565b6122f7565b6040805192835260ff909116602083015201610442565b6106ad61097f3660046136c3565b612593565b6105226127e1565b61099f61099a3660046136c3565b6128b9565b6040516104429190613ec6565b6105226129d1565b6106ad6109c2366004613d09565b612a3c565b6109da6109d5366004613892565b612ae6565b604051610442919061403e565b6002546001600160a01b03166104b0565b61042e610a06366004613816565b612c60565b610522610a193660046136c3565b612ca0565b6001546001600160a01b03166104b0565b6104b0610a3d3660046136c3565b612ccc565b610a55610a503660046136c3565b612d24565b60405161044291906140fd565b610a75610a703660046142fd565b612e4d565b60405164ffffffffff9091168152602001610442565b6106ad610a99366004614329565b612edf565b610ab1610aac3660046136c3565b612f28565b6040516104429190614355565b61045e610acc3660046143b5565b612fdc565b610502610adf366004613816565b61303e565b610522610af23660046136c3565b613083565b61062e610b053660046136de565b6130af565b61045e610b18366004613892565b613132565b610b30610b2b3660046143b5565b613281565b60405161044291906143e1565b610b50610b4b36600461444c565b6133c3565b6040516104429190614467565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610bad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614545565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610c1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c429190614595565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c6884611244565b6040518263ffffffff1660e01b8152600401610c8691815260200190565b602060405180830381865afa158015610ca1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd191906145fc565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610d2085611d96565b6040518263ffffffff1660e01b8152600401610d3e91815260200190565b5f60405180830381865afa158015610d58573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d7f9190810190614666565b805190915015610da45780806020019051810190610d9d919061472e565b9392505050565b50919050565b5f610db5838361219b565b604001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610e1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d919061481b565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614836565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610f0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614836565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b92565b60408051610100810182525f8082526020820181905260609282018390528282018190526080820181905260a0820181905260c082015260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610ff6906001600160c01b0319891690600401613840565b602060405180830381865af4158015611011573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110359190614836565b6040518263ffffffff1660e01b815260040161105391815260200190565b5f60405180830381865afa15801561106d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110949190810190614666565b805190915015610da45780806020019051810190610d9d9190614858565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b92565b604080516080810182525f808252602082018190526060928201839052918101919091526002545f906001600160a01b03166354f6127f61112b85611dde565b6040518263ffffffff1660e01b815260040161114991815260200190565b5f60405180830381865afa158015611163573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261118a9190810190614666565b805190915015610da45780806020019051810190610d9d919061493e565b5f806111b3836128b9565b9050610d9d8160800151826101600151613511565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e75565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e75565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e90573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61126c565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa158015611340573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614545565b5f61136e826128b9565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961126c565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906113e090869086906004016149e3565b602060405180830381865af4158015610e1c573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa68369060240161129c565b61143d613571565b6002545f906001600160a01b03166354f6127f61145985613083565b6040518263ffffffff1660e01b815260040161147791815260200190565b5f60405180830381865afa158015611491573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526114b89190810190614666565b805190915015610da45780806020019051810190610d9d9190614a50565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561151d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115419190614b14565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611586573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614b2f565b5f806115b58361206b565b90506001600160a01b03811615610da457806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614b14565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61126c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f6116a685612ca0565b6040518263ffffffff1660e01b81526004016116c491815260200190565b5f60405180830381865afa1580156116de573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117059190810190614666565b805190915015610da45780806020019051810190610d9d9190614b48565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561126c565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611796573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ba9190614b14565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611810573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614b2f565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e7591869101613840565b5f5460ff16156118885760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa1580156118ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119119190614b14565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611971573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119959190614b14565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa1580156119f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a159190614b14565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a959190614b14565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3491906145fc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9b9190614b14565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b611bc66135c8565b6002545f906001600160a01b03166354f6127f611be285611379565b6040518263ffffffff1660e01b8152600401611c0091815260200190565b5f60405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c419190810190614666565b805190915015610da45780806020019051810190610d9d9190614bd0565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611325565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611d15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d399190614836565b6040518263ffffffff1660e01b8152600401611d5791815260200190565b602060405180830381865afa158015611d72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d91906145fc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61126c565b6002545f906001600160a01b03166309648a9d610c6884613083565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761126c565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611e59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7d9190614545565b905090565b5f5460ff1615611ea55760405163ae9eff1b60e01b815260040160405180910390fd5b611eae33611865565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611f21906001600160c01b0319891690600401613840565b602060405180830381865af4158015611f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f609190614836565b6040518263ffffffff1660e01b8152600401611f7e91815260200190565b5f60405180830381865afa158015611f98573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fbf9190810190614666565b805190915015610da45780806020019051810190610d9d9190614c6d565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b92565b6002545f906001600160a01b03166309648a9d610c6884611723565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e75565b6002545f9081906001600160a01b03166354f6127f61208985611626565b6040518263ffffffff1660e01b81526004016120a791815260200190565b5f60405180830381865afa1580156120c1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120e89190810190614666565b805190915015610da457808060200190518101906121069190614cfd565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612177573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614595565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612247573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226b9190614836565b6040518263ffffffff1660e01b815260040161228991815260200190565b5f60405180830381865afa1580156122a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122ca9190810190614666565b8051909150156122f057808060200190518101906122e89190614d78565b915050610bd1565b5092915050565b5f805f61230384610f61565b60c081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612360573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123849190614b2f565b156124015773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f49190614836565b60645b9250925050915091565b6124838160c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124749190614e61565b64ffffffffff90811691161090565b156124fa5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f39190614836565b606e6123f7565b806080015163ffffffff168160a0015163ffffffff16106125875773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561255c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125809190614836565b60786123f7565b6060810151600a6123f7565b5f8061259e836128b9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061261e9190614b2f565b1561262b57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126aa9190614b2f565b156126b757505f92915050565b61273a816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612707573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272b9190614e61565b64ffffffffff90811691161190565b1561274757505f92915050565b6127cb816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612797573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127bb9190614e61565b64ffffffffff9081169116111590565b156127d857505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612828573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284c9190614b14565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612887573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ab9190614e7c565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f61295485611723565b6040518263ffffffff1660e01b815260040161297291815260200190565b5f60405180830381865afa15801561298c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129b39190810190614666565b805190915015610da45780806020019051810190610d9d9190614ea2565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa158015612a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7d9190614836565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612a83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa79190614b14565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117f5565b612b4e604051806101400160405280606081526020015f6001600160601b031681526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f64ffffffffff1681526020015f151581526020015f15158152602001606081525090565b6002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612ba4906001600160c01b0319891690600401613840565b602060405180830381865af4158015612bbf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be39190614836565b6040518263ffffffff1660e01b8152600401612c0191815260200190565b5f60405180830381865afa158015612c1b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c429190810190614666565b805190915015610da45780806020019051810190610d9d9190615035565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611325565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61126c565b5f80612cd78361206b565b90506001600160a01b03811615610da457806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612dd085611244565b6040518263ffffffff1660e01b8152600401612dee91815260200190565b5f60405180830381865afa158015612e08573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e2f9190810190614666565b805190915015610da45780806020019051810190610d9d9190615141565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612e748560016152b7565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612ebb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614e61565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016117f5565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f612f5f85611626565b6040518263ffffffff1660e01b8152600401612f7d91815260200190565b5f60405180830381865afa158015612f97573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612fbe9190810190614666565b805190915015610da45780806020019051810190610d9d9190614cfd565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611cfa565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610e01565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661126c565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366130d58460016152d2565b6040518263ffffffff1660e01b81526004016130f391815260200190565b602060405180830381865af415801561310e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd191906152e5565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061318c906001600160c01b0319891690600401613840565b602060405180830381865af41580156131a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cb9190614836565b6040518263ffffffff1660e01b81526004016131e991815260200190565b5f60405180830381865afa158015613203573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261322a9190810190614666565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611cfa906001600160c01b0319891690600401613840565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015613322573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133469190614836565b6040518263ffffffff1660e01b815260040161336491815260200190565b5f60405180830381865afa15801561337e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133a59190810190614666565b8051909150156122f057808060200190518101906122e89190615300565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613470573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134949190614836565b6040518263ffffffff1660e01b81526004016134b291815260200190565b5f60405180830381865afa1580156134cc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134f39190810190614666565b805190915015610da45780806020019051810190610d9d91906153ba565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611340573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b031681526020016135a660405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e082018181526101008301919091528190815260200161360760405180604001604052805f81526020015f81525090565b815260200161362760405180604001604052805f81526020015f81525090565b815260200161364760405180604001604052805f81526020015f81525090565b815260200161366760405180604001604052805f81526020015f81525090565b815260200161368760405180604001604052805f81526020015f81525090565b81526020016136a760405180604001604052805f81526020015f81525090565b905290565b6001600160601b03811681146136c0575f80fd5b50565b5f602082840312156136d3575f80fd5b8135610d9d816136ac565b5f602082840312156136ee575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561372e5781516001600160601b0316865260209586019590910190600101613707565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613765606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526137c86101208401826136f5565b949350505050565b61ffff811681146136c0575f80fd5b5f80604083850312156137f0575f80fd5b82356137fb816136ac565b9150602083013561380b816137d0565b809150509250929050565b5f8060408385031215613827575f80fd5b8235613832816136ac565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f8060408385031215613866575f80fd5b8235915060208301355f81900b811461380b575f80fd5b6001600160c01b0319811681146136c0575f80fd5b5f602082840312156138a2575f80fd5b8135610d9d8161387d565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161390a60408401826001600160601b03169052565b50604083015161010060608401526139266101208401826138ad565b905060608401516080840152608084015161394960a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015164ffffffffff811660e08501525060e0840151838203601f190161010085015261398b82826138ad565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526139d160a08401826138ad565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156139fe575f80fd5b82356138328161387d565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715613a3f57613a3f613a09565b60405290565b60405161010081016001600160401b0381118282101715613a3f57613a3f613a09565b60405160c081016001600160401b0381118282101715613a3f57613a3f613a09565b60405160e081016001600160401b0381118282101715613a3f57613a3f613a09565b604051606081016001600160401b0381118282101715613a3f57613a3f613a09565b60405161020081016001600160401b0381118282101715613a3f57613a3f613a09565b60405161014081016001600160401b0381118282101715613a3f57613a3f613a09565b60405161024081016001600160401b0381118282101715613a3f57613a3f613a09565b60405160a081016001600160401b0381118282101715613a3f57613a3f613a09565b604051601f8201601f191681016001600160401b0381118282101715613b8157613b81613a09565b604052919050565b5f6001600160401b03821115613ba157613ba1613a09565b50601f01601f191660200190565b5f8060408385031215613bc0575f80fd5b8235613bcb816136ac565b915060208301356001600160401b03811115613be5575f80fd5b8301601f81018513613bf5575f80fd5b8035613c08613c0382613b89565b613b59565b818152866020838501011115613c1c575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613c6c604084018280518252602090810151910152565b50604083015160e06080840152613c876101008401826138ad565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b03811681146136c0575f80fd5b5f60208284031215613cea575f80fd5b8135610d9d81613cc6565b6001600160401b03811681146136c0575f80fd5b5f8060408385031215613d1a575f80fd5b8235613d2581613cc6565b9150602083013561380b81613cf5565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526122f0565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526137c860808401826138ad565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613e5a606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613e866101008401826138ad565b905060a0840151601f198483030160c0850152613ea382826138ad565b91505060c0840151613ebe60e085018264ffffffffff169052565b509392505050565b60208152613ee06020820183516001600160601b03169052565b5f6020830151613efb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613f816102208401826138ad565b9050610100840151601f1984830301610120850152613fa082826138ad565b915050610120840151613fba61014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613ebe565b602081525f8251610140602084015261405b6101608401826138ad565b9050602084015161407760408501826001600160601b03169052565b506040840151606084015260608401516080840152608084015160a084015260a08401516140ad60c085018263ffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525061010084015180151561012085015250610120840151838203601f190161014085015261398b82826138ad565b81516001600160601b031681526102408101602083015161412960208401826001600160601b03169052565b50604083015161414460408401826001600160601b03169052565b50606083015161415f60608401826001600160601b03169052565b50608083015161417a60808401826001600160601b03169052565b5060a083015161419560a08401826001600160601b03169052565b5060c08301516141b060c08401826001600160601b03169052565b5060e08301516141cb60e08401826001600160601b03169052565b506101008301516141e86101008401826001600160601b03169052565b506101208301516142056101208401826001600160601b03169052565b506101408301516142226101408401826001600160601b03169052565b5061016083015161423f6101608401826001600160601b03169052565b5061018083015161425c6101808401826001600160601b03169052565b506101a08301516142796101a08401826001600160601b03169052565b506101c08301516142966101c08401826001600160601b03169052565b506101e08301516142b36101e08401826001600160601b03169052565b506102008301516142d06102008401826001600160601b03169052565b506102208301516122f06102208401826001600160601b03169052565b62ffffff811681146136c0575f80fd5b5f806040838503121561430e575f80fd5b8235614319816137d0565b9150602083013561380b816142ed565b5f806040838503121561433a575f80fd5b8235614345816136ac565b9150602083013561380b8161387d565b602081525f82516060602084015261437060808401826138ad565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061398b82826138ad565b64ffffffffff811681146136c0575f80fd5b5f80604083850312156143c6575f80fd5b82356143d1816136ac565b9150602083013561380b816143a3565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261442f60c08401826138ad565b905064ffffffffff60808501511660a08401528091505092915050565b5f6020828403121561445c575f80fd5b8135610d9d81613cf5565b602081526144816020820183516001600160601b03169052565b5f6020830151610100604084015261449d6101208401826138ad565b905060408401516144b960608501826001600160601b03169052565b506060840151838203601f190160808501526144d582826138ad565b9150506080840151601f198483030160a08501526144f382826138ad565b91505060a084015161450e60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613ebe565b8051614540816136ac565b919050565b5f60208284031215614555575f80fd5b8151610d9d816136ac565b60ff811681146136c0575f80fd5b805161454081614560565b63ffffffff811681146136c0575f80fd5b805161454081614579565b5f60808284031280156145a6575f80fd5b506145af613a1d565b82516145ba81614560565b815260208301516145ca81614560565b602082015260408301516145dd81614579565b604082015260608301516145f081614579565b60608201529392505050565b5f6020828403121561460c575f80fd5b8151610d9d81614560565b5f82601f830112614626575f80fd5b8151602083015f614639613c0384613b89565b905082815285838301111561464c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614676575f80fd5b81516001600160401b0381111561468b575f80fd5b6137c884828501614617565b80518015158114614540575f80fd5b5f82601f8301126146b5575f80fd5b81516001600160401b038111156146ce576146ce613a09565b8060051b6146de60208201613b59565b918252602081850181019290810190868411156146f9575f80fd5b6020860192505b83831015614724578251614713816136ac565b825260209283019290910190614700565b9695505050505050565b5f6020828403121561473e575f80fd5b81516001600160401b03811115614753575f80fd5b82016101008185031215614765575f80fd5b61476d613a45565b61477682614697565b815261478460208301614697565b602082015261479560408301614697565b60408201526147a66060830161456e565b60608201526147b76080830161456e565b60808201526147c860a08301614535565b60a08201526147d960c08301614535565b60c082015260e08201516001600160401b038111156147f6575f80fd5b614802868285016146a6565b60e083015250949350505050565b80516145408161387d565b5f6020828403121561482b575f80fd5b8151610d9d8161387d565b5f60208284031215614846575f80fd5b5051919050565b8051614540816143a3565b5f60208284031215614868575f80fd5b81516001600160401b0381111561487d575f80fd5b8201610100818503121561488f575f80fd5b614897613a45565b6148a082614535565b81526148ae60208301614535565b602082015260408201516001600160401b038111156148cb575f80fd5b6148d786828501614617565b604083015250606082810151908201526148f36080830161458a565b608082015261490460a0830161458a565b60a082015261491560c0830161484d565b60c082015260e08201516001600160401b03811115614932575f80fd5b61480286828501614617565b5f6020828403121561494e575f80fd5b81516001600160401b03811115614963575f80fd5b820160808185031215614974575f80fd5b61497c613a1d565b81516149878161387d565b815261499560208301614697565b602082015260408201516001600160401b038111156149b2575f80fd5b6149be86828501614617565b604083015250606082015191506149d482614579565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6137c860408301846138ad565b5f60408284031215614a14575f80fd5b604080519081016001600160401b0381118282101715614a3657614a36613a09565b604052825181526020928301519281019290925250919050565b5f60208284031215614a60575f80fd5b81516001600160401b03811115614a75575f80fd5b820160e08185031215614a86575f80fd5b614a8e613a68565b8151614a99816136ac565b8152614aa88560208401614a04565b602082015260608201516001600160401b03811115614ac5575f80fd5b614ad186828501614617565b6040830152506080820151614ae5816143a3565b6060820152614af660a0830161484d565b6080820152614b0760c0830161484d565b60a0820152949350505050565b5f60208284031215614b24575f80fd5b8151610d9d81613cc6565b5f60208284031215614b3f575f80fd5b610d9d82614697565b5f60e0828403128015614b59575f80fd5b50614b62613a8a565b8251614b6d816136ac565b8152614b7b60208401614697565b6020820152614b8c60408401614697565b6040820152614b9d60608401614697565b6060820152614bae60808401614697565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c0828403128015614be2575f80fd5b50614beb613a8a565b614bf58484614a04565b8152614c048460408501614a04565b6020820152614c168460808501614a04565b6040820152614c288460c08501614a04565b6060820152614c3b846101008501614a04565b6080820152614c4e846101408501614a04565b60a0820152614c61846101808501614a04565b60c08201529392505050565b5f60208284031215614c7d575f80fd5b81516001600160401b03811115614c92575f80fd5b820160608185031215614ca3575f80fd5b614cab613aac565b8151614cb6816136ac565b81526020820151614cc6816143a3565b602082015260408201516001600160401b03811115614ce3575f80fd5b614cef86828501614617565b604083015250949350505050565b5f60208284031215614d0d575f80fd5b81516001600160401b03811115614d22575f80fd5b820160608185031215614d33575f80fd5b614d3b613aac565b81516001600160401b03811115614d50575f80fd5b614d5c86828501614617565b8252506020820151614cc681613cc6565b8051614540816142ed565b5f60208284031215614d88575f80fd5b81516001600160401b03811115614d9d575f80fd5b820160e08185031215614dae575f80fd5b614db6613a8a565b614dbf82614535565b8152614dcd60208301614535565b6020820152614dde60408301614d6d565b6040820152614def60608301614d6d565b606082015260808201516001600160401b03811115614e0c575f80fd5b614e1886828501614617565b60808301525060a08201516001600160401b03811115614e36575f80fd5b614e4286828501614617565b60a083015250614e5460c0830161484d565b60c0820152949350505050565b5f60208284031215614e71575f80fd5b8151610d9d816143a3565b5f60208284031215614e8c575f80fd5b8151610d9d81613cf5565b8051614540816137d0565b5f60208284031215614eb2575f80fd5b81516001600160401b03811115614ec7575f80fd5b82016102008185031215614ed9575f80fd5b614ee1613ace565b614eea82614535565b8152614ef860208301614535565b6020820152614f0960408301614810565b6040820152614f1a60608301614810565b6060820152614f2b60808301614535565b6080820152614f3c60a08301614535565b60a0820152614f4d60c0830161484d565b60c082015260e08201516001600160401b03811115614f6a575f80fd5b614f7686828501614617565b60e0830152506101008201516001600160401b03811115614f95575f80fd5b614fa186828501614617565b61010083015250614fb56101208301614e97565b610120820152614fc86101408301614e97565b610140820152614fdb6101608301614535565b610160820152614fee6101808301614535565b6101808201526150016101a0830161484d565b6101a08201526150146101c0830161484d565b6101c08201526150276101e0830161484d565b6101e0820152949350505050565b5f60208284031215615045575f80fd5b81516001600160401b0381111561505a575f80fd5b8201610140818503121561506c575f80fd5b615074613af1565b81516001600160401b03811115615089575f80fd5b61509586828501614617565b8252506150a460208301614535565b60208201526040828101519082015260608083015190820152608080830151908201526150d360a0830161458a565b60a08201526150e460c0830161484d565b60c08201526150f560e08301614697565b60e08201526151076101008301614697565b6101008201526101208201516001600160401b03811115615126575f80fd5b61513286828501614617565b61012083015250949350505050565b5f610240828403128015615153575f80fd5b5061515c613b14565b61516583614535565b815261517360208401614535565b602082015261518460408401614535565b604082015261519560608401614535565b60608201526151a660808401614535565b60808201526151b760a08401614535565b60a08201526151c860c08401614535565b60c08201526151d960e08401614535565b60e08201526151eb6101008401614535565b6101008201526151fe6101208401614535565b6101208201526152116101408401614535565b6101408201526152246101608401614535565b6101608201526152376101808401614535565b61018082015261524a6101a08401614535565b6101a082015261525d6101c08401614535565b6101c08201526152706101e08401614535565b6101e08201526152836102008401614535565b6102008201526152966102208401614535565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610bd157610bd16152a3565b80820180821115610bd157610bd16152a3565b5f602082840312156152f5575f80fd5b8151610d9d816137d0565b5f60208284031215615310575f80fd5b81516001600160401b03811115615325575f80fd5b820160a08185031215615336575f80fd5b61533e613b37565b8151615349816137d0565b81526020820151615359816136ac565b6020820152604082015161536c81613cc6565b604082015260608201516001600160401b03811115615389575f80fd5b61539586828501614617565b606083015250608082015191506153ab826143a3565b60808101919091529392505050565b5f602082840312156153ca575f80fd5b81516001600160401b038111156153df575f80fd5b820161010081850312156153f1575f80fd5b6153f9613a45565b61540282614535565b815260208201516001600160401b0381111561541c575f80fd5b61542886828501614617565b60208301525061543a60408301614535565b604082015260608201516001600160401b03811115615457575f80fd5b61546386828501614617565b60608301525060808201516001600160401b03811115615481575f80fd5b61548d86828501614617565b60808301525061549f60a0830161484d565b60a08201526154b060c0830161484d565b60c08201526154c160e08301614697565b60e082015294935050505056fea2646970667358221220ed2a133e1a328fafc91a67e37ba10c454447deefedb7354c11b916fa0920e8bd64736f6c634300081a0033",
2101
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610417575f3560e01c806378ae935011610221578063cd55e51b1161012a578063f0b1d210116100b4578063f7f318d311610084578063f7f318d314610ae4578063fad77c3b14610af7578063fcad2c4b14610b0a578063fd80249214610b1d578063febe92af14610b3d575f80fd5b8063f0b1d21014610a8b578063f0ea17c314610a9e578063f3ed991914610abe578063f4809edd14610ad1575f80fd5b8063dd26287a116100fa578063dd26287a14610a0b578063de7b5d1414610a1e578063dfbf164014610a2f578063e444c3df14610a42578063e98413ff14610a62575f80fd5b8063cd55e51b146109b4578063d06458c6146109c7578063d4cda0d8146109e7578063db70354c146109f8575f80fd5b806394b9929b116101ab578063b82d7ef51161017b578063b82d7ef514610947578063ba579bdc14610971578063ba62fbe414610984578063bd7d9d851461098c578063c71e261f146109ac575f80fd5b806394b9929b146108a5578063a310e2a3146108b8578063a5961b4c146108cb578063a7ef3d2114610927575f80fd5b80637e798669116101f15780637e7986691461084f5780638129fc1c14610857578063887b1fa91461085f5780638eb9000d1461087f5780639096a1f314610892575f80fd5b806378ae9350146108035780637bfd3217146108165780637d8f1e81146108295780637e54602a1461083c575f80fd5b8063380bd9501161032357806357f80bbf116102ad5780636553994c1161027d5780636553994c146107975780636791f7ab146107aa5780636a05a413146107bf5780636dddada4146107df5780636ebed908146107f0575f80fd5b806357f80bbf146106e35780635ab1bd531461075c57806364eb3a9b1461077157806364fc314214610784575f80fd5b806344aa6836116102f357806344aa6836146106675780634793b4ab1461067a5780634a4fbeec1461069a5780634d21a63d146106bd5780634fb784f5146106d0575f80fd5b8063380bd950146106085780633b046f091461061b5780633f071275146106415780633f093cd614610654575f80fd5b806315b74532116103a45780632c0cd060116103745780632c0cd060146105a95780632f458a11146105bc57806333fc7dee146105cf57806334bd5be3146105e257806335898f5d146105f5575f80fd5b806315b74532146105435780631d3be47714610556578063228e42ec1461057657806327b1d79214610589575f80fd5b80630e0c586d116103ea5780630e0c586d146104a357806310bf267b146104c8578063128817d4146104ef57806313ab148d1461050f5780631488c84514610530575f80fd5b80630232ca491461041b57806309648a9d1461044b57806309c5844f146104705780630b5d931c14610483575b5f80fd5b61042e6104293660046136c3565b610b5d565b6040516001600160601b0390911681526020015b60405180910390f35b61045e6104593660046136de565b610bd7565b60405160ff9091168152602001610442565b61045e61047e3660046136c3565b610c4c565b6104966104913660046136c3565b610cc5565b6040516104429190613738565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610442565b6104db6104d63660046137df565b610daa565b60405162ffffff9091168152602001610442565b6105026104fd366004613816565b610dc0565b6040516104429190613840565b61052261051d3660046136c3565b610e40565b604051908152602001610442565b61052261053e366004613855565b610eb4565b61042e6105513660046136de565b610f30565b610569610564366004613892565b610f61565b60405161044291906138db565b61042e6105843660046136c3565b6110b2565b61059c6105973660046136c3565b6110eb565b6040516104429190613994565b61042e6105b73660046136c3565b6111a8565b6105226105ca3660046136c3565b6111c8565b6105226105dd3660046136c3565b611206565b6105226105f03660046136c3565b611244565b6105226106033660046136c3565b6112b7565b61042e6106163660046139ed565b6112e3565b61062e6106293660046136c3565b611364565b60405161ffff9091168152602001610442565b61052261064f3660046136c3565b611379565b610502610662366004613baf565b6113a5565b6105226106753660046136de565b6113fb565b61068d6106883660046136c3565b611435565b6040516104429190613c3b565b6106ad6106a8366004613cda565b6114d6565b6040519015158152602001610442565b6104b06106cb3660046136c3565b6115aa565b6105226106de3660046136c3565b611626565b6106f66106f13660046136c3565b611652565b60405161044291905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f5461010090046001600160a01b03166104b0565b61052261077f3660046136c3565b611723565b6106ad610792366004613d09565b61174f565b6105226107a5366004613892565b611834565b6107bd6107b8366004613cda565b611865565b005b6107d26107cd3660046136c3565b611bbe565b6040516104429190613d35565b6003546001600160a01b03166104b0565b61042e6107fe366004613816565b611c5f565b61045e6108113660046137df565b611c9f565b6105226108243660046136c3565b611d96565b61045e6108373660046136c3565b611dc2565b61052261084a3660046136c3565b611dde565b61042e611e0a565b6107bd611e82565b61087261086d366004613892565b611eb0565b6040516104429190613dde565b61042e61088d3660046136c3565b611fdd565b61045e6108a03660046136c3565b612016565b6105226108b33660046136c3565b612032565b6104b06108c63660046136c3565b61206b565b6108de6108d93660046136de565b612111565b60405161044291905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61093a6109353660046137df565b61219b565b6040516104429190613e1c565b61095a610955366004613892565b6122f7565b6040805192835260ff909116602083015201610442565b6106ad61097f3660046136c3565b612593565b6105226127e1565b61099f61099a3660046136c3565b6128b9565b6040516104429190613ec6565b6105226129d1565b6106ad6109c2366004613d09565b612a3c565b6109da6109d5366004613892565b612ae6565b604051610442919061403e565b6002546001600160a01b03166104b0565b61042e610a06366004613816565b612c60565b610522610a193660046136c3565b612ca0565b6001546001600160a01b03166104b0565b6104b0610a3d3660046136c3565b612ccc565b610a55610a503660046136c3565b612d24565b60405161044291906140fd565b610a75610a703660046142fd565b612e4d565b60405164ffffffffff9091168152602001610442565b6106ad610a99366004614329565b612edf565b610ab1610aac3660046136c3565b612f28565b6040516104429190614355565b61045e610acc3660046143b5565b612fdc565b610502610adf366004613816565b61303e565b610522610af23660046136c3565b613083565b61062e610b053660046136de565b6130af565b61045e610b18366004613892565b613132565b610b30610b2b3660046143b5565b613281565b60405161044291906143e1565b610b50610b4b36600461444c565b6133c3565b6040516104429190614467565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610bad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614545565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610c1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c429190614595565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c6884611244565b6040518263ffffffff1660e01b8152600401610c8691815260200190565b602060405180830381865afa158015610ca1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd191906145fc565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610d2085611d96565b6040518263ffffffff1660e01b8152600401610d3e91815260200190565b5f60405180830381865afa158015610d58573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d7f9190810190614666565b805190915015610da45780806020019051810190610d9d919061472e565b9392505050565b50919050565b5f610db5838361219b565b604001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610e1c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d919061481b565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614836565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610f0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614836565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b92565b60408051610100810182525f8082526020820181905260609282018390528282018190526080820181905260a0820181905260c082015260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610ff6906001600160c01b0319891690600401613840565b602060405180830381865af4158015611011573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110359190614836565b6040518263ffffffff1660e01b815260040161105391815260200190565b5f60405180830381865afa15801561106d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110949190810190614666565b805190915015610da45780806020019051810190610d9d9190614858565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b92565b604080516080810182525f808252602082018190526060928201839052918101919091526002545f906001600160a01b03166354f6127f61112b85611dde565b6040518263ffffffff1660e01b815260040161114991815260200190565b5f60405180830381865afa158015611163573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261118a9190810190614666565b805190915015610da45780806020019051810190610d9d919061493e565b5f806111b3836128b9565b9050610d9d8160800151826101600151613511565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e75565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e75565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e90573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61126c565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa158015611340573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614545565b5f61136e826128b9565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961126c565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906113e090869086906004016149e3565b602060405180830381865af4158015610e1c573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa68369060240161129c565b61143d613571565b6002545f906001600160a01b03166354f6127f61145985613083565b6040518263ffffffff1660e01b815260040161147791815260200190565b5f60405180830381865afa158015611491573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526114b89190810190614666565b805190915015610da45780806020019051810190610d9d9190614a50565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561151d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115419190614b14565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611586573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614b2f565b5f806115b58361206b565b90506001600160a01b03811615610da457806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614b14565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61126c565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f6116a685612ca0565b6040518263ffffffff1660e01b81526004016116c491815260200190565b5f60405180830381865afa1580156116de573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117059190810190614666565b805190915015610da45780806020019051810190610d9d9190614b48565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561126c565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611796573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117ba9190614b14565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611810573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614b2f565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e7591869101613840565b5f5460ff16156118885760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa1580156118ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119119190614b14565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611971573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119959190614b14565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa1580156119f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a159190614b14565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a959190614b14565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3491906145fc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9b9190614b14565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b611bc66135c8565b6002545f906001600160a01b03166354f6127f611be285611379565b6040518263ffffffff1660e01b8152600401611c0091815260200190565b5f60405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c419190810190614666565b805190915015610da45780806020019051810190610d9d9190614bd0565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611325565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611d15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d399190614836565b6040518263ffffffff1660e01b8152600401611d5791815260200190565b602060405180830381865afa158015611d72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d91906145fc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61126c565b6002545f906001600160a01b03166309648a9d610c6884613083565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761126c565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611e59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7d9190614545565b905090565b5f5460ff1615611ea55760405163ae9eff1b60e01b815260040160405180910390fd5b611eae33611865565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611f21906001600160c01b0319891690600401613840565b602060405180830381865af4158015611f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f609190614836565b6040518263ffffffff1660e01b8152600401611f7e91815260200190565b5f60405180830381865afa158015611f98573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fbf9190810190614666565b805190915015610da45780806020019051810190610d9d9190614c6d565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b92565b6002545f906001600160a01b03166309648a9d610c6884611723565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e75565b6002545f9081906001600160a01b03166354f6127f61208985611626565b6040518263ffffffff1660e01b81526004016120a791815260200190565b5f60405180830381865afa1580156120c1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120e89190810190614666565b805190915015610da457808060200190518101906121069190614cfd565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612177573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd19190614595565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612247573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226b9190614836565b6040518263ffffffff1660e01b815260040161228991815260200190565b5f60405180830381865afa1580156122a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122ca9190810190614666565b8051909150156122f057808060200190518101906122e89190614d78565b915050610bd1565b5092915050565b5f805f61230384610f61565b60c081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612360573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123849190614b2f565b156124015773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f49190614836565b60645b9250925050915091565b6124838160c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124749190614e61565b64ffffffffff90811691161090565b156124fa5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f39190614836565b606e6123f7565b806080015163ffffffff168160a0015163ffffffff16106125875773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561255c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125809190614836565b60786123f7565b6060810151600a6123f7565b5f8061259e836128b9565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156125fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061261e9190614b2f565b1561262b57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126aa9190614b2f565b156126b757505f92915050565b61273a816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612707573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272b9190614e61565b64ffffffffff90811691161190565b1561274757505f92915050565b6127cb816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612797573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127bb9190614e61565b64ffffffffff9081169116111590565b156127d857505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612828573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284c9190614b14565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612887573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ab9190614e7c565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f61295485611723565b6040518263ffffffff1660e01b815260040161297291815260200190565b5f60405180830381865afa15801561298c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129b39190810190614666565b805190915015610da45780806020019051810190610d9d9190614ea2565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa158015612a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7d9190614836565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612a83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa79190614b14565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117f5565b612b4e604051806101400160405280606081526020015f6001600160601b031681526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f64ffffffffff1681526020015f151581526020015f15158152602001606081525090565b6002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612ba4906001600160c01b0319891690600401613840565b602060405180830381865af4158015612bbf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612be39190614836565b6040518263ffffffff1660e01b8152600401612c0191815260200190565b5f60405180830381865afa158015612c1b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c429190810190614666565b805190915015610da45780806020019051810190610d9d9190615035565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611325565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61126c565b5f80612cd78361206b565b90506001600160a01b03811615610da457806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611602573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612dd085611244565b6040518263ffffffff1660e01b8152600401612dee91815260200190565b5f60405180830381865afa158015612e08573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e2f9190810190614666565b805190915015610da45780806020019051810190610d9d9190615141565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612e748560016152b7565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612ebb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9d9190614e61565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016117f5565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f612f5f85611626565b6040518263ffffffff1660e01b8152600401612f7d91815260200190565b5f60405180830381865afa158015612f97573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612fbe9190810190614666565b805190915015610da45780806020019051810190610d9d9190614cfd565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611cfa565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610e01565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661126c565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366130d58460016152d2565b6040518263ffffffff1660e01b81526004016130f391815260200190565b602060405180830381865af415801561310e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd191906152e5565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061318c906001600160c01b0319891690600401613840565b602060405180830381865af41580156131a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cb9190614836565b6040518263ffffffff1660e01b81526004016131e991815260200190565b5f60405180830381865afa158015613203573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261322a9190810190614666565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611cfa906001600160c01b0319891690600401613840565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015613322573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133469190614836565b6040518263ffffffff1660e01b815260040161336491815260200190565b5f60405180830381865afa15801561337e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133a59190810190614666565b8051909150156122f057808060200190518101906122e89190615300565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613470573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134949190614836565b6040518263ffffffff1660e01b81526004016134b291815260200190565b5f60405180830381865afa1580156134cc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134f39190810190614666565b805190915015610da45780806020019051810190610d9d91906153ba565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611340573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b031681526020016135a660405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e082018181526101008301919091528190815260200161360760405180604001604052805f81526020015f81525090565b815260200161362760405180604001604052805f81526020015f81525090565b815260200161364760405180604001604052805f81526020015f81525090565b815260200161366760405180604001604052805f81526020015f81525090565b815260200161368760405180604001604052805f81526020015f81525090565b81526020016136a760405180604001604052805f81526020015f81525090565b905290565b6001600160601b03811681146136c0575f80fd5b50565b5f602082840312156136d3575f80fd5b8135610d9d816136ac565b5f602082840312156136ee575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561372e5781516001600160601b0316865260209586019590910190600101613707565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613765606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526137c86101208401826136f5565b949350505050565b61ffff811681146136c0575f80fd5b5f80604083850312156137f0575f80fd5b82356137fb816136ac565b9150602083013561380b816137d0565b809150509250929050565b5f8060408385031215613827575f80fd5b8235613832816136ac565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f8060408385031215613866575f80fd5b8235915060208301355f81900b811461380b575f80fd5b6001600160c01b0319811681146136c0575f80fd5b5f602082840312156138a2575f80fd5b8135610d9d8161387d565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161390a60408401826001600160601b03169052565b50604083015161010060608401526139266101208401826138ad565b905060608401516080840152608084015161394960a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015164ffffffffff811660e08501525060e0840151838203601f190161010085015261398b82826138ad565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526139d160a08401826138ad565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156139fe575f80fd5b82356138328161387d565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715613a3f57613a3f613a09565b60405290565b60405161010081016001600160401b0381118282101715613a3f57613a3f613a09565b60405160c081016001600160401b0381118282101715613a3f57613a3f613a09565b60405160e081016001600160401b0381118282101715613a3f57613a3f613a09565b604051606081016001600160401b0381118282101715613a3f57613a3f613a09565b60405161020081016001600160401b0381118282101715613a3f57613a3f613a09565b60405161014081016001600160401b0381118282101715613a3f57613a3f613a09565b60405161024081016001600160401b0381118282101715613a3f57613a3f613a09565b60405160a081016001600160401b0381118282101715613a3f57613a3f613a09565b604051601f8201601f191681016001600160401b0381118282101715613b8157613b81613a09565b604052919050565b5f6001600160401b03821115613ba157613ba1613a09565b50601f01601f191660200190565b5f8060408385031215613bc0575f80fd5b8235613bcb816136ac565b915060208301356001600160401b03811115613be5575f80fd5b8301601f81018513613bf5575f80fd5b8035613c08613c0382613b89565b613b59565b818152866020838501011115613c1c575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613c6c604084018280518252602090810151910152565b50604083015160e06080840152613c876101008401826138ad565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b03811681146136c0575f80fd5b5f60208284031215613cea575f80fd5b8135610d9d81613cc6565b6001600160401b03811681146136c0575f80fd5b5f8060408385031215613d1a575f80fd5b8235613d2581613cc6565b9150602083013561380b81613cf5565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526122f0565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526137c860808401826138ad565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613e5a606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613e866101008401826138ad565b905060a0840151601f198483030160c0850152613ea382826138ad565b91505060c0840151613ebe60e085018264ffffffffff169052565b509392505050565b60208152613ee06020820183516001600160601b03169052565b5f6020830151613efb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613f816102208401826138ad565b9050610100840151601f1984830301610120850152613fa082826138ad565b915050610120840151613fba61014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613ebe565b602081525f8251610140602084015261405b6101608401826138ad565b9050602084015161407760408501826001600160601b03169052565b506040840151606084015260608401516080840152608084015160a084015260a08401516140ad60c085018263ffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525061010084015180151561012085015250610120840151838203601f190161014085015261398b82826138ad565b81516001600160601b031681526102408101602083015161412960208401826001600160601b03169052565b50604083015161414460408401826001600160601b03169052565b50606083015161415f60608401826001600160601b03169052565b50608083015161417a60808401826001600160601b03169052565b5060a083015161419560a08401826001600160601b03169052565b5060c08301516141b060c08401826001600160601b03169052565b5060e08301516141cb60e08401826001600160601b03169052565b506101008301516141e86101008401826001600160601b03169052565b506101208301516142056101208401826001600160601b03169052565b506101408301516142226101408401826001600160601b03169052565b5061016083015161423f6101608401826001600160601b03169052565b5061018083015161425c6101808401826001600160601b03169052565b506101a08301516142796101a08401826001600160601b03169052565b506101c08301516142966101c08401826001600160601b03169052565b506101e08301516142b36101e08401826001600160601b03169052565b506102008301516142d06102008401826001600160601b03169052565b506102208301516122f06102208401826001600160601b03169052565b62ffffff811681146136c0575f80fd5b5f806040838503121561430e575f80fd5b8235614319816137d0565b9150602083013561380b816142ed565b5f806040838503121561433a575f80fd5b8235614345816136ac565b9150602083013561380b8161387d565b602081525f82516060602084015261437060808401826138ad565b60208501516001600160a01b0316604085810191909152850151848203601f1901606086015290915061398b82826138ad565b64ffffffffff811681146136c0575f80fd5b5f80604083850312156143c6575f80fd5b82356143d1816136ac565b9150602083013561380b816143a3565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261442f60c08401826138ad565b905064ffffffffff60808501511660a08401528091505092915050565b5f6020828403121561445c575f80fd5b8135610d9d81613cf5565b602081526144816020820183516001600160601b03169052565b5f6020830151610100604084015261449d6101208401826138ad565b905060408401516144b960608501826001600160601b03169052565b506060840151838203601f190160808501526144d582826138ad565b9150506080840151601f198483030160a08501526144f382826138ad565b91505060a084015161450e60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613ebe565b8051614540816136ac565b919050565b5f60208284031215614555575f80fd5b8151610d9d816136ac565b60ff811681146136c0575f80fd5b805161454081614560565b63ffffffff811681146136c0575f80fd5b805161454081614579565b5f60808284031280156145a6575f80fd5b506145af613a1d565b82516145ba81614560565b815260208301516145ca81614560565b602082015260408301516145dd81614579565b604082015260608301516145f081614579565b60608201529392505050565b5f6020828403121561460c575f80fd5b8151610d9d81614560565b5f82601f830112614626575f80fd5b8151602083015f614639613c0384613b89565b905082815285838301111561464c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614676575f80fd5b81516001600160401b0381111561468b575f80fd5b6137c884828501614617565b80518015158114614540575f80fd5b5f82601f8301126146b5575f80fd5b81516001600160401b038111156146ce576146ce613a09565b8060051b6146de60208201613b59565b918252602081850181019290810190868411156146f9575f80fd5b6020860192505b83831015614724578251614713816136ac565b825260209283019290910190614700565b9695505050505050565b5f6020828403121561473e575f80fd5b81516001600160401b03811115614753575f80fd5b82016101008185031215614765575f80fd5b61476d613a45565b61477682614697565b815261478460208301614697565b602082015261479560408301614697565b60408201526147a66060830161456e565b60608201526147b76080830161456e565b60808201526147c860a08301614535565b60a08201526147d960c08301614535565b60c082015260e08201516001600160401b038111156147f6575f80fd5b614802868285016146a6565b60e083015250949350505050565b80516145408161387d565b5f6020828403121561482b575f80fd5b8151610d9d8161387d565b5f60208284031215614846575f80fd5b5051919050565b8051614540816143a3565b5f60208284031215614868575f80fd5b81516001600160401b0381111561487d575f80fd5b8201610100818503121561488f575f80fd5b614897613a45565b6148a082614535565b81526148ae60208301614535565b602082015260408201516001600160401b038111156148cb575f80fd5b6148d786828501614617565b604083015250606082810151908201526148f36080830161458a565b608082015261490460a0830161458a565b60a082015261491560c0830161484d565b60c082015260e08201516001600160401b03811115614932575f80fd5b61480286828501614617565b5f6020828403121561494e575f80fd5b81516001600160401b03811115614963575f80fd5b820160808185031215614974575f80fd5b61497c613a1d565b81516149878161387d565b815261499560208301614697565b602082015260408201516001600160401b038111156149b2575f80fd5b6149be86828501614617565b604083015250606082015191506149d482614579565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6137c860408301846138ad565b5f60408284031215614a14575f80fd5b604080519081016001600160401b0381118282101715614a3657614a36613a09565b604052825181526020928301519281019290925250919050565b5f60208284031215614a60575f80fd5b81516001600160401b03811115614a75575f80fd5b820160e08185031215614a86575f80fd5b614a8e613a68565b8151614a99816136ac565b8152614aa88560208401614a04565b602082015260608201516001600160401b03811115614ac5575f80fd5b614ad186828501614617565b6040830152506080820151614ae5816143a3565b6060820152614af660a0830161484d565b6080820152614b0760c0830161484d565b60a0820152949350505050565b5f60208284031215614b24575f80fd5b8151610d9d81613cc6565b5f60208284031215614b3f575f80fd5b610d9d82614697565b5f60e0828403128015614b59575f80fd5b50614b62613a8a565b8251614b6d816136ac565b8152614b7b60208401614697565b6020820152614b8c60408401614697565b6040820152614b9d60608401614697565b6060820152614bae60808401614697565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c0828403128015614be2575f80fd5b50614beb613a8a565b614bf58484614a04565b8152614c048460408501614a04565b6020820152614c168460808501614a04565b6040820152614c288460c08501614a04565b6060820152614c3b846101008501614a04565b6080820152614c4e846101408501614a04565b60a0820152614c61846101808501614a04565b60c08201529392505050565b5f60208284031215614c7d575f80fd5b81516001600160401b03811115614c92575f80fd5b820160608185031215614ca3575f80fd5b614cab613aac565b8151614cb6816136ac565b81526020820151614cc6816143a3565b602082015260408201516001600160401b03811115614ce3575f80fd5b614cef86828501614617565b604083015250949350505050565b5f60208284031215614d0d575f80fd5b81516001600160401b03811115614d22575f80fd5b820160608185031215614d33575f80fd5b614d3b613aac565b81516001600160401b03811115614d50575f80fd5b614d5c86828501614617565b8252506020820151614cc681613cc6565b8051614540816142ed565b5f60208284031215614d88575f80fd5b81516001600160401b03811115614d9d575f80fd5b820160e08185031215614dae575f80fd5b614db6613a8a565b614dbf82614535565b8152614dcd60208301614535565b6020820152614dde60408301614d6d565b6040820152614def60608301614d6d565b606082015260808201516001600160401b03811115614e0c575f80fd5b614e1886828501614617565b60808301525060a08201516001600160401b03811115614e36575f80fd5b614e4286828501614617565b60a083015250614e5460c0830161484d565b60c0820152949350505050565b5f60208284031215614e71575f80fd5b8151610d9d816143a3565b5f60208284031215614e8c575f80fd5b8151610d9d81613cf5565b8051614540816137d0565b5f60208284031215614eb2575f80fd5b81516001600160401b03811115614ec7575f80fd5b82016102008185031215614ed9575f80fd5b614ee1613ace565b614eea82614535565b8152614ef860208301614535565b6020820152614f0960408301614810565b6040820152614f1a60608301614810565b6060820152614f2b60808301614535565b6080820152614f3c60a08301614535565b60a0820152614f4d60c0830161484d565b60c082015260e08201516001600160401b03811115614f6a575f80fd5b614f7686828501614617565b60e0830152506101008201516001600160401b03811115614f95575f80fd5b614fa186828501614617565b61010083015250614fb56101208301614e97565b610120820152614fc86101408301614e97565b610140820152614fdb6101608301614535565b610160820152614fee6101808301614535565b6101808201526150016101a0830161484d565b6101a08201526150146101c0830161484d565b6101c08201526150276101e0830161484d565b6101e0820152949350505050565b5f60208284031215615045575f80fd5b81516001600160401b0381111561505a575f80fd5b8201610140818503121561506c575f80fd5b615074613af1565b81516001600160401b03811115615089575f80fd5b61509586828501614617565b8252506150a460208301614535565b60208201526040828101519082015260608083015190820152608080830151908201526150d360a0830161458a565b60a08201526150e460c0830161484d565b60c08201526150f560e08301614697565b60e08201526151076101008301614697565b6101008201526101208201516001600160401b03811115615126575f80fd5b61513286828501614617565b61012083015250949350505050565b5f610240828403128015615153575f80fd5b5061515c613b14565b61516583614535565b815261517360208401614535565b602082015261518460408401614535565b604082015261519560608401614535565b60608201526151a660808401614535565b60808201526151b760a08401614535565b60a08201526151c860c08401614535565b60c08201526151d960e08401614535565b60e08201526151eb6101008401614535565b6101008201526151fe6101208401614535565b6101208201526152116101408401614535565b6101408201526152246101608401614535565b6101608201526152376101808401614535565b61018082015261524a6101a08401614535565b6101a082015261525d6101c08401614535565b6101c08201526152706101e08401614535565b6101e08201526152836102008401614535565b6102008201526152966102208401614535565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610bd157610bd16152a3565b80820180821115610bd157610bd16152a3565b5f602082840312156152f5575f80fd5b8151610d9d816137d0565b5f60208284031215615310575f80fd5b81516001600160401b03811115615325575f80fd5b820160a08185031215615336575f80fd5b61533e613b37565b8151615349816137d0565b81526020820151615359816136ac565b6020820152604082015161536c81613cc6565b604082015260608201516001600160401b03811115615389575f80fd5b61539586828501614617565b606083015250608082015191506153ab826143a3565b60808101919091529392505050565b5f602082840312156153ca575f80fd5b81516001600160401b038111156153df575f80fd5b820161010081850312156153f1575f80fd5b6153f9613a45565b61540282614535565b815260208201516001600160401b0381111561541c575f80fd5b61542886828501614617565b60208301525061543a60408301614535565b604082015260608201516001600160401b03811115615457575f80fd5b61546386828501614617565b60608301525060808201516001600160401b03811115615481575f80fd5b61548d86828501614617565b60808301525061549f60a0830161484d565b60a08201526154b060c0830161484d565b60c08201526154c160e08301614697565b60e082015294935050505056fea2646970667358221220ed2a133e1a328fafc91a67e37ba10c454447deefedb7354c11b916fa0920e8bd64736f6c634300081a0033",
1277
2102
  "linkReferences": {
1278
- "contracts/types/Amount.sol": {
2103
+ "contracts/type/Amount.sol": {
1279
2104
  "AmountLib": [
1280
2105
  {
1281
2106
  "length": 20,
1282
- "start": 7915
2107
+ "start": 13662
1283
2108
  }
1284
2109
  ]
1285
2110
  },
1286
- "contracts/types/ClaimId.sol": {
2111
+ "contracts/type/ClaimId.sol": {
1287
2112
  "ClaimIdLib": [
1288
2113
  {
1289
2114
  "length": 20,
1290
- "start": 4219
2115
+ "start": 7425
2116
+ },
2117
+ {
2118
+ "length": 20,
2119
+ "start": 8756
1291
2120
  },
1292
2121
  {
1293
2122
  "length": 20,
1294
- "start": 5532
2123
+ "start": 12503
1295
2124
  }
1296
2125
  ]
1297
2126
  },
1298
- "contracts/types/DistributorType.sol": {
2127
+ "contracts/type/DistributorType.sol": {
1299
2128
  "DistributorTypeLib": [
1300
2129
  {
1301
2130
  "length": 20,
1302
- "start": 7020
2131
+ "start": 11159
1303
2132
  }
1304
2133
  ]
1305
2134
  },
1306
- "contracts/types/NftId.sol": {
2135
+ "contracts/type/NftId.sol": {
1307
2136
  "NftIdLib": [
1308
2137
  {
1309
2138
  "length": 20,
1310
- "start": 2111
2139
+ "start": 4716
2140
+ },
2141
+ {
2142
+ "length": 20,
2143
+ "start": 4831
1311
2144
  },
1312
2145
  {
1313
2146
  "length": 20,
1314
- "start": 2467
2147
+ "start": 5025
1315
2148
  },
1316
2149
  {
1317
2150
  "length": 20,
1318
- "start": 3457
2151
+ "start": 5710
1319
2152
  },
1320
2153
  {
1321
2154
  "length": 20,
1322
- "start": 3546
2155
+ "start": 5963
1323
2156
  },
1324
2157
  {
1325
2158
  "length": 20,
1326
- "start": 4257
2159
+ "start": 7614
1327
2160
  },
1328
2161
  {
1329
2162
  "length": 20,
1330
- "start": 4302
2163
+ "start": 7686
1331
2164
  },
1332
2165
  {
1333
2166
  "length": 20,
1334
- "start": 7247
2167
+ "start": 9703
1335
2168
  },
1336
2169
  {
1337
2170
  "length": 20,
1338
- "start": 7833
2171
+ "start": 11464
2172
+ },
2173
+ {
2174
+ "length": 20,
2175
+ "start": 12459
1339
2176
  }
1340
2177
  ]
1341
2178
  },
1342
- "contracts/types/PayoutId.sol": {
2179
+ "contracts/type/PayoutId.sol": {
1343
2180
  "PayoutIdLib": [
1344
2181
  {
1345
2182
  "length": 20,
1346
- "start": 2608
2183
+ "start": 11893
2184
+ },
2185
+ {
2186
+ "length": 20,
2187
+ "start": 12353
1347
2188
  },
1348
2189
  {
1349
2190
  "length": 20,
1350
- "start": 3263
2191
+ "start": 13071
1351
2192
  }
1352
2193
  ]
1353
2194
  },
1354
- "contracts/types/Referral.sol": {
2195
+ "contracts/type/Referral.sol": {
1355
2196
  "ReferralLib": [
1356
2197
  {
1357
2198
  "length": 20,
1358
- "start": 1871
2199
+ "start": 4073
1359
2200
  },
1360
2201
  {
1361
2202
  "length": 20,
1362
- "start": 2864
2203
+ "start": 5083
2204
+ }
2205
+ ]
2206
+ },
2207
+ "contracts/type/RequestId.sol": {
2208
+ "RequestIdLib": [
2209
+ {
2210
+ "length": 20,
2211
+ "start": 13405
1363
2212
  }
1364
2213
  ]
1365
2214
  },
1366
- "contracts/types/RiskId.sol": {
2215
+ "contracts/type/RiskId.sol": {
1367
2216
  "RiskIdLib": [
1368
2217
  {
1369
2218
  "length": 20,
1370
- "start": 4417
2219
+ "start": 7956
2220
+ },
2221
+ {
2222
+ "length": 20,
2223
+ "start": 12671
2224
+ },
2225
+ {
2226
+ "length": 20,
2227
+ "start": 12916
1371
2228
  }
1372
2229
  ]
1373
2230
  },
1374
- "contracts/types/Timestamp.sol": {
2231
+ "contracts/type/Timestamp.sol": {
1375
2232
  "TimestampLib": [
1376
2233
  {
1377
2234
  "length": 20,
1378
- "start": 3689
2235
+ "start": 9037
1379
2236
  },
1380
2237
  {
1381
2238
  "length": 20,
1382
- "start": 3832
2239
+ "start": 9264
1383
2240
  },
1384
2241
  {
1385
2242
  "length": 20,
1386
- "start": 4002
2243
+ "start": 9843
1387
2244
  },
1388
2245
  {
1389
2246
  "length": 20,
1390
- "start": 5806
2247
+ "start": 9959
1391
2248
  },
1392
2249
  {
1393
2250
  "length": 20,
1394
- "start": 6037
2251
+ "start": 10103
1395
2252
  }
1396
2253
  ]
1397
2254
  },
1398
- "contracts/types/UFixed.sol": {
2255
+ "contracts/type/UFixed.sol": {
1399
2256
  "UFixedLib": [
1400
2257
  {
1401
2258
  "length": 20,
1402
- "start": 1659
2259
+ "start": 3833
1403
2260
  },
1404
2261
  {
1405
2262
  "length": 20,
1406
- "start": 2996
2263
+ "start": 5176
1407
2264
  },
1408
2265
  {
1409
2266
  "length": 20,
1410
- "start": 5907
2267
+ "start": 9136
1411
2268
  },
1412
2269
  {
1413
2270
  "length": 20,
1414
- "start": 6166
2271
+ "start": 9391
1415
2272
  },
1416
2273
  {
1417
2274
  "length": 20,
1418
- "start": 6309
2275
+ "start": 9532
1419
2276
  }
1420
2277
  ]
1421
2278
  }
1422
2279
  },
1423
2280
  "deployedLinkReferences": {
1424
- "contracts/types/Amount.sol": {
2281
+ "contracts/type/Amount.sol": {
1425
2282
  "AmountLib": [
1426
2283
  {
1427
2284
  "length": 20,
1428
- "start": 7883
2285
+ "start": 13625
1429
2286
  }
1430
2287
  ]
1431
2288
  },
1432
- "contracts/types/ClaimId.sol": {
2289
+ "contracts/type/ClaimId.sol": {
1433
2290
  "ClaimIdLib": [
1434
2291
  {
1435
2292
  "length": 20,
1436
- "start": 4187
2293
+ "start": 7388
2294
+ },
2295
+ {
2296
+ "length": 20,
2297
+ "start": 8719
1437
2298
  },
1438
2299
  {
1439
2300
  "length": 20,
1440
- "start": 5500
2301
+ "start": 12466
1441
2302
  }
1442
2303
  ]
1443
2304
  },
1444
- "contracts/types/DistributorType.sol": {
2305
+ "contracts/type/DistributorType.sol": {
1445
2306
  "DistributorTypeLib": [
1446
2307
  {
1447
2308
  "length": 20,
1448
- "start": 6988
2309
+ "start": 11122
1449
2310
  }
1450
2311
  ]
1451
2312
  },
1452
- "contracts/types/NftId.sol": {
2313
+ "contracts/type/NftId.sol": {
1453
2314
  "NftIdLib": [
1454
2315
  {
1455
2316
  "length": 20,
1456
- "start": 2079
2317
+ "start": 4679
2318
+ },
2319
+ {
2320
+ "length": 20,
2321
+ "start": 4794
2322
+ },
2323
+ {
2324
+ "length": 20,
2325
+ "start": 4988
1457
2326
  },
1458
2327
  {
1459
2328
  "length": 20,
1460
- "start": 2435
2329
+ "start": 5673
1461
2330
  },
1462
2331
  {
1463
2332
  "length": 20,
1464
- "start": 3425
2333
+ "start": 5926
1465
2334
  },
1466
2335
  {
1467
2336
  "length": 20,
1468
- "start": 3514
2337
+ "start": 7577
1469
2338
  },
1470
2339
  {
1471
2340
  "length": 20,
1472
- "start": 4225
2341
+ "start": 7649
1473
2342
  },
1474
2343
  {
1475
2344
  "length": 20,
1476
- "start": 4270
2345
+ "start": 9666
1477
2346
  },
1478
2347
  {
1479
2348
  "length": 20,
1480
- "start": 7215
2349
+ "start": 11427
1481
2350
  },
1482
2351
  {
1483
2352
  "length": 20,
1484
- "start": 7801
2353
+ "start": 12422
1485
2354
  }
1486
2355
  ]
1487
2356
  },
1488
- "contracts/types/PayoutId.sol": {
2357
+ "contracts/type/PayoutId.sol": {
1489
2358
  "PayoutIdLib": [
1490
2359
  {
1491
2360
  "length": 20,
1492
- "start": 2576
2361
+ "start": 11856
2362
+ },
2363
+ {
2364
+ "length": 20,
2365
+ "start": 12316
1493
2366
  },
1494
2367
  {
1495
2368
  "length": 20,
1496
- "start": 3231
2369
+ "start": 13034
1497
2370
  }
1498
2371
  ]
1499
2372
  },
1500
- "contracts/types/Referral.sol": {
2373
+ "contracts/type/Referral.sol": {
1501
2374
  "ReferralLib": [
1502
2375
  {
1503
2376
  "length": 20,
1504
- "start": 1839
2377
+ "start": 4036
1505
2378
  },
1506
2379
  {
1507
2380
  "length": 20,
1508
- "start": 2832
2381
+ "start": 5046
2382
+ }
2383
+ ]
2384
+ },
2385
+ "contracts/type/RequestId.sol": {
2386
+ "RequestIdLib": [
2387
+ {
2388
+ "length": 20,
2389
+ "start": 13368
1509
2390
  }
1510
2391
  ]
1511
2392
  },
1512
- "contracts/types/RiskId.sol": {
2393
+ "contracts/type/RiskId.sol": {
1513
2394
  "RiskIdLib": [
1514
2395
  {
1515
2396
  "length": 20,
1516
- "start": 4385
2397
+ "start": 7919
2398
+ },
2399
+ {
2400
+ "length": 20,
2401
+ "start": 12634
2402
+ },
2403
+ {
2404
+ "length": 20,
2405
+ "start": 12879
1517
2406
  }
1518
2407
  ]
1519
2408
  },
1520
- "contracts/types/Timestamp.sol": {
2409
+ "contracts/type/Timestamp.sol": {
1521
2410
  "TimestampLib": [
1522
2411
  {
1523
2412
  "length": 20,
1524
- "start": 3657
2413
+ "start": 9000
1525
2414
  },
1526
2415
  {
1527
2416
  "length": 20,
1528
- "start": 3800
2417
+ "start": 9227
1529
2418
  },
1530
2419
  {
1531
2420
  "length": 20,
1532
- "start": 3970
2421
+ "start": 9806
1533
2422
  },
1534
2423
  {
1535
2424
  "length": 20,
1536
- "start": 5774
2425
+ "start": 9922
1537
2426
  },
1538
2427
  {
1539
2428
  "length": 20,
1540
- "start": 6005
2429
+ "start": 10066
1541
2430
  }
1542
2431
  ]
1543
2432
  },
1544
- "contracts/types/UFixed.sol": {
2433
+ "contracts/type/UFixed.sol": {
1545
2434
  "UFixedLib": [
1546
2435
  {
1547
2436
  "length": 20,
1548
- "start": 1627
2437
+ "start": 3796
1549
2438
  },
1550
2439
  {
1551
2440
  "length": 20,
1552
- "start": 2964
2441
+ "start": 5139
1553
2442
  },
1554
2443
  {
1555
2444
  "length": 20,
1556
- "start": 5875
2445
+ "start": 9099
1557
2446
  },
1558
2447
  {
1559
2448
  "length": 20,
1560
- "start": 6134
2449
+ "start": 9354
1561
2450
  },
1562
2451
  {
1563
2452
  "length": 20,
1564
- "start": 6277
2453
+ "start": 9495
1565
2454
  }
1566
2455
  ]
1567
2456
  }