@etherisc/gif-next 0.0.2-e545d2c-624 → 0.0.2-e586bbf-616

Sign up to get free protection for your applications and to get access to all the features.
Files changed (782) hide show
  1. package/README.md +138 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1056 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +771 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +824 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1831 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +931 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1266 -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 +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +567 -1254
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +604 -174
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +663 -2398
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +637 -354
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +386 -93
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +384 -361
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1023 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +791 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1435 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +851 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1022 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +391 -347
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1430 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1814 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +847 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1017 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +771 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1533 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +875 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +313 -299
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1085 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1017 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +328 -231
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +527 -305
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +192 -168
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1385 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +835 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +913 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +795 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +698 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +755 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +605 -28
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +299 -222
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1031 -71
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +358 -274
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +381 -78
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -97
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +264 -253
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1497 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +835 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +264 -135
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1137 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +133 -145
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +154 -159
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1627 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1177 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2035 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +823 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1406 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +763 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +637 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +136 -53
  390. package/contracts/instance/IInstanceService.sol +95 -22
  391. package/contracts/instance/Instance.sol +256 -182
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +425 -258
  396. package/contracts/instance/InstanceServiceManager.sol +14 -29
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +118 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +173 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  421. package/contracts/pool/BundleService.sol +406 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +121 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +343 -0
  427. package/contracts/pool/PoolLib.sol +359 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +639 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +33 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +472 -0
  448. package/contracts/product/RiskService.sol +157 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +83 -36
  451. package/contracts/registry/IRegistry.sol +113 -29
  452. package/contracts/registry/IRegistryService.sol +38 -34
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +550 -210
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +119 -198
  459. package/contracts/registry/RegistryServiceManager.sol +24 -33
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +265 -61
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +678 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +110 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +15 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +12 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +75 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +44 -35
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/{types → type}/NftIdSet.sol +2 -2
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  534. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  536. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  538. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  540. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  541. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  582. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  583. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  584. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  585. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  586. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  587. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  588. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  589. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  591. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  592. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  593. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -532
  595. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  597. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  601. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  603. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  605. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  607. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  608. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  609. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  611. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  613. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  615. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  617. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  619. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  621. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  624. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  625. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  627. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  629. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  631. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  633. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  635. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  637. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  638. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  639. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  640. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -530
  641. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  642. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  643. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  644. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  645. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  646. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  647. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  648. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  649. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  650. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  651. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  652. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  653. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  654. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  655. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  656. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  657. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  659. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  660. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  661. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  663. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  665. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  667. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  669. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  670. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  671. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  672. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  673. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  675. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  677. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  679. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  681. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  683. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  685. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  686. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  687. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  689. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  691. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  693. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  695. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  697. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  699. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  701. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  703. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  705. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  707. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  709. package/contracts/components/BaseComponent.sol +0 -159
  710. package/contracts/components/Distribution.sol +0 -164
  711. package/contracts/components/IBaseComponent.sol +0 -34
  712. package/contracts/components/IDistributionComponent.sol +0 -44
  713. package/contracts/components/IPoolComponent.sol +0 -66
  714. package/contracts/components/IProductComponent.sol +0 -35
  715. package/contracts/components/Pool.sol +0 -272
  716. package/contracts/components/Product.sol +0 -301
  717. package/contracts/experiment/cloning/Cloner.sol +0 -47
  718. package/contracts/experiment/errors/Require.sol +0 -38
  719. package/contracts/experiment/errors/Revert.sol +0 -44
  720. package/contracts/experiment/inheritance/A.sol +0 -53
  721. package/contracts/experiment/inheritance/B.sol +0 -28
  722. package/contracts/experiment/inheritance/C.sol +0 -34
  723. package/contracts/experiment/inheritance/IA.sol +0 -13
  724. package/contracts/experiment/inheritance/IB.sol +0 -10
  725. package/contracts/experiment/inheritance/IC.sol +0 -12
  726. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  727. package/contracts/experiment/statemachine/ISM.sol +0 -25
  728. package/contracts/experiment/statemachine/SM.sol +0 -57
  729. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  730. package/contracts/experiment/types/TypeA.sol +0 -47
  731. package/contracts/experiment/types/TypeB.sol +0 -29
  732. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  733. package/contracts/instance/BundleManager.sol +0 -129
  734. package/contracts/instance/IInstanceBase.sol +0 -26
  735. package/contracts/instance/InstanceAccessManager.sol +0 -303
  736. package/contracts/instance/InstanceBase.sol +0 -41
  737. package/contracts/instance/ObjectManager.sol +0 -101
  738. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  739. package/contracts/instance/base/IInstanceBase.sol +0 -23
  740. package/contracts/instance/base/KeyValueStore.sol +0 -172
  741. package/contracts/instance/base/Lifecycle.sol +0 -100
  742. package/contracts/instance/module/IAccess.sol +0 -48
  743. package/contracts/instance/module/ISetup.sol +0 -46
  744. package/contracts/instance/module/ITreasury.sol +0 -23
  745. package/contracts/instance/service/BundleService.sol +0 -294
  746. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  747. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  748. package/contracts/instance/service/DistributionService.sol +0 -120
  749. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  750. package/contracts/instance/service/IBundleService.sol +0 -44
  751. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  752. package/contracts/instance/service/IDistributionService.sol +0 -12
  753. package/contracts/instance/service/IPolicyService.sol +0 -94
  754. package/contracts/instance/service/IPoolService.sol +0 -20
  755. package/contracts/instance/service/IProductService.sol +0 -40
  756. package/contracts/instance/service/PolicyService.sol +0 -539
  757. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  758. package/contracts/instance/service/PoolService.sol +0 -145
  759. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  760. package/contracts/instance/service/ProductService.sol +0 -213
  761. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  762. package/contracts/registry/RegistryAccessManager.sol +0 -210
  763. package/contracts/registry/ReleaseManager.sol +0 -342
  764. package/contracts/shared/ContractDeployerLib.sol +0 -72
  765. package/contracts/shared/ERC165.sol +0 -25
  766. package/contracts/shared/ProxyManager.sol +0 -94
  767. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  768. package/contracts/shared/Versionable.sol +0 -147
  769. package/contracts/test/TestFee.sol +0 -25
  770. package/contracts/test/TestRegisterable.sol +0 -18
  771. package/contracts/test/TestRoleId.sol +0 -14
  772. package/contracts/test/TestService.sol +0 -25
  773. package/contracts/test/TestToken.sol +0 -26
  774. package/contracts/test/TestVersion.sol +0 -44
  775. package/contracts/test/TestVersionable.sol +0 -17
  776. package/contracts/types/ChainId.sol +0 -38
  777. package/contracts/types/Fee.sol +0 -56
  778. package/contracts/types/NumberId.sol +0 -52
  779. package/contracts/types/ObjectType.sol +0 -152
  780. package/contracts/types/RiskId.sol +0 -43
  781. package/contracts/types/RoleId.sol +0 -90
  782. package/contracts/types/UFixed.sol +0 -325
@@ -4,94 +4,29 @@
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
21
15
  },
