@etherisc/gif-next 0.0.2-d2fd9d7-008 → 0.0.2-d2ffc4d-802

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