@etherisc/gif-next 0.0.2-f63e99e-607 → 0.0.2-f677999-878

Sign up to get free protection for your applications and to get access to all the features.
Files changed (745) hide show
  1. package/README.md +146 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +571 -523
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1539 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1030 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1523 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +559 -559
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +440 -161
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +409 -3004
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1612 -561
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +495 -361
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -103
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3738 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +451 -322
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +287 -251
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +178 -185
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +628 -171
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +391 -201
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +958 -202
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +355 -323
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -130
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +182 -207
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +353 -167
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +137 -159
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +156 -171
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +689 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +337 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +143 -0
  364. package/contracts/authorization/IAuthorization.sol +74 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  369. package/contracts/distribution/Distribution.sol +289 -0
  370. package/contracts/distribution/DistributionService.sol +380 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +103 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +437 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +56 -25
  389. package/contracts/instance/IInstanceService.sol +59 -17
  390. package/contracts/instance/Instance.sol +172 -368
  391. package/contracts/instance/InstanceAdmin.sol +437 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  393. package/contracts/instance/InstanceReader.sol +409 -78
  394. package/contracts/instance/InstanceService.sol +348 -126
  395. package/contracts/instance/InstanceServiceManager.sol +14 -31
  396. package/contracts/instance/InstanceStore.sol +298 -0
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +8 -8
  405. package/contracts/instance/module/IComponents.sol +51 -0
  406. package/contracts/instance/module/IDistribution.sol +11 -6
  407. package/contracts/instance/module/IPolicy.sol +59 -19
  408. package/contracts/instance/module/IRisk.sol +4 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  420. package/contracts/pool/BundleService.sol +395 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +115 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +165 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolLib.sol +216 -0
  427. package/contracts/pool/PoolService.sol +757 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +259 -0
  430. package/contracts/product/ApplicationServiceManager.sol +38 -0
  431. package/contracts/product/BasicProduct.sol +51 -0
  432. package/contracts/product/BasicProductAuthorization.sol +56 -0
  433. package/contracts/product/ClaimService.sol +632 -0
  434. package/contracts/product/ClaimServiceManager.sol +38 -0
  435. package/contracts/product/IApplicationService.sol +66 -0
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +95 -0
  438. package/contracts/product/IPricingService.sol +39 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +30 -0
  441. package/contracts/product/PolicyService.sol +682 -0
  442. package/contracts/product/PolicyServiceLib.sol +65 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +304 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +469 -0
  447. package/contracts/product/RiskService.sol +144 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +82 -35
  450. package/contracts/registry/IRegistry.sol +122 -50
  451. package/contracts/registry/IRegistryService.sol +45 -16
  452. package/contracts/registry/IRelease.sol +26 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -1
  454. package/contracts/registry/Registry.sol +545 -304
  455. package/contracts/registry/RegistryAdmin.sol +354 -0
  456. package/contracts/registry/RegistryService.sol +126 -284
  457. package/contracts/registry/RegistryServiceManager.sol +26 -53
  458. package/contracts/registry/ReleaseAdmin.sol +245 -0
  459. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  460. package/contracts/registry/ReleaseRegistry.sol +511 -0
  461. package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
  462. package/contracts/registry/TokenRegistry.sol +261 -59
  463. package/contracts/shared/Component.sol +227 -0
  464. package/contracts/shared/ComponentService.sol +692 -0
  465. package/contracts/shared/ComponentServiceManager.sol +38 -0
  466. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  467. package/contracts/shared/ContractLib.sol +253 -0
  468. package/contracts/shared/IComponent.sol +61 -0
  469. package/contracts/shared/IComponentService.sol +112 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +15 -12
  474. package/contracts/shared/IPolicyHolder.sol +35 -0
  475. package/contracts/shared/IRegisterable.sol +25 -5
  476. package/contracts/shared/IRegistryLinked.sol +11 -0
  477. package/contracts/shared/IService.sol +13 -5
  478. package/contracts/shared/InitializableERC165.sol +27 -0
  479. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +75 -84
  484. package/contracts/shared/PolicyHolder.sol +62 -0
  485. package/contracts/shared/Registerable.sol +57 -38
  486. package/contracts/shared/RegistryLinked.sol +38 -0
  487. package/contracts/shared/Service.sol +44 -33
  488. package/contracts/shared/TokenHandler.sol +326 -12
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +165 -0
  491. package/contracts/staking/IStakingService.sol +165 -0
  492. package/contracts/staking/StakeManagerLib.sol +224 -0
  493. package/contracts/staking/Staking.sol +526 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +190 -0
  497. package/contracts/staking/StakingService.sol +430 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +605 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +27 -3
  504. package/contracts/type/ClaimId.sol +80 -0
  505. package/contracts/{types → type}/DistributorType.sol +2 -2
  506. package/contracts/{types → type}/Fee.sol +33 -23
  507. package/contracts/{types → type}/Key32.sol +2 -2
  508. package/contracts/type/Key32Set.sol +62 -0
  509. package/contracts/{types → type}/NftId.sol +28 -15
  510. package/contracts/type/NftIdSet.sol +62 -0
  511. package/contracts/type/ObjectType.sol +303 -0
  512. package/contracts/type/PayoutId.sol +82 -0
  513. package/contracts/{types → type}/Referral.sol +6 -1
  514. package/contracts/type/RequestId.sol +75 -0
  515. package/contracts/type/RiskId.sol +75 -0
  516. package/contracts/type/RoleId.sol +182 -0
  517. package/contracts/type/Seconds.sol +101 -0
  518. package/contracts/type/Selector.sol +107 -0
  519. package/contracts/{types → type}/StateId.sol +48 -4
  520. package/contracts/type/String.sol +53 -0
  521. package/contracts/{types → type}/Timestamp.sol +33 -19
  522. package/contracts/{types → type}/UFixed.sol +41 -121
  523. package/contracts/{types → type}/Version.sol +20 -7
  524. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  525. package/contracts/upgradeability/ProxyManager.sol +232 -0
  526. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  527. package/contracts/upgradeability/Versionable.sol +59 -0
  528. package/package.json +12 -8
  529. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  586. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  587. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  588. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  589. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  590. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  593. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  597. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  599. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  601. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  604. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  605. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  606. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -681
  607. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  608. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
  609. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  613. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -820
  615. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  617. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  618. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  619. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  620. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  621. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  622. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  623. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  624. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  625. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  626. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  627. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  628. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  629. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  630. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  631. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  632. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  633. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  634. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  635. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  636. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  637. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  638. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  639. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  640. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  641. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  642. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  643. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  644. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  645. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  646. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  647. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  648. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  649. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  651. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  653. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  655. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  657. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  659. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  661. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  662. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  663. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  665. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  667. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  669. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  671. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  673. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  675. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  677. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  679. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  681. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  683. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  685. package/contracts/components/BaseComponent.sol +0 -91
  686. package/contracts/components/Distribution.sol +0 -160
  687. package/contracts/components/IBaseComponent.sol +0 -25
  688. package/contracts/components/IDistributionComponent.sol +0 -44
  689. package/contracts/components/IPoolComponent.sol +0 -62
  690. package/contracts/components/IProductComponent.sol +0 -35
  691. package/contracts/components/Pool.sol +0 -243
  692. package/contracts/components/Product.sol +0 -297
  693. package/contracts/experiment/cloning/Cloner.sol +0 -47
  694. package/contracts/experiment/errors/Require.sol +0 -38
  695. package/contracts/experiment/errors/Revert.sol +0 -44
  696. package/contracts/experiment/inheritance/A.sol +0 -53
  697. package/contracts/experiment/inheritance/B.sol +0 -28
  698. package/contracts/experiment/inheritance/C.sol +0 -34
  699. package/contracts/experiment/inheritance/IA.sol +0 -13
  700. package/contracts/experiment/inheritance/IB.sol +0 -10
  701. package/contracts/experiment/inheritance/IC.sol +0 -12
  702. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  703. package/contracts/experiment/statemachine/ISM.sol +0 -25
  704. package/contracts/experiment/statemachine/SM.sol +0 -57
  705. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  706. package/contracts/experiment/types/TypeA.sol +0 -47
  707. package/contracts/experiment/types/TypeB.sol +0 -29
  708. package/contracts/instance/AccessManagedSimple.sol +0 -115
  709. package/contracts/instance/AccessManagerSimple.sol +0 -692
  710. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  711. package/contracts/instance/InstanceAccessManager.sol +0 -288
  712. package/contracts/instance/base/ComponentServiceBase.sol +0 -60
  713. package/contracts/instance/base/IInstanceBase.sol +0 -23
  714. package/contracts/instance/base/KeyValueStore.sol +0 -172
  715. package/contracts/instance/base/Lifecycle.sol +0 -100
  716. package/contracts/instance/module/IAccess.sol +0 -38
  717. package/contracts/instance/module/ISetup.sol +0 -44
  718. package/contracts/instance/module/ITreasury.sol +0 -23
  719. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  720. package/contracts/instance/service/DistributionService.sol +0 -102
  721. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  722. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  723. package/contracts/instance/service/IDistributionService.sol +0 -12
  724. package/contracts/instance/service/IPoolService.sol +0 -37
  725. package/contracts/instance/service/IProductService.sol +0 -107
  726. package/contracts/instance/service/PoolService.sol +0 -208
  727. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  728. package/contracts/shared/ContractDeployerLib.sol +0 -72
  729. package/contracts/shared/ERC165.sol +0 -25
  730. package/contracts/shared/ProxyManager.sol +0 -94
  731. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  732. package/contracts/shared/Versionable.sol +0 -147
  733. package/contracts/test/TestFee.sol +0 -25
  734. package/contracts/test/TestRegisterable.sol +0 -18
  735. package/contracts/test/TestRoleId.sol +0 -14
  736. package/contracts/test/TestService.sol +0 -24
  737. package/contracts/test/TestToken.sol +0 -26
  738. package/contracts/test/TestVersion.sol +0 -44
  739. package/contracts/test/TestVersionable.sol +0 -17
  740. package/contracts/types/ChainId.sol +0 -38
  741. package/contracts/types/NftIdSet.sol +0 -60
  742. package/contracts/types/NumberId.sol +0 -52
  743. package/contracts/types/ObjectType.sol +0 -152
  744. package/contracts/types/RiskId.sol +0 -43
  745. package/contracts/types/RoleId.sol +0 -89
@@ -3,21 +3,171 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
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"
12
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": [
13
131
  {
14
132
  "internalType": "NftId",
15
- "name": "instanceNftId",
133
+ "name": "productNftId",
16
134
  "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "idx",
139
+ "type": "uint256"
17
140
  }
18
141
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
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"
21
171
  },