22
16
  {
23
17
  "inputs": [
24
18
  {
25
19
  "internalType": "NftId",
26
- "name": "bundleNftId",
20
+ "name": "poolNftId",
27
21
  "type": "uint96"
28
22
  }
29
23
  ],
30
- "name": "getBundleInfo",
24
+ "name": "activeBundles",
31
25
  "outputs": [
32
26
  {
33
- "components": [
34
- {
35
- "internalType": "NftId",
36
- "name": "poolNftId",
37
- "type": "uint96"
38
- },
39
- {
40
- "components": [
41
- {
42
- "internalType": "UFixed",
43
- "name": "fractionalFee",
44
- "type": "uint256"
45
- },
46
- {
47
- "internalType": "uint256",
48
- "name": "fixedFee",
49
- "type": "uint256"
50
- }
51
- ],
52
- "internalType": "struct Fee",
53
- "name": "fee",
54
- "type": "tuple"
55
- },
56
- {
57
- "internalType": "bytes",
58
- "name": "filter",
59
- "type": "bytes"
60
- },
61
- {
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"
80
- },
81
- {
82
- "internalType": "Timestamp",
83
- "name": "expiredAt",
84
- "type": "uint40"
85
- },
86
- {
87
- "internalType": "Timestamp",
88
- "name": "closedAt",
89
- "type": "uint40"
90
- }
91
- ],
92
- "internalType": "struct IBundle.BundleInfo",
93
- "name": "info",
94
- "type": "tuple"
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
95
30
  }
96
31
  ],
97
32
  "stateMutability": "view",
@@ -100,22 +35,17 @@
100
35
  {
101
36
  "inputs": [
102
37
  {
103
- "internalType": "ReferralId",
104
- "name": "referralId",
105
- "type": "bytes8"
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
40
+ "type": "uint96"
106
41
  }
107
42
  ],
108
- "name": "getDiscountPercentage",
43
+ "name": "activeRisks",
109
44
  "outputs": [
110
45
  {
111
- "internalType": "UFixed",
112
- "name": "discountPercentage",
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
113
48
  "type": "uint256"
114
- },
115
- {
116
- "internalType": "ReferralStatus",
117
- "name": "status",
118
- "type": "uint8"
119
49
  }
120
50
  ],
121
51
  "stateMutability": "view",
@@ -124,56 +54,17 @@
124
54
  {
125
55
  "inputs": [
126
56
  {
127
- "internalType": "NftId",
128
- "name": "distributionNftId",
129
- "type": "uint96"
57
+ "internalType": "address",
58
+ "name": "target",
59
+ "type": "address"
130
60
  }
131
61
  ],
132
- "name": "getDistributionSetupInfo",
62
+ "name": "authorizedFunctions",
133
63
  "outputs": [
134
64
  {
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"
65
+ "internalType": "uint256",
66
+ "name": "numberOfFunctions",
67
+ "type": "uint256"
177
68
  }
178
69
  ],
179
70
  "stateMutability": "view",
@@ -183,33 +74,16 @@
183
74
  "inputs": [
184
75
  {
185
76
  "internalType": "NftId",
186
- "name": "distributorNftId",
77
+ "name": "poolNftId",
187
78
  "type": "uint96"
188
79
  }
189
80
  ],
190
- "name": "getDistributorInfo",
81
+ "name": "bundles",
191
82
  "outputs": [
192
83
  {
193
- "components": [
194
- {
195
- "internalType": "DistributorType",
196
- "name": "distributorType",
197
- "type": "bytes8"
198
- },
199
- {
200
- "internalType": "bool",
201
- "name": "active",
202
- "type": "bool"
203
- },
204
- {
205
- "internalType": "bytes",
206
- "name": "data",
207
- "type": "bytes"
208
- }
209
- ],
210
- "internalType": "struct IDistribution.DistributorInfo",
211
- "name": "info",
212
- "type": "tuple"
84
+ "internalType": "uint256",
85
+ "name": "bundleCount",
86
+ "type": "uint256"
213
87
  }
214
88
  ],
215
89
  "stateMutability": "view",
@@ -218,64 +92,17 @@
218
92
  {
219
93
  "inputs": [
220
94
  {
221
- "internalType": "DistributorType",
222
- "name": "distributorType",
223
- "type": "bytes8"
95
+ "internalType": "NftId",
96
+ "name": "policyNftId",
97
+ "type": "uint96"
224
98
  }
225
99
  ],
226
- "name": "getDistributorTypeInfo",
100
+ "name": "claims",
227
101
  "outputs": [
228
102
  {
229
- "components": [
230
- {
231
- "internalType": "string",
232
- "name": "name",
233
- "type": "string"
234
- },
235
- {
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"
264
- },
265
- {
266
- "internalType": "bool",
267
- "name": "allowRenewals",
268
- "type": "bool"
269
- },
270
- {
271
- "internalType": "bytes",
272
- "name": "data",
273
- "type": "bytes"
274
- }
275
- ],
276
- "internalType": "struct IDistribution.DistributorTypeInfo",
277
- "name": "info",
278
- "type": "tuple"
103
+ "internalType": "uint16",
104
+ "name": "claimCount",
105
+ "type": "uint16"
279
106
  }
280
107
  ],
281
108
  "stateMutability": "view",
@@ -283,24 +110,35 @@
283
110
  },
284
111
  {
285
112
  "inputs": [],
286
- "name": "getInstance",
113
+ "name": "components",
287
114
  "outputs": [
288
115
  {
289
- "internalType": "contract IInstance",
290
- "name": "instance",
291
- "type": "address"
116
+ "internalType": "uint256",
117
+ "name": "componentCount",
118
+ "type": "uint256"
292
119
  }
293
120
  ],
294
121
  "stateMutability": "view",
295
122
  "type": "function"
296
123
  },
297
124
  {
298
- "inputs": [],
299
- "name": "getInstanceNftId",
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "poolNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "idx",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "getActiveBundleNftId",
300
138
  "outputs": [
301
139
  {
302
140
  "internalType": "NftId",
303
- "name": "nftId",
141
+ "name": "bundleNftId",
304
142
  "type": "uint96"
305
143
  }
306
144
  ],
@@ -308,13 +146,24 @@
308
146
  "type": "function"
309
147
  },
310
148
  {
311
- "inputs": [],
312
- "name": "getInstanceStore",
149
+ "inputs": [
150
+ {
151
+ "internalType": "NftId",
152
+ "name": "productNftId",
153
+ "type": "uint96"
154
+ },
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "idx",
158
+ "type": "uint256"
159
+ }
160
+ ],
161
+ "name": "getActiveRiskId",
313
162
  "outputs": [
314
163
  {
315
- "internalType": "contract IKeyValueStore",
316
- "name": "store",
317
- "type": "address"
164
+ "internalType": "RiskId",
165
+ "name": "riskId",
166
+ "type": "bytes8"
318
167
  }
319
168
  ],
320
169
  "stateMutability": "view",
@@ -323,44 +172,44 @@
323
172
  {
324
173
  "inputs": [
325
174
  {
326
- "internalType": "Key32",
327
- "name": "key",
328
- "type": "bytes32"
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "idx",
182
+ "type": "uint256"
329
183
  }
330
184
  ],
331
- "name": "getMetadata",
185
+ "name": "getAuthorizedFunction",
332
186
  "outputs": [
333
187
  {
334
188
  "components": [
335
189
  {
336
- "internalType": "ObjectType",
337
- "name": "objectType",
338
- "type": "uint8"
339
- },
340
- {
341
- "internalType": "StateId",
342
- "name": "state",
343
- "type": "uint8"
344
- },
345
- {
346
- "internalType": "address",
347
- "name": "updatedBy",
348
- "type": "address"
190
+ "internalType": "Str",
191
+ "name": "name",
192
+ "type": "bytes32"
349
193
  },
350
194
  {
351
- "internalType": "Blocknumber",
352
- "name": "updatedIn",
353
- "type": "uint32"
195
+ "internalType": "Selector",
196
+ "name": "selector",
197
+ "type": "bytes4"
354
198
  },
355
199
  {
356
- "internalType": "Blocknumber",
357
- "name": "createdIn",
358
- "type": "uint32"
200
+ "internalType": "Timestamp",
201
+ "name": "createdAt",
202
+ "type": "uint40"
359
203
  }
360
204
  ],
361
- "internalType": "struct IKeyValueStore.Metadata",
362
- "name": "metadata",
205
+ "internalType": "struct IAccess.FunctionInfo",
206
+ "name": "func",
363
207
  "type": "tuple"
208
+ },
209
+ {
210
+ "internalType": "RoleId",
211
+ "name": "roleId",
212
+ "type": "uint64"
364
213
  }
365
214
  ],
366
215
  "stateMutability": "view",
@@ -370,79 +219,33 @@
370
219
  "inputs": [
371
220
  {
372
221
  "internalType": "NftId",
373
- "name": "policyNftId",
222
+ "name": "targetNftId",
374
223
  "type": "uint96"
375
224
  }
376
225
  ],
377
- "name": "getPolicyInfo",
226
+ "name": "getBalanceAmount",
227
+ "outputs": [
228
+ {
229
+ "internalType": "Amount",
230
+ "name": "",
231
+ "type": "uint96"
232
+ }
233
+ ],
234
+ "stateMutability": "view",
235
+ "type": "function"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "NftId",
241
+ "name": "bundleNftId",
242
+ "type": "uint96"
243
+ }
244
+ ],
245
+ "name": "getBundleInfo",
378
246
  "outputs": [
379
247
  {
380
248
  "components": [
381
- {
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"
405
- },
406
- {
407
- "internalType": "uint256",
408
- "name": "premiumAmount",
409
- "type": "uint256"
410
- },
411
- {
412
- "internalType": "uint256",
413
- "name": "premiumPaidAmount",
414
- "type": "uint256"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "lifetime",
419
- "type": "uint256"
420
- },
421
- {
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"
440
- },
441
- {
442
- "internalType": "uint256",
443
- "name": "payoutAmount",
444
- "type": "uint256"
445
- },
446
249
  {
447
250
  "internalType": "Timestamp",
448
251
  "name": "activatedAt",
@@ -457,9 +260,36 @@
457
260
  "internalType": "Timestamp",
458
261
  "name": "closedAt",
459
262
  "type": "uint40"
263
+ },
264
+ {
265
+ "internalType": "NftId",
266
+ "name": "poolNftId",
267
+ "type": "uint96"
268
+ },
269
+ {
270
+ "components": [
271
+ {
272
+ "internalType": "UFixed",
273
+ "name": "fractionalFee",
274
+ "type": "uint160"
275
+ },
276
+ {
277
+ "internalType": "Amount",
278
+ "name": "fixedFee",
279
+ "type": "uint96"
280
+ }
281
+ ],
282
+ "internalType": "struct Fee",
283
+ "name": "fee",
284
+ "type": "tuple"
285
+ },
286
+ {
287
+ "internalType": "bytes",
288
+ "name": "filter",
289
+ "type": "bytes"
460
290
  }
461
291
  ],
462
- "internalType": "struct IPolicy.PolicyInfo",
292
+ "internalType": "struct IBundle.BundleInfo",
463
293
  "name": "info",
464
294
  "type": "tuple"
465
295
  }
@@ -471,11 +301,48 @@
471
301
  "inputs": [
472
302
  {
473
303
  "internalType": "NftId",
474
- "name": "policyNftId",
304
+ "name": "poolNftId",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "idx",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "name": "getBundleNftId",
314
+ "outputs": [
315
+ {
316
+ "internalType": "NftId",
317
+ "name": "bundleNftId",
475
318
  "type": "uint96"
476
319
  }
477
320
  ],
478
- "name": "getPolicyState",
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "getBundleSet",
327
+ "outputs": [
328
+ {
329
+ "internalType": "contract BundleSet",
330
+ "name": "bundleSet",
331
+ "type": "address"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "bundleNftId",
342
+ "type": "uint96"
343
+ }
344
+ ],
345
+ "name": "getBundleState",
479
346
  "outputs": [
480
347
  {
481
348
  "internalType": "StateId",
@@ -486,101 +353,79 @@
486
353
  "stateMutability": "view",
487
354
  "type": "function"
488
355
  },
356
+ {
357
+ "inputs": [
358
+ {
359
+ "internalType": "uint256",
360
+ "name": "idx",
361
+ "type": "uint256"
362
+ }
363
+ ],
364
+ "name": "getClaimId",
365
+ "outputs": [
366
+ {
367
+ "internalType": "ClaimId",
368
+ "name": "claimId",
369
+ "type": "uint16"
370
+ }
371
+ ],
372
+ "stateMutability": "pure",
373
+ "type": "function"
374
+ },
489
375
  {
490
376
  "inputs": [
491
377
  {
492
378
  "internalType": "NftId",
493
- "name": "poolNftId",
379
+ "name": "policyNftId",
494
380
  "type": "uint96"
381
+ },
382
+ {
383
+ "internalType": "ClaimId",
384
+ "name": "claimId",
385
+ "type": "uint16"
495
386
  }
496
387
  ],
497
- "name": "getPoolSetupInfo",
388
+ "name": "getClaimInfo",
498
389
  "outputs": [
499
390
  {
500
391
  "components": [
501
392
  {
502
- "internalType": "NftId",
503
- "name": "productNftId",
393
+ "internalType": "Amount",
394
+ "name": "claimAmount",
504
395
  "type": "uint96"
505
396
  },
506
397
  {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
510
- },
511
- {
512
- "internalType": "UFixed",
513
- "name": "collateralizationLevel",
514
- "type": "uint256"
515
- },
516
- {
517
- "components": [
518
- {
519
- "internalType": "UFixed",
520
- "name": "fractionalFee",
521
- "type": "uint256"
522
- },
523
- {
524
- "internalType": "uint256",
525
- "name": "fixedFee",
526
- "type": "uint256"
527
- }
528
- ],
529
- "internalType": "struct Fee",
530
- "name": "poolFee",
531
- "type": "tuple"
398
+ "internalType": "Amount",
399
+ "name": "paidAmount",
400
+ "type": "uint96"
532
401
  },
533
402
  {
534
- "components": [
535
- {
536
- "internalType": "UFixed",
537
- "name": "fractionalFee",
538
- "type": "uint256"
539
- },
540
- {
541
- "internalType": "uint256",
542
- "name": "fixedFee",
543
- "type": "uint256"
544
- }
545
- ],
546
- "internalType": "struct Fee",
547
- "name": "stakingFee",
548
- "type": "tuple"
403
+ "internalType": "Timestamp",
404
+ "name": "closedAt",
405
+ "type": "uint40"
549
406
  },
550
407
  {
551
- "components": [
552
- {
553
- "internalType": "UFixed",
554
- "name": "fractionalFee",
555
- "type": "uint256"
556
- },
557
- {
558
- "internalType": "uint256",
559
- "name": "fixedFee",
560
- "type": "uint256"
561
- }
562
- ],
563
- "internalType": "struct Fee",
564
- "name": "performanceFee",
565
- "type": "tuple"
408
+ "internalType": "uint24",
409
+ "name": "payoutsCount",
410
+ "type": "uint24"
566
411
  },
567
412
  {
568
- "internalType": "bool",
569
- "name": "isIntercepting",
570
- "type": "bool"
413
+ "internalType": "uint24",
414
+ "name": "openPayoutsCount",
415
+ "type": "uint24"
571
416
  },
572
417
  {
573
- "internalType": "bool",
574
- "name": "isConfirmingApplication",
575
- "type": "bool"
418
+ "internalType": "bytes",
419
+ "name": "submissionData",
420
+ "type": "bytes"
576
421
  },
577
422
  {
578
- "internalType": "address",
579
- "name": "wallet",
580
- "type": "address"
423
+ "internalType": "bytes",
424
+ "name": "processData",
425
+ "type": "bytes"
581
426
  }
582
427
  ],
583
- "internalType": "struct ISetup.PoolSetupInfo",
428
+ "internalType": "struct IPolicy.ClaimInfo",
584
429
  "name": "info",
585
430
  "type": "tuple"
586
431
  }
@@ -592,148 +437,55 @@
592
437
  "inputs": [
593
438
  {
594
439
  "internalType": "NftId",
595
- "name": "productNftId",
440
+ "name": "policyNftId",
596
441
  "type": "uint96"
442
+ },
443
+ {
444
+ "internalType": "ClaimId",
445
+ "name": "claimId",
446
+ "type": "uint16"
597
447
  }
598
448
  ],
599
- "name": "getProductSetupInfo",
449
+ "name": "getClaimState",
600
450
  "outputs": [
601
451
  {
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",
655
- "type": "tuple"
656
- },
657
- {
658
- "components": [
659
- {
660
- "internalType": "UFixed",
661
- "name": "fractionalFee",
662
- "type": "uint256"
663
- },
664
- {
665
- "internalType": "uint256",
666
- "name": "fixedFee",
667
- "type": "uint256"
668
- }
669
- ],
670
- "internalType": "struct Fee",
671
- "name": "processingFee",
672
- "type": "tuple"
673
- },
674
- {
675
- "components": [
676
- {
677
- "internalType": "UFixed",
678
- "name": "fractionalFee",
679
- "type": "uint256"
680
- },
681
- {
682
- "internalType": "uint256",
683
- "name": "fixedFee",
684
- "type": "uint256"
685
- }
686
- ],
687
- "internalType": "struct Fee",
688
- "name": "poolFee",
689
- "type": "tuple"
690
- },
691
- {
692
- "components": [
693
- {
694
- "internalType": "UFixed",
695
- "name": "fractionalFee",
696
- "type": "uint256"
697
- },
698
- {
699
- "internalType": "uint256",
700
- "name": "fixedFee",
701
- "type": "uint256"
702
- }
703
- ],
704
- "internalType": "struct Fee",
705
- "name": "stakingFee",
706
- "type": "tuple"
707
- },
452
+ "internalType": "StateId",
453
+ "name": "state",
454
+ "type": "uint8"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "NftId",
464
+ "name": "componentNftId",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "getComponentInfo",
469
+ "outputs": [
470
+ {
471
+ "components": [
708
472
  {
709
- "components": [
710
- {
711
- "internalType": "UFixed",
712
- "name": "fractionalFee",
713
- "type": "uint256"
714
- },
715
- {
716
- "internalType": "uint256",
717
- "name": "fixedFee",
718
- "type": "uint256"
719
- }
720
- ],
721
- "internalType": "struct Fee",
722
- "name": "performanceFee",
723
- "type": "tuple"
473
+ "internalType": "string",
474
+ "name": "name",
475
+ "type": "string"
724
476
  },
725
477
  {
726
- "internalType": "bool",
727
- "name": "isIntercepting",
728
- "type": "bool"
478
+ "internalType": "contract TokenHandler",
479
+ "name": "tokenHandler",
480
+ "type": "address"
729
481
  },
730
482
  {
731
- "internalType": "address",
732
- "name": "wallet",
733
- "type": "address"
483
+ "internalType": "bytes",
484
+ "name": "data",
485
+ "type": "bytes"
734
486
  }
735
487
  ],
736
- "internalType": "struct ISetup.ProductSetupInfo",
488
+ "internalType": "struct IComponents.ComponentInfo",
737
489
  "name": "info",
738
490
  "type": "tuple"
739
491
  }
@@ -749,47 +501,56 @@
749
501
  "type": "bytes8"
750
502
  }
751
503
  ],
752
- "name": "getReferralInfo",
504
+ "name": "getDiscountPercentage",
505
+ "outputs": [
506
+ {
507
+ "internalType": "UFixed",
508
+ "name": "discountPercentage",
509
+ "type": "uint160"
510
+ },
511
+ {
512
+ "internalType": "ReferralStatus",
513
+ "name": "status",
514
+ "type": "uint8"
515
+ }
516
+ ],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [
522
+ {
523
+ "internalType": "NftId",
524
+ "name": "distributorNftId",
525
+ "type": "uint96"
526
+ }
527
+ ],
528
+ "name": "getDistributorInfo",
753
529
  "outputs": [
754
530
  {
755
531
  "components": [
756
532
  {
757
- "internalType": "NftId",
758
- "name": "distributorNftId",
759
- "type": "uint96"
760
- },
761
- {
762
- "internalType": "string",
763
- "name": "referralCode",
764
- "type": "string"
765
- },
766
- {
767
- "internalType": "UFixed",
768
- "name": "discountPercentage",
769
- "type": "uint256"
533
+ "internalType": "DistributorType",
534
+ "name": "distributorType",
535
+ "type": "bytes8"
770
536
  },
771
537
  {
772
- "internalType": "uint32",
773
- "name": "maxReferrals",
774
- "type": "uint32"
538
+ "internalType": "bool",
539
+ "name": "active",
540
+ "type": "bool"
775
541
  },
776
542
  {
777
543
  "internalType": "uint32",
778
- "name": "usedReferrals",
544
+ "name": "numPoliciesSold",
779
545
  "type": "uint32"
780
546
  },
781
- {
782
- "internalType": "Timestamp",
783
- "name": "expiryAt",
784
- "type": "uint40"
785
- },
786
547
  {
787
548
  "internalType": "bytes",
788
549
  "name": "data",
789
550
  "type": "bytes"
790
551
  }
791
552
  ],
792
- "internalType": "struct IDistribution.ReferralInfo",
553
+ "internalType": "struct IDistribution.DistributorInfo",
793
554
  "name": "info",
794
555
  "type": "tuple"
795
556
  }
@@ -800,27 +561,67 @@
800
561
  {
801
562
  "inputs": [
802
563
  {
803
- "internalType": "RiskId",
804
- "name": "riskId",
564
+ "internalType": "DistributorType",
565
+ "name": "distributorType",
805
566
  "type": "bytes8"
806
567
  }
807
568
  ],
808
- "name": "getRiskInfo",
569
+ "name": "getDistributorTypeInfo",
809
570
  "outputs": [
810
571
  {
811
572
  "components": [
573
+ {
574
+ "internalType": "UFixed",
575
+ "name": "minDiscountPercentage",
576
+ "type": "uint160"
577
+ },
812
578
  {
813
579
  "internalType": "NftId",
814
- "name": "productNftId",
580
+ "name": "distributionNftId",
815
581
  "type": "uint96"
816
582
  },
583
+ {
584
+ "internalType": "UFixed",
585
+ "name": "maxDiscountPercentage",
586
+ "type": "uint160"
587
+ },
588
+ {
589
+ "internalType": "uint32",
590
+ "name": "maxReferralCount",
591
+ "type": "uint32"
592
+ },
593
+ {
594
+ "internalType": "Seconds",
595
+ "name": "maxReferralLifetime",
596
+ "type": "uint40"
597
+ },
598
+ {
599
+ "internalType": "bool",
600
+ "name": "allowSelfReferrals",
601
+ "type": "bool"
602
+ },
603
+ {
604
+ "internalType": "bool",
605
+ "name": "allowRenewals",
606
+ "type": "bool"
607
+ },
608
+ {
609
+ "internalType": "UFixed",
610
+ "name": "commissionPercentage",
611
+ "type": "uint160"
612
+ },
613
+ {
614
+ "internalType": "string",
615
+ "name": "name",
616
+ "type": "string"
617
+ },
817
618
  {
818
619
  "internalType": "bytes",
819
620
  "name": "data",
820
621
  "type": "bytes"
821
622
  }
822
623
  ],
823
- "internalType": "struct IRisk.RiskInfo",
624
+ "internalType": "struct IDistribution.DistributorTypeInfo",
824
625
  "name": "info",
825
626
  "type": "tuple"
826
627
  }
@@ -832,16 +633,16 @@
832
633
  "inputs": [
833
634
  {
834
635
  "internalType": "NftId",
835
- "name": "productNftId",
636
+ "name": "targetNftId",
836
637
  "type": "uint96"
837
638
  }
838
639
  ],
839
- "name": "getTokenHandler",
640
+ "name": "getFeeAmount",
840
641
  "outputs": [
841
642
  {
842
- "internalType": "address",
843
- "name": "tokenHandler",
844
- "type": "address"
643
+ "internalType": "Amount",
644
+ "name": "",
645
+ "type": "uint96"
845
646
  }
846
647
  ],
847
648
  "stateMutability": "view",
@@ -855,45 +656,25 @@
855
656
  "type": "uint96"
856
657
  }
857
658
  ],
858
- "name": "getTreasuryInfo",
659
+ "name": "getFeeInfo",
859
660
  "outputs": [
860
661
  {
861
662
  "components": [
862
- {
863
- "internalType": "contract IERC20Metadata",
864
- "name": "token",
865
- "type": "address"
866
- },
867
- {
868
- "internalType": "contract TokenHandler",
869
- "name": "tokenHandler",
870
- "type": "address"
871
- },
872
- {
873
- "internalType": "NftId",
874
- "name": "distributionNftId",
875
- "type": "uint96"
876
- },
877
- {
878
- "internalType": "NftId",
879
- "name": "poolNftId",
880
- "type": "uint96"
881
- },
882
663
  {
883
664
  "components": [
884
665
  {
885
666
  "internalType": "UFixed",
886
667
  "name": "fractionalFee",
887
- "type": "uint256"
668
+ "type": "uint160"
888
669
  },
889
670
  {
890
- "internalType": "uint256",
671
+ "internalType": "Amount",
891
672
  "name": "fixedFee",
892
- "type": "uint256"
673
+ "type": "uint96"
893
674
  }
894
675
  ],
895
676
  "internalType": "struct Fee",
896
- "name": "distributionFee",
677
+ "name": "productFee",
897
678
  "type": "tuple"
898
679
  },
899
680
  {
@@ -901,16 +682,16 @@
901
682
  {
902
683
  "internalType": "UFixed",
903
684
  "name": "fractionalFee",
904
- "type": "uint256"
685
+ "type": "uint160"
905
686
  },
906
687
  {
907
- "internalType": "uint256",
688
+ "internalType": "Amount",
908
689
  "name": "fixedFee",
909
- "type": "uint256"
690
+ "type": "uint96"
910
691
  }
911
692
  ],
912
693
  "internalType": "struct Fee",
913
- "name": "productFee",
694
+ "name": "processingFee",
914
695
  "type": "tuple"
915
696
  },
916
697
  {
@@ -918,16 +699,16 @@
918
699
  {
919
700
  "internalType": "UFixed",
920
701
  "name": "fractionalFee",
921
- "type": "uint256"
702
+ "type": "uint160"
922
703
  },
923
704
  {
924
- "internalType": "uint256",
705
+ "internalType": "Amount",
925
706
  "name": "fixedFee",
926
- "type": "uint256"
707
+ "type": "uint96"
927
708
  }
928
709
  ],
929
710
  "internalType": "struct Fee",
930
- "name": "processingFee",
711
+ "name": "distributionFee",
931
712
  "type": "tuple"
932
713
  },
933
714
  {
@@ -935,16 +716,16 @@
935
716
  {
936
717
  "internalType": "UFixed",
937
718
  "name": "fractionalFee",
938
- "type": "uint256"
719
+ "type": "uint160"
939
720
  },
940
721
  {
941
- "internalType": "uint256",
722
+ "internalType": "Amount",
942
723
  "name": "fixedFee",
943
- "type": "uint256"
724
+ "type": "uint96"
944
725
  }
945
726
  ],
946
727
  "internalType": "struct Fee",
947
- "name": "poolFee",
728
+ "name": "minDistributionOwnerFee",
948
729
  "type": "tuple"
949
730
  },
950
731
  {
@@ -952,16 +733,16 @@
952
733
  {
953
734
  "internalType": "UFixed",
954
735
  "name": "fractionalFee",
955
- "type": "uint256"
736
+ "type": "uint160"
956
737
  },
957
738
  {
958
- "internalType": "uint256",
739
+ "internalType": "Amount",
959
740
  "name": "fixedFee",
960
- "type": "uint256"
741
+ "type": "uint96"
961
742
  }
962
743
  ],
963
744
  "internalType": "struct Fee",
964
- "name": "stakingFee",
745
+ "name": "poolFee",
965
746
  "type": "tuple"
966
747
  },
967
748
  {
@@ -969,21 +750,1091 @@
969
750
  {
970
751
  "internalType": "UFixed",
971
752
  "name": "fractionalFee",
972
- "type": "uint256"
753
+ "type": "uint160"
973
754
  },
974
755
  {
975
- "internalType": "uint256",
756
+ "internalType": "Amount",
976
757
  "name": "fixedFee",
977
- "type": "uint256"
758
+ "type": "uint96"
978
759
  }
979
760
  ],
980
761
  "internalType": "struct Fee",
981
- "name": "performanceFee",
762
+ "name": "stakingFee",
982
763
  "type": "tuple"
983
- }
984
- ],
985
- "internalType": "struct ITreasury.TreasuryInfo",
986
- "name": "info",
764
+ },
765
+ {
766
+ "components": [
767
+ {
768
+ "internalType": "UFixed",
769
+ "name": "fractionalFee",
770
+ "type": "uint160"
771
+ },
772
+ {
773
+ "internalType": "Amount",
774
+ "name": "fixedFee",
775
+ "type": "uint96"
776
+ }
777
+ ],
778
+ "internalType": "struct Fee",
779
+ "name": "performanceFee",
780
+ "type": "tuple"
781
+ }
782
+ ],
783
+ "internalType": "struct IComponents.FeeInfo",
784
+ "name": "feeInfo",
785
+ "type": "tuple"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "getInstance",
794
+ "outputs": [
795
+ {
796
+ "internalType": "contract IInstance",
797
+ "name": "instance",
798
+ "type": "address"
799
+ }
800
+ ],
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [],
806
+ "name": "getInstanceAdmin",
807
+ "outputs": [
808
+ {
809
+ "internalType": "contract InstanceAdmin",
810
+ "name": "instanceAdmin",
811
+ "type": "address"
812
+ }
813
+ ],
814
+ "stateMutability": "view",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [],
819
+ "name": "getInstanceNftId",
820
+ "outputs": [
821
+ {
822
+ "internalType": "NftId",
823
+ "name": "instanceNftid",
824
+ "type": "uint96"
825
+ }
826
+ ],
827
+ "stateMutability": "view",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [],
832
+ "name": "getInstanceOwnerRole",
833
+ "outputs": [
834
+ {
835
+ "internalType": "RoleId",
836
+ "name": "roleId",
837
+ "type": "uint64"
838
+ }
839
+ ],
840
+ "stateMutability": "pure",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "getInstanceStore",
846
+ "outputs": [
847
+ {
848
+ "internalType": "contract IKeyValueStore",
849
+ "name": "store",
850
+ "type": "address"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
858
+ {
859
+ "internalType": "NftId",
860
+ "name": "targetNftId",
861
+ "type": "uint96"
862
+ }
863
+ ],
864
+ "name": "getLockedAmount",
865
+ "outputs": [
866
+ {
867
+ "internalType": "Amount",
868
+ "name": "",
869
+ "type": "uint96"
870
+ }
871
+ ],
872
+ "stateMutability": "view",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
877
+ {
878
+ "internalType": "Key32",
879
+ "name": "key",
880
+ "type": "bytes32"
881
+ }
882
+ ],
883
+ "name": "getMetadata",
884
+ "outputs": [
885
+ {
886
+ "components": [
887
+ {
888
+ "internalType": "ObjectType",
889
+ "name": "objectType",
890
+ "type": "uint8"
891
+ },
892
+ {
893
+ "internalType": "StateId",
894
+ "name": "state",
895
+ "type": "uint8"
896
+ },
897
+ {
898
+ "internalType": "Blocknumber",
899
+ "name": "updatedIn",
900
+ "type": "uint32"
901
+ },
902
+ {
903
+ "internalType": "Blocknumber",
904
+ "name": "createdIn",
905
+ "type": "uint32"
906
+ }
907
+ ],
908
+ "internalType": "struct IKeyValueStore.Metadata",
909
+ "name": "metadata",
910
+ "type": "tuple"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "ClaimId",
920
+ "name": "claimId",
921
+ "type": "uint16"
922
+ },
923
+ {
924
+ "internalType": "uint24",
925
+ "name": "idx",
926
+ "type": "uint24"
927
+ }
928
+ ],
929
+ "name": "getPayoutId",
930
+ "outputs": [
931
+ {
932
+ "internalType": "PayoutId",
933
+ "name": "payoutId",
934
+ "type": "uint40"
935
+ }
936
+ ],
937
+ "stateMutability": "pure",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [
942
+ {
943
+ "internalType": "NftId",
944
+ "name": "policyNftId",
945
+ "type": "uint96"
946
+ },
947
+ {
948
+ "internalType": "PayoutId",
949
+ "name": "payoutId",
950
+ "type": "uint40"
951
+ }
952
+ ],
953
+ "name": "getPayoutInfo",
954
+ "outputs": [
955
+ {
956
+ "components": [
957
+ {
958
+ "internalType": "ClaimId",
959
+ "name": "claimId",
960
+ "type": "uint16"
961
+ },
962
+ {
963
+ "internalType": "Amount",
964
+ "name": "amount",
965
+ "type": "uint96"
966
+ },
967
+ {
968
+ "internalType": "Timestamp",
969
+ "name": "paidAt",
970
+ "type": "uint40"
971
+ },
972
+ {
973
+ "internalType": "address",
974
+ "name": "beneficiary",
975
+ "type": "address"
976
+ },
977
+ {
978
+ "internalType": "bytes",
979
+ "name": "data",
980
+ "type": "bytes"
981
+ }
982
+ ],
983
+ "internalType": "struct IPolicy.PayoutInfo",
984
+ "name": "info",
985
+ "type": "tuple"
986
+ }
987
+ ],
988
+ "stateMutability": "view",
989
+ "type": "function"
990
+ },
991
+ {
992
+ "inputs": [
993
+ {
994
+ "internalType": "NftId",
995
+ "name": "policyNftId",
996
+ "type": "uint96"
997
+ },
998
+ {
999
+ "internalType": "PayoutId",
1000
+ "name": "payoutId",
1001
+ "type": "uint40"
1002
+ }
1003
+ ],
1004
+ "name": "getPayoutState",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "StateId",
1008
+ "name": "state",
1009
+ "type": "uint8"
1010
+ }
1011
+ ],
1012
+ "stateMutability": "view",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "NftId",
1019
+ "name": "policyNftId",
1020
+ "type": "uint96"
1021
+ }
1022
+ ],
1023
+ "name": "getPolicyInfo",
1024
+ "outputs": [
1025
+ {
1026
+ "components": [
1027
+ {
1028
+ "internalType": "NftId",
1029
+ "name": "productNftId",
1030
+ "type": "uint96"
1031
+ },
1032
+ {
1033
+ "internalType": "NftId",
1034
+ "name": "bundleNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "internalType": "RiskId",
1039
+ "name": "riskId",
1040
+ "type": "bytes8"
1041
+ },
1042
+ {
1043
+ "internalType": "Amount",
1044
+ "name": "sumInsuredAmount",
1045
+ "type": "uint96"
1046
+ },
1047
+ {
1048
+ "internalType": "Amount",
1049
+ "name": "premiumAmount",
1050
+ "type": "uint96"
1051
+ },
1052
+ {
1053
+ "internalType": "ReferralId",
1054
+ "name": "referralId",
1055
+ "type": "bytes8"
1056
+ },
1057
+ {
1058
+ "internalType": "uint16",
1059
+ "name": "claimsCount",
1060
+ "type": "uint16"
1061
+ },
1062
+ {
1063
+ "internalType": "uint16",
1064
+ "name": "openClaimsCount",
1065
+ "type": "uint16"
1066
+ },
1067
+ {
1068
+ "internalType": "Amount",
1069
+ "name": "claimAmount",
1070
+ "type": "uint96"
1071
+ },
1072
+ {
1073
+ "internalType": "Amount",
1074
+ "name": "payoutAmount",
1075
+ "type": "uint96"
1076
+ },
1077
+ {
1078
+ "internalType": "Timestamp",
1079
+ "name": "activatedAt",
1080
+ "type": "uint40"
1081
+ },
1082
+ {
1083
+ "internalType": "Seconds",
1084
+ "name": "lifetime",
1085
+ "type": "uint40"
1086
+ },
1087
+ {
1088
+ "internalType": "Timestamp",
1089
+ "name": "expiredAt",
1090
+ "type": "uint40"
1091
+ },
1092
+ {
1093
+ "internalType": "Timestamp",
1094
+ "name": "closedAt",
1095
+ "type": "uint40"
1096
+ },
1097
+ {
1098
+ "internalType": "bytes",
1099
+ "name": "applicationData",
1100
+ "type": "bytes"
1101
+ },
1102
+ {
1103
+ "internalType": "bytes",
1104
+ "name": "processData",
1105
+ "type": "bytes"
1106
+ }
1107
+ ],
1108
+ "internalType": "struct IPolicy.PolicyInfo",
1109
+ "name": "info",
1110
+ "type": "tuple"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [
1118
+ {
1119
+ "internalType": "RiskId",
1120
+ "name": "riskId",
1121
+ "type": "bytes8"
1122
+ },
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "idx",
1126
+ "type": "uint256"
1127
+ }
1128
+ ],
1129
+ "name": "getPolicyNftIdForRisk",
1130
+ "outputs": [
1131
+ {
1132
+ "internalType": "NftId",
1133
+ "name": "linkedPolicyNftId",
1134
+ "type": "uint96"
1135
+ }
1136
+ ],
1137
+ "stateMutability": "view",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "policyNftId",
1145
+ "type": "uint96"
1146
+ }
1147
+ ],
1148
+ "name": "getPolicyState",
1149
+ "outputs": [
1150
+ {
1151
+ "internalType": "StateId",
1152
+ "name": "state",
1153
+ "type": "uint8"
1154
+ }
1155
+ ],
1156
+ "stateMutability": "view",
1157
+ "type": "function"
1158
+ },
1159
+ {
1160
+ "inputs": [
1161
+ {
1162
+ "internalType": "NftId",
1163
+ "name": "poolNftId",
1164
+ "type": "uint96"
1165
+ }
1166
+ ],
1167
+ "name": "getPoolInfo",
1168
+ "outputs": [
1169
+ {
1170
+ "components": [
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "maxBalanceAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "UFixed",
1178
+ "name": "collateralizationLevel",
1179
+ "type": "uint160"
1180
+ },
1181
+ {
1182
+ "internalType": "UFixed",
1183
+ "name": "retentionLevel",
1184
+ "type": "uint160"
1185
+ },
1186
+ {
1187
+ "internalType": "bool",
1188
+ "name": "isInterceptingBundleTransfers",
1189
+ "type": "bool"
1190
+ },
1191
+ {
1192
+ "internalType": "bool",
1193
+ "name": "isProcessingConfirmedClaims",
1194
+ "type": "bool"
1195
+ },
1196
+ {
1197
+ "internalType": "bool",
1198
+ "name": "isExternallyManaged",
1199
+ "type": "bool"
1200
+ },
1201
+ {
1202
+ "internalType": "bool",
1203
+ "name": "isVerifyingApplications",
1204
+ "type": "bool"
1205
+ }
1206
+ ],
1207
+ "internalType": "struct IComponents.PoolInfo",
1208
+ "name": "info",
1209
+ "type": "tuple"
1210
+ }
1211
+ ],
1212
+ "stateMutability": "view",
1213
+ "type": "function"
1214
+ },
1215
+ {
1216
+ "inputs": [
1217
+ {
1218
+ "internalType": "NftId",
1219
+ "name": "policyNftId",
1220
+ "type": "uint96"
1221
+ }
1222
+ ],
1223
+ "name": "getPremiumInfo",
1224
+ "outputs": [
1225
+ {
1226
+ "components": [
1227
+ {
1228
+ "internalType": "Amount",
1229
+ "name": "productFeeAmount",
1230
+ "type": "uint96"
1231
+ },
1232
+ {
1233
+ "internalType": "Amount",
1234
+ "name": "distributionFeeAndCommissionAmount",
1235
+ "type": "uint96"
1236
+ },
1237
+ {
1238
+ "internalType": "Amount",
1239
+ "name": "poolPremiumAndFeeAmount",
1240
+ "type": "uint96"
1241
+ },
1242
+ {
1243
+ "internalType": "Amount",
1244
+ "name": "netPremiumAmount",
1245
+ "type": "uint96"
1246
+ },
1247
+ {
1248
+ "internalType": "Amount",
1249
+ "name": "fullPremiumAmount",
1250
+ "type": "uint96"
1251
+ },
1252
+ {
1253
+ "internalType": "Amount",
1254
+ "name": "premiumAmount",
1255
+ "type": "uint96"
1256
+ },
1257
+ {
1258
+ "internalType": "Amount",
1259
+ "name": "productFeeFixAmount",
1260
+ "type": "uint96"
1261
+ },
1262
+ {
1263
+ "internalType": "Amount",
1264
+ "name": "poolFeeFixAmount",
1265
+ "type": "uint96"
1266
+ },
1267
+ {
1268
+ "internalType": "Amount",
1269
+ "name": "bundleFeeFixAmount",
1270
+ "type": "uint96"
1271
+ },
1272
+ {
1273
+ "internalType": "Amount",
1274
+ "name": "distributionFeeFixAmount",
1275
+ "type": "uint96"
1276
+ },
1277
+ {
1278
+ "internalType": "Amount",
1279
+ "name": "productFeeVarAmount",
1280
+ "type": "uint96"
1281
+ },
1282
+ {
1283
+ "internalType": "Amount",
1284
+ "name": "poolFeeVarAmount",
1285
+ "type": "uint96"
1286
+ },
1287
+ {
1288
+ "internalType": "Amount",
1289
+ "name": "bundleFeeVarAmount",
1290
+ "type": "uint96"
1291
+ },
1292
+ {
1293
+ "internalType": "Amount",
1294
+ "name": "distributionFeeVarAmount",
1295
+ "type": "uint96"
1296
+ },
1297
+ {
1298
+ "internalType": "Amount",
1299
+ "name": "distributionOwnerFeeFixAmount",
1300
+ "type": "uint96"
1301
+ },
1302
+ {
1303
+ "internalType": "Amount",
1304
+ "name": "distributionOwnerFeeVarAmount",
1305
+ "type": "uint96"
1306
+ },
1307
+ {
1308
+ "internalType": "Amount",
1309
+ "name": "commissionAmount",
1310
+ "type": "uint96"
1311
+ },
1312
+ {
1313
+ "internalType": "Amount",
1314
+ "name": "discountAmount",
1315
+ "type": "uint96"
1316
+ }
1317
+ ],
1318
+ "internalType": "struct IPolicy.PremiumInfo",
1319
+ "name": "info",
1320
+ "type": "tuple"
1321
+ }
1322
+ ],
1323
+ "stateMutability": "view",
1324
+ "type": "function"
1325
+ },
1326
+ {
1327
+ "inputs": [
1328
+ {
1329
+ "internalType": "NftId",
1330
+ "name": "policyNftId",
1331
+ "type": "uint96"
1332
+ }
1333
+ ],
1334
+ "name": "getPremiumState",
1335
+ "outputs": [
1336
+ {
1337
+ "internalType": "StateId",
1338
+ "name": "state",
1339
+ "type": "uint8"
1340
+ }
1341
+ ],
1342
+ "stateMutability": "view",
1343
+ "type": "function"
1344
+ },
1345
+ {
1346
+ "inputs": [
1347
+ {
1348
+ "internalType": "NftId",
1349
+ "name": "productNftId",
1350
+ "type": "uint96"
1351
+ }
1352
+ ],
1353
+ "name": "getProductInfo",
1354
+ "outputs": [
1355
+ {
1356
+ "components": [
1357
+ {
1358
+ "internalType": "bool",
1359
+ "name": "isProcessingFundedClaims",
1360
+ "type": "bool"
1361
+ },
1362
+ {
1363
+ "internalType": "bool",
1364
+ "name": "isInterceptingPolicyTransfers",
1365
+ "type": "bool"
1366
+ },
1367
+ {
1368
+ "internalType": "bool",
1369
+ "name": "hasDistribution",
1370
+ "type": "bool"
1371
+ },
1372
+ {
1373
+ "internalType": "uint8",
1374
+ "name": "expectedNumberOfOracles",
1375
+ "type": "uint8"
1376
+ },
1377
+ {
1378
+ "internalType": "uint8",
1379
+ "name": "numberOfOracles",
1380
+ "type": "uint8"
1381
+ },
1382
+ {
1383
+ "internalType": "NftId",
1384
+ "name": "poolNftId",
1385
+ "type": "uint96"
1386
+ },
1387
+ {
1388
+ "internalType": "NftId",
1389
+ "name": "distributionNftId",
1390
+ "type": "uint96"
1391
+ },
1392
+ {
1393
+ "internalType": "NftId[]",
1394
+ "name": "oracleNftId",
1395
+ "type": "uint96[]"
1396
+ }
1397
+ ],
1398
+ "internalType": "struct IComponents.ProductInfo",
1399
+ "name": "info",
1400
+ "type": "tuple"
1401
+ }
1402
+ ],
1403
+ "stateMutability": "view",
1404
+ "type": "function"
1405
+ },
1406
+ {
1407
+ "inputs": [
1408
+ {
1409
+ "internalType": "uint256",
1410
+ "name": "idx",
1411
+ "type": "uint256"
1412
+ }
1413
+ ],
1414
+ "name": "getProductNftId",
1415
+ "outputs": [
1416
+ {
1417
+ "internalType": "NftId",
1418
+ "name": "productNftId",
1419
+ "type": "uint96"
1420
+ }
1421
+ ],
1422
+ "stateMutability": "view",
1423
+ "type": "function"
1424
+ },
1425
+ {
1426
+ "inputs": [
1427
+ {
1428
+ "internalType": "ReferralId",
1429
+ "name": "referralId",
1430
+ "type": "bytes8"
1431
+ }
1432
+ ],
1433
+ "name": "getReferralInfo",
1434
+ "outputs": [
1435
+ {
1436
+ "components": [
1437
+ {
1438
+ "internalType": "NftId",
1439
+ "name": "distributionNftId",
1440
+ "type": "uint96"
1441
+ },
1442
+ {
1443
+ "internalType": "NftId",
1444
+ "name": "distributorNftId",
1445
+ "type": "uint96"
1446
+ },
1447
+ {
1448
+ "internalType": "uint32",
1449
+ "name": "maxReferrals",
1450
+ "type": "uint32"
1451
+ },
1452
+ {
1453
+ "internalType": "uint32",
1454
+ "name": "usedReferrals",
1455
+ "type": "uint32"
1456
+ },
1457
+ {
1458
+ "internalType": "UFixed",
1459
+ "name": "discountPercentage",
1460
+ "type": "uint160"
1461
+ },
1462
+ {
1463
+ "internalType": "Timestamp",
1464
+ "name": "expiryAt",
1465
+ "type": "uint40"
1466
+ },
1467
+ {
1468
+ "internalType": "string",
1469
+ "name": "referralCode",
1470
+ "type": "string"
1471
+ },
1472
+ {
1473
+ "internalType": "bytes",
1474
+ "name": "data",
1475
+ "type": "bytes"
1476
+ }
1477
+ ],
1478
+ "internalType": "struct IDistribution.ReferralInfo",
1479
+ "name": "info",
1480
+ "type": "tuple"
1481
+ }
1482
+ ],
1483
+ "stateMutability": "view",
1484
+ "type": "function"
1485
+ },
1486
+ {
1487
+ "inputs": [],
1488
+ "name": "getRegistry",
1489
+ "outputs": [
1490
+ {
1491
+ "internalType": "contract IRegistry",
1492
+ "name": "registry",
1493
+ "type": "address"
1494
+ }
1495
+ ],
1496
+ "stateMutability": "view",
1497
+ "type": "function"
1498
+ },
1499
+ {
1500
+ "inputs": [
1501
+ {
1502
+ "internalType": "NftId",
1503
+ "name": "policyNftId",
1504
+ "type": "uint96"
1505
+ }
1506
+ ],
1507
+ "name": "getRemainingClaimableAmount",
1508
+ "outputs": [
1509
+ {
1510
+ "internalType": "Amount",
1511
+ "name": "remainingClaimableAmount",
1512
+ "type": "uint96"
1513
+ }
1514
+ ],
1515
+ "stateMutability": "view",
1516
+ "type": "function"
1517
+ },
1518
+ {
1519
+ "inputs": [
1520
+ {
1521
+ "internalType": "RequestId",
1522
+ "name": "requestId",
1523
+ "type": "uint64"
1524
+ }
1525
+ ],
1526
+ "name": "getRequestInfo",
1527
+ "outputs": [
1528
+ {
1529
+ "components": [
1530
+ {
1531
+ "internalType": "NftId",
1532
+ "name": "requesterNftId",
1533
+ "type": "uint96"
1534
+ },
1535
+ {
1536
+ "internalType": "NftId",
1537
+ "name": "oracleNftId",
1538
+ "type": "uint96"
1539
+ },
1540
+ {
1541
+ "internalType": "bool",
1542
+ "name": "isCancelled",
1543
+ "type": "bool"
1544
+ },
1545
+ {
1546
+ "internalType": "Timestamp",
1547
+ "name": "respondedAt",
1548
+ "type": "uint40"
1549
+ },
1550
+ {
1551
+ "internalType": "Timestamp",
1552
+ "name": "expiredAt",
1553
+ "type": "uint40"
1554
+ },
1555
+ {
1556
+ "internalType": "string",
1557
+ "name": "callbackMethodName",
1558
+ "type": "string"
1559
+ },
1560
+ {
1561
+ "internalType": "bytes",
1562
+ "name": "requestData",
1563
+ "type": "bytes"
1564
+ },
1565
+ {
1566
+ "internalType": "bytes",
1567
+ "name": "responseData",
1568
+ "type": "bytes"
1569
+ }
1570
+ ],
1571
+ "internalType": "struct IOracle.RequestInfo",
1572
+ "name": "requestInfo",
1573
+ "type": "tuple"
1574
+ }
1575
+ ],
1576
+ "stateMutability": "view",
1577
+ "type": "function"
1578
+ },
1579
+ {
1580
+ "inputs": [
1581
+ {
1582
+ "internalType": "NftId",
1583
+ "name": "productNftId",
1584
+ "type": "uint96"
1585
+ },
1586
+ {
1587
+ "internalType": "uint256",
1588
+ "name": "idx",
1589
+ "type": "uint256"
1590
+ }
1591
+ ],
1592
+ "name": "getRiskId",
1593
+ "outputs": [
1594
+ {
1595
+ "internalType": "RiskId",
1596
+ "name": "riskId",
1597
+ "type": "bytes8"
1598
+ }
1599
+ ],
1600
+ "stateMutability": "view",
1601
+ "type": "function"
1602
+ },
1603
+ {
1604
+ "inputs": [
1605
+ {
1606
+ "internalType": "RiskId",
1607
+ "name": "riskId",
1608
+ "type": "bytes8"
1609
+ }
1610
+ ],
1611
+ "name": "getRiskInfo",
1612
+ "outputs": [
1613
+ {
1614
+ "components": [
1615
+ {
1616
+ "internalType": "NftId",
1617
+ "name": "productNftId",
1618
+ "type": "uint96"
1619
+ },
1620
+ {
1621
+ "internalType": "Timestamp",
1622
+ "name": "createdAt",
1623
+ "type": "uint40"
1624
+ },
1625
+ {
1626
+ "internalType": "bytes",
1627
+ "name": "data",
1628
+ "type": "bytes"
1629
+ }
1630
+ ],
1631
+ "internalType": "struct IRisk.RiskInfo",
1632
+ "name": "info",
1633
+ "type": "tuple"
1634
+ }
1635
+ ],
1636
+ "stateMutability": "view",
1637
+ "type": "function"
1638
+ },
1639
+ {
1640
+ "inputs": [],
1641
+ "name": "getRiskSet",
1642
+ "outputs": [
1643
+ {
1644
+ "internalType": "contract RiskSet",
1645
+ "name": "riskSet",
1646
+ "type": "address"
1647
+ }
1648
+ ],
1649
+ "stateMutability": "view",
1650
+ "type": "function"
1651
+ },
1652
+ {
1653
+ "inputs": [
1654
+ {
1655
+ "internalType": "RiskId",
1656
+ "name": "riskId",
1657
+ "type": "bytes8"
1658
+ }
1659
+ ],
1660
+ "name": "getRiskState",
1661
+ "outputs": [
1662
+ {
1663
+ "internalType": "StateId",
1664
+ "name": "stateId",
1665
+ "type": "uint8"
1666
+ }
1667
+ ],
1668
+ "stateMutability": "view",
1669
+ "type": "function"
1670
+ },
1671
+ {
1672
+ "inputs": [
1673
+ {
1674
+ "internalType": "uint256",
1675
+ "name": "idx",
1676
+ "type": "uint256"
1677
+ }
1678
+ ],
1679
+ "name": "getRoleId",
1680
+ "outputs": [
1681
+ {
1682
+ "internalType": "RoleId",
1683
+ "name": "roleId",
1684
+ "type": "uint64"
1685
+ }
1686
+ ],
1687
+ "stateMutability": "view",
1688
+ "type": "function"
1689
+ },
1690
+ {
1691
+ "inputs": [
1692
+ {
1693
+ "internalType": "RoleId",
1694
+ "name": "roleId",
1695
+ "type": "uint64"
1696
+ }
1697
+ ],
1698
+ "name": "getRoleInfo",
1699
+ "outputs": [
1700
+ {
1701
+ "components": [
1702
+ {
1703
+ "internalType": "RoleId",
1704
+ "name": "adminRoleId",
1705
+ "type": "uint64"
1706
+ },
1707
+ {
1708
+ "internalType": "enum IAccess.RoleType",
1709
+ "name": "roleType",
1710
+ "type": "uint8"
1711
+ },
1712
+ {
1713
+ "internalType": "uint32",
1714
+ "name": "maxMemberCount",
1715
+ "type": "uint32"
1716
+ },
1717
+ {
1718
+ "internalType": "Timestamp",
1719
+ "name": "createdAt",
1720
+ "type": "uint40"
1721
+ },
1722
+ {
1723
+ "internalType": "Timestamp",
1724
+ "name": "pausedAt",
1725
+ "type": "uint40"
1726
+ },
1727
+ {
1728
+ "internalType": "Str",
1729
+ "name": "name",
1730
+ "type": "bytes32"
1731
+ }
1732
+ ],
1733
+ "internalType": "struct IAccess.RoleInfo",
1734
+ "name": "roleInfo",
1735
+ "type": "tuple"
1736
+ }
1737
+ ],
1738
+ "stateMutability": "view",
1739
+ "type": "function"
1740
+ },
1741
+ {
1742
+ "inputs": [
1743
+ {
1744
+ "internalType": "RoleId",
1745
+ "name": "roleId",
1746
+ "type": "uint64"
1747
+ },
1748
+ {
1749
+ "internalType": "uint256",
1750
+ "name": "idx",
1751
+ "type": "uint256"
1752
+ }
1753
+ ],
1754
+ "name": "getRoleMember",
1755
+ "outputs": [
1756
+ {
1757
+ "internalType": "address",
1758
+ "name": "account",
1759
+ "type": "address"
1760
+ }
1761
+ ],
1762
+ "stateMutability": "view",
1763
+ "type": "function"
1764
+ },
1765
+ {
1766
+ "inputs": [
1767
+ {
1768
+ "internalType": "Key32",
1769
+ "name": "key",
1770
+ "type": "bytes32"
1771
+ }
1772
+ ],
1773
+ "name": "getState",
1774
+ "outputs": [
1775
+ {
1776
+ "internalType": "StateId",
1777
+ "name": "state",
1778
+ "type": "uint8"
1779
+ }
1780
+ ],
1781
+ "stateMutability": "view",
1782
+ "type": "function"
1783
+ },
1784
+ {
1785
+ "inputs": [
1786
+ {
1787
+ "internalType": "uint256",
1788
+ "name": "idx",
1789
+ "type": "uint256"
1790
+ }
1791
+ ],
1792
+ "name": "getTargetAddress",
1793
+ "outputs": [
1794
+ {
1795
+ "internalType": "address",
1796
+ "name": "target",
1797
+ "type": "address"
1798
+ }
1799
+ ],
1800
+ "stateMutability": "view",
1801
+ "type": "function"
1802
+ },
1803
+ {
1804
+ "inputs": [
1805
+ {
1806
+ "internalType": "address",
1807
+ "name": "target",
1808
+ "type": "address"
1809
+ }
1810
+ ],
1811
+ "name": "getTargetInfo",
1812
+ "outputs": [
1813
+ {
1814
+ "components": [
1815
+ {
1816
+ "internalType": "Str",
1817
+ "name": "name",
1818
+ "type": "bytes32"
1819
+ },
1820
+ {
1821
+ "internalType": "enum IAccess.TargetType",
1822
+ "name": "targetType",
1823
+ "type": "uint8"
1824
+ },
1825
+ {
1826
+ "internalType": "RoleId",
1827
+ "name": "roleId",
1828
+ "type": "uint64"
1829
+ },
1830
+ {
1831
+ "internalType": "Timestamp",
1832
+ "name": "createdAt",
1833
+ "type": "uint40"
1834
+ }
1835
+ ],
1836
+ "internalType": "struct IAccess.TargetInfo",
1837
+ "name": "targetInfo",
987
1838
  "type": "tuple"
988
1839
  }
989
1840
  ],
@@ -992,174 +1843,442 @@
992
1843
  },
993
1844
  {
994
1845
  "inputs": [
1846
+ {
1847
+ "internalType": "NftId",
1848
+ "name": "componentNftId",
1849
+ "type": "uint96"
1850
+ }
1851
+ ],
1852
+ "name": "getToken",
1853
+ "outputs": [
1854
+ {
1855
+ "internalType": "contract IERC20Metadata",
1856
+ "name": "token",
1857
+ "type": "address"
1858
+ }
1859
+ ],
1860
+ "stateMutability": "view",
1861
+ "type": "function"
1862
+ },
1863
+ {
1864
+ "inputs": [
1865
+ {
1866
+ "internalType": "NftId",
1867
+ "name": "componentNftId",
1868
+ "type": "uint96"
1869
+ }
1870
+ ],
1871
+ "name": "getTokenHandler",
1872
+ "outputs": [
1873
+ {
1874
+ "internalType": "contract TokenHandler",
1875
+ "name": "tokenHandler",
1876
+ "type": "address"
1877
+ }
1878
+ ],
1879
+ "stateMutability": "view",
1880
+ "type": "function"
1881
+ },
1882
+ {
1883
+ "inputs": [
1884
+ {
1885
+ "internalType": "NftId",
1886
+ "name": "componentNftId",
1887
+ "type": "uint96"
1888
+ }
1889
+ ],
1890
+ "name": "getWallet",
1891
+ "outputs": [
1892
+ {
1893
+ "internalType": "address",
1894
+ "name": "wallet",
1895
+ "type": "address"
1896
+ }
1897
+ ],
1898
+ "stateMutability": "view",
1899
+ "type": "function"
1900
+ },
1901
+ {
1902
+ "inputs": [],
1903
+ "name": "initialize",
1904
+ "outputs": [],
1905
+ "stateMutability": "nonpayable",
1906
+ "type": "function"
1907
+ },
1908
+ {
1909
+ "inputs": [
1910
+ {
1911
+ "internalType": "address",
1912
+ "name": "instanceAddress",
1913
+ "type": "address"
1914
+ }
1915
+ ],
1916
+ "name": "initializeWithInstance",
1917
+ "outputs": [],
1918
+ "stateMutability": "nonpayable",
1919
+ "type": "function"
1920
+ },
1921
+ {
1922
+ "inputs": [
1923
+ {
1924
+ "internalType": "address",
1925
+ "name": "target",
1926
+ "type": "address"
1927
+ }
1928
+ ],
1929
+ "name": "isLocked",
1930
+ "outputs": [
1931
+ {
1932
+ "internalType": "bool",
1933
+ "name": "",
1934
+ "type": "bool"
1935
+ }
1936
+ ],
1937
+ "stateMutability": "view",
1938
+ "type": "function"
1939
+ },
1940
+ {
1941
+ "inputs": [
1942
+ {
1943
+ "internalType": "NftId",
1944
+ "name": "distributionNftId",
1945
+ "type": "uint96"
1946
+ },
1947
+ {
1948
+ "internalType": "ReferralId",
1949
+ "name": "referralId",
1950
+ "type": "bytes8"
1951
+ }
1952
+ ],
1953
+ "name": "isReferralValid",
1954
+ "outputs": [
1955
+ {
1956
+ "internalType": "bool",
1957
+ "name": "isValid",
1958
+ "type": "bool"
1959
+ }
1960
+ ],
1961
+ "stateMutability": "view",
1962
+ "type": "function"
1963
+ },
1964
+ {
1965
+ "inputs": [
1966
+ {
1967
+ "internalType": "RoleId",
1968
+ "name": "roleId",
1969
+ "type": "uint64"
1970
+ }
1971
+ ],
1972
+ "name": "isRoleActive",
1973
+ "outputs": [
1974
+ {
1975
+ "internalType": "bool",
1976
+ "name": "isActive",
1977
+ "type": "bool"
1978
+ }
1979
+ ],
1980
+ "stateMutability": "view",
1981
+ "type": "function"
1982
+ },
1983
+ {
1984
+ "inputs": [
1985
+ {
1986
+ "internalType": "RoleId",
1987
+ "name": "roleId",
1988
+ "type": "uint64"
1989
+ },
1990
+ {
1991
+ "internalType": "address",
1992
+ "name": "account",
1993
+ "type": "address"
1994
+ }
1995
+ ],
1996
+ "name": "isRoleAdmin",
1997
+ "outputs": [
1998
+ {
1999
+ "internalType": "bool",
2000
+ "name": "isMember",
2001
+ "type": "bool"
2002
+ }
2003
+ ],
2004
+ "stateMutability": "view",
2005
+ "type": "function"
2006
+ },
2007
+ {
2008
+ "inputs": [
2009
+ {
2010
+ "internalType": "RoleId",
2011
+ "name": "roleId",
2012
+ "type": "uint64"
2013
+ }
2014
+ ],
2015
+ "name": "isRoleCustom",
2016
+ "outputs": [
2017
+ {
2018
+ "internalType": "bool",
2019
+ "name": "isCustom",
2020
+ "type": "bool"
2021
+ }
2022
+ ],
2023
+ "stateMutability": "view",
2024
+ "type": "function"
2025
+ },
2026
+ {
2027
+ "inputs": [
2028
+ {
2029
+ "internalType": "RoleId",
2030
+ "name": "roleId",
2031
+ "type": "uint64"
2032
+ },
995
2033
  {
996
2034
  "internalType": "address",
997
- "name": "registry",
2035
+ "name": "account",
998
2036
  "type": "address"
999
- },
2037
+ }
2038
+ ],
2039
+ "name": "isRoleMember",
2040
+ "outputs": [
1000
2041
  {
1001
- "internalType": "NftId",
1002
- "name": "instanceNftId",
1003
- "type": "uint96"
2042
+ "internalType": "bool",
2043
+ "name": "isMember",
2044
+ "type": "bool"
1004
2045
  }
1005
2046
  ],