22
172
  {
23
173
  "inputs": [
@@ -59,24 +209,9 @@
59
209
  "type": "bytes"
60
210
  },
61
211
  {
62
- "internalType": "uint256",
63
- "name": "capitalAmount",
64
- "type": "uint256"
65
- },
66
- {
67
- "internalType": "uint256",
68
- "name": "lockedAmount",
69
- "type": "uint256"
70
- },
71
- {
72
- "internalType": "uint256",
73
- "name": "balanceAmount",
74
- "type": "uint256"
75
- },
76
- {
77
- "internalType": "uint256",
78
- "name": "lifetime",
79
- "type": "uint256"
212
+ "internalType": "Timestamp",
213
+ "name": "activatedAt",
214
+ "type": "uint40"
80
215
  },
81
216
  {
82
217
  "internalType": "Timestamp",
@@ -100,78 +235,132 @@
100
235
  {
101
236
  "inputs": [
102
237
  {
103
- "internalType": "ReferralId",
104
- "name": "referralId",
105
- "type": "bytes8"
238
+ "internalType": "NftId",
239
+ "name": "poolNftId",
240
+ "type": "uint96"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "idx",
245
+ "type": "uint256"
106
246
  }
107
247
  ],
108
- "name": "getDiscountPercentage",
248
+ "name": "getBundleNftId",
109
249
  "outputs": [
110
250
  {
111
- "internalType": "UFixed",
112
- "name": "discountPercentage",
113
- "type": "uint256"
114
- },
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": [
115
263
  {
116
- "internalType": "ReferralStatus",
117
- "name": "status",
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",
118
285
  "type": "uint8"
119
286
  }
120
287
  ],
121
288
  "stateMutability": "view",
122
289
  "type": "function"
123
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
+ },
124
310
  {
125
311
  "inputs": [
126
312
  {
127
313
  "internalType": "NftId",
128
- "name": "distributionNftId",
314
+ "name": "policyNftId",
129
315
  "type": "uint96"
316
+ },
317
+ {
318
+ "internalType": "ClaimId",
319
+ "name": "claimId",
320
+ "type": "uint16"
130
321
  }
131
322
  ],
132
- "name": "getDistributionSetupInfo",
323
+ "name": "getClaimInfo",
133
324
  "outputs": [
134
325
  {
135
326
  "components": [
136
327
  {
137
- "internalType": "NftId",
138
- "name": "productNftId",
328
+ "internalType": "Amount",
329
+ "name": "claimAmount",
139
330
  "type": "uint96"
140
331
  },
141
332
  {
142
- "internalType": "contract TokenHandler",
143
- "name": "tokenHandler",
144
- "type": "address"
333
+ "internalType": "Amount",
334
+ "name": "paidAmount",
335
+ "type": "uint96"
145
336
  },
146
337
  {
147
- "components": [
148
- {
149
- "internalType": "UFixed",
150
- "name": "fractionalFee",
151
- "type": "uint256"
152
- },
153
- {
154
- "internalType": "uint256",
155
- "name": "fixedFee",
156
- "type": "uint256"
157
- }
158
- ],
159
- "internalType": "struct Fee",
160
- "name": "distributionFee",
161
- "type": "tuple"
338
+ "internalType": "uint24",
339
+ "name": "payoutsCount",
340
+ "type": "uint24"
162
341
  },
163
342
  {
164
- "internalType": "bool",
165
- "name": "isIntercepting",
166
- "type": "bool"
343
+ "internalType": "uint24",
344
+ "name": "openPayoutsCount",
345
+ "type": "uint24"
167
346
  },
168
347
  {
169
- "internalType": "address",
170
- "name": "wallet",
171
- "type": "address"
348
+ "internalType": "bytes",
349
+ "name": "submissionData",
350
+ "type": "bytes"
351
+ },
352
+ {
353
+ "internalType": "bytes",
354
+ "name": "processData",
355
+ "type": "bytes"
356
+ },
357
+ {
358
+ "internalType": "Timestamp",
359
+ "name": "closedAt",
360
+ "type": "uint40"
172
361
  }
173
362
  ],
174
- "internalType": "struct ISetup.DistributionSetupInfo",
363
+ "internalType": "struct IPolicy.ClaimInfo",
175
364
  "name": "info",
176
365
  "type": "tuple"
177
366
  }
@@ -183,33 +372,21 @@
183
372
  "inputs": [
184
373
  {
185
374
  "internalType": "NftId",
186
- "name": "distributorNftId",
375
+ "name": "policyNftId",
187
376
  "type": "uint96"
377
+ },
378
+ {
379
+ "internalType": "ClaimId",
380
+ "name": "claimId",
381
+ "type": "uint16"
188
382
  }
189
383
  ],
190
- "name": "getDistributorInfo",
384
+ "name": "getClaimState",
191
385
  "outputs": [
192
386
  {
193
- "components": [
194
- {
195
- "internalType": "DistributorType",
196
- "name": "distributorType",
197
- "type": "bytes8"
198
- },
199
- {
200
- "internalType": "bool",
201
- "name": "active",
202
- "type": "bool"
203
- },
204
- {
205
- "internalType": "bytes",
206
- "name": "data",
207
- "type": "bytes"
208
- }
209
- ],
210
- "internalType": "struct IDistribution.DistributorInfo",
211
- "name": "info",
212
- "type": "tuple"
387
+ "internalType": "StateId",
388
+ "name": "state",
389
+ "type": "uint8"
213
390
  }
214
391
  ],
215
392
  "stateMutability": "view",
@@ -218,12 +395,12 @@
218
395
  {
219
396
  "inputs": [
220
397
  {
221
- "internalType": "DistributorType",
222
- "name": "distributorType",
223
- "type": "bytes8"
398
+ "internalType": "NftId",
399
+ "name": "componentNftId",
400
+ "type": "uint96"
224
401
  }
225
402
  ],
226
- "name": "getDistributorTypeInfo",
403
+ "name": "getComponentInfo",
227
404
  "outputs": [
228
405
  {
229
406
  "components": [
@@ -233,39 +410,14 @@
233
410
  "type": "string"
234
411
  },
235
412
  {
236
- "internalType": "UFixed",
237
- "name": "minDiscountPercentage",
238
- "type": "uint256"
239
- },
240
- {
241
- "internalType": "UFixed",
242
- "name": "maxDiscountPercentage",
243
- "type": "uint256"
244
- },
245
- {
246
- "internalType": "UFixed",
247
- "name": "commissionPercentage",
248
- "type": "uint256"
249
- },
250
- {
251
- "internalType": "uint32",
252
- "name": "maxReferralCount",
253
- "type": "uint32"
254
- },
255
- {
256
- "internalType": "uint32",
257
- "name": "maxReferralLifetime",
258
- "type": "uint32"
259
- },
260
- {
261
- "internalType": "bool",
262
- "name": "allowSelfReferrals",
263
- "type": "bool"
413
+ "internalType": "contract IERC20Metadata",
414
+ "name": "token",
415
+ "type": "address"
264
416
  },
265
417
  {
266
- "internalType": "bool",
267
- "name": "allowRenewals",
268
- "type": "bool"
418
+ "internalType": "contract TokenHandler",
419
+ "name": "tokenHandler",
420
+ "type": "address"
269
421
  },
270
422
  {
271
423
  "internalType": "bytes",
@@ -273,7 +425,7 @@
273
425
  "type": "bytes"
274
426
  }
275
427
  ],
276
- "internalType": "struct IDistribution.DistributorTypeInfo",
428
+ "internalType": "struct IComponents.ComponentInfo",
277
429
  "name": "info",
278
430
  "type": "tuple"
279
431
  }
@@ -282,39 +434,24 @@
282
434
  "type": "function"
283
435
  },
284
436
  {
285
- "inputs": [],
286
- "name": "getInstance",
287
- "outputs": [
437
+ "inputs": [
288
438
  {
289
- "internalType": "contract IInstance",
290
- "name": "instance",
291
- "type": "address"
439
+ "internalType": "ReferralId",
440
+ "name": "referralId",
441
+ "type": "bytes8"
292
442
  }
293
443
  ],
294
- "stateMutability": "view",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [],
299
- "name": "getInstanceNftId",
444
+ "name": "getDiscountPercentage",
300
445
  "outputs": [
301
446
  {
302
- "internalType": "NftId",
303
- "name": "nftId",
304
- "type": "uint96"
305
- }
306
- ],
307
- "stateMutability": "view",
308
- "type": "function"
309
- },
310
- {
311
- "inputs": [],
312
- "name": "getInstanceStore",
313
- "outputs": [
447
+ "internalType": "UFixed",
448
+ "name": "discountPercentage",
449
+ "type": "uint256"
450
+ },
314
451
  {
315
- "internalType": "contract IKeyValueStore",
316
- "name": "store",
317
- "type": "address"
452
+ "internalType": "ReferralStatus",
453
+ "name": "status",
454
+ "type": "uint8"
318
455
  }
319
456
  ],
320
457
  "stateMutability": "view",
@@ -323,43 +460,38 @@
323
460
  {
324
461
  "inputs": [
325
462
  {
326
- "internalType": "Key32",
327
- "name": "key",
328
- "type": "bytes32"
463
+ "internalType": "NftId",
464
+ "name": "distributorNftId",
465
+ "type": "uint96"
329
466
  }
330
467
  ],
331
- "name": "getMetadata",
468
+ "name": "getDistributorInfo",
332
469
  "outputs": [
333
470
  {
334
471
  "components": [
335
472
  {
336
- "internalType": "ObjectType",
337
- "name": "objectType",
338
- "type": "uint8"
339
- },
340
- {
341
- "internalType": "StateId",
342
- "name": "state",
343
- "type": "uint8"
473
+ "internalType": "DistributorType",
474
+ "name": "distributorType",
475
+ "type": "bytes8"
344
476
  },
345
477
  {
346
- "internalType": "address",
347
- "name": "updatedBy",
348
- "type": "address"
478
+ "internalType": "bool",
479
+ "name": "active",
480
+ "type": "bool"
349
481
  },
350
482
  {
351
- "internalType": "Blocknumber",
352
- "name": "updatedIn",
353
- "type": "uint32"
483
+ "internalType": "bytes",
484
+ "name": "data",
485
+ "type": "bytes"
354
486
  },
355
487
  {
356
- "internalType": "Blocknumber",
357
- "name": "createdIn",
488
+ "internalType": "uint32",
489
+ "name": "numPoliciesSold",
358
490
  "type": "uint32"
359
491
  }
360
492
  ],
361
- "internalType": "struct IKeyValueStore.Metadata",
362
- "name": "metadata",
493
+ "internalType": "struct IDistribution.DistributorInfo",
494
+ "name": "info",
363
495
  "type": "tuple"
364
496
  }
365
497
  ],
@@ -369,97 +501,67 @@
369
501
  {
370
502
  "inputs": [
371
503
  {
372
- "internalType": "NftId",
373
- "name": "policyNftId",
374
- "type": "uint96"
504
+ "internalType": "DistributorType",
505
+ "name": "distributorType",
506
+ "type": "bytes8"
375
507
  }
376
508
  ],
377
- "name": "getPolicyInfo",
509
+ "name": "getDistributorTypeInfo",
378
510
  "outputs": [
379
511
  {
380
512
  "components": [
381
513
  {
382
- "internalType": "NftId",
383
- "name": "productNftId",
384
- "type": "uint96"
514
+ "internalType": "string",
515
+ "name": "name",
516
+ "type": "string"
385
517
  },
386
518
  {
387
519
  "internalType": "NftId",
388
- "name": "bundleNftId",
520
+ "name": "distributionNftId",
389
521
  "type": "uint96"
390
522
  },
391
523
  {
392
- "internalType": "ReferralId",
393
- "name": "referralId",
394
- "type": "bytes8"
395
- },
396
- {
397
- "internalType": "RiskId",
398
- "name": "riskId",
399
- "type": "bytes8"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "sumInsuredAmount",
404
- "type": "uint256"
405
- },
406
- {
407
- "internalType": "uint256",
408
- "name": "premiumAmount",
524
+ "internalType": "UFixed",
525
+ "name": "minDiscountPercentage",
409
526
  "type": "uint256"
410
527
  },
411
528
  {
412
- "internalType": "uint256",
413
- "name": "premiumPaidAmount",
529
+ "internalType": "UFixed",
530
+ "name": "maxDiscountPercentage",
414
531
  "type": "uint256"
415
532
  },
416
533
  {
417
- "internalType": "uint256",
418
- "name": "lifetime",
534
+ "internalType": "UFixed",
535
+ "name": "commissionPercentage",
419
536
  "type": "uint256"
420
537
  },
421
538
  {
422
- "internalType": "bytes",
423
- "name": "applicationData",
424
- "type": "bytes"
425
- },
426
- {
427
- "internalType": "bytes",
428
- "name": "policyData",
429
- "type": "bytes"
430
- },
431
- {
432
- "internalType": "uint16",
433
- "name": "claimsCount",
434
- "type": "uint16"
435
- },
436
- {
437
- "internalType": "uint16",
438
- "name": "openClaimsCount",
439
- "type": "uint16"
539
+ "internalType": "uint32",
540
+ "name": "maxReferralCount",
541
+ "type": "uint32"
440
542
  },
441
543
  {
442
- "internalType": "uint256",
443
- "name": "payoutAmount",
444
- "type": "uint256"
544
+ "internalType": "Seconds",
545
+ "name": "maxReferralLifetime",
546
+ "type": "uint40"
445
547
  },
446
548
  {
447
- "internalType": "Timestamp",
448
- "name": "activatedAt",
449
- "type": "uint40"
549
+ "internalType": "bool",
550
+ "name": "allowSelfReferrals",
551
+ "type": "bool"
450
552
  },
451
553
  {
452
- "internalType": "Timestamp",
453
- "name": "expiredAt",
454
- "type": "uint40"
554
+ "internalType": "bool",
555
+ "name": "allowRenewals",
556
+ "type": "bool"
455
557
  },
456
558
  {
457
- "internalType": "Timestamp",
458
- "name": "closedAt",
459
- "type": "uint40"
559
+ "internalType": "bytes",
560
+ "name": "data",
561
+ "type": "bytes"
460
562
  }
461
563
  ],
462
- "internalType": "struct IPolicy.PolicyInfo",
564
+ "internalType": "struct IDistribution.DistributorTypeInfo",
463
565
  "name": "info",
464
566
  "type": "tuple"
465
567
  }
@@ -471,29 +573,33 @@
471
573
  "inputs": [
472
574
  {
473
575
  "internalType": "NftId",
474
- "name": "poolNftId",
576
+ "name": "targetNftId",
577
+ "type": "uint96"
578
+ }
579
+ ],
580
+ "name": "getFeeAmount",
581
+ "outputs": [
582
+ {
583
+ "internalType": "Amount",
584
+ "name": "",
585
+ "type": "uint96"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [
593
+ {
594
+ "internalType": "NftId",
595
+ "name": "productNftId",
475
596
  "type": "uint96"
476
597
  }
477
598
  ],
478
- "name": "getPoolSetupInfo",
599
+ "name": "getFeeInfo",
479
600
  "outputs": [
480
601
  {
481
602
  "components": [
482
- {
483
- "internalType": "NftId",
484
- "name": "productNftId",
485
- "type": "uint96"
486
- },
487
- {
488
- "internalType": "contract TokenHandler",
489
- "name": "tokenHandler",
490
- "type": "address"
491
- },
492
- {
493
- "internalType": "UFixed",
494
- "name": "collateralizationLevel",
495
- "type": "uint256"
496
- },
497
603
  {
498
604
  "components": [
499
605
  {
@@ -508,7 +614,7 @@
508
614
  }
509
615
  ],
510
616
  "internalType": "struct Fee",
511
- "name": "poolFee",
617
+ "name": "productFee",
512
618
  "type": "tuple"
513
619
  },
514
620
  {
@@ -525,77 +631,9 @@
525
631
  }
526
632
  ],
527
633
  "internalType": "struct Fee",
528
- "name": "stakingFee",
529
- "type": "tuple"
530
- },
531
- {
532
- "components": [
533
- {
534
- "internalType": "UFixed",
535
- "name": "fractionalFee",
536
- "type": "uint256"
537
- },
538
- {
539
- "internalType": "uint256",
540
- "name": "fixedFee",
541
- "type": "uint256"
542
- }
543
- ],
544
- "internalType": "struct Fee",
545
- "name": "performanceFee",
634
+ "name": "processingFee",
546
635
  "type": "tuple"
547
636
  },
548
- {
549
- "internalType": "bool",
550
- "name": "isIntercepting",
551
- "type": "bool"
552
- },
553
- {
554
- "internalType": "address",
555
- "name": "wallet",
556
- "type": "address"
557
- }
558
- ],
559
- "internalType": "struct ISetup.PoolSetupInfo",
560
- "name": "info",
561
- "type": "tuple"
562
- }
563
- ],
564
- "stateMutability": "view",
565
- "type": "function"
566
- },
567
- {
568
- "inputs": [
569
- {
570
- "internalType": "NftId",
571
- "name": "productNftId",
572
- "type": "uint96"
573
- }
574
- ],
575
- "name": "getProductSetupInfo",
576
- "outputs": [
577
- {
578
- "components": [
579
- {
580
- "internalType": "contract IERC20Metadata",
581
- "name": "token",
582
- "type": "address"
583
- },
584
- {
585
- "internalType": "contract TokenHandler",
586
- "name": "tokenHandler",
587
- "type": "address"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "distributionNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "internalType": "NftId",
596
- "name": "poolNftId",
597
- "type": "uint96"
598
- },
599
637
  {
600
638
  "components": [
601
639
  {
@@ -627,24 +665,7 @@
627
665
  }
628
666
  ],
629
667
  "internalType": "struct Fee",
630
- "name": "productFee",
631
- "type": "tuple"
632
- },
633
- {
634
- "components": [
635
- {
636
- "internalType": "UFixed",
637
- "name": "fractionalFee",
638
- "type": "uint256"
639
- },
640
- {
641
- "internalType": "uint256",
642
- "name": "fixedFee",
643
- "type": "uint256"
644
- }
645
- ],
646
- "internalType": "struct Fee",
647
- "name": "processingFee",
668
+ "name": "minDistributionOwnerFee",
648
669
  "type": "tuple"
649
670
  },
650
671
  {
@@ -699,64 +720,107 @@
699
720
  "type": "tuple"
700
721
  }
701
722
  ],
702
- "internalType": "struct ISetup.ProductSetupInfo",
703
- "name": "info",
723
+ "internalType": "struct IComponents.FeeInfo",
724
+ "name": "feeInfo",
704
725
  "type": "tuple"
705
726
  }
706
727
  ],
707
728
  "stateMutability": "view",
708
729
  "type": "function"
709
730
  },
731
+ {
732
+ "inputs": [],
733
+ "name": "getInstance",
734
+ "outputs": [
735
+ {
736
+ "internalType": "contract IInstance",
737
+ "name": "instance",
738
+ "type": "address"
739
+ }
740
+ ],
741
+ "stateMutability": "view",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "inputs": [],
746
+ "name": "getInstanceNftId",
747
+ "outputs": [
748
+ {
749
+ "internalType": "NftId",
750
+ "name": "instanceNftid",
751
+ "type": "uint96"
752
+ }
753
+ ],
754
+ "stateMutability": "view",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [],
759
+ "name": "getInstanceStore",
760
+ "outputs": [
761
+ {
762
+ "internalType": "contract IKeyValueStore",
763
+ "name": "store",
764
+ "type": "address"
765
+ }
766
+ ],
767
+ "stateMutability": "view",
768
+ "type": "function"
769
+ },
710
770
  {
711
771
  "inputs": [
712
772
  {
713
- "internalType": "ReferralId",
714
- "name": "referralId",
715
- "type": "bytes8"
773
+ "internalType": "NftId",
774
+ "name": "targetNftId",
775
+ "type": "uint96"
716
776
  }
717
777
  ],
718
- "name": "getReferralInfo",
778
+ "name": "getLockedAmount",
779
+ "outputs": [
780
+ {
781
+ "internalType": "Amount",
782
+ "name": "",
783
+ "type": "uint96"
784
+ }
785
+ ],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ {
792
+ "internalType": "Key32",
793
+ "name": "key",
794
+ "type": "bytes32"
795
+ }
796
+ ],
797
+ "name": "getMetadata",
719
798
  "outputs": [
720
799
  {
721
800
  "components": [
722
801
  {
723
- "internalType": "NftId",
724
- "name": "distributorNftId",
725
- "type": "uint96"
726
- },
727
- {
728
- "internalType": "string",
729
- "name": "referralCode",
730
- "type": "string"
802
+ "internalType": "ObjectType",
803
+ "name": "objectType",
804
+ "type": "uint8"
731
805
  },
732
806
  {
733
- "internalType": "UFixed",
734
- "name": "discountPercentage",
735
- "type": "uint256"
807
+ "internalType": "StateId",
808
+ "name": "state",
809
+ "type": "uint8"
736
810
  },
737
811
  {
738
- "internalType": "uint32",
739
- "name": "maxReferrals",
812
+ "internalType": "Blocknumber",
813
+ "name": "updatedIn",
740
814
  "type": "uint32"
741
815
  },
742
816
  {
743
- "internalType": "uint32",
744
- "name": "usedReferrals",
817
+ "internalType": "Blocknumber",
818
+ "name": "createdIn",
745
819
  "type": "uint32"
746
- },
747
- {
748
- "internalType": "Timestamp",
749
- "name": "expiryAt",
750
- "type": "uint40"
751
- },
752
- {
753
- "internalType": "bytes",
754
- "name": "data",
755
- "type": "bytes"
756
820
  }
757
821
  ],
758
- "internalType": "struct IDistribution.ReferralInfo",
759
- "name": "info",
822
+ "internalType": "struct IKeyValueStore.Metadata",
823
+ "name": "metadata",
760
824
  "type": "tuple"
761
825
  }
762
826
  ],
@@ -766,27 +830,71 @@
766
830
  {
767
831
  "inputs": [
768
832
  {
769
- "internalType": "RiskId",
770
- "name": "riskId",
771
- "type": "bytes8"
833
+ "internalType": "ClaimId",
834
+ "name": "claimId",
835
+ "type": "uint16"
836
+ },
837
+ {
838
+ "internalType": "uint24",
839
+ "name": "idx",
840
+ "type": "uint24"
772
841
  }
773
842
  ],
774
- "name": "getRiskInfo",
843
+ "name": "getPayoutId",
844
+ "outputs": [
845
+ {
846
+ "internalType": "PayoutId",
847
+ "name": "payoutId",
848
+ "type": "uint40"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [
856
+ {
857
+ "internalType": "NftId",
858
+ "name": "policyNftId",
859
+ "type": "uint96"
860
+ },
861
+ {
862
+ "internalType": "PayoutId",
863
+ "name": "payoutId",
864
+ "type": "uint40"
865
+ }
866
+ ],
867
+ "name": "getPayoutInfo",
775
868
  "outputs": [
776
869
  {
777
870
  "components": [
778
871
  {
779
- "internalType": "NftId",
780
- "name": "productNftId",
872
+ "internalType": "ClaimId",
873
+ "name": "claimId",
874
+ "type": "uint16"
875
+ },
876
+ {
877
+ "internalType": "Amount",
878
+ "name": "amount",
781
879
  "type": "uint96"
782
880
  },
881
+ {
882
+ "internalType": "address",
883
+ "name": "beneficiary",
884
+ "type": "address"
885
+ },
783
886
  {
784
887
  "internalType": "bytes",
785
888
  "name": "data",
786
889
  "type": "bytes"
890
+ },
891
+ {
892
+ "internalType": "Timestamp",
893
+ "name": "paidAt",
894
+ "type": "uint40"
787
895
  }
788
896
  ],
789
- "internalType": "struct IRisk.RiskInfo",
897
+ "internalType": "struct IPolicy.PayoutInfo",
790
898
  "name": "info",
791
899
  "type": "tuple"
792
900
  }
@@ -798,16 +906,21 @@
798
906
  "inputs": [
799
907
  {
800
908
  "internalType": "NftId",
801
- "name": "productNftId",
909
+ "name": "policyNftId",
802
910
  "type": "uint96"
911
+ },
912
+ {
913
+ "internalType": "PayoutId",
914
+ "name": "payoutId",
915
+ "type": "uint40"
803
916
  }
804
917
  ],
805
- "name": "getTokenHandler",
918
+ "name": "getPayoutState",
806
919
  "outputs": [
807
920
  {
808
- "internalType": "address",
809
- "name": "tokenHandler",
810
- "type": "address"
921
+ "internalType": "StateId",
922
+ "name": "state",
923
+ "type": "uint8"
811
924
  }
812
925
  ],
813
926
  "stateMutability": "view",
@@ -817,161 +930,913 @@
817
930
  "inputs": [
818
931
  {
819
932
  "internalType": "NftId",
820
- "name": "productNftId",
933
+ "name": "policyNftId",
821
934
  "type": "uint96"
822
935
  }
823
936
  ],
824
- "name": "getTreasuryInfo",
937
+ "name": "getPolicyInfo",
825
938
  "outputs": [
826
939
  {
827
940
  "components": [
828
- {
829
- "internalType": "contract IERC20Metadata",
830
- "name": "token",
831
- "type": "address"
832
- },
833
- {
834
- "internalType": "contract TokenHandler",
835
- "name": "tokenHandler",
836
- "type": "address"
837
- },
838
941
  {
839
942
  "internalType": "NftId",
840
- "name": "distributionNftId",
943
+ "name": "productNftId",
841
944
  "type": "uint96"
842
945
  },
843
946
  {
844
947
  "internalType": "NftId",
845
- "name": "poolNftId",
948
+ "name": "bundleNftId",
846
949
  "type": "uint96"
847
950
  },
848
951
  {
849
- "components": [
850
- {
851
- "internalType": "UFixed",
852
- "name": "fractionalFee",
853
- "type": "uint256"
854
- },
855
- {
856
- "internalType": "uint256",
857
- "name": "fixedFee",
858
- "type": "uint256"
859
- }
860
- ],
861
- "internalType": "struct Fee",
862
- "name": "distributionFee",
863
- "type": "tuple"
952
+ "internalType": "ReferralId",
953
+ "name": "referralId",
954
+ "type": "bytes8"
864
955
  },
865
956
  {
866
- "components": [
867
- {
868
- "internalType": "UFixed",
869
- "name": "fractionalFee",
870
- "type": "uint256"
871
- },
872
- {
873
- "internalType": "uint256",
874
- "name": "fixedFee",
875
- "type": "uint256"
876
- }
877
- ],
878
- "internalType": "struct Fee",
879
- "name": "productFee",
880
- "type": "tuple"
957
+ "internalType": "RiskId",
958
+ "name": "riskId",
959
+ "type": "bytes8"
881
960
  },
882
961
  {
883
- "components": [
884
- {
885
- "internalType": "UFixed",
886
- "name": "fractionalFee",
887
- "type": "uint256"
888
- },
889
- {
890
- "internalType": "uint256",
891
- "name": "fixedFee",
892
- "type": "uint256"
893
- }
894
- ],
895
- "internalType": "struct Fee",
896
- "name": "processingFee",
897
- "type": "tuple"
962
+ "internalType": "Amount",
963
+ "name": "sumInsuredAmount",
964
+ "type": "uint96"
898
965
  },
899
966
  {
900
- "components": [
901
- {
902
- "internalType": "UFixed",
903
- "name": "fractionalFee",
904
- "type": "uint256"
905
- },
906
- {
907
- "internalType": "uint256",
908
- "name": "fixedFee",
909
- "type": "uint256"
910
- }
911
- ],
912
- "internalType": "struct Fee",
913
- "name": "poolFee",
914
- "type": "tuple"
967
+ "internalType": "Amount",
968
+ "name": "premiumAmount",
969
+ "type": "uint96"
915
970
  },
916
971
  {
917
- "components": [
918
- {
919
- "internalType": "UFixed",
920
- "name": "fractionalFee",
921
- "type": "uint256"
922
- },
923
- {
924
- "internalType": "uint256",
925
- "name": "fixedFee",
926
- "type": "uint256"
927
- }
928
- ],
929
- "internalType": "struct Fee",
930
- "name": "stakingFee",
931
- "type": "tuple"
972
+ "internalType": "Seconds",
973
+ "name": "lifetime",
974
+ "type": "uint40"
932
975
  },
933
976
  {
934
- "components": [
935
- {
936
- "internalType": "UFixed",
937
- "name": "fractionalFee",
938
- "type": "uint256"
939
- },
940
- {
941
- "internalType": "uint256",
942
- "name": "fixedFee",
943
- "type": "uint256"
944
- }
945
- ],
946
- "internalType": "struct Fee",
947
- "name": "performanceFee",
948
- "type": "tuple"
977
+ "internalType": "bytes",
978
+ "name": "applicationData",
979
+ "type": "bytes"
980
+ },
981
+ {
982
+ "internalType": "bytes",
983
+ "name": "processData",
984
+ "type": "bytes"
985
+ },
986
+ {
987
+ "internalType": "uint16",
988
+ "name": "claimsCount",
989
+ "type": "uint16"
990
+ },
991
+ {
992
+ "internalType": "uint16",
993
+ "name": "openClaimsCount",
994
+ "type": "uint16"
995
+ },
996
+ {
997
+ "internalType": "Amount",
998
+ "name": "claimAmount",
999
+ "type": "uint96"
1000
+ },
1001
+ {
1002
+ "internalType": "Amount",
1003
+ "name": "payoutAmount",
1004
+ "type": "uint96"
1005
+ },
1006
+ {
1007
+ "internalType": "Timestamp",
1008
+ "name": "activatedAt",
1009
+ "type": "uint40"
1010
+ },
1011
+ {
1012
+ "internalType": "Timestamp",
1013
+ "name": "expiredAt",
1014
+ "type": "uint40"
1015
+ },
1016
+ {
1017
+ "internalType": "Timestamp",
1018
+ "name": "closedAt",
1019
+ "type": "uint40"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct IPolicy.PolicyInfo",
1023
+ "name": "info",
1024
+ "type": "tuple"
1025
+ }
1026
+ ],
1027
+ "stateMutability": "view",
1028
+ "type": "function"
1029
+ },
1030
+ {
1031
+ "inputs": [
1032
+ {
1033
+ "internalType": "RiskId",
1034
+ "name": "riskId",
1035
+ "type": "bytes8"
1036
+ },
1037
+ {
1038
+ "internalType": "uint256",
1039
+ "name": "idx",
1040
+ "type": "uint256"
1041
+ }
1042
+ ],
1043
+ "name": "getPolicyNftIdForRisk",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "NftId",
1047
+ "name": "linkedPolicyNftId",
1048
+ "type": "uint96"
1049
+ }
1050
+ ],
1051
+ "stateMutability": "view",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "NftId",
1058
+ "name": "policyNftId",
1059
+ "type": "uint96"
1060
+ }
1061
+ ],
1062
+ "name": "getPolicyState",
1063
+ "outputs": [
1064
+ {
1065
+ "internalType": "StateId",
1066
+ "name": "state",
1067
+ "type": "uint8"
1068
+ }
1069
+ ],
1070
+ "stateMutability": "view",
1071
+ "type": "function"
1072
+ },
1073
+ {
1074
+ "inputs": [
1075
+ {
1076
+ "internalType": "NftId",
1077
+ "name": "poolNftId",
1078
+ "type": "uint96"
1079
+ }
1080
+ ],
1081
+ "name": "getPoolInfo",
1082
+ "outputs": [
1083
+ {
1084
+ "components": [
1085
+ {
1086
+ "internalType": "Amount",
1087
+ "name": "maxBalanceAmount",
1088
+ "type": "uint96"
1089
+ },
1090
+ {
1091
+ "internalType": "bool",
1092
+ "name": "isInterceptingBundleTransfers",
1093
+ "type": "bool"
1094
+ },
1095
+ {
1096
+ "internalType": "bool",
1097
+ "name": "isProcessingConfirmedClaims",
1098
+ "type": "bool"
1099
+ },
1100
+ {
1101
+ "internalType": "bool",
1102
+ "name": "isExternallyManaged",
1103
+ "type": "bool"
1104
+ },
1105
+ {
1106
+ "internalType": "bool",
1107
+ "name": "isVerifyingApplications",
1108
+ "type": "bool"
1109
+ },
1110
+ {
1111
+ "internalType": "UFixed",
1112
+ "name": "collateralizationLevel",
1113
+ "type": "uint256"
1114
+ },
1115
+ {
1116
+ "internalType": "UFixed",
1117
+ "name": "retentionLevel",
1118
+ "type": "uint256"
949
1119
  }
950
1120
  ],
951
- "internalType": "struct ITreasury.TreasuryInfo",
1121
+ "internalType": "struct IComponents.PoolInfo",
952
1122
  "name": "info",
953
1123
  "type": "tuple"
954
1124
  }
955
1125
  ],
956
- "stateMutability": "view",
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "NftId",
1133
+ "name": "policyNftId",
1134
+ "type": "uint96"
1135
+ }
1136
+ ],
1137
+ "name": "getPremiumInfo",
1138
+ "outputs": [
1139
+ {
1140
+ "components": [
1141
+ {
1142
+ "internalType": "Amount",
1143
+ "name": "productFeeAmount",
1144
+ "type": "uint96"
1145
+ },
1146
+ {
1147
+ "internalType": "Amount",
1148
+ "name": "distributionFeeAndCommissionAmount",
1149
+ "type": "uint96"
1150
+ },
1151
+ {
1152
+ "internalType": "Amount",
1153
+ "name": "poolPremiumAndFeeAmount",
1154
+ "type": "uint96"
1155
+ },
1156
+ {
1157
+ "internalType": "Amount",
1158
+ "name": "netPremiumAmount",
1159
+ "type": "uint96"
1160
+ },
1161
+ {
1162
+ "internalType": "Amount",
1163
+ "name": "fullPremiumAmount",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "Amount",
1168
+ "name": "premiumAmount",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "productFeeFixAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "Amount",
1178
+ "name": "poolFeeFixAmount",
1179
+ "type": "uint96"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "bundleFeeFixAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "distributionFeeFixAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "productFeeVarAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Amount",
1198
+ "name": "poolFeeVarAmount",
1199
+ "type": "uint96"
1200
+ },
1201
+ {
1202
+ "internalType": "Amount",
1203
+ "name": "bundleFeeVarAmount",
1204
+ "type": "uint96"
1205
+ },
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "distributionFeeVarAmount",
1209
+ "type": "uint96"
1210
+ },
1211
+ {
1212
+ "internalType": "Amount",
1213
+ "name": "distributionOwnerFeeFixAmount",
1214
+ "type": "uint96"
1215
+ },
1216
+ {
1217
+ "internalType": "Amount",
1218
+ "name": "distributionOwnerFeeVarAmount",
1219
+ "type": "uint96"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "commissionAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "discountAmount",
1229
+ "type": "uint96"
1230
+ }
1231
+ ],
1232
+ "internalType": "struct IPolicy.PremiumInfo",
1233
+ "name": "info",
1234
+ "type": "tuple"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [
1242
+ {
1243
+ "internalType": "NftId",
1244
+ "name": "policyNftId",
1245
+ "type": "uint96"
1246
+ }
1247
+ ],
1248
+ "name": "getPremiumInfoState",
1249
+ "outputs": [
1250
+ {
1251
+ "internalType": "StateId",
1252
+ "name": "state",
1253
+ "type": "uint8"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [
1261
+ {
1262
+ "internalType": "NftId",
1263
+ "name": "productNftId",
1264
+ "type": "uint96"
1265
+ }
1266
+ ],
1267
+ "name": "getProductInfo",
1268
+ "outputs": [
1269
+ {
1270
+ "components": [
1271
+ {
1272
+ "internalType": "bool",
1273
+ "name": "isProcessingFundedClaims",
1274
+ "type": "bool"
1275
+ },
1276
+ {
1277
+ "internalType": "bool",
1278
+ "name": "isInterceptingPolicyTransfers",
1279
+ "type": "bool"
1280
+ },
1281
+ {
1282
+ "internalType": "bool",
1283
+ "name": "hasDistribution",
1284
+ "type": "bool"
1285
+ },
1286
+ {
1287
+ "internalType": "uint8",
1288
+ "name": "expectedNumberOfOracles",
1289
+ "type": "uint8"
1290
+ },
1291
+ {
1292
+ "internalType": "uint8",
1293
+ "name": "numberOfOracles",
1294
+ "type": "uint8"
1295
+ },
1296
+ {
1297
+ "internalType": "NftId",
1298
+ "name": "poolNftId",
1299
+ "type": "uint96"
1300
+ },
1301
+ {
1302
+ "internalType": "NftId",
1303
+ "name": "distributionNftId",
1304
+ "type": "uint96"
1305
+ },
1306
+ {
1307
+ "internalType": "NftId[]",
1308
+ "name": "oracleNftId",
1309
+ "type": "uint96[]"
1310
+ }
1311
+ ],
1312
+ "internalType": "struct IComponents.ProductInfo",
1313
+ "name": "info",
1314
+ "type": "tuple"
1315
+ }
1316
+ ],
1317
+ "stateMutability": "view",
1318
+ "type": "function"
1319
+ },
1320
+ {
1321
+ "inputs": [
1322
+ {
1323
+ "internalType": "uint256",
1324
+ "name": "idx",
1325
+ "type": "uint256"
1326
+ }
1327
+ ],
1328
+ "name": "getProductNftId",
1329
+ "outputs": [
1330
+ {
1331
+ "internalType": "NftId",
1332
+ "name": "productNftId",
1333
+ "type": "uint96"
1334
+ }
1335
+ ],
1336
+ "stateMutability": "view",
1337
+ "type": "function"
1338
+ },
1339
+ {
1340
+ "inputs": [
1341
+ {
1342
+ "internalType": "ReferralId",
1343
+ "name": "referralId",
1344
+ "type": "bytes8"
1345
+ }
1346
+ ],
1347
+ "name": "getReferralInfo",
1348
+ "outputs": [
1349
+ {
1350
+ "components": [
1351
+ {
1352
+ "internalType": "NftId",
1353
+ "name": "distributionNftId",
1354
+ "type": "uint96"
1355
+ },
1356
+ {
1357
+ "internalType": "NftId",
1358
+ "name": "distributorNftId",
1359
+ "type": "uint96"
1360
+ },
1361
+ {
1362
+ "internalType": "string",
1363
+ "name": "referralCode",
1364
+ "type": "string"
1365
+ },
1366
+ {
1367
+ "internalType": "UFixed",
1368
+ "name": "discountPercentage",
1369
+ "type": "uint256"
1370
+ },
1371
+ {
1372
+ "internalType": "uint32",
1373
+ "name": "maxReferrals",
1374
+ "type": "uint32"
1375
+ },
1376
+ {
1377
+ "internalType": "uint32",
1378
+ "name": "usedReferrals",
1379
+ "type": "uint32"
1380
+ },
1381
+ {
1382
+ "internalType": "Timestamp",
1383
+ "name": "expiryAt",
1384
+ "type": "uint40"
1385
+ },
1386
+ {
1387
+ "internalType": "bytes",
1388
+ "name": "data",
1389
+ "type": "bytes"
1390
+ }
1391
+ ],
1392
+ "internalType": "struct IDistribution.ReferralInfo",
1393
+ "name": "info",
1394
+ "type": "tuple"
1395
+ }
1396
+ ],
1397
+ "stateMutability": "view",
1398
+ "type": "function"
1399
+ },
1400
+ {
1401
+ "inputs": [],
1402
+ "name": "getRegistry",
1403
+ "outputs": [
1404
+ {
1405
+ "internalType": "contract IRegistry",
1406
+ "name": "registry",
1407
+ "type": "address"
1408
+ }
1409
+ ],
1410
+ "stateMutability": "view",
1411
+ "type": "function"
1412
+ },
1413
+ {
1414
+ "inputs": [
1415
+ {
1416
+ "internalType": "NftId",
1417
+ "name": "policyNftId",
1418
+ "type": "uint96"
1419
+ }
1420
+ ],
1421
+ "name": "getRemainingClaimableAmount",
1422
+ "outputs": [
1423
+ {
1424
+ "internalType": "Amount",
1425
+ "name": "remainingClaimableAmount",
1426
+ "type": "uint96"
1427
+ }
1428
+ ],
1429
+ "stateMutability": "view",
1430
+ "type": "function"
1431
+ },
1432
+ {
1433
+ "inputs": [
1434
+ {
1435
+ "internalType": "RequestId",
1436
+ "name": "requestId",
1437
+ "type": "uint64"
1438
+ }
1439
+ ],
1440
+ "name": "getRequestInfo",
1441
+ "outputs": [
1442
+ {
1443
+ "components": [
1444
+ {
1445
+ "internalType": "NftId",
1446
+ "name": "requesterNftId",
1447
+ "type": "uint96"
1448
+ },
1449
+ {
1450
+ "internalType": "string",
1451
+ "name": "callbackMethodName",
1452
+ "type": "string"
1453
+ },
1454
+ {
1455
+ "internalType": "NftId",
1456
+ "name": "oracleNftId",
1457
+ "type": "uint96"
1458
+ },
1459
+ {
1460
+ "internalType": "bytes",
1461
+ "name": "requestData",
1462
+ "type": "bytes"
1463
+ },
1464
+ {
1465
+ "internalType": "bytes",
1466
+ "name": "responseData",
1467
+ "type": "bytes"
1468
+ },
1469
+ {
1470
+ "internalType": "Timestamp",
1471
+ "name": "respondedAt",
1472
+ "type": "uint40"
1473
+ },
1474
+ {
1475
+ "internalType": "Timestamp",
1476
+ "name": "expiredAt",
1477
+ "type": "uint40"
1478
+ },
1479
+ {
1480
+ "internalType": "bool",
1481
+ "name": "isCancelled",
1482
+ "type": "bool"
1483
+ }
1484
+ ],
1485
+ "internalType": "struct IOracle.RequestInfo",
1486
+ "name": "requestInfo",
1487
+ "type": "tuple"
1488
+ }
1489
+ ],
1490
+ "stateMutability": "view",
1491
+ "type": "function"
1492
+ },
1493
+ {
1494
+ "inputs": [
1495
+ {
1496
+ "internalType": "NftId",
1497
+ "name": "productNftId",
1498
+ "type": "uint96"
1499
+ },
1500
+ {
1501
+ "internalType": "uint256",
1502
+ "name": "idx",
1503
+ "type": "uint256"
1504
+ }
1505
+ ],
1506
+ "name": "getRiskId",
1507
+ "outputs": [
1508
+ {
1509
+ "internalType": "RiskId",
1510
+ "name": "riskId",
1511
+ "type": "bytes8"
1512
+ }
1513
+ ],
1514
+ "stateMutability": "view",
1515
+ "type": "function"
1516
+ },
1517
+ {
1518
+ "inputs": [
1519
+ {
1520
+ "internalType": "RiskId",
1521
+ "name": "riskId",
1522
+ "type": "bytes8"
1523
+ }
1524
+ ],
1525
+ "name": "getRiskInfo",
1526
+ "outputs": [
1527
+ {
1528
+ "components": [
1529
+ {
1530
+ "internalType": "NftId",
1531
+ "name": "productNftId",
1532
+ "type": "uint96"
1533
+ },
1534
+ {
1535
+ "internalType": "Timestamp",
1536
+ "name": "createdAt",
1537
+ "type": "uint40"
1538
+ },
1539
+ {
1540
+ "internalType": "bytes",
1541
+ "name": "data",
1542
+ "type": "bytes"
1543
+ }
1544
+ ],
1545
+ "internalType": "struct IRisk.RiskInfo",
1546
+ "name": "info",
1547
+ "type": "tuple"
1548
+ }
1549
+ ],
1550
+ "stateMutability": "view",
1551
+ "type": "function"
1552
+ },
1553
+ {
1554
+ "inputs": [],
1555
+ "name": "getRiskSet",
1556
+ "outputs": [
1557
+ {
1558
+ "internalType": "contract RiskSet",
1559
+ "name": "riskSet",
1560
+ "type": "address"
1561
+ }
1562
+ ],
1563
+ "stateMutability": "view",
1564
+ "type": "function"
1565
+ },
1566
+ {
1567
+ "inputs": [
1568
+ {
1569
+ "internalType": "RiskId",
1570
+ "name": "riskId",
1571
+ "type": "bytes8"
1572
+ }
1573
+ ],
1574
+ "name": "getRiskState",
1575
+ "outputs": [
1576
+ {
1577
+ "internalType": "StateId",
1578
+ "name": "stateId",
1579
+ "type": "uint8"
1580
+ }
1581
+ ],
1582
+ "stateMutability": "view",
1583
+ "type": "function"
1584
+ },
1585
+ {
1586
+ "inputs": [
1587
+ {
1588
+ "internalType": "Key32",
1589
+ "name": "key",
1590
+ "type": "bytes32"
1591
+ }
1592
+ ],
1593
+ "name": "getState",
1594
+ "outputs": [
1595
+ {
1596
+ "internalType": "StateId",
1597
+ "name": "state",
1598
+ "type": "uint8"
1599
+ }
1600
+ ],
1601
+ "stateMutability": "view",
1602
+ "type": "function"
1603
+ },
1604
+ {
1605
+ "inputs": [
1606
+ {
1607
+ "internalType": "NftId",
1608
+ "name": "componentNftId",
1609
+ "type": "uint96"
1610
+ }
1611
+ ],
1612
+ "name": "getToken",
1613
+ "outputs": [
1614
+ {
1615
+ "internalType": "contract IERC20Metadata",
1616
+ "name": "token",
1617
+ "type": "address"
1618
+ }
1619
+ ],
1620
+ "stateMutability": "view",
1621
+ "type": "function"
1622
+ },
1623
+ {
1624
+ "inputs": [
1625
+ {
1626
+ "internalType": "NftId",
1627
+ "name": "componentNftId",
1628
+ "type": "uint96"
1629
+ }
1630
+ ],
1631
+ "name": "getTokenHandler",
1632
+ "outputs": [
1633
+ {
1634
+ "internalType": "contract TokenHandler",
1635
+ "name": "tokenHandler",
1636
+ "type": "address"
1637
+ }
1638
+ ],
1639
+ "stateMutability": "view",
1640
+ "type": "function"
1641
+ },
1642
+ {
1643
+ "inputs": [
1644
+ {
1645
+ "internalType": "NftId",
1646
+ "name": "componentNftId",
1647
+ "type": "uint96"
1648
+ }
1649
+ ],
1650
+ "name": "getWallet",
1651
+ "outputs": [
1652
+ {
1653
+ "internalType": "address",
1654
+ "name": "wallet",
1655
+ "type": "address"
1656
+ }
1657
+ ],
1658
+ "stateMutability": "view",
1659
+ "type": "function"
1660
+ },
1661
+ {
1662
+ "inputs": [
1663
+ {
1664
+ "internalType": "address",
1665
+ "name": "account",
1666
+ "type": "address"
1667
+ },
1668
+ {
1669
+ "internalType": "RoleId",
1670
+ "name": "roleId",
1671
+ "type": "uint64"
1672
+ }
1673
+ ],
1674
+ "name": "hasAdminRole",
1675
+ "outputs": [
1676
+ {
1677
+ "internalType": "bool",
1678
+ "name": "isMember",
1679
+ "type": "bool"
1680
+ }
1681
+ ],
1682
+ "stateMutability": "view",
1683
+ "type": "function"
1684
+ },
1685
+ {
1686
+ "inputs": [
1687
+ {
1688
+ "internalType": "address",
1689
+ "name": "account",
1690
+ "type": "address"
1691
+ },
1692
+ {
1693
+ "internalType": "RoleId",
1694
+ "name": "roleId",
1695
+ "type": "uint64"
1696
+ }
1697
+ ],
1698
+ "name": "hasRole",
1699
+ "outputs": [
1700
+ {
1701
+ "internalType": "bool",
1702
+ "name": "isMember",
1703
+ "type": "bool"
1704
+ }
1705
+ ],
1706
+ "stateMutability": "view",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [],
1711
+ "name": "initialize",
1712
+ "outputs": [],
1713
+ "stateMutability": "nonpayable",
1714
+ "type": "function"
1715
+ },
1716
+ {
1717
+ "inputs": [
1718
+ {
1719
+ "internalType": "address",
1720
+ "name": "instanceAddress",
1721
+ "type": "address"
1722
+ }
1723
+ ],
1724
+ "name": "initializeWithInstance",
1725
+ "outputs": [],
1726
+ "stateMutability": "nonpayable",
957
1727
  "type": "function"
958
1728
  },
959
1729
  {
960
1730
  "inputs": [
961
1731
  {
962
1732
  "internalType": "address",
963
- "name": "registry",
1733
+ "name": "target",
964
1734
  "type": "address"
1735
+ }
1736
+ ],
1737
+ "name": "isLocked",
1738
+ "outputs": [
1739
+ {
1740
+ "internalType": "bool",
1741
+ "name": "",
1742
+ "type": "bool"
1743
+ }
1744
+ ],
1745
+ "stateMutability": "view",
1746
+ "type": "function"
1747
+ },
1748
+ {
1749
+ "inputs": [
1750
+ {
1751
+ "internalType": "NftId",
1752
+ "name": "policyNftId",
1753
+ "type": "uint96"
965
1754
  },
1755
+ {
1756
+ "internalType": "ClaimId",
1757
+ "name": "claimId",
1758
+ "type": "uint16"
1759
+ }
1760
+ ],
1761
+ "name": "payouts",
1762
+ "outputs": [
1763
+ {
1764
+ "internalType": "uint24",
1765
+ "name": "payoutCount",
1766
+ "type": "uint24"
1767
+ }
1768
+ ],
1769
+ "stateMutability": "view",
1770
+ "type": "function"
1771
+ },
1772
+ {
1773
+ "inputs": [
1774
+ {
1775
+ "internalType": "RiskId",
1776
+ "name": "riskId",
1777
+ "type": "bytes8"
1778
+ }
1779
+ ],
1780
+ "name": "policiesForRisk",
1781
+ "outputs": [
1782
+ {
1783
+ "internalType": "uint256",
1784
+ "name": "linkedPolicies",
1785
+ "type": "uint256"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view",
1789
+ "type": "function"
1790
+ },
1791
+ {
1792
+ "inputs": [
966
1793
  {
967
1794
  "internalType": "NftId",
968
- "name": "instanceNftId",
1795
+ "name": "policyNftId",
969
1796
  "type": "uint96"
970
1797
  }
971
1798
  ],
972
- "name": "initialize",
973
- "outputs": [],
974
- "stateMutability": "nonpayable",
1799
+ "name": "policyIsActive",
1800
+ "outputs": [
1801
+ {
1802
+ "internalType": "bool",
1803
+ "name": "isCloseable",
1804
+ "type": "bool"
1805
+ }
1806
+ ],
1807
+ "stateMutability": "view",
1808
+ "type": "function"
1809
+ },
1810
+ {
1811
+ "inputs": [],
1812
+ "name": "products",
1813
+ "outputs": [
1814
+ {
1815
+ "internalType": "uint256",
1816
+ "name": "productCount",
1817
+ "type": "uint256"
1818
+ }
1819
+ ],
1820
+ "stateMutability": "view",
1821
+ "type": "function"
1822
+ },
1823
+ {
1824
+ "inputs": [
1825
+ {
1826
+ "internalType": "NftId",
1827
+ "name": "productNftId",
1828
+ "type": "uint96"
1829
+ }
1830
+ ],
1831
+ "name": "risks",
1832
+ "outputs": [
1833
+ {
1834
+ "internalType": "uint256",
1835
+ "name": "riskCount",
1836
+ "type": "uint256"
1837
+ }
1838
+ ],
1839
+ "stateMutability": "view",
975
1840
  "type": "function"
976
1841
  },
977
1842
  {
@@ -993,6 +1858,25 @@
993
1858
  "stateMutability": "pure",
994
1859
  "type": "function"
995
1860
  },
1861
+ {
1862
+ "inputs": [
1863
+ {
1864
+ "internalType": "NftId",
1865
+ "name": "componentNftId",
1866
+ "type": "uint96"
1867
+ }
1868
+ ],
1869
+ "name": "toComponentKey",
1870
+ "outputs": [
1871
+ {
1872
+ "internalType": "Key32",
1873
+ "name": "",
1874
+ "type": "bytes32"
1875
+ }
1876
+ ],
1877
+ "stateMutability": "pure",
1878
+ "type": "function"
1879
+ },
996
1880
  {
997
1881
  "inputs": [
998
1882
  {
@@ -1031,6 +1915,25 @@
1031
1915
  "stateMutability": "pure",
1032
1916
  "type": "function"
1033
1917
  },
1918
+ {
1919
+ "inputs": [
1920
+ {
1921
+ "internalType": "NftId",
1922
+ "name": "productNftId",
1923
+ "type": "uint96"
1924
+ }
1925
+ ],
1926
+ "name": "toFeeKey",
1927
+ "outputs": [
1928
+ {
1929
+ "internalType": "Key32",
1930
+ "name": "",
1931
+ "type": "bytes32"
1932
+ }
1933
+ ],
1934
+ "stateMutability": "pure",
1935
+ "type": "function"
1936
+ },
1034
1937
  {
1035
1938
  "inputs": [
1036
1939
  {
@@ -1092,11 +1995,11 @@
1092
1995
  "inputs": [
1093
1996
  {
1094
1997
  "internalType": "NftId",
1095
- "name": "productNftId",
1998
+ "name": "policyNftId",
1096
1999
  "type": "uint96"
1097
2000
  }
1098
2001
  ],
1099
- "name": "toProductKey",
2002
+ "name": "toPremiumKey",
1100
2003
  "outputs": [
1101
2004
  {
1102
2005
  "internalType": "Key32",
@@ -1111,21 +2014,16 @@
1111
2014
  "inputs": [
1112
2015
  {
1113
2016
  "internalType": "NftId",
1114
- "name": "distributionNftId",
2017
+ "name": "productNftId",
1115
2018
  "type": "uint96"
1116
- },
1117
- {
1118
- "internalType": "string",
1119
- "name": "referralCode",
1120
- "type": "string"
1121
2019
  }
1122
2020
  ],
1123
- "name": "toReferralId",
2021
+ "name": "toProductKey",
1124
2022
  "outputs": [
1125
2023
  {
1126
- "internalType": "ReferralId",
1127
- "name": "referralId",
1128
- "type": "bytes8"
2024
+ "internalType": "Key32",
2025
+ "name": "",
2026
+ "type": "bytes32"
1129
2027
  }
1130
2028
  ],
1131
2029
  "stateMutability": "pure",
@@ -1135,16 +2033,21 @@
1135
2033
  "inputs": [
1136
2034
  {
1137
2035
  "internalType": "NftId",
1138
- "name": "productNftId",
2036
+ "name": "distributionNftId",
1139
2037
  "type": "uint96"
2038
+ },
2039
+ {
2040
+ "internalType": "string",
2041
+ "name": "referralCode",
2042
+ "type": "string"
1140
2043
  }
1141
2044
  ],
1142
- "name": "toTreasuryKey",
2045
+ "name": "toReferralId",
1143
2046
  "outputs": [
1144
2047
  {
1145
- "internalType": "Key32",
1146
- "name": "",
1147
- "type": "bytes32"
2048
+ "internalType": "ReferralId",
2049
+ "name": "referralId",
2050
+ "type": "bytes8"
1148
2051
  }
1149
2052
  ],
1150
2053
  "stateMutability": "pure",
@@ -1175,212 +2078,360 @@
1175
2078
  "type": "function"
1176
2079
  }
1177
2080
  ],
1178
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620032643803806200326483398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b612c5f80620006056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea264697066735822122023eb925b574efc1062371b8a4c567556b6c71f049264413c1e3bc32a9f47595f64736f6c63430008140033",
1179
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d14146104e5578063f2a41374146104fd578063f2b246c314610512578063f7f318d31461052557600080fd5b8063d06458c6146104a1578063d4cda0d8146104c1578063dd26287a146104d257600080fd5b8063a310e2a3116100d3578063a310e2a3146103bf578063a5961b4c146103ea578063b82d7ef514610457578063bd7d9d851461048157600080fd5b8063887b1fa91461030d57806390af70641461032d5780639ad69c671461034d57600080fd5b806344aa68361161016657806364eb3a9b1161014057806364eb3a9b146102b95780637bfd3217146102cc5780637e54602a146102df5780637e798669146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806355e343a91461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611964565b610538565b6040519081526020015b60405180910390f35b6101e76101e23660046119b3565b6105c0565b6040516101cb9190611a20565b6101c1610202366004611ad0565b610719565b61021a610215366004611ad0565b6107b3565b6040516101cb9190611aed565b6101c1610235366004611ad0565b61086d565b61024d610248366004611c97565b61089a565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d29565b610917565b61028c610287366004611ad0565b610952565b6040516101cb9190611d42565b6102ac6102a7366004611ad0565b6109f8565b6040516101cb9190611df6565b6101c16102c7366004611ad0565b610a9e565b6101c16102da366004611ad0565b610acb565b6101c16102ed366004611ad0565b610af8565b6001546040516001600160601b0390911681526020016101cb565b61032061031b3660046119b3565b610b25565b6040516101cb9190611e9b565b61034061033b366004611ad0565b610c4e565b6040516101cb9190611fc6565b61036061035b366004611ad0565b610cf4565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103d26103cd366004611ad0565b610d9a565b6040516001600160a01b0390911681526020016101cb565b6103fd6103f8366004611d29565b610e48565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61046a6104653660046119b3565b610edc565b6040805192835260ff9091166020830152016101cb565b61049461048f366004611ad0565b611184565b6040516101cb9190611fd5565b6104b46104af3660046119b3565b6112a2565b6040516101cb9190612116565b6002546001600160a01b03166103d2565b6101c16104e0366004611ad0565b611415565b600154600160601b90046001600160a01b03166103d2565b61051061050b3660046121db565b611442565b005b610340610520366004611ad0565b611734565b6101c1610533366004611ad0565b611759565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b79190612209565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190612209565b6040518263ffffffff1660e01b81526004016106a991815260200190565b600060405180830381865afa1580156106c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106ee9190810190612267565b805190915015610713578080602001905181019061070c91906122dd565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561078f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612209565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107ec85610af8565b6040518263ffffffff1660e01b815260040161080a91815260200190565b600060405180830381865afa158015610827573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261084f9190810190612267565b805190915015610713578080602001905181019061070c91906123d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610742565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108d6908690869060040161247c565b602060405180830381865af41580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b7919061249e565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610772565b61095a611786565b6002546000906001600160a01b03166354f6127f61097785611759565b6040518263ffffffff1660e01b815260040161099591815260200190565b600060405180830381865afa1580156109b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109da9190810190612267565b805190915015610713578080602001905181019061070c91906124eb565b610a00611804565b6002546000906001600160a01b03166354f6127f610a1d85611415565b6040518263ffffffff1660e01b8152600401610a3b91815260200190565b600060405180830381865afa158015610a58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a809190810190612267565b805190915015610713578080602001905181019061070c91906125d6565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610742565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610742565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcd9190612209565b6040518263ffffffff1660e01b8152600401610beb91815260200190565b600060405180830381865afa158015610c08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c309190810190612267565b805190915015610713578080602001905181019061070c9190612678565b610c56611875565b6002546000906001600160a01b03166354f6127f610c7385610acb565b6040518263ffffffff1660e01b8152600401610c9191815260200190565b600060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cd69190810190612267565b805190915015610713578080602001905181019061070c91906127c9565b610cfc61191c565b6002546000906001600160a01b03166354f6127f610d198561086d565b6040518263ffffffff1660e01b8152600401610d3791815260200190565b600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c9190810190612267565b805190915015610713578080602001905181019061070c91906127e6565b60025460009081906001600160a01b03166354f6127f610db985610719565b6040518263ffffffff1660e01b8152600401610dd791815260200190565b600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190612267565b80519091501561071357600081806020019051810190610e3c91906127c9565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ba9190612877565b6000806000610eea846105c0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6d91906128e5565b15610fec5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf9190612209565b60645b9250925050915091565b6110708160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561103d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110619190612900565b64ffffffffff90811691161090565b156110e95773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e29190612209565b606e610fe2565b806060015163ffffffff16816080015163ffffffff16106111785773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190612209565b6078610fe2565b6040810151600a610fe2565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61122185610a9e565b6040518263ffffffff1660e01b815260040161123f91815260200190565b600060405180830381865afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112849190810190612267565b805190915015610713578080602001905181019061070c919061292d565b61130160405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113949190612209565b6040518263ffffffff1660e01b81526004016113b291815260200190565b600060405180830381865afa1580156113cf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f79190810190612267565b805190915015610713578080602001905181019061070c9190612a92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610742565b60005460ff16156114a45760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166114fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161149b565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611552573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157691906128e5565b6115c25760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161149b565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561164d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116759190810190612b89565b90506116928160400151611687604690565b60ff90811691161490565b6116e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161149b565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61173c611875565b6002546000906001600160a01b03166354f6127f610c7385610719565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610742565b60405180610120016040528060006001600160601b031681526020016117bf604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611861604051806040016040528060008152602001600081525090565b6000806040838503121561197757600080fd5b8235915060208301358060000b811461198f57600080fd5b809150509250929050565b6001600160c01b0319811681146119b057600080fd5b50565b6000602082840312156119c557600080fd5b813561070c8161199a565b60005b838110156119eb5781810151838201526020016119d3565b50506000910152565b60008151808452611a0c8160208601602086016119d0565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a506101008401826119f4565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8360a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611ab282826119f4565b95945050505050565b6001600160601b03811681146119b057600080fd5b600060208284031215611ae257600080fd5b813561070c81611abb565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b2a60808401826119f4565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b6a57611b6a611b32565b60405290565b604080519081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161012081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161010081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161014081016001600160401b0381118282101715611b6a57611b6a611b32565b60405160a081016001600160401b0381118282101715611b6a57611b6a611b32565b60405161020081016001600160401b0381118282101715611b6a57611b6a611b32565b604051601f8201601f191681016001600160401b0381118282101715611c6857611c68611b32565b604052919050565b60006001600160401b03821115611c8957611c89611b32565b50601f01601f191660200190565b60008060408385031215611caa57600080fd5b8235611cb581611abb565b915060208301356001600160401b03811115611cd057600080fd5b8301601f81018513611ce157600080fd5b8035611cf4611cef82611c70565b611c40565b818152866020838501011115611d0957600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d3b57600080fd5b5035919050565b60208152611d5c6020820183516001600160601b03169052565b60006020830151611d7a604084018280518252602090810151910152565b506040830151610140806080850152611d976101608501836119f4565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611ddf61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611e429084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b2a60608401826119f4565b80516001600160a01b031682526020810151611ef060208401826001600160a01b03169052565b506040810151611f0b60408401826001600160601b03169052565b506060810151611f2660608401826001600160601b03169052565b506080810151611f43608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611f798185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105ba8284611ec9565b60208152611fef6020820183516001600160601b03169052565b6000602083015161200b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120836102208601846119f4565b9250808601519050610140601f1986850301818701526120a384836119f4565b9350808701519150506101606120be8187018361ffff169052565b86015190506101806120d58682018361ffff169052565b8601516101a08681019190915286015190506101c06120fc8187018364ffffffffff169052565b86015190506101e0611ddf8682018364ffffffffff169052565b60208152600082516101208060208501526121356101408501836119f4565b9150602085015160408501526040850151606085015260608501516080850152608085015161216c60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121a28187018315159052565b860151858403601f19018387015290506121bc83826119f4565b9695505050505050565b6001600160a01b03811681146119b057600080fd5b600080604083850312156121ee57600080fd5b82356121f9816121c6565b9150602083013561198f81611abb565b60006020828403121561221b57600080fd5b5051919050565b600082601f83011261223357600080fd5b8151612241611cef82611c70565b81815284602083860101111561225657600080fd5b611b2a8260208301602087016119d0565b60006020828403121561227957600080fd5b81516001600160401b0381111561228f57600080fd5b611b2a84828501612222565b80516122a681611abb565b919050565b63ffffffff811681146119b057600080fd5b80516122a6816122ab565b805164ffffffffff811681146122a657600080fd5b6000602082840312156122ef57600080fd5b81516001600160401b038082111561230657600080fd5b9083019060e0828603121561231a57600080fd5b612322611b48565b61232b8361229b565b815260208301518281111561233f57600080fd5b61234b87828601612222565b60208301525060408301516040820152612367606084016122bd565b6060820152612378608084016122bd565b608082015261238960a084016122c8565b60a082015260c0830151828111156123a057600080fd5b6123ac87828601612222565b60c08301525095945050505050565b80516122a68161199a565b805180151581146122a657600080fd5b6000602082840312156123e857600080fd5b81516001600160401b03808211156123ff57600080fd5b908301906060828603121561241357600080fd5b60405160608101818110838211171561242e5761242e611b32565b604052825161243c8161199a565b815261244a602084016123c6565b602082015260408301518281111561246157600080fd5b61246d87828601612222565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b2a60408301846119f4565b6000602082840312156124b057600080fd5b815161070c8161199a565b6000604082840312156124cd57600080fd5b6124d5611b70565b9050815181526020820151602082015292915050565b6000602082840312156124fd57600080fd5b81516001600160401b038082111561251457600080fd5b90830190610140828603121561252957600080fd5b612531611b92565b61253a8361229b565b815261254986602085016124bb565b602082015260608301518281111561256057600080fd5b61256c87828601612222565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506125aa8284016122c8565b60e08201526125bc61012084016122c8565b91810191909152949350505050565b80516122a6816121c6565b600061016082840312156125e957600080fd5b6125f1611bb5565b6125fa8361229b565b8152612608602084016125cb565b60208201526040830151604082015261262484606085016124bb565b60608201526126368460a085016124bb565b60808201526126488460e085016124bb565b60a082015261265a61012084016123c6565b60c082015261266c61014084016125cb565b60e08201529392505050565b60006020828403121561268a57600080fd5b81516001600160401b03808211156126a157600080fd5b90830190604082860312156126b557600080fd5b6126bd611b70565b82516126c881611abb565b81526020830151828111156126dc57600080fd5b6126e887828601612222565b60208301525095945050505050565b6000610200828403121561270a57600080fd5b612712611bd8565b905061271d826125cb565b815261272b602083016125cb565b602082015261273c6040830161229b565b604082015261274d6060830161229b565b606082015261275f83608084016124bb565b60808201526127718360c084016124bb565b60a0820152610100612785848285016124bb565b60c08301526127988461014085016124bb565b60e08301526127ab8461018085016124bb565b908201526127bd836101c084016124bb565b61012082015292915050565b600061020082840312156127dc57600080fd5b6105b783836126f7565b600060c082840312156127f857600080fd5b612800611bfb565b825161280b81611abb565b8152602083015161281b816121c6565b602082015261282d84604085016124bb565b604082015261283e608084016123c6565b606082015260a0830151612851816121c6565b60808201529392505050565b60ff811681146119b057600080fd5b80516122a68161285d565b600060a0828403121561288957600080fd5b612891611bfb565b825161289c8161285d565b815260208301516128ac8161285d565b602082015260408301516128bf816121c6565b604082015260608301516128d2816122ab565b60608201526080830151612851816122ab565b6000602082840312156128f757600080fd5b6105b7826123c6565b60006020828403121561291257600080fd5b6105b7826122c8565b805161ffff811681146122a657600080fd5b60006020828403121561293f57600080fd5b81516001600160401b038082111561295657600080fd5b90830190610200828603121561296b57600080fd5b612973611c1d565b61297c8361229b565b815261298a6020840161229b565b602082015261299b604084016123bb565b60408201526129ac606084016123bb565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156129ed57600080fd5b6129f988828701612222565b8284015250506101208084015183811115612a1357600080fd5b612a1f88828701612222565b8284015250506101409150612a3582840161291b565b828201526101609150612a4982840161291b565b82820152610180915081830151828201526101a09150612a6a8284016122c8565b828201526101c09150612a7e8284016122c8565b828201526101e091506125bc8284016122c8565b600060208284031215612aa457600080fd5b81516001600160401b0380821115612abb57600080fd5b908301906101208286031215612ad057600080fd5b612ad8611b92565b825182811115612ae757600080fd5b612af387828601612222565b825250602083015160208201526040830151604082015260608301516060820152612b20608084016122bd565b6080820152612b3160a084016122bd565b60a0820152612b4260c084016123c6565b60c0820152612b5360e084016123c6565b60e08201526101008084015183811115612b6c57600080fd5b612b7888828701612222565b918301919091525095945050505050565b600060208284031215612b9b57600080fd5b81516001600160401b0380821115612bb257600080fd5b9083019060e08286031215612bc657600080fd5b612bce611b48565b612bd78361229b565b8152612be56020840161229b565b6020820152612bf66040840161286c565b6040820152612c07606084016123c6565b6060820152612c18608084016125cb565b608082015261238960a084016125cb56fea264697066735822122023eb925b574efc1062371b8a4c567556b6c71f049264413c1e3bc32a9f47595f64736f6c63430008140033",
2081
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b506153d4806100255f395ff3fe608060405234801561000f575f80fd5b506004361061040c575f3560e01c80636ebed90811610221578063c71e261f1161012a578063e98413ff116100b4578063f7f318d311610084578063f7f318d314610ac6578063fad77c3b14610ad9578063fcad2c4b14610aec578063fd80249214610aff578063febe92af14610b1f575f80fd5b8063e98413ff14610a57578063f0ea17c314610a80578063f3ed991914610aa0578063f4809edd14610ab3575f80fd5b8063db70354c116100fa578063db70354c146109ed578063dd26287a14610a00578063de7b5d1414610a13578063dfbf164014610a24578063e444c3df14610a37575f80fd5b8063c71e261f146109a1578063cd55e51b146109a9578063d06458c6146109bc578063d4cda0d8146109dc575f80fd5b80639096a1f3116101ab578063a7ef3d211161017b578063a7ef3d211461091c578063b82d7ef51461093c578063ba579bdc14610966578063ba62fbe414610979578063bd7d9d8514610981575f80fd5b80639096a1f31461088757806394b9929b1461089a578063a310e2a3146108ad578063a5961b4c146108c0575f80fd5b80637e54602a116101f15780637e54602a146108315780637e798669146108445780638129fc1c1461084c578063887b1fa9146108545780638eb9000d14610874575f80fd5b80636ebed908146107e557806378ae9350146107f85780637bfd32171461080b5780637d8f1e811461081e575f80fd5b806335898f5d116103235780634fb784f5116102ad57806364fc31421161027d57806364fc3142146107795780636553994c1461078c5780636791f7ab1461079f5780636a05a413146107b45780636dddada4146107d4575f80fd5b80634fb784f5146106c557806357f80bbf146106d85780635ab1bd531461075157806364eb3a9b14610766575f80fd5b80633f093cd6116102f35780633f093cd61461064957806344aa68361461065c5780634793b4ab1461066f5780634a4fbeec1461068f5780634d21a63d146106b2575f80fd5b806335898f5d146105ea578063380bd950146105fd5780633b046f09146106105780633f07127514610636575f80fd5b80631488c845116103a457806327b1d7921161037457806327b1d7921461057e5780632c0cd0601461059e5780632f458a11146105b157806333fc7dee146105c457806334bd5be3146105d7575f80fd5b80631488c8451461052557806315b74532146105385780631d3be4771461054b578063228e42ec1461056b575f80fd5b80630e0c586d116103df5780630e0c586d1461049857806310bf267b146104bd578063128817d4146104e457806313ab148d14610504575f80fd5b80630232ca491461041057806309648a9d1461044057806309c5844f146104655780630b5d931c14610478575b5f80fd5b61042361041e36600461356b565b610b3f565b6040516001600160601b0390911681526020015b60405180910390f35b61045361044e366004613586565b610bb9565b60405160ff9091168152602001610437565b61045361047336600461356b565b610c2e565b61048b61048636600461356b565b610ca7565b60405161043791906135e0565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610437565b6104d06104cb366004613687565b610d8c565b60405162ffffff9091168152602001610437565b6104f76104f23660046136be565b610da2565b60405161043791906136e8565b61051761051236600461356b565b610e22565b604051908152602001610437565b6105176105333660046136fd565b610e96565b610423610546366004613586565b610f12565b61055e61055936600461373a565b610f43565b6040516104379190613783565b61042361057936600461356b565b611094565b61059161058c36600461356b565b6110cd565b604051610437919061383c565b6104236105ac36600461356b565b61118a565b6105176105bf36600461356b565b6111aa565b6105176105d236600461356b565b6111e8565b6105176105e536600461356b565b611226565b6105176105f836600461356b565b611299565b61042361060b366004613895565b6112c5565b61062361061e36600461356b565b611346565b60405161ffff9091168152602001610437565b61051761064436600461356b565b61135b565b6104f7610657366004613a35565b611387565b61051761066a366004613586565b6113dd565b61068261067d36600461356b565b611417565b6040516104379190613ac1565b6106a261069d366004613b60565b6114b8565b6040519015158152602001610437565b6104a56106c036600461356b565b61158c565b6105176106d336600461356b565b611608565b6106eb6106e636600461356b565b611634565b60405161043791905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f5461010090046001600160a01b03166104a5565b61051761077436600461356b565b611705565b6106a2610787366004613b8f565b611731565b61051761079a36600461373a565b611816565b6107b26107ad366004613b60565b611847565b005b6107c76107c236600461356b565b611a9a565b6040516104379190613bbb565b6003546001600160a01b03166104a5565b6104236107f33660046136be565b611b3b565b610453610806366004613687565b611b7b565b61051761081936600461356b565b611c72565b61045361082c36600461356b565b611c9e565b61051761083f36600461356b565b611cba565b610423611ce6565b6107b2611d5e565b61086761086236600461373a565b611d8c565b6040516104379190613c64565b61042361088236600461356b565b611eb9565b61045361089536600461356b565b611ef2565b6105176108a836600461356b565b611f0e565b6104a56108bb36600461356b565b611f47565b6108d36108ce366004613586565b611fe2565b60405161043791905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61092f61092a366004613687565b61206c565b6040516104379190613ca2565b61094f61094a36600461373a565b6121c8565b6040805192835260ff909116602083015201610437565b6106a261097436600461356b565b612464565b6105176126b2565b61099461098f36600461356b565b61278a565b6040516104379190613d4c565b6105176128a2565b6106a26109b7366004613b8f565b61290d565b6109cf6109ca36600461373a565b6129b7565b6040516104379190613ec4565b6002546001600160a01b03166104a5565b6104236109fb3660046136be565b612b31565b610517610a0e36600461356b565b612b71565b6001546001600160a01b03166104a5565b6104a5610a3236600461356b565b612b9d565b610a4a610a4536600461356b565b612bf5565b6040516104379190613f83565b610a6a610a65366004614183565b612d1e565b60405164ffffffffff9091168152602001610437565b610a93610a8e36600461356b565b612db0565b60405161043791906141af565b610453610aae36600461421e565b612e84565b6104f7610ac13660046136be565b612ee6565b610517610ad436600461356b565b612f2b565b610623610ae7366004613586565b612f57565b610453610afa36600461373a565b612fda565b610b12610b0d36600461421e565b613129565b604051610437919061424a565b610b32610b2d3660046142b5565b61326b565b60405161043791906142d0565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906143ae565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2491906143fe565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c4a84611226565b6040518263ffffffff1660e01b8152600401610c6891815260200190565b602060405180830381865afa158015610c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614465565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610d0285611c72565b6040518263ffffffff1660e01b8152600401610d2091815260200190565b5f60405180830381865afa158015610d3a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d6191908101906144cf565b805190915015610d865780806020019051810190610d7f9190614597565b9392505050565b50919050565b5f610d97838361206c565b604001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614684565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061469f565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061469f565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b74565b60408051610100810182525f8082526020820181905260609282018390528282018190526080820181905260a0820181905260c082015260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610fd8906001600160c01b03198916906004016136e8565b602060405180830381865af4158015610ff3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611017919061469f565b6040518263ffffffff1660e01b815260040161103591815260200190565b5f60405180830381865afa15801561104f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261107691908101906144cf565b805190915015610d865780806020019051810190610d7f91906146c1565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b74565b604080516080810182525f808252602082018190526060928201839052918101919091526002545f906001600160a01b03166354f6127f61110d85611cba565b6040518263ffffffff1660e01b815260040161112b91815260200190565b5f60405180830381865afa158015611145573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261116c91908101906144cf565b805190915015610d865780806020019051810190610d7f91906147a7565b5f806111958361278a565b9050610d7f81608001518261016001516133b9565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e57565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e57565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e72573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61124e565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa158015611322573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f91906143ae565b5f6113508261278a565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961124e565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906113c2908690869060040161484c565b602060405180830381865af4158015610dfe573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa68369060240161127e565b61141f613419565b6002545f906001600160a01b03166354f6127f61143b85612f2b565b6040518263ffffffff1660e01b815260040161145991815260200190565b5f60405180830381865afa158015611473573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261149a91908101906144cf565b805190915015610d865780806020019051810190610d7f91906148b9565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611523919061497d565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611568573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614998565b5f8061159783611f47565b90506001600160a01b03811615610d8657806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061497d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61124e565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61168885612b71565b6040518263ffffffff1660e01b81526004016116a691815260200190565b5f60405180830381865afa1580156116c0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116e791908101906144cf565b805190915015610d865780806020019051810190610d7f91906149b1565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561124e565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611778573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179c919061497d565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614998565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e57918691016136e8565b5f5460ff161561186a5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa1580156118cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f3919061497d565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611953573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611977919061497d565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa1580156119d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f7919061497d565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a77919061497d565b600480546001600160a01b0319166001600160a01b039290921691909117905550565b611aa2613470565b6002545f906001600160a01b03166354f6127f611abe8561135b565b6040518263ffffffff1660e01b8152600401611adc91815260200190565b5f60405180830381865afa158015611af6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1d91908101906144cf565b805190915015610d865780806020019051810190610d7f9190614a39565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611307565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611bf1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c15919061469f565b6040518263ffffffff1660e01b8152600401611c3391815260200190565b602060405180830381865afa158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614465565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61124e565b6002545f906001600160a01b03166309648a9d610c4a84612f2b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761124e565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5991906143ae565b905090565b5f5460ff1615611d815760405163ae9eff1b60e01b815260040160405180910390fd5b611d8a33611847565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611dfd906001600160c01b03198916906004016136e8565b602060405180830381865af4158015611e18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e3c919061469f565b6040518263ffffffff1660e01b8152600401611e5a91815260200190565b5f60405180830381865afa158015611e74573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e9b91908101906144cf565b805190915015610d865780806020019051810190610d7f9190614ad6565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b74565b6002545f906001600160a01b03166309648a9d610c4a84611705565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e57565b6002545f9081906001600160a01b03166354f6127f611f6585611608565b6040518263ffffffff1660e01b8152600401611f8391815260200190565b5f60405180830381865afa158015611f9d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fc491908101906144cf565b805190915015610d865780806020019051810190610d979190614b83565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612048573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906143fe565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612118573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061213c919061469f565b6040518263ffffffff1660e01b815260040161215a91815260200190565b5f60405180830381865afa158015612174573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261219b91908101906144cf565b8051909150156121c157808060200190518101906121b99190614c48565b915050610bb3565b5092915050565b5f805f6121d484610f43565b60c081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612231573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122559190614998565b156122d25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c5919061469f565b60645b9250925050915091565b6123548160c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123459190614d31565b64ffffffffff90811691161090565b156123cb5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123c4919061469f565b606e6122c8565b806080015163ffffffff168160a0015163ffffffff16106124585773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561242d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612451919061469f565b60786122c8565b6060810151600a6122c8565b5f8061246f8361278a565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156124cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ef9190614998565b156124fc57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612557573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061257b9190614998565b1561258857505f92915050565b61260b816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156125d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125fc9190614d31565b64ffffffffff90811691161190565b1561261857505f92915050565b61269c816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612668573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061268c9190614d31565b64ffffffffff9081169116111590565b156126a957505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156126f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271d919061497d565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277c9190614d4c565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f61282585611705565b6040518263ffffffff1660e01b815260040161284391815260200190565b5f60405180830381865afa15801561285d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261288491908101906144cf565b805190915015610d865780806020019051810190610d7f9190614d72565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156128e9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d59919061469f565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612954573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612978919061497d565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117d7565b612a1f604051806101400160405280606081526020015f6001600160601b031681526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f64ffffffffff1681526020015f151581526020015f15158152602001606081525090565b6002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612a75906001600160c01b03198916906004016136e8565b602060405180830381865af4158015612a90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ab4919061469f565b6040518263ffffffff1660e01b8152600401612ad291815260200190565b5f60405180830381865afa158015612aec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b1391908101906144cf565b805190915015610d865780806020019051810190610d7f9190614f05565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611307565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61124e565b5f80612ba883611f47565b90506001600160a01b03811615610d8657806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e4573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612ca185611226565b6040518263ffffffff1660e01b8152600401612cbf91815260200190565b5f60405180830381865afa158015612cd9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d0091908101906144cf565b805190915015610d865780806020019051810190610d7f9190615011565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612d45856001615187565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614d31565b612deb6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6002545f906001600160a01b03166354f6127f612e0785611608565b6040518263ffffffff1660e01b8152600401612e2591815260200190565b5f60405180830381865afa158015612e3f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e6691908101906144cf565b805190915015610d865780806020019051810190610d7f9190614b83565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611bd6565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610de3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661124e565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612f7d8460016151a2565b6040518263ffffffff1660e01b8152600401612f9b91815260200190565b602060405180830381865af4158015612fb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906151b5565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590613034906001600160c01b03198916906004016136e8565b602060405180830381865af415801561304f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613073919061469f565b6040518263ffffffff1660e01b815260040161309191815260200190565b5f60405180830381865afa1580156130ab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130d291908101906144cf565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611bd6906001600160c01b03198916906004016136e8565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156131ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131ee919061469f565b6040518263ffffffff1660e01b815260040161320c91815260200190565b5f60405180830381865afa158015613226573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261324d91908101906144cf565b8051909150156121c157808060200190518101906121b991906151d0565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613318573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061333c919061469f565b6040518263ffffffff1660e01b815260040161335a91815260200190565b5f60405180830381865afa158015613374573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261339b91908101906144cf565b805190915015610d865780806020019051810190610d7f919061528a565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611322573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161344e60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e08201818152610100830191909152819081526020016134af60405180604001604052805f81526020015f81525090565b81526020016134cf60405180604001604052805f81526020015f81525090565b81526020016134ef60405180604001604052805f81526020015f81525090565b815260200161350f60405180604001604052805f81526020015f81525090565b815260200161352f60405180604001604052805f81526020015f81525090565b815260200161354f60405180604001604052805f81526020015f81525090565b905290565b6001600160601b0381168114613568575f80fd5b50565b5f6020828403121561357b575f80fd5b8135610d7f81613554565b5f60208284031215613596575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156135d65781516001600160601b03168652602095860195909101906001016135af565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161360d606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261367061012084018261359d565b949350505050565b61ffff81168114613568575f80fd5b5f8060408385031215613698575f80fd5b82356136a381613554565b915060208301356136b381613678565b809150509250929050565b5f80604083850312156136cf575f80fd5b82356136da81613554565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f806040838503121561370e575f80fd5b8235915060208301355f81900b81146136b3575f80fd5b6001600160c01b031981168114613568575f80fd5b5f6020828403121561374a575f80fd5b8135610d7f81613725565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f60208301516137b260408401826001600160601b03169052565b50604083015161010060608401526137ce610120840182613755565b90506060840151608084015260808401516137f160a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015164ffffffffff811660e08501525060e0840151838203601f19016101008501526138338282613755565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261387960a0840182613755565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156138a6575f80fd5b82356136da81613725565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156138e7576138e76138b1565b60405290565b60405161010081016001600160401b03811182821017156138e7576138e76138b1565b60405160c081016001600160401b03811182821017156138e7576138e76138b1565b60405160e081016001600160401b03811182821017156138e7576138e76138b1565b60405161020081016001600160401b03811182821017156138e7576138e76138b1565b60405161014081016001600160401b03811182821017156138e7576138e76138b1565b60405161024081016001600160401b03811182821017156138e7576138e76138b1565b60405160a081016001600160401b03811182821017156138e7576138e76138b1565b604051601f8201601f191681016001600160401b0381118282101715613a0757613a076138b1565b604052919050565b5f6001600160401b03821115613a2757613a276138b1565b50601f01601f191660200190565b5f8060408385031215613a46575f80fd5b8235613a5181613554565b915060208301356001600160401b03811115613a6b575f80fd5b8301601f81018513613a7b575f80fd5b8035613a8e613a8982613a0f565b6139df565b818152866020838501011115613aa2575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613af2604084018280518252602090810151910152565b50604083015160e06080840152613b0d610100840182613755565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b0381168114613568575f80fd5b5f60208284031215613b70575f80fd5b8135610d7f81613b4c565b6001600160401b0381168114613568575f80fd5b5f8060408385031215613ba0575f80fd5b8235613bab81613b4c565b915060208301356136b381613b7b565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526121c1565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526136706080840182613755565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613ce0606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613d0c610100840182613755565b905060a0840151601f198483030160c0850152613d298282613755565b91505060c0840151613d4460e085018264ffffffffff169052565b509392505050565b60208152613d666020820183516001600160601b03169052565b5f6020830151613d8160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613e07610220840182613755565b9050610100840151601f1984830301610120850152613e268282613755565b915050610120840151613e4061014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613d44565b602081525f82516101406020840152613ee1610160840182613755565b90506020840151613efd60408501826001600160601b03169052565b506040840151606084015260608401516080840152608084015160a084015260a0840151613f3360c085018263ffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525061010084015180151561012085015250610120840151838203601f19016101408501526138338282613755565b81516001600160601b0316815261024081016020830151613faf60208401826001600160601b03169052565b506040830151613fca60408401826001600160601b03169052565b506060830151613fe560608401826001600160601b03169052565b50608083015161400060808401826001600160601b03169052565b5060a083015161401b60a08401826001600160601b03169052565b5060c083015161403660c08401826001600160601b03169052565b5060e083015161405160e08401826001600160601b03169052565b5061010083015161406e6101008401826001600160601b03169052565b5061012083015161408b6101208401826001600160601b03169052565b506101408301516140a86101408401826001600160601b03169052565b506101608301516140c56101608401826001600160601b03169052565b506101808301516140e26101808401826001600160601b03169052565b506101a08301516140ff6101a08401826001600160601b03169052565b506101c083015161411c6101c08401826001600160601b03169052565b506101e08301516141396101e08401826001600160601b03169052565b506102008301516141566102008401826001600160601b03169052565b506102208301516121c16102208401826001600160601b03169052565b62ffffff81168114613568575f80fd5b5f8060408385031215614194575f80fd5b823561419f81613678565b915060208301356136b381614173565b602081525f8251608060208401526141ca60a0840182613755565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506138338282613755565b64ffffffffff81168114613568575f80fd5b5f806040838503121561422f575f80fd5b823561423a81613554565b915060208301356136b38161420c565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261429860c0840182613755565b905064ffffffffff60808501511660a08401528091505092915050565b5f602082840312156142c5575f80fd5b8135610d7f81613b7b565b602081526142ea6020820183516001600160601b03169052565b5f60208301516101006040840152614306610120840182613755565b9050604084015161432260608501826001600160601b03169052565b506060840151838203601f1901608085015261433e8282613755565b9150506080840151601f198483030160a085015261435c8282613755565b91505060a084015161437760c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613d44565b80516143a981613554565b919050565b5f602082840312156143be575f80fd5b8151610d7f81613554565b60ff81168114613568575f80fd5b80516143a9816143c9565b63ffffffff81168114613568575f80fd5b80516143a9816143e2565b5f608082840312801561440f575f80fd5b506144186138c5565b8251614423816143c9565b81526020830151614433816143c9565b60208201526040830151614446816143e2565b60408201526060830151614459816143e2565b60608201529392505050565b5f60208284031215614475575f80fd5b8151610d7f816143c9565b5f82601f83011261448f575f80fd5b8151602083015f6144a2613a8984613a0f565b90508281528583830111156144b5575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156144df575f80fd5b81516001600160401b038111156144f4575f80fd5b61367084828501614480565b805180151581146143a9575f80fd5b5f82601f83011261451e575f80fd5b81516001600160401b03811115614537576145376138b1565b8060051b614547602082016139df565b91825260208185018101929081019086841115614562575f80fd5b6020860192505b8383101561458d57825161457c81613554565b825260209283019290910190614569565b9695505050505050565b5f602082840312156145a7575f80fd5b81516001600160401b038111156145bc575f80fd5b820161010081850312156145ce575f80fd5b6145d66138ed565b6145df82614500565b81526145ed60208301614500565b60208201526145fe60408301614500565b604082015261460f606083016143d7565b6060820152614620608083016143d7565b608082015261463160a0830161439e565b60a082015261464260c0830161439e565b60c082015260e08201516001600160401b0381111561465f575f80fd5b61466b8682850161450f565b60e083015250949350505050565b80516143a981613725565b5f60208284031215614694575f80fd5b8151610d7f81613725565b5f602082840312156146af575f80fd5b5051919050565b80516143a98161420c565b5f602082840312156146d1575f80fd5b81516001600160401b038111156146e6575f80fd5b820161010081850312156146f8575f80fd5b6147006138ed565b6147098261439e565b81526147176020830161439e565b602082015260408201516001600160401b03811115614734575f80fd5b61474086828501614480565b6040830152506060828101519082015261475c608083016143f3565b608082015261476d60a083016143f3565b60a082015261477e60c083016146b6565b60c082015260e08201516001600160401b0381111561479b575f80fd5b61466b86828501614480565b5f602082840312156147b7575f80fd5b81516001600160401b038111156147cc575f80fd5b8201608081850312156147dd575f80fd5b6147e56138c5565b81516147f081613725565b81526147fe60208301614500565b602082015260408201516001600160401b0381111561481b575f80fd5b61482786828501614480565b6040830152506060820151915061483d826143e2565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6136706040830184613755565b5f6040828403121561487d575f80fd5b604080519081016001600160401b038111828210171561489f5761489f6138b1565b604052825181526020928301519281019290925250919050565b5f602082840312156148c9575f80fd5b81516001600160401b038111156148de575f80fd5b820160e081850312156148ef575f80fd5b6148f7613910565b815161490281613554565b8152614911856020840161486d565b602082015260608201516001600160401b0381111561492e575f80fd5b61493a86828501614480565b604083015250608082015161494e8161420c565b606082015261495f60a083016146b6565b608082015261497060c083016146b6565b60a0820152949350505050565b5f6020828403121561498d575f80fd5b8151610d7f81613b4c565b5f602082840312156149a8575f80fd5b610d7f82614500565b5f60e08284031280156149c2575f80fd5b506149cb613932565b82516149d681613554565b81526149e460208401614500565b60208201526149f560408401614500565b6040820152614a0660608401614500565b6060820152614a1760808401614500565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c0828403128015614a4b575f80fd5b50614a54613932565b614a5e848461486d565b8152614a6d846040850161486d565b6020820152614a7f846080850161486d565b6040820152614a918460c0850161486d565b6060820152614aa484610100850161486d565b6080820152614ab784610140850161486d565b60a0820152614aca84610180850161486d565b60c08201529392505050565b5f60208284031215614ae6575f80fd5b81516001600160401b03811115614afb575f80fd5b820160608185031215614b0c575f80fd5b604051606081016001600160401b0381118282101715614b2e57614b2e6138b1565b6040528151614b3c81613554565b81526020820151614b4c8161420c565b602082015260408201516001600160401b03811115614b69575f80fd5b614b7586828501614480565b604083015250949350505050565b5f60208284031215614b93575f80fd5b81516001600160401b03811115614ba8575f80fd5b820160808185031215614bb9575f80fd5b614bc16138c5565b81516001600160401b03811115614bd6575f80fd5b614be286828501614480565b8252506020820151614bf381613b4c565b60208201526040820151614c0681613b4c565b604082015260608201516001600160401b03811115614c23575f80fd5b614c2f86828501614480565b606083015250949350505050565b80516143a981614173565b5f60208284031215614c58575f80fd5b81516001600160401b03811115614c6d575f80fd5b820160e08185031215614c7e575f80fd5b614c86613932565b614c8f8261439e565b8152614c9d6020830161439e565b6020820152614cae60408301614c3d565b6040820152614cbf60608301614c3d565b606082015260808201516001600160401b03811115614cdc575f80fd5b614ce886828501614480565b60808301525060a08201516001600160401b03811115614d06575f80fd5b614d1286828501614480565b60a083015250614d2460c083016146b6565b60c0820152949350505050565b5f60208284031215614d41575f80fd5b8151610d7f8161420c565b5f60208284031215614d5c575f80fd5b8151610d7f81613b7b565b80516143a981613678565b5f60208284031215614d82575f80fd5b81516001600160401b03811115614d97575f80fd5b82016102008185031215614da9575f80fd5b614db1613954565b614dba8261439e565b8152614dc86020830161439e565b6020820152614dd960408301614679565b6040820152614dea60608301614679565b6060820152614dfb6080830161439e565b6080820152614e0c60a0830161439e565b60a0820152614e1d60c083016146b6565b60c082015260e08201516001600160401b03811115614e3a575f80fd5b614e4686828501614480565b60e0830152506101008201516001600160401b03811115614e65575f80fd5b614e7186828501614480565b61010083015250614e856101208301614d67565b610120820152614e986101408301614d67565b610140820152614eab610160830161439e565b610160820152614ebe610180830161439e565b610180820152614ed16101a083016146b6565b6101a0820152614ee46101c083016146b6565b6101c0820152614ef76101e083016146b6565b6101e0820152949350505050565b5f60208284031215614f15575f80fd5b81516001600160401b03811115614f2a575f80fd5b82016101408185031215614f3c575f80fd5b614f44613977565b81516001600160401b03811115614f59575f80fd5b614f6586828501614480565b825250614f746020830161439e565b6020820152604082810151908201526060808301519082015260808083015190820152614fa360a083016143f3565b60a0820152614fb460c083016146b6565b60c0820152614fc560e08301614500565b60e0820152614fd76101008301614500565b6101008201526101208201516001600160401b03811115614ff6575f80fd5b61500286828501614480565b61012083015250949350505050565b5f610240828403128015615023575f80fd5b5061502c61399a565b6150358361439e565b81526150436020840161439e565b60208201526150546040840161439e565b60408201526150656060840161439e565b60608201526150766080840161439e565b608082015261508760a0840161439e565b60a082015261509860c0840161439e565b60c08201526150a960e0840161439e565b60e08201526150bb610100840161439e565b6101008201526150ce610120840161439e565b6101208201526150e1610140840161439e565b6101408201526150f4610160840161439e565b610160820152615107610180840161439e565b61018082015261511a6101a0840161439e565b6101a082015261512d6101c0840161439e565b6101c08201526151406101e0840161439e565b6101e0820152615153610200840161439e565b610200820152615166610220840161439e565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610bb357610bb3615173565b80820180821115610bb357610bb3615173565b5f602082840312156151c5575f80fd5b8151610d7f81613678565b5f602082840312156151e0575f80fd5b81516001600160401b038111156151f5575f80fd5b820160a08185031215615206575f80fd5b61520e6139bd565b815161521981613678565b8152602082015161522981613554565b6020820152604082015161523c81613b4c565b604082015260608201516001600160401b03811115615259575f80fd5b61526586828501614480565b6060830152506080820151915061527b8261420c565b60808101919091529392505050565b5f6020828403121561529a575f80fd5b81516001600160401b038111156152af575f80fd5b820161010081850312156152c1575f80fd5b6152c96138ed565b6152d28261439e565b815260208201516001600160401b038111156152ec575f80fd5b6152f886828501614480565b60208301525061530a6040830161439e565b604082015260608201516001600160401b03811115615327575f80fd5b61533386828501614480565b60608301525060808201516001600160401b03811115615351575f80fd5b61535d86828501614480565b60808301525061536f60a083016146b6565b60a082015261538060c083016146b6565b60c082015261539160e08301614500565b60e082015294935050505056fea2646970667358221220837ab7f5e2ad9129cce0f127fc95595460119c665a705444956f862c6bde39c564736f6c634300081a0033",
2082
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061040c575f3560e01c80636ebed90811610221578063c71e261f1161012a578063e98413ff116100b4578063f7f318d311610084578063f7f318d314610ac6578063fad77c3b14610ad9578063fcad2c4b14610aec578063fd80249214610aff578063febe92af14610b1f575f80fd5b8063e98413ff14610a57578063f0ea17c314610a80578063f3ed991914610aa0578063f4809edd14610ab3575f80fd5b8063db70354c116100fa578063db70354c146109ed578063dd26287a14610a00578063de7b5d1414610a13578063dfbf164014610a24578063e444c3df14610a37575f80fd5b8063c71e261f146109a1578063cd55e51b146109a9578063d06458c6146109bc578063d4cda0d8146109dc575f80fd5b80639096a1f3116101ab578063a7ef3d211161017b578063a7ef3d211461091c578063b82d7ef51461093c578063ba579bdc14610966578063ba62fbe414610979578063bd7d9d8514610981575f80fd5b80639096a1f31461088757806394b9929b1461089a578063a310e2a3146108ad578063a5961b4c146108c0575f80fd5b80637e54602a116101f15780637e54602a146108315780637e798669146108445780638129fc1c1461084c578063887b1fa9146108545780638eb9000d14610874575f80fd5b80636ebed908146107e557806378ae9350146107f85780637bfd32171461080b5780637d8f1e811461081e575f80fd5b806335898f5d116103235780634fb784f5116102ad57806364fc31421161027d57806364fc3142146107795780636553994c1461078c5780636791f7ab1461079f5780636a05a413146107b45780636dddada4146107d4575f80fd5b80634fb784f5146106c557806357f80bbf146106d85780635ab1bd531461075157806364eb3a9b14610766575f80fd5b80633f093cd6116102f35780633f093cd61461064957806344aa68361461065c5780634793b4ab1461066f5780634a4fbeec1461068f5780634d21a63d146106b2575f80fd5b806335898f5d146105ea578063380bd950146105fd5780633b046f09146106105780633f07127514610636575f80fd5b80631488c845116103a457806327b1d7921161037457806327b1d7921461057e5780632c0cd0601461059e5780632f458a11146105b157806333fc7dee146105c457806334bd5be3146105d7575f80fd5b80631488c8451461052557806315b74532146105385780631d3be4771461054b578063228e42ec1461056b575f80fd5b80630e0c586d116103df5780630e0c586d1461049857806310bf267b146104bd578063128817d4146104e457806313ab148d14610504575f80fd5b80630232ca491461041057806309648a9d1461044057806309c5844f146104655780630b5d931c14610478575b5f80fd5b61042361041e36600461356b565b610b3f565b6040516001600160601b0390911681526020015b60405180910390f35b61045361044e366004613586565b610bb9565b60405160ff9091168152602001610437565b61045361047336600461356b565b610c2e565b61048b61048636600461356b565b610ca7565b60405161043791906135e0565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610437565b6104d06104cb366004613687565b610d8c565b60405162ffffff9091168152602001610437565b6104f76104f23660046136be565b610da2565b60405161043791906136e8565b61051761051236600461356b565b610e22565b604051908152602001610437565b6105176105333660046136fd565b610e96565b610423610546366004613586565b610f12565b61055e61055936600461373a565b610f43565b6040516104379190613783565b61042361057936600461356b565b611094565b61059161058c36600461356b565b6110cd565b604051610437919061383c565b6104236105ac36600461356b565b61118a565b6105176105bf36600461356b565b6111aa565b6105176105d236600461356b565b6111e8565b6105176105e536600461356b565b611226565b6105176105f836600461356b565b611299565b61042361060b366004613895565b6112c5565b61062361061e36600461356b565b611346565b60405161ffff9091168152602001610437565b61051761064436600461356b565b61135b565b6104f7610657366004613a35565b611387565b61051761066a366004613586565b6113dd565b61068261067d36600461356b565b611417565b6040516104379190613ac1565b6106a261069d366004613b60565b6114b8565b6040519015158152602001610437565b6104a56106c036600461356b565b61158c565b6105176106d336600461356b565b611608565b6106eb6106e636600461356b565b611634565b60405161043791905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f5461010090046001600160a01b03166104a5565b61051761077436600461356b565b611705565b6106a2610787366004613b8f565b611731565b61051761079a36600461373a565b611816565b6107b26107ad366004613b60565b611847565b005b6107c76107c236600461356b565b611a9a565b6040516104379190613bbb565b6003546001600160a01b03166104a5565b6104236107f33660046136be565b611b3b565b610453610806366004613687565b611b7b565b61051761081936600461356b565b611c72565b61045361082c36600461356b565b611c9e565b61051761083f36600461356b565b611cba565b610423611ce6565b6107b2611d5e565b61086761086236600461373a565b611d8c565b6040516104379190613c64565b61042361088236600461356b565b611eb9565b61045361089536600461356b565b611ef2565b6105176108a836600461356b565b611f0e565b6104a56108bb36600461356b565b611f47565b6108d36108ce366004613586565b611fe2565b60405161043791905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61092f61092a366004613687565b61206c565b6040516104379190613ca2565b61094f61094a36600461373a565b6121c8565b6040805192835260ff909116602083015201610437565b6106a261097436600461356b565b612464565b6105176126b2565b61099461098f36600461356b565b61278a565b6040516104379190613d4c565b6105176128a2565b6106a26109b7366004613b8f565b61290d565b6109cf6109ca36600461373a565b6129b7565b6040516104379190613ec4565b6002546001600160a01b03166104a5565b6104236109fb3660046136be565b612b31565b610517610a0e36600461356b565b612b71565b6001546001600160a01b03166104a5565b6104a5610a3236600461356b565b612b9d565b610a4a610a4536600461356b565b612bf5565b6040516104379190613f83565b610a6a610a65366004614183565b612d1e565b60405164ffffffffff9091168152602001610437565b610a93610a8e36600461356b565b612db0565b60405161043791906141af565b610453610aae36600461421e565b612e84565b6104f7610ac13660046136be565b612ee6565b610517610ad436600461356b565b612f2b565b610623610ae7366004613586565b612f57565b610453610afa36600461373a565b612fda565b610b12610b0d36600461421e565b613129565b604051610437919061424a565b610b32610b2d3660046142b5565b61326b565b60405161043791906142d0565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906143ae565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2491906143fe565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c4a84611226565b6040518263ffffffff1660e01b8152600401610c6891815260200190565b602060405180830381865afa158015610c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614465565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610d0285611c72565b6040518263ffffffff1660e01b8152600401610d2091815260200190565b5f60405180830381865afa158015610d3a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d6191908101906144cf565b805190915015610d865780806020019051810190610d7f9190614597565b9392505050565b50919050565b5f610d97838361206c565b604001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614684565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061469f565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061469f565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b74565b60408051610100810182525f8082526020820181905260609282018390528282018190526080820181905260a0820181905260c082015260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610fd8906001600160c01b03198916906004016136e8565b602060405180830381865af4158015610ff3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611017919061469f565b6040518263ffffffff1660e01b815260040161103591815260200190565b5f60405180830381865afa15801561104f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261107691908101906144cf565b805190915015610d865780806020019051810190610d7f91906146c1565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b74565b604080516080810182525f808252602082018190526060928201839052918101919091526002545f906001600160a01b03166354f6127f61110d85611cba565b6040518263ffffffff1660e01b815260040161112b91815260200190565b5f60405180830381865afa158015611145573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261116c91908101906144cf565b805190915015610d865780806020019051810190610d7f91906147a7565b5f806111958361278a565b9050610d7f81608001518261016001516133b9565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e57565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e57565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e72573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61124e565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa158015611322573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f91906143ae565b5f6113508261278a565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961124e565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906113c2908690869060040161484c565b602060405180830381865af4158015610dfe573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa68369060240161127e565b61141f613419565b6002545f906001600160a01b03166354f6127f61143b85612f2b565b6040518263ffffffff1660e01b815260040161145991815260200190565b5f60405180830381865afa158015611473573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261149a91908101906144cf565b805190915015610d865780806020019051810190610d7f91906148b9565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611523919061497d565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611568573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614998565b5f8061159783611f47565b90506001600160a01b03811615610d8657806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061497d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61124e565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61168885612b71565b6040518263ffffffff1660e01b81526004016116a691815260200190565b5f60405180830381865afa1580156116c0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116e791908101906144cf565b805190915015610d865780806020019051810190610d7f91906149b1565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561124e565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611778573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061179c919061497d565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614998565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e57918691016136e8565b5f5460ff161561186a5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa1580156118cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f3919061497d565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611953573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611977919061497d565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa1580156119d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f7919061497d565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a77919061497d565b600480546001600160a01b0319166001600160a01b039290921691909117905550565b611aa2613470565b6002545f906001600160a01b03166354f6127f611abe8561135b565b6040518263ffffffff1660e01b8152600401611adc91815260200190565b5f60405180830381865afa158015611af6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b1d91908101906144cf565b805190915015610d865780806020019051810190610d7f9190614a39565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611307565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611bf1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c15919061469f565b6040518263ffffffff1660e01b8152600401611c3391815260200190565b602060405180830381865afa158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614465565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61124e565b6002545f906001600160a01b03166309648a9d610c4a84612f2b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761124e565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5991906143ae565b905090565b5f5460ff1615611d815760405163ae9eff1b60e01b815260040160405180910390fd5b611d8a33611847565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611dfd906001600160c01b03198916906004016136e8565b602060405180830381865af4158015611e18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e3c919061469f565b6040518263ffffffff1660e01b8152600401611e5a91815260200190565b5f60405180830381865afa158015611e74573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e9b91908101906144cf565b805190915015610d865780806020019051810190610d7f9190614ad6565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b74565b6002545f906001600160a01b03166309648a9d610c4a84611705565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e57565b6002545f9081906001600160a01b03166354f6127f611f6585611608565b6040518263ffffffff1660e01b8152600401611f8391815260200190565b5f60405180830381865afa158015611f9d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fc491908101906144cf565b805190915015610d865780806020019051810190610d979190614b83565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612048573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906143fe565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612118573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061213c919061469f565b6040518263ffffffff1660e01b815260040161215a91815260200190565b5f60405180830381865afa158015612174573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261219b91908101906144cf565b8051909150156121c157808060200190518101906121b99190614c48565b915050610bb3565b5092915050565b5f805f6121d484610f43565b60c081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612231573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122559190614998565b156122d25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c5919061469f565b60645b9250925050915091565b6123548160c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123459190614d31565b64ffffffffff90811691161090565b156123cb5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123c4919061469f565b606e6122c8565b806080015163ffffffff168160a0015163ffffffff16106124585773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561242d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612451919061469f565b60786122c8565b6060810151600a6122c8565b5f8061246f8361278a565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156124cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ef9190614998565b156124fc57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612557573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061257b9190614998565b1561258857505f92915050565b61260b816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156125d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125fc9190614d31565b64ffffffffff90811691161190565b1561261857505f92915050565b61269c816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612668573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061268c9190614d31565b64ffffffffff9081169116111590565b156126a957505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156126f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271d919061497d565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612758573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277c9190614d4c565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f61282585611705565b6040518263ffffffff1660e01b815260040161284391815260200190565b5f60405180830381865afa15801561285d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261288491908101906144cf565b805190915015610d865780806020019051810190610d7f9190614d72565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156128e9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d59919061469f565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612954573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612978919061497d565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117d7565b612a1f604051806101400160405280606081526020015f6001600160601b031681526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f64ffffffffff1681526020015f151581526020015f15158152602001606081525090565b6002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612a75906001600160c01b03198916906004016136e8565b602060405180830381865af4158015612a90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ab4919061469f565b6040518263ffffffff1660e01b8152600401612ad291815260200190565b5f60405180830381865afa158015612aec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b1391908101906144cf565b805190915015610d865780806020019051810190610d7f9190614f05565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611307565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61124e565b5f80612ba883611f47565b90506001600160a01b03811615610d8657806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115e4573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612ca185611226565b6040518263ffffffff1660e01b8152600401612cbf91815260200190565b5f60405180830381865afa158015612cd9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d0091908101906144cf565b805190915015610d865780806020019051810190610d7f9190615011565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612d45856001615187565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612d8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614d31565b612deb6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6002545f906001600160a01b03166354f6127f612e0785611608565b6040518263ffffffff1660e01b8152600401612e2591815260200190565b5f60405180830381865afa158015612e3f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e6691908101906144cf565b805190915015610d865780806020019051810190610d7f9190614b83565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611bd6565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610de3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661124e565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612f7d8460016151a2565b6040518263ffffffff1660e01b8152600401612f9b91815260200190565b602060405180830381865af4158015612fb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906151b5565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590613034906001600160c01b03198916906004016136e8565b602060405180830381865af415801561304f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613073919061469f565b6040518263ffffffff1660e01b815260040161309191815260200190565b5f60405180830381865afa1580156130ab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130d291908101906144cf565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611bd6906001600160c01b03198916906004016136e8565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156131ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131ee919061469f565b6040518263ffffffff1660e01b815260040161320c91815260200190565b5f60405180830381865afa158015613226573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261324d91908101906144cf565b8051909150156121c157808060200190518101906121b991906151d0565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613318573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061333c919061469f565b6040518263ffffffff1660e01b815260040161335a91815260200190565b5f60405180830381865afa158015613374573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261339b91908101906144cf565b805190915015610d865780806020019051810190610d7f919061528a565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611322573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161344e60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e08201818152610100830191909152819081526020016134af60405180604001604052805f81526020015f81525090565b81526020016134cf60405180604001604052805f81526020015f81525090565b81526020016134ef60405180604001604052805f81526020015f81525090565b815260200161350f60405180604001604052805f81526020015f81525090565b815260200161352f60405180604001604052805f81526020015f81525090565b815260200161354f60405180604001604052805f81526020015f81525090565b905290565b6001600160601b0381168114613568575f80fd5b50565b5f6020828403121561357b575f80fd5b8135610d7f81613554565b5f60208284031215613596575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156135d65781516001600160601b03168652602095860195909101906001016135af565b5093949350505050565b602081528151151560208201526020820151151560408201525f604083015161360d606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101008084015261367061012084018261359d565b949350505050565b61ffff81168114613568575f80fd5b5f8060408385031215613698575f80fd5b82356136a381613554565b915060208301356136b381613678565b809150509250929050565b5f80604083850312156136cf575f80fd5b82356136da81613554565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f806040838503121561370e575f80fd5b8235915060208301355f81900b81146136b3575f80fd5b6001600160c01b031981168114613568575f80fd5b5f6020828403121561374a575f80fd5b8135610d7f81613725565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f60208301516137b260408401826001600160601b03169052565b50604083015161010060608401526137ce610120840182613755565b90506060840151608084015260808401516137f160a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015164ffffffffff811660e08501525060e0840151838203601f19016101008501526138338282613755565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261387960a0840182613755565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156138a6575f80fd5b82356136da81613725565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156138e7576138e76138b1565b60405290565b60405161010081016001600160401b03811182821017156138e7576138e76138b1565b60405160c081016001600160401b03811182821017156138e7576138e76138b1565b60405160e081016001600160401b03811182821017156138e7576138e76138b1565b60405161020081016001600160401b03811182821017156138e7576138e76138b1565b60405161014081016001600160401b03811182821017156138e7576138e76138b1565b60405161024081016001600160401b03811182821017156138e7576138e76138b1565b60405160a081016001600160401b03811182821017156138e7576138e76138b1565b604051601f8201601f191681016001600160401b0381118282101715613a0757613a076138b1565b604052919050565b5f6001600160401b03821115613a2757613a276138b1565b50601f01601f191660200190565b5f8060408385031215613a46575f80fd5b8235613a5181613554565b915060208301356001600160401b03811115613a6b575f80fd5b8301601f81018513613a7b575f80fd5b8035613a8e613a8982613a0f565b6139df565b818152866020838501011115613aa2575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613af2604084018280518252602090810151910152565b50604083015160e06080840152613b0d610100840182613755565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b0381168114613568575f80fd5b5f60208284031215613b70575f80fd5b8135610d7f81613b4c565b6001600160401b0381168114613568575f80fd5b5f8060408385031215613ba0575f80fd5b8235613bab81613b4c565b915060208301356136b381613b7b565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526121c1565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526136706080840182613755565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613ce0606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613d0c610100840182613755565b905060a0840151601f198483030160c0850152613d298282613755565b91505060c0840151613d4460e085018264ffffffffff169052565b509392505050565b60208152613d666020820183516001600160601b03169052565b5f6020830151613d8160408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613e07610220840182613755565b9050610100840151601f1984830301610120850152613e268282613755565b915050610120840151613e4061014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613d44565b602081525f82516101406020840152613ee1610160840182613755565b90506020840151613efd60408501826001600160601b03169052565b506040840151606084015260608401516080840152608084015160a084015260a0840151613f3360c085018263ffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525061010084015180151561012085015250610120840151838203601f19016101408501526138338282613755565b81516001600160601b0316815261024081016020830151613faf60208401826001600160601b03169052565b506040830151613fca60408401826001600160601b03169052565b506060830151613fe560608401826001600160601b03169052565b50608083015161400060808401826001600160601b03169052565b5060a083015161401b60a08401826001600160601b03169052565b5060c083015161403660c08401826001600160601b03169052565b5060e083015161405160e08401826001600160601b03169052565b5061010083015161406e6101008401826001600160601b03169052565b5061012083015161408b6101208401826001600160601b03169052565b506101408301516140a86101408401826001600160601b03169052565b506101608301516140c56101608401826001600160601b03169052565b506101808301516140e26101808401826001600160601b03169052565b506101a08301516140ff6101a08401826001600160601b03169052565b506101c083015161411c6101c08401826001600160601b03169052565b506101e08301516141396101e08401826001600160601b03169052565b506102008301516141566102008401826001600160601b03169052565b506102208301516121c16102208401826001600160601b03169052565b62ffffff81168114613568575f80fd5b5f8060408385031215614194575f80fd5b823561419f81613678565b915060208301356136b381614173565b602081525f8251608060208401526141ca60a0840182613755565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506138338282613755565b64ffffffffff81168114613568575f80fd5b5f806040838503121561422f575f80fd5b823561423a81613554565b915060208301356136b38161420c565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261429860c0840182613755565b905064ffffffffff60808501511660a08401528091505092915050565b5f602082840312156142c5575f80fd5b8135610d7f81613b7b565b602081526142ea6020820183516001600160601b03169052565b5f60208301516101006040840152614306610120840182613755565b9050604084015161432260608501826001600160601b03169052565b506060840151838203601f1901608085015261433e8282613755565b9150506080840151601f198483030160a085015261435c8282613755565b91505060a084015161437760c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613d44565b80516143a981613554565b919050565b5f602082840312156143be575f80fd5b8151610d7f81613554565b60ff81168114613568575f80fd5b80516143a9816143c9565b63ffffffff81168114613568575f80fd5b80516143a9816143e2565b5f608082840312801561440f575f80fd5b506144186138c5565b8251614423816143c9565b81526020830151614433816143c9565b60208201526040830151614446816143e2565b60408201526060830151614459816143e2565b60608201529392505050565b5f60208284031215614475575f80fd5b8151610d7f816143c9565b5f82601f83011261448f575f80fd5b8151602083015f6144a2613a8984613a0f565b90508281528583830111156144b5575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156144df575f80fd5b81516001600160401b038111156144f4575f80fd5b61367084828501614480565b805180151581146143a9575f80fd5b5f82601f83011261451e575f80fd5b81516001600160401b03811115614537576145376138b1565b8060051b614547602082016139df565b91825260208185018101929081019086841115614562575f80fd5b6020860192505b8383101561458d57825161457c81613554565b825260209283019290910190614569565b9695505050505050565b5f602082840312156145a7575f80fd5b81516001600160401b038111156145bc575f80fd5b820161010081850312156145ce575f80fd5b6145d66138ed565b6145df82614500565b81526145ed60208301614500565b60208201526145fe60408301614500565b604082015261460f606083016143d7565b6060820152614620608083016143d7565b608082015261463160a0830161439e565b60a082015261464260c0830161439e565b60c082015260e08201516001600160401b0381111561465f575f80fd5b61466b8682850161450f565b60e083015250949350505050565b80516143a981613725565b5f60208284031215614694575f80fd5b8151610d7f81613725565b5f602082840312156146af575f80fd5b5051919050565b80516143a98161420c565b5f602082840312156146d1575f80fd5b81516001600160401b038111156146e6575f80fd5b820161010081850312156146f8575f80fd5b6147006138ed565b6147098261439e565b81526147176020830161439e565b602082015260408201516001600160401b03811115614734575f80fd5b61474086828501614480565b6040830152506060828101519082015261475c608083016143f3565b608082015261476d60a083016143f3565b60a082015261477e60c083016146b6565b60c082015260e08201516001600160401b0381111561479b575f80fd5b61466b86828501614480565b5f602082840312156147b7575f80fd5b81516001600160401b038111156147cc575f80fd5b8201608081850312156147dd575f80fd5b6147e56138c5565b81516147f081613725565b81526147fe60208301614500565b602082015260408201516001600160401b0381111561481b575f80fd5b61482786828501614480565b6040830152506060820151915061483d826143e2565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6136706040830184613755565b5f6040828403121561487d575f80fd5b604080519081016001600160401b038111828210171561489f5761489f6138b1565b604052825181526020928301519281019290925250919050565b5f602082840312156148c9575f80fd5b81516001600160401b038111156148de575f80fd5b820160e081850312156148ef575f80fd5b6148f7613910565b815161490281613554565b8152614911856020840161486d565b602082015260608201516001600160401b0381111561492e575f80fd5b61493a86828501614480565b604083015250608082015161494e8161420c565b606082015261495f60a083016146b6565b608082015261497060c083016146b6565b60a0820152949350505050565b5f6020828403121561498d575f80fd5b8151610d7f81613b4c565b5f602082840312156149a8575f80fd5b610d7f82614500565b5f60e08284031280156149c2575f80fd5b506149cb613932565b82516149d681613554565b81526149e460208401614500565b60208201526149f560408401614500565b6040820152614a0660608401614500565b6060820152614a1760808401614500565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c0828403128015614a4b575f80fd5b50614a54613932565b614a5e848461486d565b8152614a6d846040850161486d565b6020820152614a7f846080850161486d565b6040820152614a918460c0850161486d565b6060820152614aa484610100850161486d565b6080820152614ab784610140850161486d565b60a0820152614aca84610180850161486d565b60c08201529392505050565b5f60208284031215614ae6575f80fd5b81516001600160401b03811115614afb575f80fd5b820160608185031215614b0c575f80fd5b604051606081016001600160401b0381118282101715614b2e57614b2e6138b1565b6040528151614b3c81613554565b81526020820151614b4c8161420c565b602082015260408201516001600160401b03811115614b69575f80fd5b614b7586828501614480565b604083015250949350505050565b5f60208284031215614b93575f80fd5b81516001600160401b03811115614ba8575f80fd5b820160808185031215614bb9575f80fd5b614bc16138c5565b81516001600160401b03811115614bd6575f80fd5b614be286828501614480565b8252506020820151614bf381613b4c565b60208201526040820151614c0681613b4c565b604082015260608201516001600160401b03811115614c23575f80fd5b614c2f86828501614480565b606083015250949350505050565b80516143a981614173565b5f60208284031215614c58575f80fd5b81516001600160401b03811115614c6d575f80fd5b820160e08185031215614c7e575f80fd5b614c86613932565b614c8f8261439e565b8152614c9d6020830161439e565b6020820152614cae60408301614c3d565b6040820152614cbf60608301614c3d565b606082015260808201516001600160401b03811115614cdc575f80fd5b614ce886828501614480565b60808301525060a08201516001600160401b03811115614d06575f80fd5b614d1286828501614480565b60a083015250614d2460c083016146b6565b60c0820152949350505050565b5f60208284031215614d41575f80fd5b8151610d7f8161420c565b5f60208284031215614d5c575f80fd5b8151610d7f81613b7b565b80516143a981613678565b5f60208284031215614d82575f80fd5b81516001600160401b03811115614d97575f80fd5b82016102008185031215614da9575f80fd5b614db1613954565b614dba8261439e565b8152614dc86020830161439e565b6020820152614dd960408301614679565b6040820152614dea60608301614679565b6060820152614dfb6080830161439e565b6080820152614e0c60a0830161439e565b60a0820152614e1d60c083016146b6565b60c082015260e08201516001600160401b03811115614e3a575f80fd5b614e4686828501614480565b60e0830152506101008201516001600160401b03811115614e65575f80fd5b614e7186828501614480565b61010083015250614e856101208301614d67565b610120820152614e986101408301614d67565b610140820152614eab610160830161439e565b610160820152614ebe610180830161439e565b610180820152614ed16101a083016146b6565b6101a0820152614ee46101c083016146b6565b6101c0820152614ef76101e083016146b6565b6101e0820152949350505050565b5f60208284031215614f15575f80fd5b81516001600160401b03811115614f2a575f80fd5b82016101408185031215614f3c575f80fd5b614f44613977565b81516001600160401b03811115614f59575f80fd5b614f6586828501614480565b825250614f746020830161439e565b6020820152604082810151908201526060808301519082015260808083015190820152614fa360a083016143f3565b60a0820152614fb460c083016146b6565b60c0820152614fc560e08301614500565b60e0820152614fd76101008301614500565b6101008201526101208201516001600160401b03811115614ff6575f80fd5b61500286828501614480565b61012083015250949350505050565b5f610240828403128015615023575f80fd5b5061502c61399a565b6150358361439e565b81526150436020840161439e565b60208201526150546040840161439e565b60408201526150656060840161439e565b60608201526150766080840161439e565b608082015261508760a0840161439e565b60a082015261509860c0840161439e565b60c08201526150a960e0840161439e565b60e08201526150bb610100840161439e565b6101008201526150ce610120840161439e565b6101208201526150e1610140840161439e565b6101408201526150f4610160840161439e565b610160820152615107610180840161439e565b61018082015261511a6101a0840161439e565b6101a082015261512d6101c0840161439e565b6101c08201526151406101e0840161439e565b6101e0820152615153610200840161439e565b610200820152615166610220840161439e565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610bb357610bb3615173565b80820180821115610bb357610bb3615173565b5f602082840312156151c5575f80fd5b8151610d7f81613678565b5f602082840312156151e0575f80fd5b81516001600160401b038111156151f5575f80fd5b820160a08185031215615206575f80fd5b61520e6139bd565b815161521981613678565b8152602082015161522981613554565b6020820152604082015161523c81613b4c565b604082015260608201516001600160401b03811115615259575f80fd5b61526586828501614480565b6060830152506080820151915061527b8261420c565b60808101919091529392505050565b5f6020828403121561529a575f80fd5b81516001600160401b038111156152af575f80fd5b820161010081850312156152c1575f80fd5b6152c96138ed565b6152d28261439e565b815260208201516001600160401b038111156152ec575f80fd5b6152f886828501614480565b60208301525061530a6040830161439e565b604082015260608201516001600160401b03811115615327575f80fd5b61533386828501614480565b60608301525060808201516001600160401b03811115615351575f80fd5b61535d86828501614480565b60808301525061536f60a083016146b6565b60a082015261538060c083016146b6565b60c082015261539160e08301614500565b60e082015294935050505056fea2646970667358221220837ab7f5e2ad9129cce0f127fc95595460119c665a705444956f862c6bde39c564736f6c634300081a0033",
1180
2083
  "linkReferences": {
1181
- "contracts/types/DistributorType.sol": {
2084
+ "contracts/type/Amount.sol": {
2085
+ "AmountLib": [
2086
+ {
2087
+ "length": 20,
2088
+ "start": 13318
2089
+ }
2090
+ ]
2091
+ },
2092
+ "contracts/type/ClaimId.sol": {
2093
+ "ClaimIdLib": [
2094
+ {
2095
+ "length": 20,
2096
+ "start": 7133
2097
+ },
2098
+ {
2099
+ "length": 20,
2100
+ "start": 8453
2101
+ },
2102
+ {
2103
+ "length": 20,
2104
+ "start": 12159
2105
+ }
2106
+ ]
2107
+ },
2108
+ "contracts/type/DistributorType.sol": {
1182
2109
  "DistributorTypeLib": [
1183
2110
  {
1184
2111
  "length": 20,
1185
- "start": 6459
2112
+ "start": 10856
1186
2113
  }
1187
2114
  ]
1188
2115
  },
1189
- "contracts/types/NftId.sol": {
2116
+ "contracts/type/NftId.sol": {
1190
2117
  "NftIdLib": [
1191
2118
  {
1192
2119
  "length": 20,
1193
- "start": 289
2120
+ "start": 4686
2121
+ },
2122
+ {
2123
+ "length": 20,
2124
+ "start": 4801
2125
+ },
2126
+ {
2127
+ "length": 20,
2128
+ "start": 4995
2129
+ },
2130
+ {
2131
+ "length": 20,
2132
+ "start": 5680
1194
2133
  },
1195
2134
  {
1196
2135
  "length": 20,
1197
- "start": 3362
2136
+ "start": 5933
1198
2137
  },
1199
2138
  {
1200
2139
  "length": 20,
1201
- "start": 3702
2140
+ "start": 7322
1202
2141
  },
1203
2142
  {
1204
2143
  "length": 20,
1205
- "start": 4263
2144
+ "start": 7394
1206
2145
  },
1207
2146
  {
1208
2147
  "length": 20,
1209
- "start": 4308
2148
+ "start": 9400
1210
2149
  },
1211
2150
  {
1212
2151
  "length": 20,
1213
- "start": 4353
2152
+ "start": 11161
1214
2153
  },
1215
2154
  {
1216
2155
  "length": 20,
1217
- "start": 6686
2156
+ "start": 12115
2157
+ }
2158
+ ]
2159
+ },
2160
+ "contracts/type/PayoutId.sol": {
2161
+ "PayoutIdLib": [
2162
+ {
2163
+ "length": 20,
2164
+ "start": 11590
1218
2165
  },
1219
2166
  {
1220
2167
  "length": 20,
1221
- "start": 6941
2168
+ "start": 12009
1222
2169
  },
1223
2170
  {
1224
2171
  "length": 20,
1225
- "start": 7522
2172
+ "start": 12727
1226
2173
  }
1227
2174
  ]
1228
2175
  },
1229
- "contracts/types/Referral.sol": {
2176
+ "contracts/type/Referral.sol": {
1230
2177
  "ReferralLib": [
1231
2178
  {
1232
2179
  "length": 20,
1233
- "start": 3122
2180
+ "start": 4043
1234
2181
  },
1235
2182
  {
1236
2183
  "length": 20,
1237
- "start": 3761
2184
+ "start": 5053
2185
+ }
2186
+ ]
2187
+ },
2188
+ "contracts/type/RequestId.sol": {
2189
+ "RequestIdLib": [
2190
+ {
2191
+ "length": 20,
2192
+ "start": 13061
1238
2193
  }
1239
2194
  ]
1240
2195
  },
1241
- "contracts/types/RiskId.sol": {
2196
+ "contracts/type/RiskId.sol": {
1242
2197
  "RiskIdLib": [
1243
2198
  {
1244
2199
  "length": 20,
1245
- "start": 4468
2200
+ "start": 7664
2201
+ },
2202
+ {
2203
+ "length": 20,
2204
+ "start": 12327
2205
+ },
2206
+ {
2207
+ "length": 20,
2208
+ "start": 12572
1246
2209
  }
1247
2210
  ]
1248
2211
  },
1249
- "contracts/types/Timestamp.sol": {
2212
+ "contracts/type/Timestamp.sol": {
1250
2213
  "TimestampLib": [
1251
2214
  {
1252
2215
  "length": 20,
1253
- "start": 5396
2216
+ "start": 8734
2217
+ },
2218
+ {
2219
+ "length": 20,
2220
+ "start": 8961
2221
+ },
2222
+ {
2223
+ "length": 20,
2224
+ "start": 9540
1254
2225
  },
1255
2226
  {
1256
2227
  "length": 20,
1257
- "start": 5627
2228
+ "start": 9656
2229
+ },
2230
+ {
2231
+ "length": 20,
2232
+ "start": 9800
1258
2233
  }
1259
2234
  ]
1260
2235
  },
1261
- "contracts/types/UFixed.sol": {
2236
+ "contracts/type/UFixed.sol": {
1262
2237
  "UFixedLib": [
1263
2238
  {
1264
2239
  "length": 20,
1265
- "start": 2910
2240
+ "start": 3803
1266
2241
  },
1267
2242
  {
1268
2243
  "length": 20,
1269
- "start": 3893
2244
+ "start": 5146
1270
2245
  },
1271
2246
  {
1272
2247
  "length": 20,
1273
- "start": 5497
2248
+ "start": 8833
1274
2249
  },
1275
2250
  {
1276
2251
  "length": 20,
1277
- "start": 5756
2252
+ "start": 9088
1278
2253
  },
1279
2254
  {
1280
2255
  "length": 20,
1281
- "start": 5899
2256
+ "start": 9229
1282
2257
  }
1283
2258
  ]
1284
2259
  }
1285
2260
  },
1286
2261
  "deployedLinkReferences": {
1287
- "contracts/types/DistributorType.sol": {
2262
+ "contracts/type/Amount.sol": {
2263
+ "AmountLib": [
2264
+ {
2265
+ "length": 20,
2266
+ "start": 13281
2267
+ }
2268
+ ]
2269
+ },
2270
+ "contracts/type/ClaimId.sol": {
2271
+ "ClaimIdLib": [
2272
+ {
2273
+ "length": 20,
2274
+ "start": 7096
2275
+ },
2276
+ {
2277
+ "length": 20,
2278
+ "start": 8416
2279
+ },
2280
+ {
2281
+ "length": 20,
2282
+ "start": 12122
2283
+ }
2284
+ ]
2285
+ },
2286
+ "contracts/type/DistributorType.sol": {
1288
2287
  "DistributorTypeLib": [
1289
2288
  {
1290
2289
  "length": 20,
1291
- "start": 4918
2290
+ "start": 10819
1292
2291
  }
1293
2292
  ]
1294
2293
  },
1295
- "contracts/types/NftId.sol": {
2294
+ "contracts/type/NftId.sol": {
1296
2295
  "NftIdLib": [
1297
2296
  {
1298
2297
  "length": 20,
1299
- "start": 1821
2298
+ "start": 4649
2299
+ },
2300
+ {
2301
+ "length": 20,
2302
+ "start": 4764
2303
+ },
2304
+ {
2305
+ "length": 20,
2306
+ "start": 4958
2307
+ },
2308
+ {
2309
+ "length": 20,
2310
+ "start": 5643
1300
2311
  },
1301
2312
  {
1302
2313
  "length": 20,
1303
- "start": 2161
2314
+ "start": 5896
1304
2315
  },
1305
2316
  {
1306
2317
  "length": 20,
1307
- "start": 2722
2318
+ "start": 7285
1308
2319
  },
1309
2320
  {
1310
2321
  "length": 20,
1311
- "start": 2767
2322
+ "start": 7357
1312
2323
  },
1313
2324
  {
1314
2325
  "length": 20,
1315
- "start": 2812
2326
+ "start": 9363
1316
2327
  },
1317
2328
  {
1318
2329
  "length": 20,
1319
- "start": 5145
2330
+ "start": 11124
2331
+ },
2332
+ {
2333
+ "length": 20,
2334
+ "start": 12078
2335
+ }
2336
+ ]
2337
+ },
2338
+ "contracts/type/PayoutId.sol": {
2339
+ "PayoutIdLib": [
2340
+ {
2341
+ "length": 20,
2342
+ "start": 11553
1320
2343
  },
1321
2344
  {
1322
2345
  "length": 20,
1323
- "start": 5400
2346
+ "start": 11972
1324
2347
  },
1325
2348
  {
1326
2349
  "length": 20,
1327
- "start": 5981
2350
+ "start": 12690
1328
2351
  }
1329
2352
  ]
1330
2353
  },
1331
- "contracts/types/Referral.sol": {
2354
+ "contracts/type/Referral.sol": {
1332
2355
  "ReferralLib": [
1333
2356
  {
1334
2357
  "length": 20,
1335
- "start": 1581
2358
+ "start": 4006
1336
2359
  },
1337
2360
  {
1338
2361
  "length": 20,
1339
- "start": 2220
2362
+ "start": 5016
2363
+ }
2364
+ ]
2365
+ },
2366
+ "contracts/type/RequestId.sol": {
2367
+ "RequestIdLib": [
2368
+ {
2369
+ "length": 20,
2370
+ "start": 13024
1340
2371
  }
1341
2372
  ]
1342
2373
  },
1343
- "contracts/types/RiskId.sol": {
2374
+ "contracts/type/RiskId.sol": {
1344
2375
  "RiskIdLib": [
1345
2376
  {
1346
2377
  "length": 20,
1347
- "start": 2927
2378
+ "start": 7627
2379
+ },
2380
+ {
2381
+ "length": 20,
2382
+ "start": 12290
2383
+ },
2384
+ {
2385
+ "length": 20,
2386
+ "start": 12535
1348
2387
  }
1349
2388
  ]
1350
2389
  },
1351
- "contracts/types/Timestamp.sol": {
2390
+ "contracts/type/Timestamp.sol": {
1352
2391
  "TimestampLib": [
1353
2392
  {
1354
2393
  "length": 20,
1355
- "start": 3855
2394
+ "start": 8697
2395
+ },
2396
+ {
2397
+ "length": 20,
2398
+ "start": 8924
2399
+ },
2400
+ {
2401
+ "length": 20,
2402
+ "start": 9503
2403
+ },
2404
+ {
2405
+ "length": 20,
2406
+ "start": 9619
1356
2407
  },
1357
2408
  {
1358
2409
  "length": 20,
1359
- "start": 4086
2410
+ "start": 9763
1360
2411
  }
1361
2412
  ]
1362
2413
  },
1363
- "contracts/types/UFixed.sol": {
2414
+ "contracts/type/UFixed.sol": {
1364
2415
  "UFixedLib": [
1365
2416
  {
1366
2417
  "length": 20,
1367
- "start": 1369
2418
+ "start": 3766
1368
2419
  },
1369
2420
  {
1370
2421
  "length": 20,
1371
- "start": 2352
2422
+ "start": 5109
1372
2423
  },
1373
2424
  {
1374
2425
  "length": 20,
1375
- "start": 3956
2426
+ "start": 8796
1376
2427
  },
1377
2428
  {
1378
2429
  "length": 20,
1379
- "start": 4215
2430
+ "start": 9051
1380
2431
  },
1381
2432
  {
1382
2433
  "length": 20,
1383
- "start": 4358
2434
+ "start": 9192
1384
2435
  }
1385
2436
  ]
1386
2437
  }