1006
- "name": "initialize",
1007
- "outputs": [],
1008
- "stateMutability": "nonpayable",
2047
+ "stateMutability": "view",
1009
2048
  "type": "function"
1010
2049
  },
1011
2050
  {
1012
2051
  "inputs": [
1013
2052
  {
1014
2053
  "internalType": "NftId",
1015
- "name": "poolNftId",
2054
+ "name": "policyNftId",
1016
2055
  "type": "uint96"
2056
+ },
2057
+ {
2058
+ "internalType": "ClaimId",
2059
+ "name": "claimId",
2060
+ "type": "uint16"
1017
2061
  }
1018
2062
  ],
1019
- "name": "toBundleKey",
2063
+ "name": "payouts",
1020
2064
  "outputs": [
1021
2065
  {
1022
- "internalType": "Key32",
1023
- "name": "",
1024
- "type": "bytes32"
2066
+ "internalType": "uint24",
2067
+ "name": "payoutCount",
2068
+ "type": "uint24"
1025
2069
  }
1026
2070
  ],
1027
- "stateMutability": "pure",
2071
+ "stateMutability": "view",
1028
2072
  "type": "function"
1029
2073
  },
1030
2074
  {
1031
2075
  "inputs": [
1032
2076
  {
1033
- "internalType": "NftId",
1034
- "name": "distributionNftId",
1035
- "type": "uint96"
2077
+ "internalType": "RiskId",
2078
+ "name": "riskId",
2079
+ "type": "bytes8"
1036
2080
  }
1037
2081
  ],
1038
- "name": "toDistributionKey",
2082
+ "name": "policiesForRisk",
1039
2083
  "outputs": [
1040
2084
  {
1041
- "internalType": "Key32",
1042
- "name": "",
1043
- "type": "bytes32"
2085
+ "internalType": "uint256",
2086
+ "name": "linkedPolicies",
2087
+ "type": "uint256"
1044
2088
  }
1045
2089
  ],
1046
- "stateMutability": "pure",
2090
+ "stateMutability": "view",
1047
2091
  "type": "function"
1048
2092
  },
1049
2093
  {
1050
2094
  "inputs": [
1051
2095
  {
1052
2096
  "internalType": "NftId",
1053
- "name": "distributorNftId",
2097
+ "name": "policyNftId",
1054
2098
  "type": "uint96"
1055
2099
  }
1056
2100
  ],
1057
- "name": "toDistributorKey",
2101
+ "name": "policyIsActive",
1058
2102
  "outputs": [
1059
2103
  {
1060
- "internalType": "Key32",
1061
- "name": "",
1062
- "type": "bytes32"
2104
+ "internalType": "bool",
2105
+ "name": "isCloseable",
2106
+ "type": "bool"
1063
2107
  }
1064
2108
  ],
1065
- "stateMutability": "pure",
2109
+ "stateMutability": "view",
1066
2110
  "type": "function"
1067
2111
  },
1068
2112
  {
1069
- "inputs": [
2113
+ "inputs": [],
2114
+ "name": "products",
2115
+ "outputs": [
1070
2116
  {
1071
- "internalType": "UFixed",
1072
- "name": "value",
2117
+ "internalType": "uint256",
2118
+ "name": "productCount",
1073
2119
  "type": "uint256"
1074
2120
  }
1075
2121
  ],
1076
- "name": "toInt",
2122
+ "stateMutability": "view",
2123
+ "type": "function"
2124
+ },
2125
+ {
2126
+ "inputs": [
2127
+ {
2128
+ "internalType": "NftId",
2129
+ "name": "productNftId",
2130
+ "type": "uint96"
2131
+ }
2132
+ ],
2133
+ "name": "risks",
1077
2134
  "outputs": [
1078
2135
  {
1079
2136
  "internalType": "uint256",
1080
- "name": "",
2137
+ "name": "riskCount",
1081
2138
  "type": "uint256"
1082
2139
  }
1083
2140
  ],
1084
- "stateMutability": "pure",
2141
+ "stateMutability": "view",
1085
2142
  "type": "function"
1086
2143
  },
1087
2144
  {
1088
2145
  "inputs": [
1089
2146
  {
1090
- "internalType": "NftId",
1091
- "name": "policyNftId",
1092
- "type": "uint96"
2147
+ "internalType": "RoleId",
2148
+ "name": "roleId",
2149
+ "type": "uint64"
1093
2150
  }
1094
2151
  ],
1095
- "name": "toPolicyKey",
2152
+ "name": "roleExists",
1096
2153
  "outputs": [
1097
2154
  {
1098
- "internalType": "Key32",
1099
- "name": "",
1100
- "type": "bytes32"
2155
+ "internalType": "bool",
2156
+ "name": "exists",
2157
+ "type": "bool"
1101
2158
  }
1102
2159
  ],
1103
- "stateMutability": "pure",
2160
+ "stateMutability": "view",
1104
2161
  "type": "function"
1105
2162
  },
1106
2163
  {
1107
2164
  "inputs": [
1108
2165
  {
1109
- "internalType": "NftId",
1110
- "name": "poolNftId",
1111
- "type": "uint96"
2166
+ "internalType": "RoleId",
2167
+ "name": "roleId",
2168
+ "type": "uint64"
1112
2169
  }
1113
2170
  ],
1114
- "name": "toPoolKey",
2171
+ "name": "roleMembers",
1115
2172
  "outputs": [
1116
2173
  {
1117
- "internalType": "Key32",
2174
+ "internalType": "uint256",
2175
+ "name": "numberOfMembers",
2176
+ "type": "uint256"
2177
+ }
2178
+ ],
2179
+ "stateMutability": "view",
2180
+ "type": "function"
2181
+ },
2182
+ {
2183
+ "inputs": [],
2184
+ "name": "roles",
2185
+ "outputs": [
2186
+ {
2187
+ "internalType": "uint256",
1118
2188
  "name": "",
1119
- "type": "bytes32"
2189
+ "type": "uint256"
1120
2190
  }
1121
2191
  ],
1122
- "stateMutability": "pure",
2192
+ "stateMutability": "view",
1123
2193
  "type": "function"
1124
2194
  },
1125
2195
  {
1126
2196
  "inputs": [
1127
2197
  {
1128
- "internalType": "NftId",
1129
- "name": "productNftId",
1130
- "type": "uint96"
2198
+ "internalType": "address",
2199
+ "name": "target",
2200
+ "type": "address"
1131
2201
  }
1132
2202
  ],
1133
- "name": "toProductKey",
2203
+ "name": "targetExists",
1134
2204
  "outputs": [
1135
2205
  {
1136
- "internalType": "Key32",
1137
- "name": "",
1138
- "type": "bytes32"
2206
+ "internalType": "bool",
2207
+ "name": "exists",
2208
+ "type": "bool"
1139
2209
  }
1140
2210
  ],
1141
- "stateMutability": "pure",
2211
+ "stateMutability": "view",
2212
+ "type": "function"
2213
+ },
2214
+ {
2215
+ "inputs": [],
2216
+ "name": "targets",
2217
+ "outputs": [
2218
+ {
2219
+ "internalType": "uint256",
2220
+ "name": "targetCount",
2221
+ "type": "uint256"
2222
+ }
2223
+ ],
2224
+ "stateMutability": "view",
1142
2225
  "type": "function"
1143
2226
  },
1144
2227
  {
1145
2228
  "inputs": [
1146
2229
  {
1147
- "internalType": "NftId",
1148
- "name": "distributionNftId",
1149
- "type": "uint96"
2230
+ "internalType": "bytes4",
2231
+ "name": "signature",
2232
+ "type": "bytes4"
1150
2233
  },
1151
2234
  {
1152
2235
  "internalType": "string",
1153
- "name": "referralCode",
2236
+ "name": "name",
1154
2237
  "type": "string"
1155
2238
  }
1156
2239
  ],
1157
- "name": "toReferralId",
2240
+ "name": "toFunction",
1158
2241
  "outputs": [
1159
2242
  {
1160
- "internalType": "ReferralId",
1161
- "name": "referralId",
1162
- "type": "bytes8"
2243
+ "components": [
2244
+ {
2245
+ "internalType": "Str",
2246
+ "name": "name",
2247
+ "type": "bytes32"
2248
+ },
2249
+ {
2250
+ "internalType": "Selector",
2251
+ "name": "selector",
2252
+ "type": "bytes4"
2253
+ },
2254
+ {
2255
+ "internalType": "Timestamp",
2256
+ "name": "createdAt",
2257
+ "type": "uint40"
2258
+ }
2259
+ ],
2260
+ "internalType": "struct IAccess.FunctionInfo",
2261
+ "name": "",
2262
+ "type": "tuple"
2263
+ }
2264
+ ],
2265
+ "stateMutability": "view",
2266
+ "type": "function"
2267
+ },
2268
+ {
2269
+ "inputs": [
2270
+ {
2271
+ "internalType": "UFixed",
2272
+ "name": "value",
2273
+ "type": "uint160"
2274
+ }
2275
+ ],
2276
+ "name": "toInt",
2277
+ "outputs": [
2278
+ {
2279
+ "internalType": "uint256",
2280
+ "name": "",
2281
+ "type": "uint256"
1163
2282
  }
1164
2283
  ],
1165
2284
  "stateMutability": "pure",
@@ -1169,16 +2288,21 @@
1169
2288
  "inputs": [
1170
2289
  {
1171
2290
  "internalType": "NftId",
1172
- "name": "productNftId",
2291
+ "name": "distributionNftId",
1173
2292
  "type": "uint96"
2293
+ },
2294
+ {
2295
+ "internalType": "string",
2296
+ "name": "referralCode",
2297
+ "type": "string"
1174
2298
  }
1175
2299
  ],
1176
- "name": "toTreasuryKey",
2300
+ "name": "toReferralId",
1177
2301
  "outputs": [
1178
2302
  {
1179
- "internalType": "Key32",
1180
- "name": "",
1181
- "type": "bytes32"
2303
+ "internalType": "ReferralId",
2304
+ "name": "referralId",
2305
+ "type": "bytes8"
1182
2306
  }
1183
2307
  ],
1184
2308
  "stateMutability": "pure",
@@ -1202,219 +2326,319 @@
1202
2326
  {
1203
2327
  "internalType": "UFixed",
1204
2328
  "name": "",
1205
- "type": "uint256"
2329
+ "type": "uint160"
1206
2330
  }
1207
2331
  ],
1208
2332
  "stateMutability": "pure",
1209
2333
  "type": "function"
1210
2334
  }
1211
2335
  ],
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$__633889a4c86001600160601b03841660dc610786565b60405180610120016040528060006001600160601b03168152602001611a21604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b0b604051806040016040528060008152602001600081525090565b60008060408385031215611b7a57600080fd5b8235915060208301358060000b8114611b9257600080fd5b809150509250929050565b6001600160c01b031981168114611bb357600080fd5b50565b600060208284031215611bc857600080fd5b813561060481611b9d565b60005b83811015611bee578181015183820152602001611bd6565b50506000910152565b60008151808452611c0f816020860160208601611bd3565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c53610100840182611bf7565b90506040840151606084015263ffffffff60608501511660808401526080840151611c8660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611cb58282611bf7565b95945050505050565b6001600160601b0381168114611bb357600080fd5b600060208284031215611ce557600080fd5b813561060481611cbe565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611d2d6080840182611bf7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d6d57611d6d611d35565b60405290565b604080519081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161012081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161018081016001600160401b0381118282101715611d6d57611d6d611d35565b60405160a081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161014081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161020081016001600160401b0381118282101715611d6d57611d6d611d35565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d35565b604052919050565b60006001600160401b03821115611e8c57611e8c611d35565b50601f01601f191660200190565b60008060408385031215611ead57600080fd5b8235611eb881611cbe565b915060208301356001600160401b03811115611ed357600080fd5b8301601f81018513611ee457600080fd5b8035611ef7611ef282611e73565b611e43565b818152866020838501011115611f0c57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3e57600080fd5b5035919050565b60208152611f5f6020820183516001600160601b03169052565b60006020830151611f7d604084018280518252602090810151910152565b506040830151610140806080850152611f9a610160850183611bf7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611fe261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b03168152602080830151610180830191612026908401826001600160a01b03169052565b5060408301516040830152606083015161204d606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611d2d6060840182611bf7565b81516001600160a01b031681526102408101602083015161211360208401826001600160a01b03169052565b50604083015161212e60408401826001600160601b03169052565b50606083015161214960608401826001600160601b03169052565b506080830151612166608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061219c8185018380518252602090810151910152565b60e085015191506101406121bc8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b0381166102208401526120b2565b6020815261222b6020820183516001600160601b03169052565b6000602083015161224760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526122bf610220860184611bf7565b9250808601519050610140601f1986850301818701526122df8483611bf7565b9350808701519150506101606122fa8187018361ffff169052565b86015190506101806123118682018361ffff169052565b8601516101a08681019190915286015190506101c06123388187018364ffffffffff169052565b86015190506101e0611fe28682018364ffffffffff169052565b6020815260008251610120806020850152612371610140850183611bf7565b915060208501516040850152604085015160608501526060850151608085015260808501516123a860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123de8187018315159052565b860151858403601f19018387015290506123f88382611bf7565b9695505050505050565b6001600160a01b0381168114611bb357600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b91506020830135611b9281611cbe565b81516001600160a01b031681526102008101602083015161247160208401826001600160a01b03169052565b50604083015161248c60408401826001600160601b03169052565b5060608301516124a760608401826001600160601b03169052565b5060808301516124c4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006124fa8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506120b2565b60006020828403121561255957600080fd5b5051919050565b600082601f83011261257157600080fd5b815161257f611ef282611e73565b81815284602083860101111561259457600080fd5b611d2d826020830160208701611bd3565b6000602082840312156125b757600080fd5b81516001600160401b038111156125cd57600080fd5b611d2d84828501612560565b80516125e481611cbe565b919050565b63ffffffff81168114611bb357600080fd5b80516125e4816125e9565b805164ffffffffff811681146125e457600080fd5b60006020828403121561262d57600080fd5b81516001600160401b038082111561264457600080fd5b9083019060e0828603121561265857600080fd5b612660611d4b565b612669836125d9565b815260208301518281111561267d57600080fd5b61268987828601612560565b602083015250604083015160408201526126a5606084016125fb565b60608201526126b6608084016125fb565b60808201526126c760a08401612606565b60a082015260c0830151828111156126de57600080fd5b6126ea87828601612560565b60c08301525095945050505050565b80516125e481611b9d565b805180151581146125e457600080fd5b60006020828403121561272657600080fd5b81516001600160401b038082111561273d57600080fd5b908301906060828603121561275157600080fd5b60405160608101818110838211171561276c5761276c611d35565b604052825161277a81611b9d565b815261278860208401612704565b602082015260408301518281111561279f57600080fd5b6127ab87828601612560565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611d2d6040830184611bf7565b6000602082840312156127ee57600080fd5b815161060481611b9d565b60006040828403121561280b57600080fd5b612813611d73565b9050815181526020820151602082015292915050565b60006020828403121561283b57600080fd5b81516001600160401b038082111561285257600080fd5b90830190610140828603121561286757600080fd5b61286f611d95565b612878836125d9565b815261288786602085016127f9565b602082015260608301518281111561289e57600080fd5b6128aa87828601612560565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506128e8828401612606565b60e08201526128fa6101208401612606565b91810191909152949350505050565b80516125e481612402565b6000610180828403121561292757600080fd5b61292f611d95565b612938836125d9565b815261294660208401612909565b60208201526040830151604082015261296284606085016127f9565b60608201526129748460a085016127f9565b60808201526129868460e085016127f9565b60a08201526129986101208401612704565b60c08201526129aa6101408401612704565b60e08201526129bc6101608401612909565b6101008201529392505050565b6000602082840312156129db57600080fd5b81516001600160401b03808211156129f257600080fd5b9083019060408286031215612a0657600080fd5b612a0e611d73565b8251612a1981611cbe565b8152602083015182811115612a2d57600080fd5b612a3987828601612560565b60208301525095945050505050565b60ff81168114611bb357600080fd5b80516125e481612a48565b600060208284031215612a7457600080fd5b815161060481612a48565b60006102408284031215612a9257600080fd5b612a9a611db8565b612aa383612909565b8152612ab160208401612909565b6020820152612ac2604084016125d9565b6040820152612ad3606084016125d9565b6060820152612ae584608085016127f9565b6080820152612af78460c085016127f9565b60a0820152610100612b0b858286016127f9565b60c0830152610140612b1f868287016127f9565b60e0840152612b328661018087016127f9565b82840152612b44866101c087016127f9565b610120840152612b576102008601612704565b9083015250612b696102208401612909565b6101608201529392505050565b600060c08284031215612b8857600080fd5b612b90611ddb565b8251612b9b81611cbe565b81526020830151612bab81612402565b6020820152612bbd84604085016127f9565b6040820152612bce60808401612704565b606082015260a0830151612be181612402565b60808201529392505050565b60006102008284031215612c0057600080fd5b612c08611dfd565b612c1183612909565b8152612c1f60208401612909565b6020820152612c30604084016125d9565b6040820152612c41606084016125d9565b6060820152612c5384608085016127f9565b6080820152612c658460c085016127f9565b60a0820152610100612c79858286016127f9565b60c0830152612c8c8561014086016127f9565b60e0830152612c9f8561018086016127f9565b90820152612cb1846101c085016127f9565b6101208201529392505050565b600060a08284031215612cd057600080fd5b612cd8611ddb565b8251612ce381612a48565b81526020830151612cf381612a48565b60208201526040830151612d0681612402565b60408201526060830151612d19816125e9565b60608201526080830151612be1816125e9565b600060208284031215612d3e57600080fd5b61060482612704565b600060208284031215612d5957600080fd5b61060482612606565b805161ffff811681146125e457600080fd5b600060208284031215612d8657600080fd5b81516001600160401b0380821115612d9d57600080fd5b908301906102008286031215612db257600080fd5b612dba611e20565b612dc3836125d9565b8152612dd1602084016125d9565b6020820152612de2604084016126f9565b6040820152612df3606084016126f9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612e3457600080fd5b612e4088828701612560565b8284015250506101208084015183811115612e5a57600080fd5b612e6688828701612560565b8284015250506101409150612e7c828401612d62565b828201526101609150612e90828401612d62565b82820152610180915081830151828201526101a09150612eb1828401612606565b828201526101c09150612ec5828401612606565b828201526101e091506128fa828401612606565b600060208284031215612eeb57600080fd5b81516001600160401b0380821115612f0257600080fd5b908301906101208286031215612f1757600080fd5b612f1f611d95565b825182811115612f2e57600080fd5b612f3a87828601612560565b825250602083015160208201526040830151604082015260608301516060820152612f67608084016125fb565b6080820152612f7860a084016125fb565b60a0820152612f8960c08401612704565b60c0820152612f9a60e08401612704565b60e08201526101008084015183811115612fb357600080fd5b612fbf88828701612560565b918301919091525095945050505050565b600060208284031215612fe257600080fd5b81516001600160401b0380821115612ff957600080fd5b9083019060e0828603121561300d57600080fd5b613015611d4b565b61301e836125d9565b815261302c602084016125d9565b602082015261303d60408401612a57565b604082015261304e60608401612704565b606082015261305f60808401612909565b60808201526126c760a0840161290956fea264697066735822122004670979bb457a3c7e9b96aa1a49e8e8fe0ad1bf47f66031d9b58df4929b58dc64736f6c63430008140033",
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$__633889a4c86001600160601b03841660dc610786565b60405180610120016040528060006001600160601b03168152602001611a21604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001611b0b604051806040016040528060008152602001600081525090565b60008060408385031215611b7a57600080fd5b8235915060208301358060000b8114611b9257600080fd5b809150509250929050565b6001600160c01b031981168114611bb357600080fd5b50565b600060208284031215611bc857600080fd5b813561060481611b9d565b60005b83811015611bee578181015183820152602001611bd6565b50506000910152565b60008151808452611c0f816020860160208601611bd3565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611c53610100840182611bf7565b90506040840151606084015263ffffffff60608501511660808401526080840151611c8660a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611cb58282611bf7565b95945050505050565b6001600160601b0381168114611bb357600080fd5b600060208284031215611ce557600080fd5b813561060481611cbe565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611d2d6080840182611bf7565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611d6d57611d6d611d35565b60405290565b604080519081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161012081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161018081016001600160401b0381118282101715611d6d57611d6d611d35565b60405160a081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161014081016001600160401b0381118282101715611d6d57611d6d611d35565b60405161020081016001600160401b0381118282101715611d6d57611d6d611d35565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d35565b604052919050565b60006001600160401b03821115611e8c57611e8c611d35565b50601f01601f191660200190565b60008060408385031215611ead57600080fd5b8235611eb881611cbe565b915060208301356001600160401b03811115611ed357600080fd5b8301601f81018513611ee457600080fd5b8035611ef7611ef282611e73565b611e43565b818152866020838501011115611f0c57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611f3e57600080fd5b5035919050565b60208152611f5f6020820183516001600160601b03169052565b60006020830151611f7d604084018280518252602090810151910152565b506040830151610140806080850152611f9a610160850183611bf7565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611fe261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b81516001600160601b03168152602080830151610180830191612026908401826001600160a01b03169052565b5060408301516040830152606083015161204d606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611d2d6060840182611bf7565b81516001600160a01b031681526102408101602083015161211360208401826001600160a01b03169052565b50604083015161212e60408401826001600160601b03169052565b50606083015161214960608401826001600160601b03169052565b506080830151612166608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061219c8185018380518252602090810151910152565b60e085015191506101406121bc8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b0381166102208401526120b2565b6020815261222b6020820183516001600160601b03169052565b6000602083015161224760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526122bf610220860184611bf7565b9250808601519050610140601f1986850301818701526122df8483611bf7565b9350808701519150506101606122fa8187018361ffff169052565b86015190506101806123118682018361ffff169052565b8601516101a08681019190915286015190506101c06123388187018364ffffffffff169052565b86015190506101e0611fe28682018364ffffffffff169052565b6020815260008251610120806020850152612371610140850183611bf7565b915060208501516040850152604085015160608501526060850151608085015260808501516123a860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006123de8187018315159052565b860151858403601f19018387015290506123f88382611bf7565b9695505050505050565b6001600160a01b0381168114611bb357600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b91506020830135611b9281611cbe565b81516001600160a01b031681526102008101602083015161247160208401826001600160a01b03169052565b50604083015161248c60408401826001600160601b03169052565b5060608301516124a760608401826001600160601b03169052565b5060808301516124c4608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006124fa8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506120b2565b60006020828403121561255957600080fd5b5051919050565b600082601f83011261257157600080fd5b815161257f611ef282611e73565b81815284602083860101111561259457600080fd5b611d2d826020830160208701611bd3565b6000602082840312156125b757600080fd5b81516001600160401b038111156125cd57600080fd5b611d2d84828501612560565b80516125e481611cbe565b919050565b63ffffffff81168114611bb357600080fd5b80516125e4816125e9565b805164ffffffffff811681146125e457600080fd5b60006020828403121561262d57600080fd5b81516001600160401b038082111561264457600080fd5b9083019060e0828603121561265857600080fd5b612660611d4b565b612669836125d9565b815260208301518281111561267d57600080fd5b61268987828601612560565b602083015250604083015160408201526126a5606084016125fb565b60608201526126b6608084016125fb565b60808201526126c760a08401612606565b60a082015260c0830151828111156126de57600080fd5b6126ea87828601612560565b60c08301525095945050505050565b80516125e481611b9d565b805180151581146125e457600080fd5b60006020828403121561272657600080fd5b81516001600160401b038082111561273d57600080fd5b908301906060828603121561275157600080fd5b60405160608101818110838211171561276c5761276c611d35565b604052825161277a81611b9d565b815261278860208401612704565b602082015260408301518281111561279f57600080fd5b6127ab87828601612560565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611d2d6040830184611bf7565b6000602082840312156127ee57600080fd5b815161060481611b9d565b60006040828403121561280b57600080fd5b612813611d73565b9050815181526020820151602082015292915050565b60006020828403121561283b57600080fd5b81516001600160401b038082111561285257600080fd5b90830190610140828603121561286757600080fd5b61286f611d95565b612878836125d9565b815261288786602085016127f9565b602082015260608301518281111561289e57600080fd5b6128aa87828601612560565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506128e8828401612606565b60e08201526128fa6101208401612606565b91810191909152949350505050565b80516125e481612402565b6000610180828403121561292757600080fd5b61292f611d95565b612938836125d9565b815261294660208401612909565b60208201526040830151604082015261296284606085016127f9565b60608201526129748460a085016127f9565b60808201526129868460e085016127f9565b60a08201526129986101208401612704565b60c08201526129aa6101408401612704565b60e08201526129bc6101608401612909565b6101008201529392505050565b6000602082840312156129db57600080fd5b81516001600160401b03808211156129f257600080fd5b9083019060408286031215612a0657600080fd5b612a0e611d73565b8251612a1981611cbe565b8152602083015182811115612a2d57600080fd5b612a3987828601612560565b60208301525095945050505050565b60ff81168114611bb357600080fd5b80516125e481612a48565b600060208284031215612a7457600080fd5b815161060481612a48565b60006102408284031215612a9257600080fd5b612a9a611db8565b612aa383612909565b8152612ab160208401612909565b6020820152612ac2604084016125d9565b6040820152612ad3606084016125d9565b6060820152612ae584608085016127f9565b6080820152612af78460c085016127f9565b60a0820152610100612b0b858286016127f9565b60c0830152610140612b1f868287016127f9565b60e0840152612b328661018087016127f9565b82840152612b44866101c087016127f9565b610120840152612b576102008601612704565b9083015250612b696102208401612909565b6101608201529392505050565b600060c08284031215612b8857600080fd5b612b90611ddb565b8251612b9b81611cbe565b81526020830151612bab81612402565b6020820152612bbd84604085016127f9565b6040820152612bce60808401612704565b606082015260a0830151612be181612402565b60808201529392505050565b60006102008284031215612c0057600080fd5b612c08611dfd565b612c1183612909565b8152612c1f60208401612909565b6020820152612c30604084016125d9565b6040820152612c41606084016125d9565b6060820152612c5384608085016127f9565b6080820152612c658460c085016127f9565b60a0820152610100612c79858286016127f9565b60c0830152612c8c8561014086016127f9565b60e0830152612c9f8561018086016127f9565b90820152612cb1846101c085016127f9565b6101208201529392505050565b600060a08284031215612cd057600080fd5b612cd8611ddb565b8251612ce381612a48565b81526020830151612cf381612a48565b60208201526040830151612d0681612402565b60408201526060830151612d19816125e9565b60608201526080830151612be1816125e9565b600060208284031215612d3e57600080fd5b61060482612704565b600060208284031215612d5957600080fd5b61060482612606565b805161ffff811681146125e457600080fd5b600060208284031215612d8657600080fd5b81516001600160401b0380821115612d9d57600080fd5b908301906102008286031215612db257600080fd5b612dba611e20565b612dc3836125d9565b8152612dd1602084016125d9565b6020820152612de2604084016126f9565b6040820152612df3606084016126f9565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612e3457600080fd5b612e4088828701612560565b8284015250506101208084015183811115612e5a57600080fd5b612e6688828701612560565b8284015250506101409150612e7c828401612d62565b828201526101609150612e90828401612d62565b82820152610180915081830151828201526101a09150612eb1828401612606565b828201526101c09150612ec5828401612606565b828201526101e091506128fa828401612606565b600060208284031215612eeb57600080fd5b81516001600160401b0380821115612f0257600080fd5b908301906101208286031215612f1757600080fd5b612f1f611d95565b825182811115612f2e57600080fd5b612f3a87828601612560565b825250602083015160208201526040830151604082015260608301516060820152612f67608084016125fb565b6080820152612f7860a084016125fb565b60a0820152612f8960c08401612704565b60c0820152612f9a60e08401612704565b60e08201526101008084015183811115612fb357600080fd5b612fbf88828701612560565b918301919091525095945050505050565b600060208284031215612fe257600080fd5b81516001600160401b0380821115612ff957600080fd5b9083019060e0828603121561300d57600080fd5b613015611d4b565b61301e836125d9565b815261302c602084016125d9565b602082015261303d60408401612a57565b604082015261304e60608401612704565b606082015261305f60808401612909565b60808201526126c760a0840161290956fea264697066735822122004670979bb457a3c7e9b96aa1a49e8e8fe0ad1bf47f66031d9b58df4929b58dc64736f6c63430008140033",
2336
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615186806100255f395ff3fe608060405234801561000f575f80fd5b506004361061046f575f3560e01c80636ebed9081161024d578063c71e261f11610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610be2578063fad77c3b14610bf5578063fcad2c4b14610c08578063fd80249214610c1b578063febe92af14610c3b575f80fd5b8063e444c3df14610b53578063e98413ff14610b73578063f0b1d21014610b9c578063f0ea17c314610baf578063f3ed991914610bcf575f80fd5b8063d78a83b111610105578063d78a83b114610af6578063db70354c14610b09578063de7b5d1414610b1c578063dfbf164014610b2d578063e2eb023b14610b40575f80fd5b8063c71e261f14610aa2578063c88105e614610aaa578063d06458c614610abd578063d299bf6214610add578063d4cda0d814610ae5575f80fd5b80639096a1f3116101cc578063b82d7ef511610191578063b82d7ef514610a20578063ba579bdc14610a54578063ba62fbe414610a67578063bd7d9d8514610a6f578063c6a0017914610a8f575f80fd5b80639096a1f31461096b57806394b9929b1461097e578063a310e2a314610991578063a5961b4c146109a4578063a7ef3d2114610a00575f80fd5b80637f0cf947116102125780637f0cf9471461090a5780638129fc1c1461091d57806387c73e5a14610925578063887b1fa9146109385780638eb9000d14610958575f80fd5b80636ebed908146108b6578063728a61a8146108c957806378ae9350146108dc5780637d8f1e81146108ef5780637e79866914610902575f80fd5b806333fc7dee116103655780634d21a63d116102e45780636553994c116102a95780636553994c1461084a57806366c3bc951461085d5780636791f7ab146108705780636a05a413146108855780636dddada4146108a5575f80fd5b80634d21a63d146107cf57806357f80bbf146107e25780635ab1bd53146108025780635bfa502714610817578063605aa10a14610837575f80fd5b80633f093cd61161032a5780633f093cd61461073b5780633fd855611461074e5780634793b4ab14610779578063480cebd1146107995780634a4fbeec146107bc575f80fd5b806333fc7dee146106d457806335471f80146106e7578063380bd950146106fa578063392f5f641461070d5780633b046f0914610715575f80fd5b806315b74532116103f157806326d60fb4116103b657806326d60fb41461067557806327b1d7921461067d5780632c0cd0601461069d5780632f458a11146106b0578063311adb68146106c3575f80fd5b806315b74532146105bb57806315fb0abb146105ce5780631d3be477146105ee578063228e42ec1461060e57806324913ce614610621575f80fd5b806310bf267b1161043757806310bf267b1461052e578063128817d41461055557806312e1ebc51461057557806313ab148d146105955780631488c845146105a8575f80fd5b80630232ca491461047357806303014974146104a357806309648a9d146104c45780630b5d931c146104e95780630e0c586d14610509575b5f80fd5b610486610481366004612fd0565b610c5b565b6040516001600160601b0390911681526020015b60405180910390f35b6104b66104b1366004612fff565b610cd5565b60405190815260200161049a565b6104d76104d236600461301a565b610d48565b60405160ff909116815260200161049a565b6104fc6104f7366004612fd0565b610db3565b60405161049a9190613074565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161049a565b61054161053c366004613113565b610ebe565b60405162ffffff909116815260200161049a565b61056861056336600461314a565b610ed4565b60405161049a9190613174565b61058861058336600461319d565b610f56565b60405161049a91906131cc565b6104b66105a3366004612fd0565b610fe5565b6105166105b636600461321b565b611023565b6104866105c936600461301a565b61109f565b6105e16105dc366004613450565b6110d0565b60405161049a919061349c565b6106016105fc3660046134e3565b611160565b60405161049a919061352c565b61048661061c366004612fd0565b611205565b61063461062f3660046135ea565b61123e565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b0316606082015260800161049a565b6104b66112d8565b61069061068b366004612fd0565b611348565b60405161049a9190613606565b6104866106ab366004612fd0565b6113b7565b6104b66106be366004612fd0565b6113d7565b6002546001600160a01b0316610516565b6104b66106e2366004612fd0565b611410565b6104b66106f536600461319d565b611449565b610486610708366004613652565b61147a565b6104b66114f6565b610728610723366004612fd0565b61153d565b60405161ffff909116815260200161049a565b61056861074936600461366e565b611551565b61076161075c36600461301a565b6115a7565b6040516001600160401b03909116815260200161049a565b61078c610787366004612fd0565b61161a565b60405161049a91906136ab565b6107ac6107a736600461371f565b61168d565b604051901515815260200161049a565b6107ac6107ca36600461319d565b611709565b6105166107dd366004612fd0565b611775565b6107f56107f0366004612fd0565b6117d3565b60405161049a919061374b565b5f5461010090046001600160a01b0316610516565b61082a610825366004612fff565b611858565b60405161049a91906137d1565b6107ac61084536600461319d565b6118fc565b6104b66108583660046134e3565b61192e565b6107ac61086b366004612fff565b61195e565b61088361087e36600461319d565b611997565b005b610898610893366004612fd0565b611d6f565b60405161049a9190613841565b6004546001600160a01b0316610516565b6104866108c436600461314a565b611dc5565b6105166108d736600461301a565b611e0a565b6104d76108ea366004613113565b611e75565b6104d76108fd366004612fd0565b611f00565b610486611f0d565b6107ac61091836600461371f565b611f80565b610883611fc1565b6107ac610933366004612fff565b611fef565b61094b6109463660046134e3565b612028565b60405161049a91906138c8565b610486610966366004612fd0565b6120aa565b6104d7610979366004612fd0565b6120e3565b6104b661098c366004612fd0565b6120f0565b61051661099f366004612fd0565b61212e565b6109b76109b236600461301a565b612167565b60405161049a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610a13610a0e366004613113565b6121f1565b60405161049a9190613906565b610a33610a2e3660046134e3565b6122a8565b604080516001600160a01b03909316835260ff90911660208301520161049a565b6107ac610a62366004612fd0565b61241d565b6104b661247b565b610a82610a7d366004612fd0565b6124f4565b60405161049a91906139a0565b6107ac610a9d366004612fff565b61259e565b6104b66125d7565b6104d7610ab8366004612fd0565b61261e565b610ad0610acb3660046134e3565b61262b565b60405161049a9190613b0b565b6107616126e0565b6003546001600160a01b0316610516565b610516610b04366004613be9565b6126e9565b610486610b1736600461314a565b61273f565b6001546001600160a01b0316610516565b610516610b3b366004612fd0565b612784565b6104b6610b4e36600461319d565b6127dc565b610b66610b61366004612fd0565b612835565b60405161049a9190613c05565b610b86610b81366004613e05565b6128f0565b60405164ffffffffff909116815260200161049a565b6107ac610baa366004613e31565b612982565b610bc2610bbd366004612fd0565b6129cb565b60405161049a9190613e5d565b6104d7610bdd366004613ebd565b612a11565b610568610bf036600461314a565b612a64565b610728610c0336600461301a565b612aa4565b6104d7610c163660046134e3565b612b27565b610c2e610c29366004613ebd565b612b6e565b60405161049a9190613ee9565b610c4e610c49366004612fff565b612c09565b60405161049a9190613f47565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614018565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614033565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d90602401602060405180830381865afa158015610d8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614063565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201529080610e9173__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600c5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8c9190614033565b612cad565b915091508015610eb75781806020019051810190610eaf9190614115565b949350505050565b5050919050565b5f610ec983836121f1565b606001519392505050565b6005546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610f2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614202565b9392505050565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc590602401608060405180830381865afa158015610fc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614228565b600480546040516313ab148d60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906313ab148d90602401610d09565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561107b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614294565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c90565b604080516060810182525f808252602082018190528183015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061112190869086906004016142af565b606060405180830381865af415801561113c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f919061431b565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b815290919081906111e79073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e4d906001600160c01b0319891690600401613174565b915091508015610eb75781806020019051810190610eaf91906143a0565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c90565b604080516060810182525f80825260208201819052918101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce690604401608060405180830381865afa1580156112a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cd919061448d565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa15801561131f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113439190614033565b905090565b604080516080810182525f80825260208201819052918101829052606080820152908061139973__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166017610e1d565b915091508015610eb75781806020019051810190610eaf91906144b8565b5f806113c2836124f4565b9050610f4f8160600151826101000151612d2d565b600554604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610d09565b6005546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610d09565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610d09565b6005546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614018565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa15801561131f573d5f803e3d5ffd5b5f611547826124f4565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061158c9086908690600401614559565b602060405180830381865af4158015610f2b573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa1580156115f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf919061457a565b6116616040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b5f8061166f610e8c85612d8d565b915091508015610eb75781806020019051810190610eaf91906145f7565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa1580156116e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f91906146bb565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa158015611751573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf91906146bb565b5f806117808361212e565b90506001600160a01b038116156117cd57806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107b573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052908061183a73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600f610e1d565b915091508015610eb75781806020019051810190610eaf91906146d4565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160c060405180830381865afa1580156118d8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf919061476c565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a90602401611736565b60055460405163380d295960e21b81525f916001600160a01b03169063e034a56490610d09908590600401613174565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc9590602401611736565b5f5460ff16156119ba5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a439190614294565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611a9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac39190614294565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b479190614294565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190614294565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051630e0c586d60e01b815290519190931692630e0c586d92818101926020929091908290030181865afa158015611c22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c469190614294565b600580546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce59190614063565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4c9190614294565b600680546001600160a01b0319166001600160a01b039290921691909117905550565b611d77612ee1565b5f80611da773__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166029610e1d565b915091508015610eb75781806020019051810190610eaf91906147f3565b60048054604051630dd7db2160e31b81526001600160601b03851692810192909252602482018390525f916001600160a01b0390911690636ebed908906044016114b7565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611e51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614294565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f90610f4f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611edc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d29190614033565b5f610ccf6104d283612d8d565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611f5c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113439190614018565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf947906044016116ca565b5f5460ff1615611fe45760405163ae9eff1b60e01b815260040160405180910390fd5b611fed33611997565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a90602401611736565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81525f90819061208c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e4d906001600160c01b0319891690600401613174565b915091508015610eb75781806020019051810190610eaf9190614884565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c90565b5f610ccf6104d283612de9565b600480546040516394b9929b60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906394b9929b90602401610d09565b5f805f61213d610e8c85612e15565b915091508015610eb7578180602001905181019061215b9190614914565b60200151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156121cd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614984565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c08301529151637d56159160e11b815261ffff841660048201526001600160601b038516602482015290919081906122799073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e4d565b9150915080156122a0578180602001905181019061229791906149ea565b92505050610ccf565b505092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612312573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123369190614063565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612379573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239d9190614294565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa1580156123f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124149190614ad3565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611751573d5f803e3d5ffd5b60025460408051632e98bef960e21b815290515f926001600160a01b03169163ba62fbe49160048083019260209291908290030181865afa1580156124c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e6919061457a565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201529080612580610e8c85612de9565b915091508015610eb75781806020019051810190610eaf9190614b0b565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a0017990602401611736565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561131f573d5f803e3d5ffd5b5f610ccf6104d283612e41565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b815290919081906126c29073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e4d906001600160c01b0319891690600401613174565b915091508015610eb75781806020019051810190610eaf9190614c9e565b5f611343612e6d565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa15801561107b573d5f803e3d5ffd5b600480546040516336dc0d5360e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063db70354c906044016114b7565b5f8061278f8361212e565b90506001600160a01b038116156117cd57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107b573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610d24573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810182905290806128d2610e8c85612e41565b915091508015610eb75781806020019051810190610eaf9190614dbf565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612917856001614f35565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af415801561295e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614f50565b6006546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016116ca565b60408051606080820183528082525f602083018190529282015290806129f3610e8c85612e15565b915091508015610eb75781806020019051810190610eaf9190614914565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f90610f4f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611ec1565b60055460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610f10565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612aca846001614f6b565b6040518263ffffffff1660e01b8152600401612ae891815260200190565b602060405180830381865af4158015612b03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614f7e565b6040516355ee627560e01b81525f90610ccf9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611ec1906001600160c01b0319871690600401613174565b6040805160a0810182525f80825260208201819052818301819052606080830182905260808301529151632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201529091908190612beb9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401610e4d565b9150915080156122a057818060200190518101906122979190614f99565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091908190612c8f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401610e4d565b915091508015610eb75781806020019051810190610eaf919061504f565b6003546040516354f6127f60e01b8152600481018390526060915f916001600160a01b03909116906354f6127f906024015f60405180830381865afa158015612cf8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d1f919081019061511f565b805190949015159350915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156114d2573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015260440161281a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612db5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b612db5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612db5565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612ebd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611343919061457a565b6040805161012081019091525f60e0820181815261010083019190915281908152602001612f1e604080518082019091525f808252602082015290565b8152602001612f3c604080518082019091525f808252602082015290565b8152602001612f5a604080518082019091525f808252602082015290565b8152602001612f78604080518082019091525f808252602082015290565b8152602001612f96604080518082019091525f808252602082015290565b8152602001612fb4604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114612fcd575f80fd5b50565b5f60208284031215612fe0575f80fd5b8135610f4f81612fb9565b6001600160401b0381168114612fcd575f80fd5b5f6020828403121561300f575f80fd5b8135610f4f81612feb565b5f6020828403121561302a575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561306a5781516001600160601b0316865260209586019590910190600101613043565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516130a1606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610eaf610120840182613031565b61ffff81168114612fcd575f80fd5b5f8060408385031215613124575f80fd5b823561312f81612fb9565b9150602083013561313f81613104565b809150509250929050565b5f806040838503121561315b575f80fd5b823561316681612fb9565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114612fcd575f80fd5b5f602082840312156131ad575f80fd5b8135610f4f81613189565b634e487b7160e01b5f52602160045260245ffd5b8151815260208201516080820190600781106131ea576131ea6131b8565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561322c575f80fd5b8235915060208301355f81900b811461313f575f80fd5b6001600160e01b031981168114612fcd575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561328f5761328f613258565b60405290565b604051608081016001600160401b038111828210171561328f5761328f613258565b604051606081016001600160401b038111828210171561328f5761328f613258565b60405160c081016001600160401b038111828210171561328f5761328f613258565b60405160e081016001600160401b038111828210171561328f5761328f613258565b60405161020081016001600160401b038111828210171561328f5761328f613258565b60405161014081016001600160401b038111828210171561328f5761328f613258565b60405161024081016001600160401b038111828210171561328f5761328f613258565b60405160a081016001600160401b038111828210171561328f5761328f613258565b604051601f8201601f191681016001600160401b03811182821017156133d0576133d0613258565b604052919050565b5f6001600160401b038211156133f0576133f0613258565b50601f01601f191660200190565b5f82601f83011261340d575f80fd5b813561342061341b826133d8565b6133a8565b818152846020838601011115613434575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215613461575f80fd5b823561346c81613243565b915060208301356001600160401b03811115613486575f80fd5b613492858286016133fe565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610ccf565b6001600160c01b031981168114612fcd575f80fd5b5f602082840312156134f3575f80fd5b8135610f4f816134ce565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161355b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526135c36101208401826134fe565b905060e0840151601f19848303016101008501526135e182826134fe565b95945050505050565b5f80604083850312156135fb575f80fd5b823561316681613189565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152610eaf60a08401826134fe565b5f8060408385031215613663575f80fd5b8235613166816134ce565b5f806040838503121561367f575f80fd5b823561346c81612fb9565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161370560a084018261368a565b5060a083015160e080840152610eaf6101008401826134fe565b5f8060408385031215613730575f80fd5b823561373b81612feb565b9150602083013561313f81613189565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516137a2608084018215159052565b5060a08301516137b660a084018215159052565b5060c08301516137ca60c084018215159052565b5092915050565b81516001600160401b03168152602082015160c0820190600481106137f8576137f86131b8565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061385482845161368a565b6020830151613866604084018261368a565b506040830151613879608084018261368a565b50606083015161388c60c084018261368a565b5060808301516138a061010084018261368a565b5060a08301516138b461014084018261368a565b5060c08301516137ca61018084018261368a565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152610eaf60808401826134fe565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613946606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c08401526139836101008401826134fe565b905060c0840151601f198483030160e08501526135e182826134fe565b602081526139ba6020820183516001600160601b03169052565b5f60208301516139d560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613aec6102208401826134fe565b90506101e0840151601f19848303016102008501526135e182826134fe565b60208152613b256020820183516001600160a01b03169052565b5f6020830151613b4060408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613bca6101608401826134fe565b9050610120840151601f19848303016101408501526135e182826134fe565b5f8060408385031215613bfa575f80fd5b823561316681612feb565b81516001600160601b0316815261024081016020830151613c3160208401826001600160601b03169052565b506040830151613c4c60408401826001600160601b03169052565b506060830151613c6760608401826001600160601b03169052565b506080830151613c8260808401826001600160601b03169052565b5060a0830151613c9d60a08401826001600160601b03169052565b5060c0830151613cb860c08401826001600160601b03169052565b5060e0830151613cd360e08401826001600160601b03169052565b50610100830151613cf06101008401826001600160601b03169052565b50610120830151613d0d6101208401826001600160601b03169052565b50610140830151613d2a6101408401826001600160601b03169052565b50610160830151613d476101608401826001600160601b03169052565b50610180830151613d646101808401826001600160601b03169052565b506101a0830151613d816101a08401826001600160601b03169052565b506101c0830151613d9e6101c08401826001600160601b03169052565b506101e0830151613dbb6101e08401826001600160601b03169052565b50610200830151613dd86102008401826001600160601b03169052565b506102208301516137ca6102208401826001600160601b03169052565b62ffffff81168114612fcd575f80fd5b5f8060408385031215613e16575f80fd5b8235613e2181613104565b9150602083013561313f81613df5565b5f8060408385031215613e42575f80fd5b8235613e4d81612fb9565b9150602083013561313f816134ce565b602081525f825160606020840152613e7860808401826134fe565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506135e182826134fe565b64ffffffffff81168114612fcd575f80fd5b5f8060408385031215613ece575f80fd5b8235613ed981612fb9565b9150602083013561313f81613eab565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152610eaf60c08401826134fe565b60208152613f616020820183516001600160601b03169052565b5f6020830151613f7c60408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152613fcc6101208401826134fe565b905060c0840151601f198483030160e0850152613fe982826134fe565b91505060e0840151601f19848303016101008501526135e182826134fe565b805161401381612fb9565b919050565b5f60208284031215614028575f80fd5b8151610f4f81612fb9565b5f60208284031215614043575f80fd5b5051919050565b60ff81168114612fcd575f80fd5b80516140138161404a565b5f60208284031215614073575f80fd5b8151610f4f8161404a565b80518015158114614013575f80fd5b5f82601f83011261409c575f80fd5b81516001600160401b038111156140b5576140b5613258565b8060051b6140c5602082016133a8565b918252602081850181019290810190868411156140e0575f80fd5b6020860192505b8383101561410b5782516140fa81612fb9565b8252602092830192909101906140e7565b9695505050505050565b5f60208284031215614125575f80fd5b81516001600160401b0381111561413a575f80fd5b8201610100818503121561414c575f80fd5b61415461326c565b61415d8261407e565b815261416b6020830161407e565b602082015261417c6040830161407e565b604082015261418d60608301614058565b606082015261419e60808301614058565b60808201526141af60a08301614008565b60a08201526141c060c08301614008565b60c082015260e08201516001600160401b038111156141dd575f80fd5b6141e98682850161408d565b60e083015250949350505050565b8051614013816134ce565b5f60208284031215614212575f80fd5b8151610f4f816134ce565b805161401381613eab565b5f6080828403128015614239575f80fd5b50614242613295565b82518152602083015160078110614257575f80fd5b6020820152604083015161426a81612feb565b6040820152606083015161427d81613eab565b60608201529392505050565b805161401381613189565b5f602082840312156142a4575f80fd5b8151610f4f81613189565b63ffffffff60e01b83168152604060208201525f610eaf60408301846134fe565b5f606082840312156142e0575f80fd5b6142e86132b7565b8251815260208301519091506142fd81613243565b6020820152604082015161431081613eab565b604082015292915050565b5f6060828403121561432b575f80fd5b610f4f83836142d0565b63ffffffff81168114612fcd575f80fd5b805161401381614335565b5f82601f830112614360575f80fd5b8151602083015f61437361341b846133d8565b9050828152858383011115614386575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156143b0575f80fd5b81516001600160401b038111156143c5575f80fd5b820161010081850312156143d7575f80fd5b6143df61326c565b6143e882614008565b81526143f660208301614008565b602082015261440760408301614346565b604082015261441860608301614346565b606082015261442960808301614289565b608082015261443a60a0830161421d565b60a082015260c08201516001600160401b03811115614457575f80fd5b61446386828501614351565b60c08301525060e08201516001600160401b03811115614481575f80fd5b6141e986828501614351565b5f806080838503121561449e575f80fd5b6144a884846142d0565b9150606083015161313f81612feb565b5f602082840312156144c8575f80fd5b81516001600160401b038111156144dd575f80fd5b8201608081850312156144ee575f80fd5b6144f6613295565b8151614501816134ce565b815261450f6020830161407e565b6020820152604082015161452281614335565b604082015260608201516001600160401b0381111561453f575f80fd5b61454b86828501614351565b606083015250949350505050565b6001600160601b0383168152604060208201525f610eaf60408301846134fe565b5f6020828403121561458a575f80fd5b8151610f4f81612feb565b5f604082840312156145a5575f80fd5b604080519081016001600160401b03811182821017156145c7576145c7613258565b806040525080915082516145da81613189565b815260208301516145ea81612fb9565b6020919091015292915050565b5f60208284031215614607575f80fd5b81516001600160401b0381111561461c575f80fd5b820160e0818503121561462d575f80fd5b6146356132d9565b815161464081613eab565b8152602082015161465081613eab565b60208201526146616040830161421d565b604082015261467260608301614008565b60608201526146848560808401614595565b608082015260c08201516001600160401b038111156146a1575f80fd5b6146ad86828501614351565b60a083015250949350505050565b5f602082840312156146cb575f80fd5b610f4f8261407e565b5f60e08284031280156146e5575f80fd5b506146ee6132fb565b82516146f981612fb9565b8152602083015161470981613189565b6020820152604083015161471c81613189565b604082015261472d6060840161407e565b606082015261473e6080840161407e565b608082015261474f60a0840161407e565b60a082015261476060c0840161407e565b60c08201529392505050565b5f60c082840312801561477d575f80fd5b506147866132d9565b825161479181612feb565b81526020830151600481106147a4575f80fd5b602082015260408301516147b781614335565b604082015260608301516147ca81613eab565b60608201526147db6080840161421d565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015614805575f80fd5b5061480e6132fb565b6148188484614595565b81526148278460408501614595565b60208201526148398460808501614595565b604082015261484b8460c08501614595565b606082015261485e846101008501614595565b6080820152614871846101408501614595565b60a0820152614760846101808501614595565b5f60208284031215614894575f80fd5b81516001600160401b038111156148a9575f80fd5b8201606081850312156148ba575f80fd5b6148c26132b7565b81516148cd81612fb9565b815260208201516148dd81613eab565b602082015260408201516001600160401b038111156148fa575f80fd5b61490686828501614351565b604083015250949350505050565b5f60208284031215614924575f80fd5b81516001600160401b03811115614939575f80fd5b82016060818503121561494a575f80fd5b6149526132b7565b81516001600160401b03811115614967575f80fd5b61497386828501614351565b82525060208201516148dd81613189565b5f6080828403128015614995575f80fd5b5061499e613295565b82516149a98161404a565b815260208301516149b98161404a565b602082015260408301516149cc81614335565b6040820152606083015161427d81614335565b805161401381613df5565b5f602082840312156149fa575f80fd5b81516001600160401b03811115614a0f575f80fd5b820160e08185031215614a20575f80fd5b614a286132fb565b614a3182614008565b8152614a3f60208301614008565b6020820152614a506040830161421d565b6040820152614a61606083016149df565b6060820152614a72608083016149df565b608082015260a08201516001600160401b03811115614a8f575f80fd5b614a9b86828501614351565b60a08301525060c08201516001600160401b03811115614ab9575f80fd5b614ac586828501614351565b60c083015250949350505050565b5f8060408385031215614ae4575f80fd5b8251614aef81613189565b602084015190925061313f8161404a565b805161401381613104565b5f60208284031215614b1b575f80fd5b81516001600160401b03811115614b30575f80fd5b82016102008185031215614b42575f80fd5b614b4a61331d565b614b5382614008565b8152614b6160208301614008565b6020820152614b72604083016141f7565b6040820152614b8360608301614008565b6060820152614b9460808301614008565b6080820152614ba560a083016141f7565b60a0820152614bb660c08301614b00565b60c0820152614bc760e08301614b00565b60e0820152614bd96101008301614008565b610100820152614bec6101208301614008565b610120820152614bff610140830161421d565b610140820152614c12610160830161421d565b610160820152614c25610180830161421d565b610180820152614c386101a0830161421d565b6101a08201526101c08201516001600160401b03811115614c57575f80fd5b614c6386828501614351565b6101c0830152506101e08201516001600160401b03811115614c83575f80fd5b614c8f86828501614351565b6101e083015250949350505050565b5f60208284031215614cae575f80fd5b81516001600160401b03811115614cc3575f80fd5b82016101408185031215614cd5575f80fd5b614cdd613340565b614ce682614289565b8152614cf460208301614008565b6020820152614d0560408301614289565b6040820152614d1660608301614346565b6060820152614d276080830161421d565b6080820152614d3860a0830161407e565b60a0820152614d4960c0830161407e565b60c0820152614d5a60e08301614289565b60e08201526101008201516001600160401b03811115614d78575f80fd5b614d8486828501614351565b610100830152506101208201516001600160401b03811115614da4575f80fd5b614db086828501614351565b61012083015250949350505050565b5f610240828403128015614dd1575f80fd5b50614dda613363565b614de383614008565b8152614df160208401614008565b6020820152614e0260408401614008565b6040820152614e1360608401614008565b6060820152614e2460808401614008565b6080820152614e3560a08401614008565b60a0820152614e4660c08401614008565b60c0820152614e5760e08401614008565b60e0820152614e696101008401614008565b610100820152614e7c6101208401614008565b610120820152614e8f6101408401614008565b610140820152614ea26101608401614008565b610160820152614eb56101808401614008565b610180820152614ec86101a08401614008565b6101a0820152614edb6101c08401614008565b6101c0820152614eee6101e08401614008565b6101e0820152614f016102008401614008565b610200820152614f146102208401614008565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610ccf57610ccf614f21565b5f60208284031215614f60575f80fd5b8151610f4f81613eab565b80820180821115610ccf57610ccf614f21565b5f60208284031215614f8e575f80fd5b8151610f4f81613104565b5f60208284031215614fa9575f80fd5b81516001600160401b03811115614fbe575f80fd5b820160a08185031215614fcf575f80fd5b614fd7613386565b8151614fe281613104565b81526020820151614ff281612fb9565b6020820152604082015161500581613eab565b6040820152606082015161501881613189565b606082015260808201516001600160401b03811115615035575f80fd5b61504186828501614351565b608083015250949350505050565b5f6020828403121561505f575f80fd5b81516001600160401b03811115615074575f80fd5b82016101008185031215615086575f80fd5b61508e61326c565b61509782614008565b81526150a560208301614008565b60208201526150b66040830161407e565b60408201526150c76060830161421d565b60608201526150d86080830161421d565b608082015260a08201516001600160401b038111156150f5575f80fd5b61510186828501614351565b60a08301525060c08201516001600160401b03811115614457575f80fd5b5f6020828403121561512f575f80fd5b81516001600160401b03811115615144575f80fd5b610eaf8482850161435156fea2646970667358221220fb669c9e1a17d975938a04095affe64943fd62325d30e4ec0d5c95d64d6ab9ba64736f6c634300081a0033",
2337
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061046f575f3560e01c80636ebed9081161024d578063c71e261f11610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610be2578063fad77c3b14610bf5578063fcad2c4b14610c08578063fd80249214610c1b578063febe92af14610c3b575f80fd5b8063e444c3df14610b53578063e98413ff14610b73578063f0b1d21014610b9c578063f0ea17c314610baf578063f3ed991914610bcf575f80fd5b8063d78a83b111610105578063d78a83b114610af6578063db70354c14610b09578063de7b5d1414610b1c578063dfbf164014610b2d578063e2eb023b14610b40575f80fd5b8063c71e261f14610aa2578063c88105e614610aaa578063d06458c614610abd578063d299bf6214610add578063d4cda0d814610ae5575f80fd5b80639096a1f3116101cc578063b82d7ef511610191578063b82d7ef514610a20578063ba579bdc14610a54578063ba62fbe414610a67578063bd7d9d8514610a6f578063c6a0017914610a8f575f80fd5b80639096a1f31461096b57806394b9929b1461097e578063a310e2a314610991578063a5961b4c146109a4578063a7ef3d2114610a00575f80fd5b80637f0cf947116102125780637f0cf9471461090a5780638129fc1c1461091d57806387c73e5a14610925578063887b1fa9146109385780638eb9000d14610958575f80fd5b80636ebed908146108b6578063728a61a8146108c957806378ae9350146108dc5780637d8f1e81146108ef5780637e79866914610902575f80fd5b806333fc7dee116103655780634d21a63d116102e45780636553994c116102a95780636553994c1461084a57806366c3bc951461085d5780636791f7ab146108705780636a05a413146108855780636dddada4146108a5575f80fd5b80634d21a63d146107cf57806357f80bbf146107e25780635ab1bd53146108025780635bfa502714610817578063605aa10a14610837575f80fd5b80633f093cd61161032a5780633f093cd61461073b5780633fd855611461074e5780634793b4ab14610779578063480cebd1146107995780634a4fbeec146107bc575f80fd5b806333fc7dee146106d457806335471f80146106e7578063380bd950146106fa578063392f5f641461070d5780633b046f0914610715575f80fd5b806315b74532116103f157806326d60fb4116103b657806326d60fb41461067557806327b1d7921461067d5780632c0cd0601461069d5780632f458a11146106b0578063311adb68146106c3575f80fd5b806315b74532146105bb57806315fb0abb146105ce5780631d3be477146105ee578063228e42ec1461060e57806324913ce614610621575f80fd5b806310bf267b1161043757806310bf267b1461052e578063128817d41461055557806312e1ebc51461057557806313ab148d146105955780631488c845146105a8575f80fd5b80630232ca491461047357806303014974146104a357806309648a9d146104c45780630b5d931c146104e95780630e0c586d14610509575b5f80fd5b610486610481366004612fd0565b610c5b565b6040516001600160601b0390911681526020015b60405180910390f35b6104b66104b1366004612fff565b610cd5565b60405190815260200161049a565b6104d76104d236600461301a565b610d48565b60405160ff909116815260200161049a565b6104fc6104f7366004612fd0565b610db3565b60405161049a9190613074565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161049a565b61054161053c366004613113565b610ebe565b60405162ffffff909116815260200161049a565b61056861056336600461314a565b610ed4565b60405161049a9190613174565b61058861058336600461319d565b610f56565b60405161049a91906131cc565b6104b66105a3366004612fd0565b610fe5565b6105166105b636600461321b565b611023565b6104866105c936600461301a565b61109f565b6105e16105dc366004613450565b6110d0565b60405161049a919061349c565b6106016105fc3660046134e3565b611160565b60405161049a919061352c565b61048661061c366004612fd0565b611205565b61063461062f3660046135ea565b61123e565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b0316606082015260800161049a565b6104b66112d8565b61069061068b366004612fd0565b611348565b60405161049a9190613606565b6104866106ab366004612fd0565b6113b7565b6104b66106be366004612fd0565b6113d7565b6002546001600160a01b0316610516565b6104b66106e2366004612fd0565b611410565b6104b66106f536600461319d565b611449565b610486610708366004613652565b61147a565b6104b66114f6565b610728610723366004612fd0565b61153d565b60405161ffff909116815260200161049a565b61056861074936600461366e565b611551565b61076161075c36600461301a565b6115a7565b6040516001600160401b03909116815260200161049a565b61078c610787366004612fd0565b61161a565b60405161049a91906136ab565b6107ac6107a736600461371f565b61168d565b604051901515815260200161049a565b6107ac6107ca36600461319d565b611709565b6105166107dd366004612fd0565b611775565b6107f56107f0366004612fd0565b6117d3565b60405161049a919061374b565b5f5461010090046001600160a01b0316610516565b61082a610825366004612fff565b611858565b60405161049a91906137d1565b6107ac61084536600461319d565b6118fc565b6104b66108583660046134e3565b61192e565b6107ac61086b366004612fff565b61195e565b61088361087e36600461319d565b611997565b005b610898610893366004612fd0565b611d6f565b60405161049a9190613841565b6004546001600160a01b0316610516565b6104866108c436600461314a565b611dc5565b6105166108d736600461301a565b611e0a565b6104d76108ea366004613113565b611e75565b6104d76108fd366004612fd0565b611f00565b610486611f0d565b6107ac61091836600461371f565b611f80565b610883611fc1565b6107ac610933366004612fff565b611fef565b61094b6109463660046134e3565b612028565b60405161049a91906138c8565b610486610966366004612fd0565b6120aa565b6104d7610979366004612fd0565b6120e3565b6104b661098c366004612fd0565b6120f0565b61051661099f366004612fd0565b61212e565b6109b76109b236600461301a565b612167565b60405161049a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610a13610a0e366004613113565b6121f1565b60405161049a9190613906565b610a33610a2e3660046134e3565b6122a8565b604080516001600160a01b03909316835260ff90911660208301520161049a565b6107ac610a62366004612fd0565b61241d565b6104b661247b565b610a82610a7d366004612fd0565b6124f4565b60405161049a91906139a0565b6107ac610a9d366004612fff565b61259e565b6104b66125d7565b6104d7610ab8366004612fd0565b61261e565b610ad0610acb3660046134e3565b61262b565b60405161049a9190613b0b565b6107616126e0565b6003546001600160a01b0316610516565b610516610b04366004613be9565b6126e9565b610486610b1736600461314a565b61273f565b6001546001600160a01b0316610516565b610516610b3b366004612fd0565b612784565b6104b6610b4e36600461319d565b6127dc565b610b66610b61366004612fd0565b612835565b60405161049a9190613c05565b610b86610b81366004613e05565b6128f0565b60405164ffffffffff909116815260200161049a565b6107ac610baa366004613e31565b612982565b610bc2610bbd366004612fd0565b6129cb565b60405161049a9190613e5d565b6104d7610bdd366004613ebd565b612a11565b610568610bf036600461314a565b612a64565b610728610c0336600461301a565b612aa4565b6104d7610c163660046134e3565b612b27565b610c2e610c29366004613ebd565b612b6e565b60405161049a9190613ee9565b610c4e610c49366004612fff565b612c09565b60405161049a9190613f47565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614018565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614033565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d90602401602060405180830381865afa158015610d8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614063565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201529080610e9173__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600c5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8c9190614033565b612cad565b915091508015610eb75781806020019051810190610eaf9190614115565b949350505050565b5050919050565b5f610ec983836121f1565b606001519392505050565b6005546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610f2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614202565b9392505050565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc590602401608060405180830381865afa158015610fc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614228565b600480546040516313ab148d60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906313ab148d90602401610d09565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561107b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614294565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c90565b604080516060810182525f808252602082018190528183015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061112190869086906004016142af565b606060405180830381865af415801561113c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f919061431b565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b815290919081906111e79073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e4d906001600160c01b0319891690600401613174565b915091508015610eb75781806020019051810190610eaf91906143a0565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c90565b604080516060810182525f80825260208201819052918101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce690604401608060405180830381865afa1580156112a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cd919061448d565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa15801561131f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113439190614033565b905090565b604080516080810182525f80825260208201819052918101829052606080820152908061139973__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166017610e1d565b915091508015610eb75781806020019051810190610eaf91906144b8565b5f806113c2836124f4565b9050610f4f8160600151826101000151612d2d565b600554604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610d09565b6005546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610d09565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610d09565b6005546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614018565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa15801561131f573d5f803e3d5ffd5b5f611547826124f4565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061158c9086908690600401614559565b602060405180830381865af4158015610f2b573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa1580156115f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf919061457a565b6116616040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b5f8061166f610e8c85612d8d565b915091508015610eb75781806020019051810190610eaf91906145f7565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa1580156116e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f91906146bb565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa158015611751573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf91906146bb565b5f806117808361212e565b90506001600160a01b038116156117cd57806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107b573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052908061183a73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600f610e1d565b915091508015610eb75781806020019051810190610eaf91906146d4565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160c060405180830381865afa1580156118d8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf919061476c565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a90602401611736565b60055460405163380d295960e21b81525f916001600160a01b03169063e034a56490610d09908590600401613174565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc9590602401611736565b5f5460ff16156119ba5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a439190614294565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611a9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac39190614294565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b479190614294565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190614294565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051630e0c586d60e01b815290519190931692630e0c586d92818101926020929091908290030181865afa158015611c22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c469190614294565b600580546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce59190614063565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4c9190614294565b600680546001600160a01b0319166001600160a01b039290921691909117905550565b611d77612ee1565b5f80611da773__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166029610e1d565b915091508015610eb75781806020019051810190610eaf91906147f3565b60048054604051630dd7db2160e31b81526001600160601b03851692810192909252602482018390525f916001600160a01b0390911690636ebed908906044016114b7565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611e51573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614294565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f90610f4f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611edc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d29190614033565b5f610ccf6104d283612d8d565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611f5c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113439190614018565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf947906044016116ca565b5f5460ff1615611fe45760405163ae9eff1b60e01b815260040160405180910390fd5b611fed33611997565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a90602401611736565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81525f90819061208c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e4d906001600160c01b0319891690600401613174565b915091508015610eb75781806020019051810190610eaf9190614884565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c90565b5f610ccf6104d283612de9565b600480546040516394b9929b60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906394b9929b90602401610d09565b5f805f61213d610e8c85612e15565b915091508015610eb7578180602001905181019061215b9190614914565b60200151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156121cd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614984565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c08301529151637d56159160e11b815261ffff841660048201526001600160601b038516602482015290919081906122799073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e4d565b9150915080156122a0578180602001905181019061229791906149ea565b92505050610ccf565b505092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612312573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123369190614063565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612379573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239d9190614294565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa1580156123f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124149190614ad3565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611751573d5f803e3d5ffd5b60025460408051632e98bef960e21b815290515f926001600160a01b03169163ba62fbe49160048083019260209291908290030181865afa1580156124c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e6919061457a565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201529080612580610e8c85612de9565b915091508015610eb75781806020019051810190610eaf9190614b0b565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a0017990602401611736565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561131f573d5f803e3d5ffd5b5f610ccf6104d283612e41565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b815290919081906126c29073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e4d906001600160c01b0319891690600401613174565b915091508015610eb75781806020019051810190610eaf9190614c9e565b5f611343612e6d565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa15801561107b573d5f803e3d5ffd5b600480546040516336dc0d5360e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063db70354c906044016114b7565b5f8061278f8361212e565b90506001600160a01b038116156117cd57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107b573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610d24573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810182905290806128d2610e8c85612e41565b915091508015610eb75781806020019051810190610eaf9190614dbf565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612917856001614f35565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af415801561295e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614f50565b6006546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016116ca565b60408051606080820183528082525f602083018190529282015290806129f3610e8c85612e15565b915091508015610eb75781806020019051810190610eaf9190614914565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f90610f4f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611ec1565b60055460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610f10565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612aca846001614f6b565b6040518263ffffffff1660e01b8152600401612ae891815260200190565b602060405180830381865af4158015612b03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ccf9190614f7e565b6040516355ee627560e01b81525f90610ccf9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611ec1906001600160c01b0319871690600401613174565b6040805160a0810182525f80825260208201819052818301819052606080830182905260808301529151632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201529091908190612beb9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401610e4d565b9150915080156122a057818060200190518101906122979190614f99565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091908190612c8f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401610e4d565b915091508015610eb75781806020019051810190610eaf919061504f565b6003546040516354f6127f60e01b8152600481018390526060915f916001600160a01b03909116906354f6127f906024015f60405180830381865afa158015612cf8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d1f919081019061511f565b805190949015159350915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156114d2573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015260440161281a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612db5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b612db5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612db5565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612ebd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611343919061457a565b6040805161012081019091525f60e0820181815261010083019190915281908152602001612f1e604080518082019091525f808252602082015290565b8152602001612f3c604080518082019091525f808252602082015290565b8152602001612f5a604080518082019091525f808252602082015290565b8152602001612f78604080518082019091525f808252602082015290565b8152602001612f96604080518082019091525f808252602082015290565b8152602001612fb4604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114612fcd575f80fd5b50565b5f60208284031215612fe0575f80fd5b8135610f4f81612fb9565b6001600160401b0381168114612fcd575f80fd5b5f6020828403121561300f575f80fd5b8135610f4f81612feb565b5f6020828403121561302a575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561306a5781516001600160601b0316865260209586019590910190600101613043565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516130a1606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610eaf610120840182613031565b61ffff81168114612fcd575f80fd5b5f8060408385031215613124575f80fd5b823561312f81612fb9565b9150602083013561313f81613104565b809150509250929050565b5f806040838503121561315b575f80fd5b823561316681612fb9565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114612fcd575f80fd5b5f602082840312156131ad575f80fd5b8135610f4f81613189565b634e487b7160e01b5f52602160045260245ffd5b8151815260208201516080820190600781106131ea576131ea6131b8565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561322c575f80fd5b8235915060208301355f81900b811461313f575f80fd5b6001600160e01b031981168114612fcd575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561328f5761328f613258565b60405290565b604051608081016001600160401b038111828210171561328f5761328f613258565b604051606081016001600160401b038111828210171561328f5761328f613258565b60405160c081016001600160401b038111828210171561328f5761328f613258565b60405160e081016001600160401b038111828210171561328f5761328f613258565b60405161020081016001600160401b038111828210171561328f5761328f613258565b60405161014081016001600160401b038111828210171561328f5761328f613258565b60405161024081016001600160401b038111828210171561328f5761328f613258565b60405160a081016001600160401b038111828210171561328f5761328f613258565b604051601f8201601f191681016001600160401b03811182821017156133d0576133d0613258565b604052919050565b5f6001600160401b038211156133f0576133f0613258565b50601f01601f191660200190565b5f82601f83011261340d575f80fd5b813561342061341b826133d8565b6133a8565b818152846020838601011115613434575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215613461575f80fd5b823561346c81613243565b915060208301356001600160401b03811115613486575f80fd5b613492858286016133fe565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610ccf565b6001600160c01b031981168114612fcd575f80fd5b5f602082840312156134f3575f80fd5b8135610f4f816134ce565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161355b60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526135c36101208401826134fe565b905060e0840151601f19848303016101008501526135e182826134fe565b95945050505050565b5f80604083850312156135fb575f80fd5b823561316681613189565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152610eaf60a08401826134fe565b5f8060408385031215613663575f80fd5b8235613166816134ce565b5f806040838503121561367f575f80fd5b823561346c81612fb9565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161370560a084018261368a565b5060a083015160e080840152610eaf6101008401826134fe565b5f8060408385031215613730575f80fd5b823561373b81612feb565b9150602083013561313f81613189565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516137a2608084018215159052565b5060a08301516137b660a084018215159052565b5060c08301516137ca60c084018215159052565b5092915050565b81516001600160401b03168152602082015160c0820190600481106137f8576137f86131b8565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061385482845161368a565b6020830151613866604084018261368a565b506040830151613879608084018261368a565b50606083015161388c60c084018261368a565b5060808301516138a061010084018261368a565b5060a08301516138b461014084018261368a565b5060c08301516137ca61018084018261368a565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152610eaf60808401826134fe565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613946606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c08401526139836101008401826134fe565b905060c0840151601f198483030160e08501526135e182826134fe565b602081526139ba6020820183516001600160601b03169052565b5f60208301516139d560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613aec6102208401826134fe565b90506101e0840151601f19848303016102008501526135e182826134fe565b60208152613b256020820183516001600160a01b03169052565b5f6020830151613b4060408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613bca6101608401826134fe565b9050610120840151601f19848303016101408501526135e182826134fe565b5f8060408385031215613bfa575f80fd5b823561316681612feb565b81516001600160601b0316815261024081016020830151613c3160208401826001600160601b03169052565b506040830151613c4c60408401826001600160601b03169052565b506060830151613c6760608401826001600160601b03169052565b506080830151613c8260808401826001600160601b03169052565b5060a0830151613c9d60a08401826001600160601b03169052565b5060c0830151613cb860c08401826001600160601b03169052565b5060e0830151613cd360e08401826001600160601b03169052565b50610100830151613cf06101008401826001600160601b03169052565b50610120830151613d0d6101208401826001600160601b03169052565b50610140830151613d2a6101408401826001600160601b03169052565b50610160830151613d476101608401826001600160601b03169052565b50610180830151613d646101808401826001600160601b03169052565b506101a0830151613d816101a08401826001600160601b03169052565b506101c0830151613d9e6101c08401826001600160601b03169052565b506101e0830151613dbb6101e08401826001600160601b03169052565b50610200830151613dd86102008401826001600160601b03169052565b506102208301516137ca6102208401826001600160601b03169052565b62ffffff81168114612fcd575f80fd5b5f8060408385031215613e16575f80fd5b8235613e2181613104565b9150602083013561313f81613df5565b5f8060408385031215613e42575f80fd5b8235613e4d81612fb9565b9150602083013561313f816134ce565b602081525f825160606020840152613e7860808401826134fe565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506135e182826134fe565b64ffffffffff81168114612fcd575f80fd5b5f8060408385031215613ece575f80fd5b8235613ed981612fb9565b9150602083013561313f81613eab565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152610eaf60c08401826134fe565b60208152613f616020820183516001600160601b03169052565b5f6020830151613f7c60408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152613fcc6101208401826134fe565b905060c0840151601f198483030160e0850152613fe982826134fe565b91505060e0840151601f19848303016101008501526135e182826134fe565b805161401381612fb9565b919050565b5f60208284031215614028575f80fd5b8151610f4f81612fb9565b5f60208284031215614043575f80fd5b5051919050565b60ff81168114612fcd575f80fd5b80516140138161404a565b5f60208284031215614073575f80fd5b8151610f4f8161404a565b80518015158114614013575f80fd5b5f82601f83011261409c575f80fd5b81516001600160401b038111156140b5576140b5613258565b8060051b6140c5602082016133a8565b918252602081850181019290810190868411156140e0575f80fd5b6020860192505b8383101561410b5782516140fa81612fb9565b8252602092830192909101906140e7565b9695505050505050565b5f60208284031215614125575f80fd5b81516001600160401b0381111561413a575f80fd5b8201610100818503121561414c575f80fd5b61415461326c565b61415d8261407e565b815261416b6020830161407e565b602082015261417c6040830161407e565b604082015261418d60608301614058565b606082015261419e60808301614058565b60808201526141af60a08301614008565b60a08201526141c060c08301614008565b60c082015260e08201516001600160401b038111156141dd575f80fd5b6141e98682850161408d565b60e083015250949350505050565b8051614013816134ce565b5f60208284031215614212575f80fd5b8151610f4f816134ce565b805161401381613eab565b5f6080828403128015614239575f80fd5b50614242613295565b82518152602083015160078110614257575f80fd5b6020820152604083015161426a81612feb565b6040820152606083015161427d81613eab565b60608201529392505050565b805161401381613189565b5f602082840312156142a4575f80fd5b8151610f4f81613189565b63ffffffff60e01b83168152604060208201525f610eaf60408301846134fe565b5f606082840312156142e0575f80fd5b6142e86132b7565b8251815260208301519091506142fd81613243565b6020820152604082015161431081613eab565b604082015292915050565b5f6060828403121561432b575f80fd5b610f4f83836142d0565b63ffffffff81168114612fcd575f80fd5b805161401381614335565b5f82601f830112614360575f80fd5b8151602083015f61437361341b846133d8565b9050828152858383011115614386575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156143b0575f80fd5b81516001600160401b038111156143c5575f80fd5b820161010081850312156143d7575f80fd5b6143df61326c565b6143e882614008565b81526143f660208301614008565b602082015261440760408301614346565b604082015261441860608301614346565b606082015261442960808301614289565b608082015261443a60a0830161421d565b60a082015260c08201516001600160401b03811115614457575f80fd5b61446386828501614351565b60c08301525060e08201516001600160401b03811115614481575f80fd5b6141e986828501614351565b5f806080838503121561449e575f80fd5b6144a884846142d0565b9150606083015161313f81612feb565b5f602082840312156144c8575f80fd5b81516001600160401b038111156144dd575f80fd5b8201608081850312156144ee575f80fd5b6144f6613295565b8151614501816134ce565b815261450f6020830161407e565b6020820152604082015161452281614335565b604082015260608201516001600160401b0381111561453f575f80fd5b61454b86828501614351565b606083015250949350505050565b6001600160601b0383168152604060208201525f610eaf60408301846134fe565b5f6020828403121561458a575f80fd5b8151610f4f81612feb565b5f604082840312156145a5575f80fd5b604080519081016001600160401b03811182821017156145c7576145c7613258565b806040525080915082516145da81613189565b815260208301516145ea81612fb9565b6020919091015292915050565b5f60208284031215614607575f80fd5b81516001600160401b0381111561461c575f80fd5b820160e0818503121561462d575f80fd5b6146356132d9565b815161464081613eab565b8152602082015161465081613eab565b60208201526146616040830161421d565b604082015261467260608301614008565b60608201526146848560808401614595565b608082015260c08201516001600160401b038111156146a1575f80fd5b6146ad86828501614351565b60a083015250949350505050565b5f602082840312156146cb575f80fd5b610f4f8261407e565b5f60e08284031280156146e5575f80fd5b506146ee6132fb565b82516146f981612fb9565b8152602083015161470981613189565b6020820152604083015161471c81613189565b604082015261472d6060840161407e565b606082015261473e6080840161407e565b608082015261474f60a0840161407e565b60a082015261476060c0840161407e565b60c08201529392505050565b5f60c082840312801561477d575f80fd5b506147866132d9565b825161479181612feb565b81526020830151600481106147a4575f80fd5b602082015260408301516147b781614335565b604082015260608301516147ca81613eab565b60608201526147db6080840161421d565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015614805575f80fd5b5061480e6132fb565b6148188484614595565b81526148278460408501614595565b60208201526148398460808501614595565b604082015261484b8460c08501614595565b606082015261485e846101008501614595565b6080820152614871846101408501614595565b60a0820152614760846101808501614595565b5f60208284031215614894575f80fd5b81516001600160401b038111156148a9575f80fd5b8201606081850312156148ba575f80fd5b6148c26132b7565b81516148cd81612fb9565b815260208201516148dd81613eab565b602082015260408201516001600160401b038111156148fa575f80fd5b61490686828501614351565b604083015250949350505050565b5f60208284031215614924575f80fd5b81516001600160401b03811115614939575f80fd5b82016060818503121561494a575f80fd5b6149526132b7565b81516001600160401b03811115614967575f80fd5b61497386828501614351565b82525060208201516148dd81613189565b5f6080828403128015614995575f80fd5b5061499e613295565b82516149a98161404a565b815260208301516149b98161404a565b602082015260408301516149cc81614335565b6040820152606083015161427d81614335565b805161401381613df5565b5f602082840312156149fa575f80fd5b81516001600160401b03811115614a0f575f80fd5b820160e08185031215614a20575f80fd5b614a286132fb565b614a3182614008565b8152614a3f60208301614008565b6020820152614a506040830161421d565b6040820152614a61606083016149df565b6060820152614a72608083016149df565b608082015260a08201516001600160401b03811115614a8f575f80fd5b614a9b86828501614351565b60a08301525060c08201516001600160401b03811115614ab9575f80fd5b614ac586828501614351565b60c083015250949350505050565b5f8060408385031215614ae4575f80fd5b8251614aef81613189565b602084015190925061313f8161404a565b805161401381613104565b5f60208284031215614b1b575f80fd5b81516001600160401b03811115614b30575f80fd5b82016102008185031215614b42575f80fd5b614b4a61331d565b614b5382614008565b8152614b6160208301614008565b6020820152614b72604083016141f7565b6040820152614b8360608301614008565b6060820152614b9460808301614008565b6080820152614ba560a083016141f7565b60a0820152614bb660c08301614b00565b60c0820152614bc760e08301614b00565b60e0820152614bd96101008301614008565b610100820152614bec6101208301614008565b610120820152614bff610140830161421d565b610140820152614c12610160830161421d565b610160820152614c25610180830161421d565b610180820152614c386101a0830161421d565b6101a08201526101c08201516001600160401b03811115614c57575f80fd5b614c6386828501614351565b6101c0830152506101e08201516001600160401b03811115614c83575f80fd5b614c8f86828501614351565b6101e083015250949350505050565b5f60208284031215614cae575f80fd5b81516001600160401b03811115614cc3575f80fd5b82016101408185031215614cd5575f80fd5b614cdd613340565b614ce682614289565b8152614cf460208301614008565b6020820152614d0560408301614289565b6040820152614d1660608301614346565b6060820152614d276080830161421d565b6080820152614d3860a0830161407e565b60a0820152614d4960c0830161407e565b60c0820152614d5a60e08301614289565b60e08201526101008201516001600160401b03811115614d78575f80fd5b614d8486828501614351565b610100830152506101208201516001600160401b03811115614da4575f80fd5b614db086828501614351565b61012083015250949350505050565b5f610240828403128015614dd1575f80fd5b50614dda613363565b614de383614008565b8152614df160208401614008565b6020820152614e0260408401614008565b6040820152614e1360608401614008565b6060820152614e2460808401614008565b6080820152614e3560a08401614008565b60a0820152614e4660c08401614008565b60c0820152614e5760e08401614008565b60e0820152614e696101008401614008565b610100820152614e7c6101208401614008565b610120820152614e8f6101408401614008565b610140820152614ea26101608401614008565b610160820152614eb56101808401614008565b610180820152614ec86101a08401614008565b6101a0820152614edb6101c08401614008565b6101c0820152614eee6101e08401614008565b6101e0820152614f016102008401614008565b610200820152614f146102208401614008565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610ccf57610ccf614f21565b5f60208284031215614f60575f80fd5b8151610f4f81613eab565b80820180821115610ccf57610ccf614f21565b5f60208284031215614f8e575f80fd5b8151610f4f81613104565b5f60208284031215614fa9575f80fd5b81516001600160401b03811115614fbe575f80fd5b820160a08185031215614fcf575f80fd5b614fd7613386565b8151614fe281613104565b81526020820151614ff281612fb9565b6020820152604082015161500581613eab565b6040820152606082015161501881613189565b606082015260808201516001600160401b03811115615035575f80fd5b61504186828501614351565b608083015250949350505050565b5f6020828403121561505f575f80fd5b81516001600160401b03811115615074575f80fd5b82016101008185031215615086575f80fd5b61508e61326c565b61509782614008565b81526150a560208301614008565b60208201526150b66040830161407e565b60408201526150c76060830161421d565b60608201526150d86080830161421d565b608082015260a08201516001600160401b038111156150f5575f80fd5b61510186828501614351565b60a08301525060c08201516001600160401b03811115614457575f80fd5b5f6020828403121561512f575f80fd5b81516001600160401b03811115615144575f80fd5b610eaf8482850161435156fea2646970667358221220fb669c9e1a17d975938a04095affe64943fd62325d30e4ec0d5c95d64d6ab9ba64736f6c634300081a0033",
1214
2338
  "linkReferences": {
1215
- "contracts/types/DistributorType.sol": {
2339
+ "contracts/authorization/AccessAdminLib.sol": {
2340
+ "AccessAdminLib": [
2341
+ {
2342
+ "length": 20,
2343
+ "start": 4380
2344
+ }
2345
+ ]
2346
+ },
2347
+ "contracts/product/PolicyServiceLib.sol": {
2348
+ "PolicyServiceLib": [
2349
+ {
2350
+ "length": 20,
2351
+ "start": 9320
2352
+ }
2353
+ ]
2354
+ },
2355
+ "contracts/type/Amount.sol": {
2356
+ "AmountLib": [
2357
+ {
2358
+ "length": 20,
2359
+ "start": 11642
2360
+ }
2361
+ ]
2362
+ },
2363
+ "contracts/type/ClaimId.sol": {
2364
+ "ClaimIdLib": [
2365
+ {
2366
+ "length": 20,
2367
+ "start": 7880
2368
+ },
2369
+ {
2370
+ "length": 20,
2371
+ "start": 8828
2372
+ },
2373
+ {
2374
+ "length": 20,
2375
+ "start": 10956
2376
+ }
2377
+ ]
2378
+ },
2379
+ "contracts/type/DistributorType.sol": {
1216
2380
  "DistributorTypeLib": [
1217
2381
  {
1218
2382
  "length": 20,
1219
- "start": 6778
2383
+ "start": 9909
1220
2384
  }
1221
2385
  ]
1222
2386
  },
1223
- "contracts/types/NftId.sol": {
2387
+ "contracts/type/NftId.sol": {
1224
2388
  "NftIdLib": [
1225
2389
  {
1226
2390
  "length": 20,
1227
- "start": 289
2391
+ "start": 3613
2392
+ },
2393
+ {
2394
+ "length": 20,
2395
+ "start": 5013
1228
2396
  },
1229
2397
  {
1230
2398
  "length": 20,
1231
- "start": 3430
2399
+ "start": 6198
1232
2400
  },
1233
2401
  {
1234
2402
  "length": 20,
1235
- "start": 3776
2403
+ "start": 7587
1236
2404
  },
1237
2405
  {
1238
2406
  "length": 20,
1239
- "start": 4451
2407
+ "start": 11701
1240
2408
  },
1241
2409
  {
1242
2410
  "length": 20,
1243
- "start": 4496
2411
+ "start": 11793
1244
2412
  },
1245
2413
  {
1246
2414
  "length": 20,
1247
- "start": 4541
2415
+ "start": 11837
1248
2416
  },
1249
2417
  {
1250
2418
  "length": 20,
1251
- "start": 7005
2419
+ "start": 11881
2420
+ }
2421
+ ]
2422
+ },
2423
+ "contracts/type/PayoutId.sol": {
2424
+ "PayoutIdLib": [
2425
+ {
2426
+ "length": 20,
2427
+ "start": 10520
1252
2428
  },
1253
2429
  {
1254
2430
  "length": 20,
1255
- "start": 7260
2431
+ "start": 10855
1256
2432
  },
1257
2433
  {
1258
2434
  "length": 20,
1259
- "start": 8132
2435
+ "start": 11246
1260
2436
  }
1261
2437
  ]
1262
2438
  },
1263
- "contracts/types/Referral.sol": {
2439
+ "contracts/type/Referral.sol": {
1264
2440
  "ReferralLib": [
1265
2441
  {
1266
2442
  "length": 20,
1267
- "start": 3197
2443
+ "start": 4570
1268
2444
  },
1269
2445
  {
1270
2446
  "length": 20,
1271
- "start": 3835
2447
+ "start": 5511
1272
2448
  }
1273
2449
  ]
1274
2450
  },
1275
- "contracts/types/RiskId.sol": {
1276
- "RiskIdLib": [
2451
+ "contracts/type/RequestId.sol": {
2452
+ "RequestIdLib": [
1277
2453
  {
1278
2454
  "length": 20,
1279
- "start": 4656
2455
+ "start": 11410
1280
2456
  }
1281
2457
  ]
1282
2458
  },
1283
- "contracts/types/Timestamp.sol": {
1284
- "TimestampLib": [
2459
+ "contracts/type/RiskId.sol": {
2460
+ "RiskIdLib": [
1285
2461
  {
1286
2462
  "length": 20,
1287
- "start": 5715
2463
+ "start": 8319
1288
2464
  },
1289
2465
  {
1290
2466
  "length": 20,
1291
- "start": 5946
2467
+ "start": 11105
2468
+ }
2469
+ ]
2470
+ },
2471
+ "contracts/type/RoleId.sol": {
2472
+ "RoleIdLib": [
2473
+ {
2474
+ "length": 20,
2475
+ "start": 11946
1292
2476
  }
1293
2477
  ]
1294
2478
  },
1295
- "contracts/types/UFixed.sol": {
2479
+ "contracts/type/UFixed.sol": {
1296
2480
  "UFixedLib": [
1297
2481
  {
1298
2482
  "length": 20,
1299
- "start": 2987
2483
+ "start": 4200
1300
2484
  },
1301
2485
  {
1302
2486
  "length": 20,
1303
- "start": 3967
1304
- },
2487
+ "start": 10273
2488
+ }
2489
+ ]
2490
+ }
2491
+ },
2492
+ "deployedLinkReferences": {
2493
+ "contracts/authorization/AccessAdminLib.sol": {
2494
+ "AccessAdminLib": [
2495
+ {
2496
+ "length": 20,
2497
+ "start": 4343
2498
+ }
2499
+ ]
2500
+ },
2501
+ "contracts/product/PolicyServiceLib.sol": {
2502
+ "PolicyServiceLib": [
2503
+ {
2504
+ "length": 20,
2505
+ "start": 9283
2506
+ }
2507
+ ]
2508
+ },
2509
+ "contracts/type/Amount.sol": {
2510
+ "AmountLib": [
1305
2511
  {
1306
2512
  "length": 20,
1307
- "start": 5816
2513
+ "start": 11605
2514
+ }
2515
+ ]
2516
+ },
2517
+ "contracts/type/ClaimId.sol": {
2518
+ "ClaimIdLib": [
2519
+ {
2520
+ "length": 20,
2521
+ "start": 7843
1308
2522
  },
1309
2523
  {
1310
2524
  "length": 20,
1311
- "start": 6075
2525
+ "start": 8791
1312
2526
  },
1313
2527
  {
1314
2528
  "length": 20,
1315
- "start": 6218
2529
+ "start": 10919
1316
2530
  }
1317
2531
  ]
1318
- }
1319
- },
1320
- "deployedLinkReferences": {
1321
- "contracts/types/DistributorType.sol": {
2532
+ },
2533
+ "contracts/type/DistributorType.sol": {
1322
2534
  "DistributorTypeLib": [
1323
2535
  {
1324
2536
  "length": 20,
1325
- "start": 5237
2537
+ "start": 9872
1326
2538
  }
1327
2539
  ]
1328
2540
  },
1329
- "contracts/types/NftId.sol": {
2541
+ "contracts/type/NftId.sol": {
1330
2542
  "NftIdLib": [
1331
2543
  {
1332
2544
  "length": 20,
1333
- "start": 1889
2545
+ "start": 3576
1334
2546
  },
1335
2547
  {
1336
2548
  "length": 20,
1337
- "start": 2235
2549
+ "start": 4976
1338
2550
  },
1339
2551
  {
1340
2552
  "length": 20,
1341
- "start": 2910
2553
+ "start": 6161
1342
2554
  },
1343
2555
  {
1344
2556
  "length": 20,
1345
- "start": 2955
2557
+ "start": 7550
1346
2558
  },
1347
2559
  {
1348
2560
  "length": 20,
1349
- "start": 3000
2561
+ "start": 11664
1350
2562
  },
1351
2563
  {
1352
2564
  "length": 20,
1353
- "start": 5464
2565
+ "start": 11756
1354
2566
  },
1355
2567
  {
1356
2568
  "length": 20,
1357
- "start": 5719
2569
+ "start": 11800
1358
2570
  },
1359
2571
  {
1360
2572
  "length": 20,
1361
- "start": 6591
2573
+ "start": 11844
1362
2574
  }
1363
2575
  ]
1364
2576
  },
1365
- "contracts/types/Referral.sol": {
1366
- "ReferralLib": [
2577
+ "contracts/type/PayoutId.sol": {
2578
+ "PayoutIdLib": [
1367
2579
  {
1368
2580
  "length": 20,
1369
- "start": 1656
2581
+ "start": 10483
1370
2582
  },
1371
2583
  {
1372
2584
  "length": 20,
1373
- "start": 2294
1374
- }
1375
- ]
1376
- },
1377
- "contracts/types/RiskId.sol": {
1378
- "RiskIdLib": [
2585
+ "start": 10818
2586
+ },
1379
2587
  {
1380
2588
  "length": 20,
1381
- "start": 3115
2589
+ "start": 11209
1382
2590
  }
1383
2591
  ]
1384
2592
  },
1385
- "contracts/types/Timestamp.sol": {
1386
- "TimestampLib": [
2593
+ "contracts/type/Referral.sol": {
2594
+ "ReferralLib": [
1387
2595
  {
1388
2596
  "length": 20,
1389
- "start": 4174
2597
+ "start": 4533
1390
2598
  },
1391
2599
  {
1392
2600
  "length": 20,
1393
- "start": 4405
2601
+ "start": 5474
1394
2602
  }
1395
2603
  ]
1396
2604
  },
1397
- "contracts/types/UFixed.sol": {
1398
- "UFixedLib": [
2605
+ "contracts/type/RequestId.sol": {
2606
+ "RequestIdLib": [
1399
2607
  {
1400
2608
  "length": 20,
1401
- "start": 1446
1402
- },
2609
+ "start": 11373
2610
+ }
2611
+ ]
2612
+ },
2613
+ "contracts/type/RiskId.sol": {
2614
+ "RiskIdLib": [
1403
2615
  {
1404
2616
  "length": 20,
1405
- "start": 2426
2617
+ "start": 8282
1406
2618
  },
1407
2619
  {
1408
2620
  "length": 20,
1409
- "start": 4275
1410
- },
2621
+ "start": 11068
2622
+ }
2623
+ ]
2624
+ },
2625
+ "contracts/type/RoleId.sol": {
2626
+ "RoleIdLib": [
2627
+ {
2628
+ "length": 20,
2629
+ "start": 11909
2630
+ }
2631
+ ]
2632
+ },
2633
+ "contracts/type/UFixed.sol": {
2634
+ "UFixedLib": [
1411
2635
  {
1412
2636
  "length": 20,
1413
- "start": 4534
2637
+ "start": 4163
1414
2638
  },
1415
2639
  {
1416
2640
  "length": 20,
1417
- "start": 4677
2641
+ "start": 10236
1418
2642
  }
1419
2643
  ]
1420
2644
  }