@etherisc/gif-next 0.0.2-eadf4ad-726 → 0.0.2-eae585a-625

Sign up to get free protection for your applications and to get access to all the features.
Files changed (597) hide show
  1. package/README.md +139 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -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 +1244 -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 +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +174 -601
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +786 -533
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +239 -128
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
  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 +1484 -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 +2053 -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 +1439 -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 +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -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 +2585 -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/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +332 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +604 -92
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +532 -56
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +657 -257
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1833 -761
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +552 -193
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +171 -94
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1548 -1017
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1539 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +233 -102
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  144. package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +232 -113
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +192 -89
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +214 -115
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +198 -123
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +196 -109
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  186. package/artifacts/contracts/product/Product.sol/Product.json +428 -509
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +456 -51
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +177 -65
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +962 -174
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +242 -196
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -90
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -125
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  222. package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +129 -135
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  241. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +89 -20
  243. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  244. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  251. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +575 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -90
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +732 -108
  284. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  285. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +818 -241
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +182 -83
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  300. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
  310. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  364. package/contracts/accounting/AccountingService.sol +274 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +47 -0
  367. package/contracts/authorization/AccessAdmin.sol +780 -0
  368. package/contracts/authorization/AccessAdminLib.sol +396 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +169 -0
  371. package/contracts/authorization/IAccess.sol +67 -0
  372. package/contracts/authorization/IAccessAdmin.sol +144 -0
  373. package/contracts/authorization/IAuthorization.sol +26 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  378. package/contracts/distribution/Distribution.sol +137 -175
  379. package/contracts/distribution/DistributionService.sol +313 -216
  380. package/contracts/distribution/DistributionServiceManager.sol +8 -23
  381. package/contracts/distribution/IDistributionComponent.sol +23 -49
  382. package/contracts/distribution/IDistributionService.sol +61 -33
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BaseStore.sol +93 -0
  397. package/contracts/instance/BundleSet.sol +130 -0
  398. package/contracts/instance/IBaseStore.sol +37 -0
  399. package/contracts/instance/IInstance.sol +128 -49
  400. package/contracts/instance/IInstanceService.sol +83 -37
  401. package/contracts/instance/Instance.sol +254 -132
  402. package/contracts/instance/InstanceAdmin.sol +379 -0
  403. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  404. package/contracts/instance/InstanceReader.sol +507 -241
  405. package/contracts/instance/InstanceService.sol +418 -205
  406. package/contracts/instance/InstanceServiceManager.sol +8 -13
  407. package/contracts/instance/InstanceStore.sol +146 -89
  408. package/contracts/instance/ProductStore.sol +119 -0
  409. package/contracts/instance/RiskSet.sol +126 -0
  410. package/contracts/instance/TargetNames.sol +10 -0
  411. package/contracts/instance/base/BalanceStore.sol +121 -0
  412. package/contracts/instance/base/Cloneable.sol +2 -25
  413. package/contracts/instance/base/ObjectCounter.sol +20 -0
  414. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  415. package/contracts/instance/base/ObjectSet.sol +77 -0
  416. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  417. package/contracts/instance/module/IBundle.sol +6 -8
  418. package/contracts/instance/module/IComponents.sol +40 -19
  419. package/contracts/instance/module/IDistribution.sol +21 -9
  420. package/contracts/instance/module/IPolicy.sol +57 -30
  421. package/contracts/instance/module/IRisk.sol +5 -0
  422. package/contracts/mock/Dip.sol +26 -0
  423. package/contracts/oracle/BasicOracle.sol +45 -0
  424. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  425. package/contracts/oracle/IOracle.sol +41 -0
  426. package/contracts/oracle/IOracleComponent.sol +33 -0
  427. package/contracts/oracle/IOracleService.sol +66 -0
  428. package/contracts/oracle/Oracle.sol +154 -0
  429. package/contracts/oracle/OracleService.sol +310 -0
  430. package/contracts/oracle/OracleServiceManager.sol +39 -0
  431. package/contracts/pool/BasicPool.sol +162 -0
  432. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  433. package/contracts/pool/BundleService.sol +248 -246
  434. package/contracts/pool/BundleServiceManager.sol +8 -11
  435. package/contracts/pool/IBundleService.sol +47 -49
  436. package/contracts/pool/IPoolComponent.sol +23 -75
  437. package/contracts/pool/IPoolService.sol +112 -56
  438. package/contracts/pool/Pool.sol +200 -169
  439. package/contracts/pool/PoolLib.sol +341 -0
  440. package/contracts/pool/PoolService.sol +477 -267
  441. package/contracts/pool/PoolServiceManager.sol +6 -9
  442. package/contracts/product/ApplicationService.sol +222 -82
  443. package/contracts/product/ApplicationServiceManager.sol +6 -6
  444. package/contracts/product/BasicProduct.sol +49 -0
  445. package/contracts/product/BasicProductAuthorization.sol +63 -0
  446. package/contracts/product/ClaimService.sol +397 -214
  447. package/contracts/product/ClaimServiceManager.sol +6 -6
  448. package/contracts/product/IApplicationService.sol +30 -4
  449. package/contracts/product/IClaimService.sol +52 -9
  450. package/contracts/product/IPolicyService.sol +62 -40
  451. package/contracts/product/IPricingService.sol +14 -11
  452. package/contracts/product/IProductComponent.sol +31 -10
  453. package/contracts/product/IRiskService.sol +48 -0
  454. package/contracts/product/PolicyService.sol +504 -237
  455. package/contracts/product/PolicyServiceLib.sol +139 -0
  456. package/contracts/product/PolicyServiceManager.sol +6 -9
  457. package/contracts/product/PricingService.sol +132 -102
  458. package/contracts/product/PricingServiceManager.sol +6 -9
  459. package/contracts/product/Product.sol +267 -153
  460. package/contracts/product/RiskService.sol +190 -0
  461. package/contracts/product/RiskServiceManager.sol +39 -0
  462. package/contracts/registry/ChainNft.sol +79 -40
  463. package/contracts/registry/IRegistry.sol +98 -34
  464. package/contracts/registry/IRegistryService.sol +10 -6
  465. package/contracts/registry/IRelease.sol +29 -0
  466. package/contracts/registry/ITransferInterceptor.sol +1 -2
  467. package/contracts/registry/Registry.sol +457 -192
  468. package/contracts/registry/RegistryAdmin.sol +191 -0
  469. package/contracts/registry/RegistryAuthorization.sol +336 -0
  470. package/contracts/registry/RegistryService.sol +77 -67
  471. package/contracts/registry/RegistryServiceManager.sol +6 -25
  472. package/contracts/registry/ReleaseAdmin.sol +195 -0
  473. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  474. package/contracts/registry/ReleaseRegistry.sol +525 -0
  475. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  476. package/contracts/registry/TokenRegistry.sol +264 -63
  477. package/contracts/shared/Component.sol +126 -183
  478. package/contracts/shared/ComponentService.sol +639 -93
  479. package/contracts/shared/ComponentServiceManager.sol +38 -0
  480. package/contracts/shared/ContractLib.sol +312 -0
  481. package/contracts/shared/IComponent.sol +18 -50
  482. package/contracts/shared/IComponentService.sol +111 -0
  483. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  484. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -6
  485. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  486. package/contracts/shared/INftOwnable.sol +5 -1
  487. package/contracts/shared/IPolicyHolder.sol +12 -17
  488. package/contracts/shared/IRegisterable.sol +22 -1
  489. package/contracts/shared/IService.sol +11 -6
  490. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  491. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  492. package/contracts/shared/KeyValueStore.sol +131 -0
  493. package/contracts/shared/Lifecycle.sol +88 -0
  494. package/contracts/shared/NftIdSet.sol +65 -0
  495. package/contracts/shared/NftOwnable.sol +35 -24
  496. package/contracts/shared/PolicyHolder.sol +19 -50
  497. package/contracts/shared/Registerable.sol +54 -23
  498. package/contracts/shared/RegistryLinked.sol +9 -14
  499. package/contracts/shared/Service.sol +36 -41
  500. package/contracts/shared/TokenHandler.sol +320 -13
  501. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  502. package/contracts/staking/IStaking.sol +367 -0
  503. package/contracts/staking/IStakingService.sol +106 -81
  504. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  505. package/contracts/staking/Staking.sol +798 -0
  506. package/contracts/staking/StakingLib.sol +195 -0
  507. package/contracts/staking/StakingManager.sol +53 -0
  508. package/contracts/staking/StakingReader.sol +171 -0
  509. package/contracts/staking/StakingService.sol +208 -56
  510. package/contracts/staking/StakingServiceManager.sol +14 -8
  511. package/contracts/staking/StakingStore.sol +1368 -0
  512. package/contracts/staking/TargetHandler.sol +132 -0
  513. package/contracts/staking/TargetManagerLib.sol +234 -0
  514. package/contracts/type/AddressSet.sol +1 -1
  515. package/contracts/type/Amount.sol +48 -3
  516. package/contracts/type/Blocknumber.sol +36 -13
  517. package/contracts/type/ChainId.sol +101 -0
  518. package/contracts/type/ClaimId.sol +6 -1
  519. package/contracts/type/Fee.sol +22 -21
  520. package/contracts/type/Key32.sol +2 -2
  521. package/contracts/type/Key32Set.sol +62 -0
  522. package/contracts/type/NftId.sol +21 -16
  523. package/contracts/type/NftIdSet.sol +1 -1
  524. package/contracts/type/ObjectType.sol +204 -59
  525. package/contracts/type/PayoutId.sol +10 -10
  526. package/contracts/type/Referral.sol +2 -1
  527. package/contracts/type/RequestId.sol +75 -0
  528. package/contracts/type/RiskId.sol +39 -7
  529. package/contracts/type/RoleId.sol +122 -81
  530. package/contracts/type/Seconds.sol +67 -1
  531. package/contracts/type/Selector.sol +107 -0
  532. package/contracts/type/StateId.sol +41 -2
  533. package/contracts/type/String.sol +65 -0
  534. package/contracts/type/Timestamp.sol +20 -9
  535. package/contracts/type/UFixed.sol +62 -125
  536. package/contracts/type/Version.sol +58 -7
  537. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  538. package/contracts/{shared → upgradeability}/ProxyManager.sol +101 -50
  539. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  540. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  541. package/package.json +12 -8
  542. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  543. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  544. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  546. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  547. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  548. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  552. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  553. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  554. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  555. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  556. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  557. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  558. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  560. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  561. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  562. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  563. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  564. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  565. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -679
  566. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  567. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
  568. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  569. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
  570. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  571. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  572. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  573. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  574. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  575. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  576. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
  577. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  578. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  579. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  580. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  581. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  582. package/contracts/instance/BundleManager.sol +0 -126
  583. package/contracts/instance/InstanceAccessManager.sol +0 -543
  584. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  585. package/contracts/instance/base/KeyValueStore.sol +0 -169
  586. package/contracts/instance/base/Lifecycle.sol +0 -121
  587. package/contracts/instance/base/ObjectManager.sol +0 -82
  588. package/contracts/instance/module/IAccess.sol +0 -54
  589. package/contracts/instance/module/ISetup.sol +0 -33
  590. package/contracts/instance/module/ITreasury.sol +0 -23
  591. package/contracts/product/IProductService.sol +0 -40
  592. package/contracts/product/ProductService.sol +0 -212
  593. package/contracts/product/ProductServiceManager.sol +0 -42
  594. package/contracts/registry/RegistryAccessManager.sol +0 -132
  595. package/contracts/registry/ReleaseManager.sol +0 -382
  596. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  597. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -17,75 +17,16 @@
17
17
  "inputs": [
18
18
  {
19
19
  "internalType": "NftId",
20
- "name": "bundleNftId",
20
+ "name": "poolNftId",
21
21
  "type": "uint96"
22
22
  }
23
23
  ],
24
- "name": "getBundleInfo",
24
+ "name": "activeBundles",
25
25
  "outputs": [
26
26
  {
27
- "components": [
28
- {
29
- "internalType": "NftId",
30
- "name": "poolNftId",
31
- "type": "uint96"
32
- },
33
- {
34
- "components": [
35
- {
36
- "internalType": "UFixed",
37
- "name": "fractionalFee",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "uint256",
42
- "name": "fixedFee",
43
- "type": "uint256"
44
- }
45
- ],
46
- "internalType": "struct Fee",
47
- "name": "fee",
48
- "type": "tuple"
49
- },
50
- {
51
- "internalType": "bytes",
52
- "name": "filter",
53
- "type": "bytes"
54
- },
55
- {
56
- "internalType": "Amount",
57
- "name": "capitalAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Amount",
62
- "name": "lockedAmount",
63
- "type": "uint96"
64
- },
65
- {
66
- "internalType": "Amount",
67
- "name": "feeAmount",
68
- "type": "uint96"
69
- },
70
- {
71
- "internalType": "Seconds",
72
- "name": "lifetime",
73
- "type": "uint40"
74
- },
75
- {
76
- "internalType": "Timestamp",
77
- "name": "expiredAt",
78
- "type": "uint40"
79
- },
80
- {
81
- "internalType": "Timestamp",
82
- "name": "closedAt",
83
- "type": "uint40"
84
- }
85
- ],
86
- "internalType": "struct IBundle.BundleInfo",
87
- "name": "info",
88
- "type": "tuple"
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
89
30
  }
90
31
  ],
91
32
  "stateMutability": "view",
@@ -95,58 +36,54 @@
95
36
  "inputs": [
96
37
  {
97
38
  "internalType": "NftId",
98
- "name": "policyNftId",
39
+ "name": "productNftId",
99
40
  "type": "uint96"
100
- },
41
+ }
42
+ ],
43
+ "name": "activeRisks",
44
+ "outputs": [
101
45
  {
102
- "internalType": "ClaimId",
103
- "name": "claimId",
104
- "type": "uint16"
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
105
49
  }
106
50
  ],
107
- "name": "getClaimInfo",
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "target",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "authorizedFunctions",
108
63
  "outputs": [
109
64
  {
110
- "components": [
111
- {
112
- "internalType": "Amount",
113
- "name": "claimAmount",
114
- "type": "uint96"
115
- },
116
- {
117
- "internalType": "Amount",
118
- "name": "paidAmount",
119
- "type": "uint96"
120
- },
121
- {
122
- "internalType": "uint8",
123
- "name": "payoutsCount",
124
- "type": "uint8"
125
- },
126
- {
127
- "internalType": "uint8",
128
- "name": "openPayoutsCount",
129
- "type": "uint8"
130
- },
131
- {
132
- "internalType": "bytes",
133
- "name": "submissionData",
134
- "type": "bytes"
135
- },
136
- {
137
- "internalType": "bytes",
138
- "name": "processData",
139
- "type": "bytes"
140
- },
141
- {
142
- "internalType": "Timestamp",
143
- "name": "closedAt",
144
- "type": "uint40"
145
- }
146
- ],
147
- "internalType": "struct IPolicy.ClaimInfo",
148
- "name": "info",
149
- "type": "tuple"
65
+ "internalType": "uint256",
66
+ "name": "numberOfFunctions",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
75
+ {
76
+ "internalType": "NftId",
77
+ "name": "poolNftId",
78
+ "type": "uint96"
79
+ }
80
+ ],
81
+ "name": "bundles",
82
+ "outputs": [
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "bundleCount",
86
+ "type": "uint256"
150
87
  }
151
88
  ],
152
89
  "stateMutability": "view",
@@ -158,19 +95,27 @@
158
95
  "internalType": "NftId",
159
96
  "name": "policyNftId",
160
97
  "type": "uint96"
161
- },
98
+ }
99
+ ],
100
+ "name": "claims",
101
+ "outputs": [
162
102
  {
163
- "internalType": "ClaimId",
164
- "name": "claimId",
103
+ "internalType": "uint16",
104
+ "name": "claimCount",
165
105
  "type": "uint16"
166
106
  }
167
107
  ],
168
- "name": "getClaimState",
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "components",
169
114
  "outputs": [
170
115
  {
171
- "internalType": "StateId",
172
- "name": "state",
173
- "type": "uint8"
116
+ "internalType": "uint256",
117
+ "name": "componentCount",
118
+ "type": "uint256"
174
119
  }
175
120
  ],
176
121
  "stateMutability": "view",
@@ -182,51 +127,89 @@
182
127
  "internalType": "NftId",
183
128
  "name": "poolNftId",
184
129
  "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "idx",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "getActiveBundleNftId",
138
+ "outputs": [
139
+ {
140
+ "internalType": "NftId",
141
+ "name": "bundleNftId",
142
+ "type": "uint96"
185
143
  }
186
144
  ],
187
- "name": "getComponentInfo",
145
+ "stateMutability": "view",
146
+ "type": "function"
147
+ },
148
+ {
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",
162
+ "outputs": [
163
+ {
164
+ "internalType": "RiskId",
165
+ "name": "riskId",
166
+ "type": "bytes8"
167
+ }
168
+ ],
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "idx",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "name": "getAuthorizedFunction",
188
186
  "outputs": [
189
187
  {
190
188
  "components": [
191
189
  {
192
- "internalType": "string",
190
+ "internalType": "Str",
193
191
  "name": "name",
194
- "type": "string"
195
- },
196
- {
197
- "internalType": "contract IERC20Metadata",
198
- "name": "token",
199
- "type": "address"
200
- },
201
- {
202
- "internalType": "contract TokenHandler",
203
- "name": "tokenHandler",
204
- "type": "address"
205
- },
206
- {
207
- "internalType": "address",
208
- "name": "wallet",
209
- "type": "address"
210
- },
211
- {
212
- "internalType": "Amount",
213
- "name": "balanceAmount",
214
- "type": "uint96"
192
+ "type": "bytes32"
215
193
  },
216
194
  {
217
- "internalType": "Amount",
218
- "name": "feeAmount",
219
- "type": "uint96"
195
+ "internalType": "Selector",
196
+ "name": "selector",
197
+ "type": "bytes4"
220
198
  },
221
199
  {
222
- "internalType": "bytes",
223
- "name": "data",
224
- "type": "bytes"
200
+ "internalType": "Timestamp",
201
+ "name": "createdAt",
202
+ "type": "uint40"
225
203
  }
226
204
  ],
227
- "internalType": "struct IComponents.ComponentInfo",
228
- "name": "info",
205
+ "internalType": "struct IAccess.FunctionInfo",
206
+ "name": "func",
229
207
  "type": "tuple"
208
+ },
209
+ {
210
+ "internalType": "RoleId",
211
+ "name": "roleId",
212
+ "type": "uint64"
230
213
  }
231
214
  ],
232
215
  "stateMutability": "view",
@@ -235,22 +218,17 @@
235
218
  {
236
219
  "inputs": [
237
220
  {
238
- "internalType": "ReferralId",
239
- "name": "referralId",
240
- "type": "bytes8"
221
+ "internalType": "NftId",
222
+ "name": "targetNftId",
223
+ "type": "uint96"
241
224
  }
242
225
  ],
243
- "name": "getDiscountPercentage",
226
+ "name": "getBalanceAmount",
244
227
  "outputs": [
245
228
  {
246
- "internalType": "UFixed",
247
- "name": "discountPercentage",
248
- "type": "uint256"
249
- },
250
- {
251
- "internalType": "ReferralStatus",
252
- "name": "status",
253
- "type": "uint8"
229
+ "internalType": "Amount",
230
+ "name": "",
231
+ "type": "uint96"
254
232
  }
255
233
  ],
256
234
  "stateMutability": "view",
@@ -260,70 +238,58 @@
260
238
  "inputs": [
261
239
  {
262
240
  "internalType": "NftId",
263
- "name": "distributionNftId",
241
+ "name": "bundleNftId",
264
242
  "type": "uint96"
265
243
  }
266
244
  ],
267
- "name": "getDistributionSetupInfo",
245
+ "name": "getBundleInfo",
268
246
  "outputs": [
269
247
  {
270
248
  "components": [
271
249
  {
272
- "internalType": "NftId",
273
- "name": "productNftId",
274
- "type": "uint96"
250
+ "internalType": "Timestamp",
251
+ "name": "activatedAt",
252
+ "type": "uint40"
275
253
  },
276
254
  {
277
- "internalType": "contract TokenHandler",
278
- "name": "tokenHandler",
279
- "type": "address"
255
+ "internalType": "Timestamp",
256
+ "name": "expiredAt",
257
+ "type": "uint40"
280
258
  },
281
259
  {
282
- "components": [
283
- {
284
- "internalType": "UFixed",
285
- "name": "fractionalFee",
286
- "type": "uint256"
287
- },
288
- {
289
- "internalType": "uint256",
290
- "name": "fixedFee",
291
- "type": "uint256"
292
- }
293
- ],
294
- "internalType": "struct Fee",
295
- "name": "minDistributionOwnerFee",
296
- "type": "tuple"
260
+ "internalType": "Timestamp",
261
+ "name": "closedAt",
262
+ "type": "uint40"
263
+ },
264
+ {
265
+ "internalType": "NftId",
266
+ "name": "poolNftId",
267
+ "type": "uint96"
297
268
  },
298
269
  {
299
270
  "components": [
300
271
  {
301
272
  "internalType": "UFixed",
302
273
  "name": "fractionalFee",
303
- "type": "uint256"
274
+ "type": "uint160"
304
275
  },
305
276
  {
306
- "internalType": "uint256",
277
+ "internalType": "Amount",
307
278
  "name": "fixedFee",
308
- "type": "uint256"
279
+ "type": "uint96"
309
280
  }
310
281
  ],
311
282
  "internalType": "struct Fee",
312
- "name": "distributionFee",
283
+ "name": "fee",
313
284
  "type": "tuple"
314
285
  },
315
286
  {
316
- "internalType": "address",
317
- "name": "wallet",
318
- "type": "address"
319
- },
320
- {
321
- "internalType": "uint256",
322
- "name": "sumDistributionOwnerFees",
323
- "type": "uint256"
287
+ "internalType": "bytes",
288
+ "name": "filter",
289
+ "type": "bytes"
324
290
  }
325
291
  ],
326
- "internalType": "struct ISetup.DistributionSetupInfo",
292
+ "internalType": "struct IBundle.BundleInfo",
327
293
  "name": "info",
328
294
  "type": "tuple"
329
295
  }
@@ -335,109 +301,21 @@
335
301
  "inputs": [
336
302
  {
337
303
  "internalType": "NftId",
338
- "name": "distributorNftId",
304
+ "name": "poolNftId",
339
305
  "type": "uint96"
340
- }
341
- ],
342
- "name": "getDistributorInfo",
343
- "outputs": [
344
- {
345
- "components": [
346
- {
347
- "internalType": "DistributorType",
348
- "name": "distributorType",
349
- "type": "bytes8"
350
- },
351
- {
352
- "internalType": "bool",
353
- "name": "active",
354
- "type": "bool"
355
- },
356
- {
357
- "internalType": "bytes",
358
- "name": "data",
359
- "type": "bytes"
360
- },
361
- {
362
- "internalType": "Amount",
363
- "name": "commissionAmount",
364
- "type": "uint96"
365
- },
366
- {
367
- "internalType": "uint32",
368
- "name": "numPoliciesSold",
369
- "type": "uint32"
370
- }
371
- ],
372
- "internalType": "struct IDistribution.DistributorInfo",
373
- "name": "info",
374
- "type": "tuple"
375
- }
376
- ],
377
- "stateMutability": "view",
378
- "type": "function"
379
- },
380
- {
381
- "inputs": [
306
+ },
382
307
  {
383
- "internalType": "DistributorType",
384
- "name": "distributorType",
385
- "type": "bytes8"
308
+ "internalType": "uint256",
309
+ "name": "idx",
310
+ "type": "uint256"
386
311
  }
387
312
  ],
388
- "name": "getDistributorTypeInfo",
313
+ "name": "getBundleNftId",
389
314
  "outputs": [
390
315
  {
391
- "components": [
392
- {
393
- "internalType": "string",
394
- "name": "name",
395
- "type": "string"
396
- },
397
- {
398
- "internalType": "UFixed",
399
- "name": "minDiscountPercentage",
400
- "type": "uint256"
401
- },
402
- {
403
- "internalType": "UFixed",
404
- "name": "maxDiscountPercentage",
405
- "type": "uint256"
406
- },
407
- {
408
- "internalType": "UFixed",
409
- "name": "commissionPercentage",
410
- "type": "uint256"
411
- },
412
- {
413
- "internalType": "uint32",
414
- "name": "maxReferralCount",
415
- "type": "uint32"
416
- },
417
- {
418
- "internalType": "uint32",
419
- "name": "maxReferralLifetime",
420
- "type": "uint32"
421
- },
422
- {
423
- "internalType": "bool",
424
- "name": "allowSelfReferrals",
425
- "type": "bool"
426
- },
427
- {
428
- "internalType": "bool",
429
- "name": "allowRenewals",
430
- "type": "bool"
431
- },
432
- {
433
- "internalType": "bytes",
434
- "name": "data",
435
- "type": "bytes"
436
- }
437
- ],
438
- "internalType": "struct IDistribution.DistributorTypeInfo",
439
- "name": "info",
440
- "type": "tuple"
316
+ "internalType": "NftId",
317
+ "name": "bundleNftId",
318
+ "type": "uint96"
441
319
  }
442
320
  ],
443
321
  "stateMutability": "view",
@@ -445,11 +323,11 @@
445
323
  },
446
324
  {
447
325
  "inputs": [],
448
- "name": "getInstance",
326
+ "name": "getBundleSet",
449
327
  "outputs": [
450
328
  {
451
- "internalType": "contract IInstance",
452
- "name": "instance",
329
+ "internalType": "contract BundleSet",
330
+ "name": "bundleSet",
453
331
  "type": "address"
454
332
  }
455
333
  ],
@@ -457,13 +335,19 @@
457
335
  "type": "function"
458
336
  },
459
337
  {
460
- "inputs": [],
461
- "name": "getInstanceStore",
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "bundleNftId",
342
+ "type": "uint96"
343
+ }
344
+ ],
345
+ "name": "getBundleState",
462
346
  "outputs": [
463
347
  {
464
- "internalType": "contract IKeyValueStore",
465
- "name": "store",
466
- "type": "address"
348
+ "internalType": "StateId",
349
+ "name": "state",
350
+ "type": "uint8"
467
351
  }
468
352
  ],
469
353
  "stateMutability": "view",
@@ -472,47 +356,20 @@
472
356
  {
473
357
  "inputs": [
474
358
  {
475
- "internalType": "Key32",
476
- "name": "key",
477
- "type": "bytes32"
359
+ "internalType": "uint256",
360
+ "name": "idx",
361
+ "type": "uint256"
478
362
  }
479
363
  ],
480
- "name": "getMetadata",
364
+ "name": "getClaimId",
481
365
  "outputs": [
482
366
  {
483
- "components": [
484
- {
485
- "internalType": "ObjectType",
486
- "name": "objectType",
487
- "type": "uint8"
488
- },
489
- {
490
- "internalType": "StateId",
491
- "name": "state",
492
- "type": "uint8"
493
- },
494
- {
495
- "internalType": "address",
496
- "name": "updatedBy",
497
- "type": "address"
498
- },
499
- {
500
- "internalType": "Blocknumber",
501
- "name": "updatedIn",
502
- "type": "uint32"
503
- },
504
- {
505
- "internalType": "Blocknumber",
506
- "name": "createdIn",
507
- "type": "uint32"
508
- }
509
- ],
510
- "internalType": "struct IKeyValueStore.Metadata",
511
- "name": "metadata",
512
- "type": "tuple"
367
+ "internalType": "ClaimId",
368
+ "name": "claimId",
369
+ "type": "uint16"
513
370
  }
514
371
  ],
515
- "stateMutability": "view",
372
+ "stateMutability": "pure",
516
373
  "type": "function"
517
374
  },
518
375
  {
@@ -523,37 +380,52 @@
523
380
  "type": "uint96"
524
381
  },
525
382
  {
526
- "internalType": "PayoutId",
527
- "name": "payoutId",
528
- "type": "uint24"
383
+ "internalType": "ClaimId",
384
+ "name": "claimId",
385
+ "type": "uint16"
529
386
  }
530
387
  ],
531
- "name": "getPayoutInfo",
388
+ "name": "getClaimInfo",
532
389
  "outputs": [
533
390
  {
534
391
  "components": [
535
392
  {
536
- "internalType": "ClaimId",
537
- "name": "claimId",
538
- "type": "uint16"
393
+ "internalType": "Amount",
394
+ "name": "claimAmount",
395
+ "type": "uint96"
539
396
  },
540
397
  {
541
398
  "internalType": "Amount",
542
- "name": "amount",
399
+ "name": "paidAmount",
543
400
  "type": "uint96"
544
401
  },
402
+ {
403
+ "internalType": "Timestamp",
404
+ "name": "closedAt",
405
+ "type": "uint40"
406
+ },
407
+ {
408
+ "internalType": "uint24",
409
+ "name": "payoutsCount",
410
+ "type": "uint24"
411
+ },
412
+ {
413
+ "internalType": "uint24",
414
+ "name": "openPayoutsCount",
415
+ "type": "uint24"
416
+ },
545
417
  {
546
418
  "internalType": "bytes",
547
- "name": "data",
419
+ "name": "submissionData",
548
420
  "type": "bytes"
549
421
  },
550
422
  {
551
- "internalType": "Timestamp",
552
- "name": "paidAt",
553
- "type": "uint40"
423
+ "internalType": "bytes",
424
+ "name": "processData",
425
+ "type": "bytes"
554
426
  }
555
427
  ],
556
- "internalType": "struct IPolicy.PayoutInfo",
428
+ "internalType": "struct IPolicy.ClaimInfo",
557
429
  "name": "info",
558
430
  "type": "tuple"
559
431
  }
@@ -569,12 +441,12 @@
569
441
  "type": "uint96"
570
442
  },
571
443
  {
572
- "internalType": "PayoutId",
573
- "name": "payoutId",
574
- "type": "uint24"
444
+ "internalType": "ClaimId",
445
+ "name": "claimId",
446
+ "type": "uint16"
575
447
  }
576
448
  ],
577
- "name": "getPayoutState",
449
+ "name": "getClaimState",
578
450
  "outputs": [
579
451
  {
580
452
  "internalType": "StateId",
@@ -589,101 +461,31 @@
589
461
  "inputs": [
590
462
  {
591
463
  "internalType": "NftId",
592
- "name": "policyNftId",
464
+ "name": "componentNftId",
593
465
  "type": "uint96"
594
466
  }
595
467
  ],
596
- "name": "getPolicyInfo",
468
+ "name": "getComponentInfo",
597
469
  "outputs": [
598
470
  {
599
471
  "components": [
600
472
  {
601
- "internalType": "NftId",
602
- "name": "productNftId",
603
- "type": "uint96"
473
+ "internalType": "string",
474
+ "name": "name",
475
+ "type": "string"
604
476
  },
605
477
  {
606
- "internalType": "NftId",
607
- "name": "bundleNftId",
608
- "type": "uint96"
609
- },
610
- {
611
- "internalType": "ReferralId",
612
- "name": "referralId",
613
- "type": "bytes8"
614
- },
615
- {
616
- "internalType": "RiskId",
617
- "name": "riskId",
618
- "type": "bytes8"
619
- },
620
- {
621
- "internalType": "Amount",
622
- "name": "sumInsuredAmount",
623
- "type": "uint96"
624
- },
625
- {
626
- "internalType": "Amount",
627
- "name": "premiumAmount",
628
- "type": "uint96"
629
- },
630
- {
631
- "internalType": "Amount",
632
- "name": "premiumPaidAmount",
633
- "type": "uint96"
634
- },
635
- {
636
- "internalType": "Seconds",
637
- "name": "lifetime",
638
- "type": "uint40"
639
- },
640
- {
641
- "internalType": "bytes",
642
- "name": "applicationData",
643
- "type": "bytes"
478
+ "internalType": "contract TokenHandler",
479
+ "name": "tokenHandler",
480
+ "type": "address"
644
481
  },
645
482
  {
646
483
  "internalType": "bytes",
647
- "name": "processData",
484
+ "name": "data",
648
485
  "type": "bytes"
649
- },
650
- {
651
- "internalType": "uint16",
652
- "name": "claimsCount",
653
- "type": "uint16"
654
- },
655
- {
656
- "internalType": "uint16",
657
- "name": "openClaimsCount",
658
- "type": "uint16"
659
- },
660
- {
661
- "internalType": "Amount",
662
- "name": "claimAmount",
663
- "type": "uint96"
664
- },
665
- {
666
- "internalType": "Amount",
667
- "name": "payoutAmount",
668
- "type": "uint96"
669
- },
670
- {
671
- "internalType": "Timestamp",
672
- "name": "activatedAt",
673
- "type": "uint40"
674
- },
675
- {
676
- "internalType": "Timestamp",
677
- "name": "expiredAt",
678
- "type": "uint40"
679
- },
680
- {
681
- "internalType": "Timestamp",
682
- "name": "closedAt",
683
- "type": "uint40"
684
486
  }
685
487
  ],
686
- "internalType": "struct IPolicy.PolicyInfo",
488
+ "internalType": "struct IComponents.ComponentInfo",
687
489
  "name": "info",
688
490
  "type": "tuple"
689
491
  }
@@ -694,16 +496,21 @@
694
496
  {
695
497
  "inputs": [
696
498
  {
697
- "internalType": "NftId",
698
- "name": "policyNftId",
699
- "type": "uint96"
499
+ "internalType": "ReferralId",
500
+ "name": "referralId",
501
+ "type": "bytes8"
700
502
  }
701
503
  ],
702
- "name": "getPolicyState",
504
+ "name": "getDiscountPercentage",
703
505
  "outputs": [
704
506
  {
705
- "internalType": "StateId",
706
- "name": "state",
507
+ "internalType": "UFixed",
508
+ "name": "discountPercentage",
509
+ "type": "uint160"
510
+ },
511
+ {
512
+ "internalType": "ReferralStatus",
513
+ "name": "status",
707
514
  "type": "uint8"
708
515
  }
709
516
  ],
@@ -714,80 +521,36 @@
714
521
  "inputs": [
715
522
  {
716
523
  "internalType": "NftId",
717
- "name": "productNftId",
524
+ "name": "distributorNftId",
718
525
  "type": "uint96"
719
526
  }
720
527
  ],
721
- "name": "getProductSetupInfo",
528
+ "name": "getDistributorInfo",
722
529
  "outputs": [
723
530
  {
724
531
  "components": [
725
532
  {
726
- "internalType": "contract IERC20Metadata",
727
- "name": "token",
728
- "type": "address"
729
- },
730
- {
731
- "internalType": "contract TokenHandler",
732
- "name": "tokenHandler",
733
- "type": "address"
734
- },
735
- {
736
- "internalType": "NftId",
737
- "name": "distributionNftId",
738
- "type": "uint96"
739
- },
740
- {
741
- "internalType": "NftId",
742
- "name": "poolNftId",
743
- "type": "uint96"
744
- },
745
- {
746
- "components": [
747
- {
748
- "internalType": "UFixed",
749
- "name": "fractionalFee",
750
- "type": "uint256"
751
- },
752
- {
753
- "internalType": "uint256",
754
- "name": "fixedFee",
755
- "type": "uint256"
756
- }
757
- ],
758
- "internalType": "struct Fee",
759
- "name": "productFee",
760
- "type": "tuple"
761
- },
762
- {
763
- "components": [
764
- {
765
- "internalType": "UFixed",
766
- "name": "fractionalFee",
767
- "type": "uint256"
768
- },
769
- {
770
- "internalType": "uint256",
771
- "name": "fixedFee",
772
- "type": "uint256"
773
- }
774
- ],
775
- "internalType": "struct Fee",
776
- "name": "processingFee",
777
- "type": "tuple"
533
+ "internalType": "DistributorType",
534
+ "name": "distributorType",
535
+ "type": "bytes8"
778
536
  },
779
537
  {
780
538
  "internalType": "bool",
781
- "name": "isIntercepting",
539
+ "name": "active",
782
540
  "type": "bool"
783
541
  },
784
542
  {
785
- "internalType": "address",
786
- "name": "wallet",
787
- "type": "address"
543
+ "internalType": "uint32",
544
+ "name": "numPoliciesSold",
545
+ "type": "uint32"
546
+ },
547
+ {
548
+ "internalType": "bytes",
549
+ "name": "data",
550
+ "type": "bytes"
788
551
  }
789
552
  ],
790
- "internalType": "struct ISetup.ProductSetupInfo",
553
+ "internalType": "struct IDistribution.DistributorInfo",
791
554
  "name": "info",
792
555
  "type": "tuple"
793
556
  }
@@ -798,75 +561,59 @@
798
561
  {
799
562
  "inputs": [
800
563
  {
801
- "internalType": "ReferralId",
802
- "name": "referralId",
564
+ "internalType": "DistributorType",
565
+ "name": "distributorType",
803
566
  "type": "bytes8"
804
567
  }
805
568
  ],
806
- "name": "getReferralInfo",
569
+ "name": "getDistributorTypeInfo",
807
570
  "outputs": [
808
571
  {
809
572
  "components": [
810
573
  {
811
- "internalType": "NftId",
812
- "name": "distributorNftId",
813
- "type": "uint96"
574
+ "internalType": "UFixed",
575
+ "name": "minDiscountPercentage",
576
+ "type": "uint160"
814
577
  },
815
578
  {
816
- "internalType": "string",
817
- "name": "referralCode",
818
- "type": "string"
579
+ "internalType": "NftId",
580
+ "name": "distributionNftId",
581
+ "type": "uint96"
819
582
  },
820
583
  {
821
584
  "internalType": "UFixed",
822
- "name": "discountPercentage",
823
- "type": "uint256"
585
+ "name": "maxDiscountPercentage",
586
+ "type": "uint160"
824
587
  },
825
588
  {
826
589
  "internalType": "uint32",
827
- "name": "maxReferrals",
590
+ "name": "maxReferralCount",
828
591
  "type": "uint32"
829
592
  },
830
593
  {
831
- "internalType": "uint32",
832
- "name": "usedReferrals",
833
- "type": "uint32"
594
+ "internalType": "Seconds",
595
+ "name": "maxReferralLifetime",
596
+ "type": "uint40"
834
597
  },
835
598
  {
836
- "internalType": "Timestamp",
837
- "name": "expiryAt",
838
- "type": "uint40"
599
+ "internalType": "bool",
600
+ "name": "allowSelfReferrals",
601
+ "type": "bool"
839
602
  },
840
603
  {
841
- "internalType": "bytes",
842
- "name": "data",
843
- "type": "bytes"
844
- }
845
- ],
846
- "internalType": "struct IDistribution.ReferralInfo",
847
- "name": "info",
848
- "type": "tuple"
849
- }
850
- ],
851
- "stateMutability": "view",
852
- "type": "function"
853
- },
854
- {
855
- "inputs": [
856
- {
857
- "internalType": "RiskId",
858
- "name": "riskId",
859
- "type": "bytes8"
860
- }
861
- ],
862
- "name": "getRiskInfo",
863
- "outputs": [
864
- {
865
- "components": [
604
+ "internalType": "bool",
605
+ "name": "allowRenewals",
606
+ "type": "bool"
607
+ },
866
608
  {
867
- "internalType": "NftId",
868
- "name": "productNftId",
869
- "type": "uint96"
609
+ "internalType": "UFixed",
610
+ "name": "commissionPercentage",
611
+ "type": "uint160"
612
+ },
613
+ {
614
+ "internalType": "string",
615
+ "name": "name",
616
+ "type": "string"
870
617
  },
871
618
  {
872
619
  "internalType": "bytes",
@@ -874,7 +621,7 @@
874
621
  "type": "bytes"
875
622
  }
876
623
  ],
877
- "internalType": "struct IRisk.RiskInfo",
624
+ "internalType": "struct IDistribution.DistributorTypeInfo",
878
625
  "name": "info",
879
626
  "type": "tuple"
880
627
  }
@@ -886,16 +633,16 @@
886
633
  "inputs": [
887
634
  {
888
635
  "internalType": "NftId",
889
- "name": "productNftId",
636
+ "name": "targetNftId",
890
637
  "type": "uint96"
891
638
  }
892
639
  ],
893
- "name": "getTokenHandler",
640
+ "name": "getFeeAmount",
894
641
  "outputs": [
895
642
  {
896
- "internalType": "address",
897
- "name": "tokenHandler",
898
- "type": "address"
643
+ "internalType": "Amount",
644
+ "name": "",
645
+ "type": "uint96"
899
646
  }
900
647
  ],
901
648
  "stateMutability": "view",
@@ -909,45 +656,25 @@
909
656
  "type": "uint96"
910
657
  }
911
658
  ],
912
- "name": "getTreasuryInfo",
659
+ "name": "getFeeInfo",
913
660
  "outputs": [
914
661
  {
915
662
  "components": [
916
- {
917
- "internalType": "contract IERC20Metadata",
918
- "name": "token",
919
- "type": "address"
920
- },
921
- {
922
- "internalType": "contract TokenHandler",
923
- "name": "tokenHandler",
924
- "type": "address"
925
- },
926
- {
927
- "internalType": "NftId",
928
- "name": "distributionNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "internalType": "NftId",
933
- "name": "poolNftId",
934
- "type": "uint96"
935
- },
936
663
  {
937
664
  "components": [
938
665
  {
939
666
  "internalType": "UFixed",
940
667
  "name": "fractionalFee",
941
- "type": "uint256"
668
+ "type": "uint160"
942
669
  },
943
670
  {
944
- "internalType": "uint256",
671
+ "internalType": "Amount",
945
672
  "name": "fixedFee",
946
- "type": "uint256"
673
+ "type": "uint96"
947
674
  }
948
675
  ],
949
676
  "internalType": "struct Fee",
950
- "name": "distributionFee",
677
+ "name": "productFee",
951
678
  "type": "tuple"
952
679
  },
953
680
  {
@@ -955,16 +682,16 @@
955
682
  {
956
683
  "internalType": "UFixed",
957
684
  "name": "fractionalFee",
958
- "type": "uint256"
685
+ "type": "uint160"
959
686
  },
960
687
  {
961
- "internalType": "uint256",
688
+ "internalType": "Amount",
962
689
  "name": "fixedFee",
963
- "type": "uint256"
690
+ "type": "uint96"
964
691
  }
965
692
  ],
966
693
  "internalType": "struct Fee",
967
- "name": "productFee",
694
+ "name": "processingFee",
968
695
  "type": "tuple"
969
696
  },
970
697
  {
@@ -972,16 +699,33 @@
972
699
  {
973
700
  "internalType": "UFixed",
974
701
  "name": "fractionalFee",
975
- "type": "uint256"
702
+ "type": "uint160"
976
703
  },
977
704
  {
978
- "internalType": "uint256",
705
+ "internalType": "Amount",
979
706
  "name": "fixedFee",
980
- "type": "uint256"
707
+ "type": "uint96"
981
708
  }
982
709
  ],
983
710
  "internalType": "struct Fee",
984
- "name": "processingFee",
711
+ "name": "distributionFee",
712
+ "type": "tuple"
713
+ },
714
+ {
715
+ "components": [
716
+ {
717
+ "internalType": "UFixed",
718
+ "name": "fractionalFee",
719
+ "type": "uint160"
720
+ },
721
+ {
722
+ "internalType": "Amount",
723
+ "name": "fixedFee",
724
+ "type": "uint96"
725
+ }
726
+ ],
727
+ "internalType": "struct Fee",
728
+ "name": "minDistributionOwnerFee",
985
729
  "type": "tuple"
986
730
  },
987
731
  {
@@ -989,12 +733,12 @@
989
733
  {
990
734
  "internalType": "UFixed",
991
735
  "name": "fractionalFee",
992
- "type": "uint256"
736
+ "type": "uint160"
993
737
  },
994
738
  {
995
- "internalType": "uint256",
739
+ "internalType": "Amount",
996
740
  "name": "fixedFee",
997
- "type": "uint256"
741
+ "type": "uint96"
998
742
  }
999
743
  ],
1000
744
  "internalType": "struct Fee",
@@ -1006,12 +750,12 @@
1006
750
  {
1007
751
  "internalType": "UFixed",
1008
752
  "name": "fractionalFee",
1009
- "type": "uint256"
753
+ "type": "uint160"
1010
754
  },
1011
755
  {
1012
- "internalType": "uint256",
756
+ "internalType": "Amount",
1013
757
  "name": "fixedFee",
1014
- "type": "uint256"
758
+ "type": "uint96"
1015
759
  }
1016
760
  ],
1017
761
  "internalType": "struct Fee",
@@ -1023,12 +767,12 @@
1023
767
  {
1024
768
  "internalType": "UFixed",
1025
769
  "name": "fractionalFee",
1026
- "type": "uint256"
770
+ "type": "uint160"
1027
771
  },
1028
772
  {
1029
- "internalType": "uint256",
773
+ "internalType": "Amount",
1030
774
  "name": "fixedFee",
1031
- "type": "uint256"
775
+ "type": "uint96"
1032
776
  }
1033
777
  ],
1034
778
  "internalType": "struct Fee",
@@ -1036,7 +780,207 @@
1036
780
  "type": "tuple"
1037
781
  }
1038
782
  ],
1039
- "internalType": "struct ITreasury.TreasuryInfo",
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": "uint40"
901
+ },
902
+ {
903
+ "internalType": "Blocknumber",
904
+ "name": "createdIn",
905
+ "type": "uint40"
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",
1040
984
  "name": "info",
1041
985
  "type": "tuple"
1042
986
  }
@@ -1046,15 +990,1061 @@
1046
990
  },
1047
991
  {
1048
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",
1838
+ "type": "tuple"
1839
+ }
1840
+ ],
1841
+ "stateMutability": "view",
1842
+ "type": "function"
1843
+ },
1844
+ {
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
+ },
1049
2033
  {
1050
2034
  "internalType": "address",
1051
- "name": "instance",
2035
+ "name": "account",
1052
2036
  "type": "address"
1053
2037
  }
1054
2038
  ],
1055
- "name": "initialize",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
2039
+ "name": "isRoleMember",
2040
+ "outputs": [
2041
+ {
2042
+ "internalType": "bool",
2043
+ "name": "isMember",
2044
+ "type": "bool"
2045
+ }
2046
+ ],
2047
+ "stateMutability": "view",
1058
2048
  "type": "function"
1059
2049
  },
1060
2050
  {
@@ -1063,14 +2053,19 @@
1063
2053
  "internalType": "NftId",
1064
2054
  "name": "policyNftId",
1065
2055
  "type": "uint96"
2056
+ },
2057
+ {
2058
+ "internalType": "ClaimId",
2059
+ "name": "claimId",
2060
+ "type": "uint16"
1066
2061
  }
1067
2062
  ],
1068
- "name": "policyIsCloseable",
2063
+ "name": "payouts",
1069
2064
  "outputs": [
1070
2065
  {
1071
- "internalType": "bool",
1072
- "name": "isCloseable",
1073
- "type": "bool"
2066
+ "internalType": "uint24",
2067
+ "name": "payoutCount",
2068
+ "type": "uint24"
1074
2069
  }
1075
2070
  ],
1076
2071
  "stateMutability": "view",
@@ -1079,69 +2074,114 @@
1079
2074
  {
1080
2075
  "inputs": [
1081
2076
  {
1082
- "internalType": "NftId",
1083
- "name": "poolNftId",
1084
- "type": "uint96"
2077
+ "internalType": "RiskId",
2078
+ "name": "riskId",
2079
+ "type": "bytes8"
1085
2080
  }
1086
2081
  ],
1087
- "name": "toBundleKey",
2082
+ "name": "policiesForRisk",
1088
2083
  "outputs": [
1089
2084
  {
1090
- "internalType": "Key32",
1091
- "name": "",
1092
- "type": "bytes32"
2085
+ "internalType": "uint256",
2086
+ "name": "linkedPolicies",
2087
+ "type": "uint256"
1093
2088
  }
1094
2089
  ],
1095
- "stateMutability": "pure",
2090
+ "stateMutability": "view",
1096
2091
  "type": "function"
1097
2092
  },
1098
2093
  {
1099
2094
  "inputs": [
1100
2095
  {
1101
2096
  "internalType": "NftId",
1102
- "name": "distributionNftId",
2097
+ "name": "policyNftId",
1103
2098
  "type": "uint96"
1104
2099
  }
1105
2100
  ],
1106
- "name": "toDistributionKey",
2101
+ "name": "policyIsActive",
1107
2102
  "outputs": [
1108
2103
  {
1109
- "internalType": "Key32",
1110
- "name": "",
1111
- "type": "bytes32"
2104
+ "internalType": "bool",
2105
+ "name": "isCloseable",
2106
+ "type": "bool"
1112
2107
  }
1113
2108
  ],
1114
- "stateMutability": "pure",
2109
+ "stateMutability": "view",
2110
+ "type": "function"
2111
+ },
2112
+ {
2113
+ "inputs": [],
2114
+ "name": "products",
2115
+ "outputs": [
2116
+ {
2117
+ "internalType": "uint256",
2118
+ "name": "productCount",
2119
+ "type": "uint256"
2120
+ }
2121
+ ],
2122
+ "stateMutability": "view",
1115
2123
  "type": "function"
1116
2124
  },
1117
2125
  {
1118
2126
  "inputs": [
1119
2127
  {
1120
2128
  "internalType": "NftId",
1121
- "name": "distributorNftId",
2129
+ "name": "productNftId",
1122
2130
  "type": "uint96"
1123
2131
  }
1124
2132
  ],
1125
- "name": "toDistributorKey",
2133
+ "name": "risks",
1126
2134
  "outputs": [
1127
2135
  {
1128
- "internalType": "Key32",
1129
- "name": "",
1130
- "type": "bytes32"
2136
+ "internalType": "uint256",
2137
+ "name": "riskCount",
2138
+ "type": "uint256"
1131
2139
  }
1132
2140
  ],
1133
- "stateMutability": "pure",
2141
+ "stateMutability": "view",
1134
2142
  "type": "function"
1135
2143
  },
1136
2144
  {
1137
2145
  "inputs": [
1138
2146
  {
1139
- "internalType": "UFixed",
1140
- "name": "value",
2147
+ "internalType": "RoleId",
2148
+ "name": "roleId",
2149
+ "type": "uint64"
2150
+ }
2151
+ ],
2152
+ "name": "roleExists",
2153
+ "outputs": [
2154
+ {
2155
+ "internalType": "bool",
2156
+ "name": "exists",
2157
+ "type": "bool"
2158
+ }
2159
+ ],
2160
+ "stateMutability": "view",
2161
+ "type": "function"
2162
+ },
2163
+ {
2164
+ "inputs": [
2165
+ {
2166
+ "internalType": "RoleId",
2167
+ "name": "roleId",
2168
+ "type": "uint64"
2169
+ }
2170
+ ],
2171
+ "name": "roleMembers",
2172
+ "outputs": [
2173
+ {
2174
+ "internalType": "uint256",
2175
+ "name": "numberOfMembers",
1141
2176
  "type": "uint256"
1142
2177
  }
1143
2178
  ],
1144
- "name": "toInt",
2179
+ "stateMutability": "view",
2180
+ "type": "function"
2181
+ },
2182
+ {
2183
+ "inputs": [],
2184
+ "name": "roles",
1145
2185
  "outputs": [
1146
2186
  {
1147
2187
  "internalType": "uint256",
@@ -1149,61 +2189,96 @@
1149
2189
  "type": "uint256"
1150
2190
  }
1151
2191
  ],
1152
- "stateMutability": "pure",
2192
+ "stateMutability": "view",
1153
2193
  "type": "function"
1154
2194
  },
1155
2195
  {
1156
2196
  "inputs": [
1157
2197
  {
1158
- "internalType": "NftId",
1159
- "name": "policyNftId",
1160
- "type": "uint96"
2198
+ "internalType": "address",
2199
+ "name": "target",
2200
+ "type": "address"
1161
2201
  }
1162
2202
  ],
1163
- "name": "toPolicyKey",
2203
+ "name": "targetExists",
1164
2204
  "outputs": [
1165
2205
  {
1166
- "internalType": "Key32",
1167
- "name": "",
1168
- "type": "bytes32"
2206
+ "internalType": "bool",
2207
+ "name": "exists",
2208
+ "type": "bool"
1169
2209
  }
1170
2210
  ],
1171
- "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",
1172
2225
  "type": "function"
1173
2226
  },
1174
2227
  {
1175
2228
  "inputs": [
1176
2229
  {
1177
- "internalType": "NftId",
1178
- "name": "poolNftId",
1179
- "type": "uint96"
2230
+ "internalType": "bytes4",
2231
+ "name": "signature",
2232
+ "type": "bytes4"
2233
+ },
2234
+ {
2235
+ "internalType": "string",
2236
+ "name": "name",
2237
+ "type": "string"
1180
2238
  }
1181
2239
  ],
1182
- "name": "toPoolKey",
2240
+ "name": "toFunction",
1183
2241
  "outputs": [
1184
2242
  {
1185
- "internalType": "Key32",
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",
1186
2261
  "name": "",
1187
- "type": "bytes32"
2262
+ "type": "tuple"
1188
2263
  }
1189
2264
  ],
1190
- "stateMutability": "pure",
2265
+ "stateMutability": "view",
1191
2266
  "type": "function"
1192
2267
  },
1193
2268
  {
1194
2269
  "inputs": [
1195
2270
  {
1196
- "internalType": "NftId",
1197
- "name": "productNftId",
1198
- "type": "uint96"
2271
+ "internalType": "UFixed",
2272
+ "name": "value",
2273
+ "type": "uint160"
1199
2274
  }
1200
2275
  ],
1201
- "name": "toProductKey",
2276
+ "name": "toInt",
1202
2277
  "outputs": [
1203
2278
  {
1204
- "internalType": "Key32",
2279
+ "internalType": "uint256",
1205
2280
  "name": "",
1206
- "type": "bytes32"
2281
+ "type": "uint256"
1207
2282
  }
1208
2283
  ],
1209
2284
  "stateMutability": "pure",
@@ -1233,25 +2308,6 @@
1233
2308
  "stateMutability": "pure",
1234
2309
  "type": "function"
1235
2310
  },
1236
- {
1237
- "inputs": [
1238
- {
1239
- "internalType": "NftId",
1240
- "name": "productNftId",
1241
- "type": "uint96"
1242
- }
1243
- ],
1244
- "name": "toTreasuryKey",
1245
- "outputs": [
1246
- {
1247
- "internalType": "Key32",
1248
- "name": "",
1249
- "type": "bytes32"
1250
- }
1251
- ],
1252
- "stateMutability": "pure",
1253
- "type": "function"
1254
- },
1255
2311
  {
1256
2312
  "inputs": [
1257
2313
  {
@@ -1270,21 +2326,37 @@
1270
2326
  {
1271
2327
  "internalType": "UFixed",
1272
2328
  "name": "",
1273
- "type": "uint256"
2329
+ "type": "uint160"
1274
2330
  }
1275
2331
  ],
1276
2332
  "stateMutability": "pure",
1277
2333
  "type": "function"
1278
2334
  }
1279
2335
  ],
1280
- "bytecode": "0x608060405234801561001057600080fd5b506138e5806100206000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d8565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612127565b6106c2565b6040516102129190612194565b610208610249366004612245565b61081b565b61026161025c366004612245565b6108b5565b6040516102129190612262565b61020861027c366004612245565b61097f565b61029461028f3660046122cf565b6109ac565b6040516102129190612305565b6102b46102af3660046124c4565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612556565b610b7b565b6102f36102ee366004612245565b610bb6565b604051610212919061256f565b61031361030e3660046122cf565b610c5c565b60405160ff9091168152602001610212565b610208610333366004612245565b610d59565b61034b610346366004612245565b610d86565b6040519015158152602001610212565b610313610369366004612662565b611015565b61020861037c366004612245565b611075565b61020861038f366004612245565b6110a2565b6103a76103a2366004612127565b6110cf565b6040516102129190612690565b6103136103c2366004612245565b6111f8565b6103da6103d5366004612245565b611274565b60405161021291906126c6565b6103fa6103f5366004612245565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b610489610484366004612245565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612556565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c366004612662565b611502565b6040516102129190612773565b61054161053c366004612127565b611657565b6040805192835260ff909116602083015201610212565b61056b610566366004612245565b6118ff565b6040516102129190612813565b61058b6105863660046129c2565b611a25565b005b6105a061059b366004612127565b611b3e565b60405161021291906129df565b6001546001600160a01b0316610489565b6102086105cc366004612245565b611cb1565b60005461010090046001600160a01b0316610489565b6105fa6105f5366004612245565b611cde565b6040516102129190612a8f565b61061a610615366004612245565b611db3565b6040516102129190612b10565b610208610635366004612245565b611efb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c12565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c12565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c70565b805190915015610815578080602001905181019061080e9190612cef565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c12565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c70565b805190915015610815578080602001905181019061080e9190612de8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c12565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c70565b805190915015610af75780806020019051810190610aef9190612eb0565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f6f565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f91565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611faf565b6001546000906001600160a01b03166354f6127f610bdb85611efb565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c70565b805190915015610815578080602001905181019061080e9190612fde565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c12565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130f4565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118ff565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613111565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613111565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613111565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f28565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061312c565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c12565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c70565b805190915015610815578080602001905181019061080e9190613149565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130f4565b61127c612020565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c70565b805190915015610815578080602001905181019061080e91906131d3565b611322612090565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c70565b805190915015610815578080602001905181019061080e919061327b565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c70565b80519091501561081557600081806020019051810190611462919061331c565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133ed565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190612c12565b6040518263ffffffff1660e01b81526004016115f491815260200190565b600060405180830381865afa158015611611573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116399190810190612c70565b805190915015610af75780806020019051810190610aef9190613467565b6000806000611665846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e89190613111565b156117675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612c12565b60645b9250925050915091565b6117eb8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117dc919061312c565b64ffffffffff90811691161090565b156118645773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612c12565b606e61175d565b806060015163ffffffff16816080015163ffffffff16106118f35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612c12565b607861175d565b6040810151600a61175d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a485610d59565b6040518263ffffffff1660e01b81526004016119c291815260200190565b600060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a079190810190612c70565b805190915015610815578080602001905181019061080e919061354c565b60005460ff1615611a495760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906136e8565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190612c12565b6040518263ffffffff1660e01b8152600401611c4e91815260200190565b600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c939190810190612c70565b805190915015610815578080602001905181019061080e9190613705565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d3285611cb1565b6040518263ffffffff1660e01b8152600401611d5091815260200190565b600060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d959190810190612c70565b805190915015610815578080602001905181019061080e91906137fc565b611e5d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e7a8561081b565b6040518263ffffffff1660e01b8152600401611e9891815260200190565b600060405180830381865afa158015611eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edd9190810190612c70565b805190915015610815578080602001905181019061080e919061331c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f8b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613111565b60405180610120016040528060006001600160601b03168152602001611fe8604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161207c604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161205a604051806040016040528060008152602001600081525090565b600080604083850312156120eb57600080fd5b8235915060208301358060000b811461210357600080fd5b809150509250929050565b6001600160c01b03198116811461212457600080fd5b50565b60006020828403121561213957600080fd5b813561080e8161210e565b60005b8381101561215f578181015183820152602001612147565b50506000910152565b60008151808452612180816020860160208601612144565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121c4610100840182612168565b90506040840151606084015263ffffffff606085015116608084015260808401516121f760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122278282612168565b95945050505050565b6001600160601b038116811461212457600080fd5b60006020828403121561225757600080fd5b813561080e81612230565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526122a060c0840182612168565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122e257600080fd5b82356122ed81612230565b9150602083013562ffffff8116811461210357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261234260a0840182612168565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123975761239761235f565b60405290565b60405160a081016001600160401b03811182821017156123975761239761235f565b604080519081016001600160401b03811182821017156123975761239761235f565b60405161012081016001600160401b03811182821017156123975761239761235f565b60405161010081016001600160401b03811182821017156123975761239761235f565b60405161014081016001600160401b03811182821017156123975761239761235f565b60405161022081016001600160401b03811182821017156123975761239761235f565b604051601f8201601f191681016001600160401b03811182821017156124955761249561235f565b604052919050565b60006001600160401b038211156124b6576124b661235f565b50601f01601f191660200190565b600080604083850312156124d757600080fd5b82356124e281612230565b915060208301356001600160401b038111156124fd57600080fd5b8301601f8101851361250e57600080fd5b803561252161251c8261249d565b61246d565b81815286602083850101111561253657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561256857600080fd5b5035919050565b602081526125896020820183516001600160601b03169052565b600060208301516125a7604084018280518252602090810151910152565b5060408301516101408060808501526125c4610160850183612168565b915060608501516125e060a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126258187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461212457600080fd5b6000806040838503121561267557600080fd5b823561268081612230565b9150602083013561210381612652565b602081526001600160601b038251166020820152600060208301516040808401526126be6060840182612168565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612715908401826001600160601b03169052565b506080830151612732608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516127b8608084018260ff169052565b50608083015160e060a08401526127d3610100840182612168565b905060a0840151601f198483030160c08501526127f08282612168565b91505060c084015161280b60e085018264ffffffffff169052565b509392505050565b6020815261282d6020820183516001600160601b03169052565b6000602083015161284960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128cf8185018364ffffffffff169052565b8085015191505061022061012081818601526128ef610240860184612168565b9250808601519050610140601f19868503018187015261290f8483612168565b93508087015191505061016061292a8187018361ffff169052565b86015190506101806129418682018361ffff169052565b86015190506101a061295d868201836001600160601b03169052565b86015190506101c0612979868201836001600160601b03169052565b86015190506101e06129938682018364ffffffffff169052565b860151905061020061263b8682018364ffffffffff169052565b6001600160a01b038116811461212457600080fd5b6000602082840312156129d457600080fd5b813561080e816129ad565b60208152600082516101208060208501526129fe610140850183612168565b91506020850151604085015260408501516060850152606085015160808501526080850151612a3560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a6b8187018315159052565b860151858403601f1901838701529050612a858382612168565b9695505050505050565b602081526000825160e06020840152612aac610100840182612168565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612af660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c085015261220b565b81516001600160a01b0316815261020081016020830151612b3c60208401826001600160a01b03169052565b506040830151612b5760408401826001600160601b03169052565b506060830151612b7260608401826001600160601b03169052565b506080830151612b8f608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bc58185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c2457600080fd5b5051919050565b600082601f830112612c3c57600080fd5b8151612c4a61251c8261249d565b818152846020838601011115612c5f57600080fd5b6126be826020830160208701612144565b600060208284031215612c8257600080fd5b81516001600160401b03811115612c9857600080fd5b6126be84828501612c2b565b8051612caf81612230565b919050565b63ffffffff8116811461212457600080fd5b8051612caf81612cb4565b64ffffffffff8116811461212457600080fd5b8051612caf81612cd1565b600060208284031215612d0157600080fd5b81516001600160401b0380821115612d1857600080fd5b9083019060e08286031215612d2c57600080fd5b612d34612375565b612d3d83612ca4565b8152602083015182811115612d5157600080fd5b612d5d87828601612c2b565b60208301525060408301516040820152612d7960608401612cc6565b6060820152612d8a60808401612cc6565b6080820152612d9b60a08401612ce4565b60a082015260c083015182811115612db257600080fd5b612dbe87828601612c2b565b60c08301525095945050505050565b8051612caf8161210e565b80518015158114612caf57600080fd5b600060208284031215612dfa57600080fd5b81516001600160401b0380821115612e1157600080fd5b9083019060a08286031215612e2557600080fd5b612e2d61239d565b8251612e388161210e565b8152612e4660208401612dd8565b6020820152604083015182811115612e5d57600080fd5b612e6987828601612c2b565b60408301525060608301519150612e7f82612230565b81606082015260808301519250612e9583612cb4565b6080810192909252509392505050565b8051612caf81612652565b600060208284031215612ec257600080fd5b81516001600160401b0380821115612ed957600080fd5b9083019060808286031215612eed57600080fd5b604051608081018181108382111715612f0857612f0861235f565b6040528251612f1681612652565b81526020830151612f2681612230565b6020820152604083015182811115612f3d57600080fd5b612f4987828601612c2b565b60408301525060608301519250612f5f83612cd1565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126be6040830184612168565b600060208284031215612fa357600080fd5b815161080e8161210e565b600060408284031215612fc057600080fd5b612fc86123bf565b9050815181526020820151602082015292915050565b600060208284031215612ff057600080fd5b81516001600160401b038082111561300757600080fd5b90830190610140828603121561301c57600080fd5b6130246123e1565b61302d83612ca4565b815261303c8660208501612fae565b602082015260608301518281111561305357600080fd5b61305f87828601612c2b565b60408301525061307160808401612ca4565b606082015261308260a08401612ca4565b608082015261309360c08401612ca4565b60a08201526130a460e08401612ce4565b60c082015261010091506130b9828401612ce4565b60e08201526130cb6101208401612ce4565b91810191909152949350505050565b60ff8116811461212457600080fd5b8051612caf816130da565b60006020828403121561310657600080fd5b815161080e816130da565b60006020828403121561312357600080fd5b6106b982612dd8565b60006020828403121561313e57600080fd5b815161080e81612cd1565b60006020828403121561315b57600080fd5b81516001600160401b038082111561317257600080fd5b908301906040828603121561318657600080fd5b61318e6123bf565b825161319981612230565b81526020830151828111156131ad57600080fd5b6131b987828601612c2b565b60208301525095945050505050565b8051612caf816129ad565b600061014082840312156131e657600080fd5b6131ee612404565b6131f7836131c8565b8152613205602084016131c8565b602082015261321660408401612ca4565b604082015261322760608401612ca4565b60608201526132398460808501612fae565b608082015261324b8460c08501612fae565b60a082015261325d6101008401612dd8565b60c082015261326f61012084016131c8565b60e08201529392505050565b6000610100828403121561328e57600080fd5b60405160c081018181106001600160401b03821117156132b0576132b061235f565b60405282516132be81612230565b815260208301516132ce816129ad565b60208201526132e08460408501612fae565b60408201526132f28460808501612fae565b606082015260c0830151613305816129ad565b608082015260e0929092015160a083015250919050565b6000610200828403121561332f57600080fd5b613337612427565b613340836131c8565b815261334e602084016131c8565b602082015261335f60408401612ca4565b604082015261337060608401612ca4565b60608201526133828460808501612fae565b60808201526133948460c08501612fae565b60a08201526101006133a885828601612fae565b60c08301526133bb856101408601612fae565b60e08301526133ce856101808601612fae565b908201526133e0846101c08501612fae565b6101208201529392505050565b600060a082840312156133ff57600080fd5b61340761239d565b8251613412816130da565b81526020830151613422816130da565b60208201526040830151613435816129ad565b6040820152606083015161344881612cb4565b6060820152608083015161345b81612cb4565b60808201529392505050565b60006020828403121561347957600080fd5b81516001600160401b038082111561349057600080fd5b9083019060e082860312156134a457600080fd5b6134ac612375565b6134b583612ca4565b81526134c360208401612ca4565b60208201526134d4604084016130e9565b60408201526134e5606084016130e9565b60608201526080830151828111156134fc57600080fd5b61350887828601612c2b565b60808301525060a08301518281111561352057600080fd5b61352c87828601612c2b565b60a08301525061353e60c08401612ce4565b60c082015295945050505050565b60006020828403121561355e57600080fd5b81516001600160401b038082111561357557600080fd5b90830190610220828603121561358a57600080fd5b61359261244a565b61359b83612ca4565b81526135a960208401612ca4565b60208201526135ba60408401612dcd565b60408201526135cb60608401612dcd565b60608201526135dc60808401612ca4565b60808201526135ed60a08401612ca4565b60a08201526135fe60c08401612ca4565b60c082015261360f60e08401612ce4565b60e0820152610100808401518381111561362857600080fd5b61363488828701612c2b565b828401525050610120808401518381111561364e57600080fd5b61365a88828701612c2b565b8284015250506101409150613670828401612ea5565b828201526101609150613684828401612ea5565b828201526101809150613698828401612ca4565b828201526101a091506136ac828401612ca4565b828201526101c091506136c0828401612ce4565b828201526101e091506136d4828401612ce4565b8282015261020091506130cb828401612ce4565b6000602082840312156136fa57600080fd5b815161080e816129ad565b60006020828403121561371757600080fd5b81516001600160401b038082111561372e57600080fd5b90830190610120828603121561374357600080fd5b61374b6123e1565b82518281111561375a57600080fd5b61376687828601612c2b565b82525060208301516020820152604083015160408201526060830151606082015261379360808401612cc6565b60808201526137a460a08401612cc6565b60a08201526137b560c08401612dd8565b60c08201526137c660e08401612dd8565b60e082015261010080840151838111156137df57600080fd5b6137eb88828701612c2b565b918301919091525095945050505050565b60006020828403121561380e57600080fd5b81516001600160401b038082111561382557600080fd5b9083019060e0828603121561383957600080fd5b613841612375565b82518281111561385057600080fd5b61385c87828601612c2b565b82525061386b602084016131c8565b602082015261387c604084016131c8565b604082015261388d606084016131c8565b606082015261389e60808401612ca4565b6080820152612d9b60a08401612ca456fea2646970667358221220bc5603a680734f390266a28dc6e76318336f9f3e4f43eef4fbbe83f4bcf929a564736f6c63430008140033",
1281
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80639096a1f31161010f578063c4d66de8116100a2578063de7b5d1411610071578063de7b5d14146105d1578063f0ea17c3146105e7578063f2b246c314610607578063f7f318d31461062757600080fd5b8063c4d66de814610578578063d06458c61461058d578063d4cda0d8146105ad578063dd26287a146105be57600080fd5b8063a5961b4c116100de578063a5961b4c146104a1578063a7ef3d211461050e578063b82d7ef51461052e578063bd7d9d851461055857600080fd5b80639096a1f3146103b457806390af7064146103c75780639ad69c67146103e7578063a310e2a31461047657600080fd5b80634793b4ab1161018757806378ae93501161015657806378ae93501461035b5780637bfd32171461036e5780637e54602a14610381578063887b1fa91461039457600080fd5b80634793b4ab146102e05780635da894021461030057806364eb3a9b1461032557806375d357df1461033857600080fd5b806335898f5d116101c357806335898f5d1461026e57806339bb60cd146102815780633f093cd6146102a157806344aa6836146102cd57600080fd5b80631488c845146101f55780631d3be4771461021b57806325d037431461023b57806327b1d7921461024e575b600080fd5b6102086102033660046120d8565b61063a565b6040519081526020015b60405180910390f35b61022e610229366004612127565b6106c2565b6040516102129190612194565b610208610249366004612245565b61081b565b61026161025c366004612245565b6108b5565b6040516102129190612262565b61020861027c366004612245565b61097f565b61029461028f3660046122cf565b6109ac565b6040516102129190612305565b6102b46102af3660046124c4565b610afe565b6040516001600160c01b03199091168152602001610212565b6102086102db366004612556565b610b7b565b6102f36102ee366004612245565b610bb6565b604051610212919061256f565b61031361030e3660046122cf565b610c5c565b60405160ff9091168152602001610212565b610208610333366004612245565b610d59565b61034b610346366004612245565b610d86565b6040519015158152602001610212565b610313610369366004612662565b611015565b61020861037c366004612245565b611075565b61020861038f366004612245565b6110a2565b6103a76103a2366004612127565b6110cf565b6040516102129190612690565b6103136103c2366004612245565b6111f8565b6103da6103d5366004612245565b611274565b60405161021291906126c6565b6103fa6103f5366004612245565b61131a565b604051610212919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b610489610484366004612245565b6113c0565b6040516001600160a01b039091168152602001610212565b6104b46104af366004612556565b61146e565b6040516102129190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61052161051c366004612662565b611502565b6040516102129190612773565b61054161053c366004612127565b611657565b6040805192835260ff909116602083015201610212565b61056b610566366004612245565b6118ff565b6040516102129190612813565b61058b6105863660046129c2565b611a25565b005b6105a061059b366004612127565b611b3e565b60405161021291906129df565b6001546001600160a01b0316610489565b6102086105cc366004612245565b611cb1565b60005461010090046001600160a01b0316610489565b6105fa6105f5366004612245565b611cde565b6040516102129190612a8f565b61061a610615366004612245565b611db3565b6040516102129190612b10565b610208610635366004612245565b611efb565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612c12565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190612c12565b6040518263ffffffff1660e01b81526004016107ab91815260200190565b600060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107f09190810190612c70565b805190915015610815578080602001905181019061080e9190612cef565b9392505050565b50919050565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190612c12565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f6108fe856110a2565b6040518263ffffffff1660e01b815260040161091c91815260200190565b600060405180830381865afa158015610939573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109619190810190612c70565b805190915015610815578080602001905181019061080e9190612de8565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166078610844565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610a4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6e9190612c12565b6040518263ffffffff1660e01b8152600401610a8c91815260200190565b600060405180830381865afa158015610aa9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ad19190810190612c70565b805190915015610af75780806020019051810190610aef9190612eb0565b9150506106bc565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610b3a9086908690600401612f6f565b602060405180830381865af4158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190612f91565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610874565b610bbe611faf565b6001546000906001600160a01b03166354f6127f610bdb85611efb565b6040518263ffffffff1660e01b8152600401610bf991815260200190565b600060405180830381865afa158015610c16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c3e9190810190612c70565b805190915015610815578080602001905181019061080e9190612fde565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612c12565b6040518263ffffffff1660e01b8152600401610d1891815260200190565b602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906130f4565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610844565b600080610d92836118ff565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e149190613111565b15610e225750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613111565b15610eb15750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190613111565b15610f405750600092915050565b61016081015161ffff1615610f585750600092915050565b610f6b8161018001518260800151611f28565b15610f795750600192915050565b610ffe73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe9919061312c565b826101e0015164ffffffffff90811691161090565b1561100c5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610cb9565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610844565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610844565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111779190612c12565b6040518263ffffffff1660e01b815260040161119591815260200190565b600060405180830381865afa1580156111b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111da9190810190612c70565b805190915015610815578080602001905181019061080e9190613149565b6001546000906001600160a01b03166309648a9d61121584610d59565b6040518263ffffffff1660e01b815260040161123391815260200190565b602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906130f4565b61127c612020565b6001546000906001600160a01b03166354f6127f61129985611075565b6040518263ffffffff1660e01b81526004016112b791815260200190565b600060405180830381865afa1580156112d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112fc9190810190612c70565b805190915015610815578080602001905181019061080e91906131d3565b611322612090565b6001546000906001600160a01b03166354f6127f61133f8561097f565b6040518263ffffffff1660e01b815260040161135d91815260200190565b600060405180830381865afa15801561137a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113a29190810190612c70565b805190915015610815578080602001905181019061080e919061327b565b60015460009081906001600160a01b03166354f6127f6113df8561081b565b6040518263ffffffff1660e01b81526004016113fd91815260200190565b600060405180830381865afa15801561141a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114429190810190612c70565b80519091501561081557600081806020019051810190611462919061331c565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156114de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc91906133ed565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156115b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d69190612c12565b6040518263ffffffff1660e01b81526004016115f491815260200190565b600060405180830381865afa158015611611573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116399190810190612c70565b805190915015610af75780806020019051810190610aef9190613467565b6000806000611665846106c2565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156116c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e89190613111565b156117675773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612c12565b60645b9250925050915091565b6117eb8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117dc919061312c565b64ffffffffff90811691161090565b156118645773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190612c12565b606e61175d565b806060015163ffffffff16816080015163ffffffff16106118f35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190612c12565b607861175d565b6040810151600a61175d565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f6119a485610d59565b6040518263ffffffff1660e01b81526004016119c291815260200190565b600060405180830381865afa1580156119df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a079190810190612c70565b805190915015610815578080602001905181019061080e919061354c565b60005460ff1615611a495760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611a7057604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906136e8565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611b9d60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611c0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c309190612c12565b6040518263ffffffff1660e01b8152600401611c4e91815260200190565b600060405180830381865afa158015611c6b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c939190810190612c70565b805190915015610815578080602001905181019061080e9190613705565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610844565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611d3285611cb1565b6040518263ffffffff1660e01b8152600401611d5091815260200190565b600060405180830381865afa158015611d6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d959190810190612c70565b805190915015610815578080602001905181019061080e91906137fc565b611e5d604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f611e7a8561081b565b6040518263ffffffff1660e01b8152600401611e9891815260200190565b600060405180830381865afa158015611eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edd9190810190612c70565b805190915015610815578080602001905181019061080e919061331c565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610844565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f8b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190613111565b60405180610120016040528060006001600160601b03168152602001611fe8604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161207c604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161205a604051806040016040528060008152602001600081525090565b600080604083850312156120eb57600080fd5b8235915060208301358060000b811461210357600080fd5b809150509250929050565b6001600160c01b03198116811461212457600080fd5b50565b60006020828403121561213957600080fd5b813561080e8161210e565b60005b8381101561215f578181015183820152602001612147565b50506000910152565b60008151808452612180816020860160208601612144565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526121c4610100840182612168565b90506040840151606084015263ffffffff606085015116608084015260808401516121f760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526122278282612168565b95945050505050565b6001600160601b038116811461212457600080fd5b60006020828403121561225757600080fd5b813561080e81612230565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a060608401526122a060c0840182612168565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156122e257600080fd5b82356122ed81612230565b9150602083013562ffffff8116811461210357600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261234260a0840182612168565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123975761239761235f565b60405290565b60405160a081016001600160401b03811182821017156123975761239761235f565b604080519081016001600160401b03811182821017156123975761239761235f565b60405161012081016001600160401b03811182821017156123975761239761235f565b60405161010081016001600160401b03811182821017156123975761239761235f565b60405161014081016001600160401b03811182821017156123975761239761235f565b60405161022081016001600160401b03811182821017156123975761239761235f565b604051601f8201601f191681016001600160401b03811182821017156124955761249561235f565b604052919050565b60006001600160401b038211156124b6576124b661235f565b50601f01601f191660200190565b600080604083850312156124d757600080fd5b82356124e281612230565b915060208301356001600160401b038111156124fd57600080fd5b8301601f8101851361250e57600080fd5b803561252161251c8261249d565b61246d565b81815286602083850101111561253657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561256857600080fd5b5035919050565b602081526125896020820183516001600160601b03169052565b600060208301516125a7604084018280518252602090810151910152565b5060408301516101408060808501526125c4610160850183612168565b915060608501516125e060a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006126258187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b61ffff8116811461212457600080fd5b6000806040838503121561267557600080fd5b823561268081612230565b9150602083013561210381612652565b602081526001600160601b038251166020820152600060208301516040808401526126be6060840182612168565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191612715908401826001600160601b03169052565b506080830151612732608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b038116610120840152610af7565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516127b8608084018260ff169052565b50608083015160e060a08401526127d3610100840182612168565b905060a0840151601f198483030160c08501526127f08282612168565b91505060c084015161280b60e085018264ffffffffff169052565b509392505050565b6020815261282d6020820183516001600160601b03169052565b6000602083015161284960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006128cf8185018364ffffffffff169052565b8085015191505061022061012081818601526128ef610240860184612168565b9250808601519050610140601f19868503018187015261290f8483612168565b93508087015191505061016061292a8187018361ffff169052565b86015190506101806129418682018361ffff169052565b86015190506101a061295d868201836001600160601b03169052565b86015190506101c0612979868201836001600160601b03169052565b86015190506101e06129938682018364ffffffffff169052565b860151905061020061263b8682018364ffffffffff169052565b6001600160a01b038116811461212457600080fd5b6000602082840312156129d457600080fd5b813561080e816129ad565b60208152600082516101208060208501526129fe610140850183612168565b91506020850151604085015260408501516060850152606085015160808501526080850151612a3560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612a6b8187018315159052565b860151858403601f1901838701529050612a858382612168565b9695505050505050565b602081526000825160e06020840152612aac610100840182612168565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151612af660a08501826001600160601b03169052565b5060a08401516001600160601b03811660c085015261220b565b81516001600160a01b0316815261020081016020830151612b3c60208401826001600160a01b03169052565b506040830151612b5760408401826001600160601b03169052565b506060830151612b7260608401826001600160601b03169052565b506080830151612b8f608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100612bc58185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050610af7565b600060208284031215612c2457600080fd5b5051919050565b600082601f830112612c3c57600080fd5b8151612c4a61251c8261249d565b818152846020838601011115612c5f57600080fd5b6126be826020830160208701612144565b600060208284031215612c8257600080fd5b81516001600160401b03811115612c9857600080fd5b6126be84828501612c2b565b8051612caf81612230565b919050565b63ffffffff8116811461212457600080fd5b8051612caf81612cb4565b64ffffffffff8116811461212457600080fd5b8051612caf81612cd1565b600060208284031215612d0157600080fd5b81516001600160401b0380821115612d1857600080fd5b9083019060e08286031215612d2c57600080fd5b612d34612375565b612d3d83612ca4565b8152602083015182811115612d5157600080fd5b612d5d87828601612c2b565b60208301525060408301516040820152612d7960608401612cc6565b6060820152612d8a60808401612cc6565b6080820152612d9b60a08401612ce4565b60a082015260c083015182811115612db257600080fd5b612dbe87828601612c2b565b60c08301525095945050505050565b8051612caf8161210e565b80518015158114612caf57600080fd5b600060208284031215612dfa57600080fd5b81516001600160401b0380821115612e1157600080fd5b9083019060a08286031215612e2557600080fd5b612e2d61239d565b8251612e388161210e565b8152612e4660208401612dd8565b6020820152604083015182811115612e5d57600080fd5b612e6987828601612c2b565b60408301525060608301519150612e7f82612230565b81606082015260808301519250612e9583612cb4565b6080810192909252509392505050565b8051612caf81612652565b600060208284031215612ec257600080fd5b81516001600160401b0380821115612ed957600080fd5b9083019060808286031215612eed57600080fd5b604051608081018181108382111715612f0857612f0861235f565b6040528251612f1681612652565b81526020830151612f2681612230565b6020820152604083015182811115612f3d57600080fd5b612f4987828601612c2b565b60408301525060608301519250612f5f83612cd1565b6060810192909252509392505050565b6001600160601b03831681526040602082015260006126be6040830184612168565b600060208284031215612fa357600080fd5b815161080e8161210e565b600060408284031215612fc057600080fd5b612fc86123bf565b9050815181526020820151602082015292915050565b600060208284031215612ff057600080fd5b81516001600160401b038082111561300757600080fd5b90830190610140828603121561301c57600080fd5b6130246123e1565b61302d83612ca4565b815261303c8660208501612fae565b602082015260608301518281111561305357600080fd5b61305f87828601612c2b565b60408301525061307160808401612ca4565b606082015261308260a08401612ca4565b608082015261309360c08401612ca4565b60a08201526130a460e08401612ce4565b60c082015261010091506130b9828401612ce4565b60e08201526130cb6101208401612ce4565b91810191909152949350505050565b60ff8116811461212457600080fd5b8051612caf816130da565b60006020828403121561310657600080fd5b815161080e816130da565b60006020828403121561312357600080fd5b6106b982612dd8565b60006020828403121561313e57600080fd5b815161080e81612cd1565b60006020828403121561315b57600080fd5b81516001600160401b038082111561317257600080fd5b908301906040828603121561318657600080fd5b61318e6123bf565b825161319981612230565b81526020830151828111156131ad57600080fd5b6131b987828601612c2b565b60208301525095945050505050565b8051612caf816129ad565b600061014082840312156131e657600080fd5b6131ee612404565b6131f7836131c8565b8152613205602084016131c8565b602082015261321660408401612ca4565b604082015261322760608401612ca4565b60608201526132398460808501612fae565b608082015261324b8460c08501612fae565b60a082015261325d6101008401612dd8565b60c082015261326f61012084016131c8565b60e08201529392505050565b6000610100828403121561328e57600080fd5b60405160c081018181106001600160401b03821117156132b0576132b061235f565b60405282516132be81612230565b815260208301516132ce816129ad565b60208201526132e08460408501612fae565b60408201526132f28460808501612fae565b606082015260c0830151613305816129ad565b608082015260e0929092015160a083015250919050565b6000610200828403121561332f57600080fd5b613337612427565b613340836131c8565b815261334e602084016131c8565b602082015261335f60408401612ca4565b604082015261337060608401612ca4565b60608201526133828460808501612fae565b60808201526133948460c08501612fae565b60a08201526101006133a885828601612fae565b60c08301526133bb856101408601612fae565b60e08301526133ce856101808601612fae565b908201526133e0846101c08501612fae565b6101208201529392505050565b600060a082840312156133ff57600080fd5b61340761239d565b8251613412816130da565b81526020830151613422816130da565b60208201526040830151613435816129ad565b6040820152606083015161344881612cb4565b6060820152608083015161345b81612cb4565b60808201529392505050565b60006020828403121561347957600080fd5b81516001600160401b038082111561349057600080fd5b9083019060e082860312156134a457600080fd5b6134ac612375565b6134b583612ca4565b81526134c360208401612ca4565b60208201526134d4604084016130e9565b60408201526134e5606084016130e9565b60608201526080830151828111156134fc57600080fd5b61350887828601612c2b565b60808301525060a08301518281111561352057600080fd5b61352c87828601612c2b565b60a08301525061353e60c08401612ce4565b60c082015295945050505050565b60006020828403121561355e57600080fd5b81516001600160401b038082111561357557600080fd5b90830190610220828603121561358a57600080fd5b61359261244a565b61359b83612ca4565b81526135a960208401612ca4565b60208201526135ba60408401612dcd565b60408201526135cb60608401612dcd565b60608201526135dc60808401612ca4565b60808201526135ed60a08401612ca4565b60a08201526135fe60c08401612ca4565b60c082015261360f60e08401612ce4565b60e0820152610100808401518381111561362857600080fd5b61363488828701612c2b565b828401525050610120808401518381111561364e57600080fd5b61365a88828701612c2b565b8284015250506101409150613670828401612ea5565b828201526101609150613684828401612ea5565b828201526101809150613698828401612ca4565b828201526101a091506136ac828401612ca4565b828201526101c091506136c0828401612ce4565b828201526101e091506136d4828401612ce4565b8282015261020091506130cb828401612ce4565b6000602082840312156136fa57600080fd5b815161080e816129ad565b60006020828403121561371757600080fd5b81516001600160401b038082111561372e57600080fd5b90830190610120828603121561374357600080fd5b61374b6123e1565b82518281111561375a57600080fd5b61376687828601612c2b565b82525060208301516020820152604083015160408201526060830151606082015261379360808401612cc6565b60808201526137a460a08401612cc6565b60a08201526137b560c08401612dd8565b60c08201526137c660e08401612dd8565b60e082015261010080840151838111156137df57600080fd5b6137eb88828701612c2b565b918301919091525095945050505050565b60006020828403121561380e57600080fd5b81516001600160401b038082111561382557600080fd5b9083019060e0828603121561383957600080fd5b613841612375565b82518281111561385057600080fd5b61385c87828601612c2b565b82525061386b602084016131c8565b602082015261387c604084016131c8565b604082015261388d606084016131c8565b606082015261389e60808401612ca4565b6080820152612d9b60a08401612ca456fea2646970667358221220bc5603a680734f390266a28dc6e76318336f9f3e4f43eef4fbbe83f4bcf929a564736f6c63430008140033",
2336
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615250806100255f395ff3fe608060405234801561000f575f80fd5b506004361061046f575f3560e01c80636ebed9081161024d578063c71e261f11610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610be4578063fad77c3b14610bf7578063fcad2c4b14610c0a578063fd80249214610c1d578063febe92af14610c3d575f80fd5b8063e444c3df14610b55578063e98413ff14610b75578063f0b1d21014610b9e578063f0ea17c314610bb1578063f3ed991914610bd1575f80fd5b8063d78a83b111610105578063d78a83b114610af8578063db70354c14610b0b578063de7b5d1414610b1e578063dfbf164014610b2f578063e2eb023b14610b42575f80fd5b8063c71e261f14610aa4578063c88105e614610aac578063d06458c614610abf578063d299bf6214610adf578063d4cda0d814610ae7575f80fd5b80639096a1f3116101cc578063b82d7ef511610191578063b82d7ef514610a22578063ba579bdc14610a56578063ba62fbe414610a69578063bd7d9d8514610a71578063c6a0017914610a91575f80fd5b80639096a1f31461096b57806394b9929b1461097e578063a310e2a314610991578063a5961b4c146109a4578063a7ef3d2114610a02575f80fd5b80637f0cf947116102125780637f0cf9471461090a5780638129fc1c1461091d57806387c73e5a14610925578063887b1fa9146109385780638eb9000d14610958575f80fd5b80636ebed908146108b6578063728a61a8146108c957806378ae9350146108dc5780637d8f1e81146108ef5780637e79866914610902575f80fd5b806333fc7dee116103655780634d21a63d116102e45780636553994c116102a95780636553994c1461084a57806366c3bc951461085d5780636791f7ab146108705780636a05a413146108855780636dddada4146108a5575f80fd5b80634d21a63d146107cf57806357f80bbf146107e25780635ab1bd53146108025780635bfa502714610817578063605aa10a14610837575f80fd5b80633f093cd61161032a5780633f093cd61461073b5780633fd855611461074e5780634793b4ab14610779578063480cebd1146107995780634a4fbeec146107bc575f80fd5b806333fc7dee146106d457806335471f80146106e7578063380bd950146106fa578063392f5f641461070d5780633b046f0914610715575f80fd5b806315b74532116103f157806326d60fb4116103b657806326d60fb41461067557806327b1d7921461067d5780632c0cd0601461069d5780632f458a11146106b0578063311adb68146106c3575f80fd5b806315b74532146105bb57806315fb0abb146105ce5780631d3be477146105ee578063228e42ec1461060e57806324913ce614610621575f80fd5b806310bf267b1161043757806310bf267b1461052e578063128817d41461055557806312e1ebc51461057557806313ab148d146105955780631488c845146105a8575f80fd5b80630232ca491461047357806303014974146104a357806309648a9d146104c45780630b5d931c146104e95780630e0c586d14610509575b5f80fd5b6104866104813660046130b8565b610c5d565b6040516001600160601b0390911681526020015b60405180910390f35b6104b66104b13660046130e7565b610cd7565b60405190815260200161049a565b6104d76104d2366004613102565b610d4a565b60405160ff909116815260200161049a565b6104fc6104f73660046130b8565b610db6565b60405161049a919061315c565b6006546001600160a01b03165b6040516001600160a01b03909116815260200161049a565b61054161053c3660046131fb565b610ec1565b60405162ffffff909116815260200161049a565b610568610563366004613232565b610ed7565b60405161049a919061325c565b610588610583366004613285565b610f59565b60405161049a91906132b4565b6104b66105a33660046130b8565b610fe8565b6105166105b6366004613303565b611021565b6104866105c9366004613102565b61109d565b6105e16105dc366004613538565b6110ce565b60405161049a9190613584565b6106016105fc3660046135cb565b61115e565b60405161049a9190613614565b61048661061c3660046130b8565b611203565b61063461062f3660046136d2565b61123c565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b0316606082015260800161049a565b6104b66112d6565b61069061068b3660046130b8565b611346565b60405161049a91906136ee565b6104866106ab3660046130b8565b6113b5565b6104b66106be3660046130b8565b6113d5565b6002546001600160a01b0316610516565b6104b66106e23660046130b8565b61140e565b6104b66106f5366004613285565b611447565b61048661070836600461373a565b611478565b6104b66114f4565b6107286107233660046130b8565b61153b565b60405161ffff909116815260200161049a565b610568610749366004613756565b61154f565b61076161075c366004613102565b6115a5565b6040516001600160401b03909116815260200161049a565b61078c6107873660046130b8565b611618565b60405161049a9190613793565b6107ac6107a7366004613807565b61168b565b604051901515815260200161049a565b6107ac6107ca366004613285565b611707565b6105166107dd3660046130b8565b611773565b6107f56107f03660046130b8565b6117d1565b60405161049a9190613833565b5f5461010090046001600160a01b0316610516565b61082a6108253660046130e7565b611856565b60405161049a91906138b9565b6107ac610845366004613285565b6118fa565b6104b66108583660046135cb565b61192c565b6107ac61086b3660046130e7565b61195c565b61088361087e366004613285565b611995565b005b6108986108933660046130b8565b611ded565b60405161049a9190613929565b6005546001600160a01b0316610516565b6104866108c4366004613232565b611e43565b6105166108d7366004613102565b611e83565b6104d76108ea3660046131fb565b611eee565b6104d76108fd3660046130b8565b611f79565b610486611f86565b6107ac610918366004613807565b611ff9565b61088361203a565b6107ac6109333660046130e7565b612068565b61094b6109463660046135cb565b6120a1565b60405161049a91906139b0565b6104866109663660046130b8565b612123565b6104d76109793660046130b8565b61215c565b6104b661098c3660046130b8565b612196565b61051661099f3660046130b8565b6121cf565b6109b76109b2366004613102565b612208565b60405161049a91905f60808201905060ff835116825260ff602084015116602083015264ffffffffff604084015116604083015264ffffffffff606084015116606083015292915050565b610a15610a103660046131fb565b612292565b60405161049a91906139ee565b610a35610a303660046135cb565b612349565b604080516001600160a01b03909316835260ff90911660208301520161049a565b6107ac610a643660046130b8565b6124be565b6104b661251c565b610a84610a7f3660046130b8565b612595565b60405161049a9190613a88565b6107ac610a9f3660046130e7565b61268b565b6104b66126c4565b6104d7610aba3660046130b8565b61270b565b610ad2610acd3660046135cb565b612718565b60405161049a9190613bf3565b6107616127cd565b6003546001600160a01b0316610516565b610516610b06366004613cd1565b6127d6565b610486610b19366004613232565b61282c565b6001546001600160a01b0316610516565b610516610b3d3660046130b8565b61286c565b6104b6610b50366004613285565b6128c4565b610b68610b633660046130b8565b61291d565b60405161049a9190613ced565b610b88610b83366004613eed565b6129d8565b60405164ffffffffff909116815260200161049a565b6107ac610bac366004613f19565b612a6a565b610bc4610bbf3660046130b8565b612ab3565b60405161049a9190613f45565b6104d7610bdf366004613fa5565b612af9565b610568610bf2366004613232565b612b4c565b610728610c05366004613102565b612b8c565b6104d7610c183660046135cb565b612c0f565b610c30610c2b366004613fa5565b612c56565b60405161049a9190613fd1565b610c50610c4b3660046130e7565b612cf1565b60405161049a919061402f565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614100565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610d26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061411b565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d906024015b602060405180830381865afa158015610d92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061414b565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201529080610e9473__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600c5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8f919061411b565b612d95565b915091508015610eba5781806020019051810190610eb291906141fd565b949350505050565b5050919050565b5f610ecc8383612292565b606001519392505050565b6006546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610f2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5291906142ea565b9392505050565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc590602401608060405180830381865afa158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614310565b6005546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610d0b565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015611079573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f52919061437c565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c92565b604080516060810182525f808252602082018190528183015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061111f9086908690600401614397565b606060405180830381865af415801561113a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f529190614403565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b815290919081906111e59073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e50906001600160c01b031989169060040161325c565b915091508015610eba5781806020019051810190610eb2919061447f565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c92565b604080516060810182525f80825260208201819052918101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce690604401608060405180830381865afa1580156112a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cb919061456c565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa15801561131d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611341919061411b565b905090565b604080516080810182525f80825260208201819052918101829052606080820152908061139773__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166017610e20565b915091508015610eba5781806020019051810190610eb29190614597565b5f806113c083612595565b9050610f528160600151826101000151612e15565b600654604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610d0b565b6006546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610d0b565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610d0b565b6006546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa1580156114d0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f529190614100565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa15801561131d573d5f803e3d5ffd5b5f61154582612595565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061158a9086908690600401614636565b602060405180830381865af4158015610f2e573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa1580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614657565b61165f6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b5f8061166d610e8f85612e75565b915091508015610eba5781806020019051810190610eb291906146d4565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa1580156116e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f529190614798565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa15801561174f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614798565b5f8061177e836121cf565b90506001600160a01b038116156117cb57806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611079573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052908061183873__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600f610e20565b915091508015610eba5781806020019051810190610eb291906147b1565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160c060405180830381865afa1580156118d6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614849565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a90602401611734565b60065460405163380d295960e21b81525f916001600160a01b03169063e034a56490610d0b90859060040161325c565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc9590602401611734565b5f5460ff16156119b85760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a41919061437c565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac1919061437c565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b45919061437c565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051635bd8162760e11b81529051919092169163b7b02c4e9160048083019260209291908290030181865afa158015611ba1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc5919061437c565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051631b776b6960e21b815290519190931692636dddada492818101926020929091908290030181865afa158015611c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c44919061437c565b600580546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611ca0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cc4919061437c565b600680546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d63919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dca919061437c565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b611df5612fc9565b5f80611e2573__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166029610e20565b915091508015610eba5781806020019051810190610eb291906148d0565b600554604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016114b5565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611eca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061437c565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f90610f529073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611f55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d2919061411b565b5f610cd16104d283612e75565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611fd5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113419190614100565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf947906044016116c8565b5f5460ff161561205d5760405163ae9eff1b60e01b815260040160405180910390fd5b61206633611995565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a90602401611734565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81525f9081906121059073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e50906001600160c01b031989169060040161325c565b915091508015610eba5781806020019051810190610eb29190614961565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c92565b6004545f906001600160a01b03166309648a9d61217884612ed1565b6040518263ffffffff1660e01b8152600401610d7791815260200190565b6005546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610d0b565b5f805f6121de610e8f85612efd565b915091508015610eba57818060200190518101906121fc91906149f1565b60200151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561226e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614a61565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c08301529151637d56159160e11b815261ffff841660048201526001600160601b0385166024820152909190819061231a9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e50565b91509150801561234157818060200190518101906123389190614ab4565b92505050610cd1565b505092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d7919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561241a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243e919061437c565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612491573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b59190614b9d565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af415801561174f573d5f803e3d5ffd5b60025460408051632e98bef960e21b815290515f926001600160a01b03169163ba62fbe49160048083019260209291908290030181865afa158015612563573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125879190614657565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830182905261012083018290526101408301829052610160830182905261018083018290526101a08301919091526101c082018190526101e0820152600480549251636c36e7db60e01b81526001600160601b0385169181019190915290916001600160a01b031690636c36e7db906024015f60405180830381865afa158015612664573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cd19190810190614bd5565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a0017990602401611734565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561131d573d5f803e3d5ffd5b5f610cd16104d283612f29565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b815290919081906127af9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e50906001600160c01b031989169060040161325c565b915091508015610eba5781806020019051810190610eb29190614d68565b5f611341612f55565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa158015611079573d5f803e3d5ffd5b6005546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016114b5565b5f80612877836121cf565b90506001600160a01b038116156117cb57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611079573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610d26573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810182905290806129ba610e8f85612f29565b915091508015610eba5781806020019051810190610eb29190614e89565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846129ff856001614fff565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612a46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f52919061501a565b6007546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016116c8565b60408051606080820183528082525f60208301819052928201529080612adb610e8f85612efd565b915091508015610eba5781806020019051810190610eb291906149f1565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f90610f529073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611f3a565b60065460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610f13565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612bb2846001615035565b6040518263ffffffff1660e01b8152600401612bd091815260200190565b602060405180830381865af4158015612beb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190615048565b6040516355ee627560e01b81525f90610cd19073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611f3a906001600160c01b031987169060040161325c565b6040805160a0810182525f80825260208201819052818301819052606080830182905260808301529151632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201529091908190612cd39073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401610e50565b91509150801561234157818060200190518101906123389190615063565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091908190612d779073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401610e50565b915091508015610eba5781806020019051810190610eb29190615119565b6003546040516354f6127f60e01b8152600481018390526060915f916001600160a01b03909116906354f6127f906024015f60405180830381865afa158015612de0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e0791908101906151e9565b805190949015159350915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156114d0573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401612902565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612e9d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b612e9d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612e9d565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612fa5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113419190614657565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613006604080518082019091525f808252602082015290565b8152602001613024604080518082019091525f808252602082015290565b8152602001613042604080518082019091525f808252602082015290565b8152602001613060604080518082019091525f808252602082015290565b815260200161307e604080518082019091525f808252602082015290565b815260200161309c604080518082019091525f808252602082015290565b905290565b6001600160601b03811681146130b5575f80fd5b50565b5f602082840312156130c8575f80fd5b8135610f52816130a1565b6001600160401b03811681146130b5575f80fd5b5f602082840312156130f7575f80fd5b8135610f52816130d3565b5f60208284031215613112575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156131525781516001600160601b031686526020958601959091019060010161312b565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613189606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610eb2610120840182613119565b61ffff811681146130b5575f80fd5b5f806040838503121561320c575f80fd5b8235613217816130a1565b91506020830135613227816131ec565b809150509250929050565b5f8060408385031215613243575f80fd5b823561324e816130a1565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b03811681146130b5575f80fd5b5f60208284031215613295575f80fd5b8135610f5281613271565b634e487b7160e01b5f52602160045260245ffd5b8151815260208201516080820190600781106132d2576132d26132a0565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215613314575f80fd5b8235915060208301355f81900b8114613227575f80fd5b6001600160e01b0319811681146130b5575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561337757613377613340565b60405290565b604051608081016001600160401b038111828210171561337757613377613340565b604051606081016001600160401b038111828210171561337757613377613340565b60405160c081016001600160401b038111828210171561337757613377613340565b60405160e081016001600160401b038111828210171561337757613377613340565b60405161020081016001600160401b038111828210171561337757613377613340565b60405161014081016001600160401b038111828210171561337757613377613340565b60405161024081016001600160401b038111828210171561337757613377613340565b60405160a081016001600160401b038111828210171561337757613377613340565b604051601f8201601f191681016001600160401b03811182821017156134b8576134b8613340565b604052919050565b5f6001600160401b038211156134d8576134d8613340565b50601f01601f191660200190565b5f82601f8301126134f5575f80fd5b8135613508613503826134c0565b613490565b81815284602083860101111561351c575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215613549575f80fd5b82356135548161332b565b915060208301356001600160401b0381111561356e575f80fd5b61357a858286016134e6565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610cd1565b6001600160c01b0319811681146130b5575f80fd5b5f602082840312156135db575f80fd5b8135610f52816135b6565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161364360408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526136ab6101208401826135e6565b905060e0840151601f19848303016101008501526136c982826135e6565b95945050505050565b5f80604083850312156136e3575f80fd5b823561324e81613271565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152610eb260a08401826135e6565b5f806040838503121561374b575f80fd5b823561324e816135b6565b5f8060408385031215613767575f80fd5b8235613554816130a1565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516137ed60a0840182613772565b5060a083015160e080840152610eb26101008401826135e6565b5f8060408385031215613818575f80fd5b8235613823816130d3565b9150602083013561322781613271565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161388a608084018215159052565b5060a083015161389e60a084018215159052565b5060c08301516138b260c084018215159052565b5092915050565b81516001600160401b03168152602082015160c0820190600481106138e0576138e06132a0565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061393c828451613772565b602083015161394e6040840182613772565b5060408301516139616080840182613772565b50606083015161397460c0840182613772565b506080830151613988610100840182613772565b5060a083015161399c610140840182613772565b5060c08301516138b2610180840182613772565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152610eb260808401826135e6565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613a2e606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613a6b6101008401826135e6565b905060c0840151601f198483030160e08501526136c982826135e6565b60208152613aa26020820183516001600160601b03169052565b5f6020830151613abd60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613bd46102208401826135e6565b90506101e0840151601f19848303016102008501526136c982826135e6565b60208152613c0d6020820183516001600160a01b03169052565b5f6020830151613c2860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613cb26101608401826135e6565b9050610120840151601f19848303016101408501526136c982826135e6565b5f8060408385031215613ce2575f80fd5b823561324e816130d3565b81516001600160601b0316815261024081016020830151613d1960208401826001600160601b03169052565b506040830151613d3460408401826001600160601b03169052565b506060830151613d4f60608401826001600160601b03169052565b506080830151613d6a60808401826001600160601b03169052565b5060a0830151613d8560a08401826001600160601b03169052565b5060c0830151613da060c08401826001600160601b03169052565b5060e0830151613dbb60e08401826001600160601b03169052565b50610100830151613dd86101008401826001600160601b03169052565b50610120830151613df56101208401826001600160601b03169052565b50610140830151613e126101408401826001600160601b03169052565b50610160830151613e2f6101608401826001600160601b03169052565b50610180830151613e4c6101808401826001600160601b03169052565b506101a0830151613e696101a08401826001600160601b03169052565b506101c0830151613e866101c08401826001600160601b03169052565b506101e0830151613ea36101e08401826001600160601b03169052565b50610200830151613ec06102008401826001600160601b03169052565b506102208301516138b26102208401826001600160601b03169052565b62ffffff811681146130b5575f80fd5b5f8060408385031215613efe575f80fd5b8235613f09816131ec565b9150602083013561322781613edd565b5f8060408385031215613f2a575f80fd5b8235613f35816130a1565b91506020830135613227816135b6565b602081525f825160606020840152613f6060808401826135e6565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506136c982826135e6565b64ffffffffff811681146130b5575f80fd5b5f8060408385031215613fb6575f80fd5b8235613fc1816130a1565b9150602083013561322781613f93565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152610eb260c08401826135e6565b602081526140496020820183516001600160601b03169052565b5f602083015161406460408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526140b46101208401826135e6565b905060c0840151601f198483030160e08501526140d182826135e6565b91505060e0840151601f19848303016101008501526136c982826135e6565b80516140fb816130a1565b919050565b5f60208284031215614110575f80fd5b8151610f52816130a1565b5f6020828403121561412b575f80fd5b5051919050565b60ff811681146130b5575f80fd5b80516140fb81614132565b5f6020828403121561415b575f80fd5b8151610f5281614132565b805180151581146140fb575f80fd5b5f82601f830112614184575f80fd5b81516001600160401b0381111561419d5761419d613340565b8060051b6141ad60208201613490565b918252602081850181019290810190868411156141c8575f80fd5b6020860192505b838310156141f35782516141e2816130a1565b8252602092830192909101906141cf565b9695505050505050565b5f6020828403121561420d575f80fd5b81516001600160401b03811115614222575f80fd5b82016101008185031215614234575f80fd5b61423c613354565b61424582614166565b815261425360208301614166565b602082015261426460408301614166565b604082015261427560608301614140565b606082015261428660808301614140565b608082015261429760a083016140f0565b60a08201526142a860c083016140f0565b60c082015260e08201516001600160401b038111156142c5575f80fd5b6142d186828501614175565b60e083015250949350505050565b80516140fb816135b6565b5f602082840312156142fa575f80fd5b8151610f52816135b6565b80516140fb81613f93565b5f6080828403128015614321575f80fd5b5061432a61337d565b8251815260208301516007811061433f575f80fd5b60208201526040830151614352816130d3565b6040820152606083015161436581613f93565b60608201529392505050565b80516140fb81613271565b5f6020828403121561438c575f80fd5b8151610f5281613271565b63ffffffff60e01b83168152604060208201525f610eb260408301846135e6565b5f606082840312156143c8575f80fd5b6143d061339f565b8251815260208301519091506143e58161332b565b602082015260408201516143f881613f93565b604082015292915050565b5f60608284031215614413575f80fd5b610f5283836143b8565b805163ffffffff811681146140fb575f80fd5b5f82601f83011261443f575f80fd5b8151602083015f614452613503846134c0565b9050828152858383011115614465575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561448f575f80fd5b81516001600160401b038111156144a4575f80fd5b820161010081850312156144b6575f80fd5b6144be613354565b6144c7826140f0565b81526144d5602083016140f0565b60208201526144e66040830161441d565b60408201526144f76060830161441d565b606082015261450860808301614371565b608082015261451960a08301614305565b60a082015260c08201516001600160401b03811115614536575f80fd5b61454286828501614430565b60c08301525060e08201516001600160401b03811115614560575f80fd5b6142d186828501614430565b5f806080838503121561457d575f80fd5b61458784846143b8565b91506060830151613227816130d3565b5f602082840312156145a7575f80fd5b81516001600160401b038111156145bc575f80fd5b8201608081850312156145cd575f80fd5b6145d561337d565b81516145e0816135b6565b81526145ee60208301614166565b60208201526145ff6040830161441d565b604082015260608201516001600160401b0381111561461c575f80fd5b61462886828501614430565b606083015250949350505050565b6001600160601b0383168152604060208201525f610eb260408301846135e6565b5f60208284031215614667575f80fd5b8151610f52816130d3565b5f60408284031215614682575f80fd5b604080519081016001600160401b03811182821017156146a4576146a4613340565b806040525080915082516146b781613271565b815260208301516146c7816130a1565b6020919091015292915050565b5f602082840312156146e4575f80fd5b81516001600160401b038111156146f9575f80fd5b820160e0818503121561470a575f80fd5b6147126133c1565b815161471d81613f93565b8152602082015161472d81613f93565b602082015261473e60408301614305565b604082015261474f606083016140f0565b60608201526147618560808401614672565b608082015260c08201516001600160401b0381111561477e575f80fd5b61478a86828501614430565b60a083015250949350505050565b5f602082840312156147a8575f80fd5b610f5282614166565b5f60e08284031280156147c2575f80fd5b506147cb6133e3565b82516147d6816130a1565b815260208301516147e681613271565b602082015260408301516147f981613271565b604082015261480a60608401614166565b606082015261481b60808401614166565b608082015261482c60a08401614166565b60a082015261483d60c08401614166565b60c08201529392505050565b5f60c082840312801561485a575f80fd5b506148636133c1565b825161486e816130d3565b8152602083015160048110614881575f80fd5b60208201526148926040840161441d565b604082015260608301516148a581613f93565b606082015260808301516148b881613f93565b608082015260a0928301519281019290925250919050565b5f6101c08284031280156148e2575f80fd5b506148eb6133e3565b6148f58484614672565b81526149048460408501614672565b60208201526149168460808501614672565b60408201526149288460c08501614672565b606082015261493b846101008501614672565b608082015261494e846101408501614672565b60a082015261483d846101808501614672565b5f60208284031215614971575f80fd5b81516001600160401b03811115614986575f80fd5b820160608185031215614997575f80fd5b61499f61339f565b81516149aa816130a1565b815260208201516149ba81613f93565b602082015260408201516001600160401b038111156149d7575f80fd5b6149e386828501614430565b604083015250949350505050565b5f60208284031215614a01575f80fd5b81516001600160401b03811115614a16575f80fd5b820160608185031215614a27575f80fd5b614a2f61339f565b81516001600160401b03811115614a44575f80fd5b614a5086828501614430565b82525060208201516149ba81613271565b5f6080828403128015614a72575f80fd5b50614a7b61337d565b8251614a8681614132565b81526020830151614a9681614132565b6020820152604083015161435281613f93565b80516140fb81613edd565b5f60208284031215614ac4575f80fd5b81516001600160401b03811115614ad9575f80fd5b820160e08185031215614aea575f80fd5b614af26133e3565b614afb826140f0565b8152614b09602083016140f0565b6020820152614b1a60408301614305565b6040820152614b2b60608301614aa9565b6060820152614b3c60808301614aa9565b608082015260a08201516001600160401b03811115614b59575f80fd5b614b6586828501614430565b60a08301525060c08201516001600160401b03811115614b83575f80fd5b614b8f86828501614430565b60c083015250949350505050565b5f8060408385031215614bae575f80fd5b8251614bb981613271565b602084015190925061322781614132565b80516140fb816131ec565b5f60208284031215614be5575f80fd5b81516001600160401b03811115614bfa575f80fd5b82016102008185031215614c0c575f80fd5b614c14613405565b614c1d826140f0565b8152614c2b602083016140f0565b6020820152614c3c604083016142df565b6040820152614c4d606083016140f0565b6060820152614c5e608083016140f0565b6080820152614c6f60a083016142df565b60a0820152614c8060c08301614bca565b60c0820152614c9160e08301614bca565b60e0820152614ca361010083016140f0565b610100820152614cb661012083016140f0565b610120820152614cc96101408301614305565b610140820152614cdc6101608301614305565b610160820152614cef6101808301614305565b610180820152614d026101a08301614305565b6101a08201526101c08201516001600160401b03811115614d21575f80fd5b614d2d86828501614430565b6101c0830152506101e08201516001600160401b03811115614d4d575f80fd5b614d5986828501614430565b6101e083015250949350505050565b5f60208284031215614d78575f80fd5b81516001600160401b03811115614d8d575f80fd5b82016101408185031215614d9f575f80fd5b614da7613428565b614db082614371565b8152614dbe602083016140f0565b6020820152614dcf60408301614371565b6040820152614de06060830161441d565b6060820152614df160808301614305565b6080820152614e0260a08301614166565b60a0820152614e1360c08301614166565b60c0820152614e2460e08301614371565b60e08201526101008201516001600160401b03811115614e42575f80fd5b614e4e86828501614430565b610100830152506101208201516001600160401b03811115614e6e575f80fd5b614e7a86828501614430565b61012083015250949350505050565b5f610240828403128015614e9b575f80fd5b50614ea461344b565b614ead836140f0565b8152614ebb602084016140f0565b6020820152614ecc604084016140f0565b6040820152614edd606084016140f0565b6060820152614eee608084016140f0565b6080820152614eff60a084016140f0565b60a0820152614f1060c084016140f0565b60c0820152614f2160e084016140f0565b60e0820152614f3361010084016140f0565b610100820152614f4661012084016140f0565b610120820152614f5961014084016140f0565b610140820152614f6c61016084016140f0565b610160820152614f7f61018084016140f0565b610180820152614f926101a084016140f0565b6101a0820152614fa56101c084016140f0565b6101c0820152614fb86101e084016140f0565b6101e0820152614fcb61020084016140f0565b610200820152614fde61022084016140f0565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610cd157610cd1614feb565b5f6020828403121561502a575f80fd5b8151610f5281613f93565b80820180821115610cd157610cd1614feb565b5f60208284031215615058575f80fd5b8151610f52816131ec565b5f60208284031215615073575f80fd5b81516001600160401b03811115615088575f80fd5b820160a08185031215615099575f80fd5b6150a161346e565b81516150ac816131ec565b815260208201516150bc816130a1565b602082015260408201516150cf81613f93565b604082015260608201516150e281613271565b606082015260808201516001600160401b038111156150ff575f80fd5b61510b86828501614430565b608083015250949350505050565b5f60208284031215615129575f80fd5b81516001600160401b0381111561513e575f80fd5b82016101008185031215615150575f80fd5b615158613354565b615161826140f0565b815261516f602083016140f0565b602082015261518060408301614166565b604082015261519160608301614305565b60608201526151a260808301614305565b608082015260a08201516001600160401b038111156151bf575f80fd5b6151cb86828501614430565b60a08301525060c08201516001600160401b03811115614536575f80fd5b5f602082840312156151f9575f80fd5b81516001600160401b0381111561520e575f80fd5b610eb28482850161443056fea2646970667358221220cd7a146f1b93c5c91533e172ee4d3d65a6eb2f0f60c1c224dbe45a7d642fef4164736f6c634300081a0033",
2337
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061046f575f3560e01c80636ebed9081161024d578063c71e261f11610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610be4578063fad77c3b14610bf7578063fcad2c4b14610c0a578063fd80249214610c1d578063febe92af14610c3d575f80fd5b8063e444c3df14610b55578063e98413ff14610b75578063f0b1d21014610b9e578063f0ea17c314610bb1578063f3ed991914610bd1575f80fd5b8063d78a83b111610105578063d78a83b114610af8578063db70354c14610b0b578063de7b5d1414610b1e578063dfbf164014610b2f578063e2eb023b14610b42575f80fd5b8063c71e261f14610aa4578063c88105e614610aac578063d06458c614610abf578063d299bf6214610adf578063d4cda0d814610ae7575f80fd5b80639096a1f3116101cc578063b82d7ef511610191578063b82d7ef514610a22578063ba579bdc14610a56578063ba62fbe414610a69578063bd7d9d8514610a71578063c6a0017914610a91575f80fd5b80639096a1f31461096b57806394b9929b1461097e578063a310e2a314610991578063a5961b4c146109a4578063a7ef3d2114610a02575f80fd5b80637f0cf947116102125780637f0cf9471461090a5780638129fc1c1461091d57806387c73e5a14610925578063887b1fa9146109385780638eb9000d14610958575f80fd5b80636ebed908146108b6578063728a61a8146108c957806378ae9350146108dc5780637d8f1e81146108ef5780637e79866914610902575f80fd5b806333fc7dee116103655780634d21a63d116102e45780636553994c116102a95780636553994c1461084a57806366c3bc951461085d5780636791f7ab146108705780636a05a413146108855780636dddada4146108a5575f80fd5b80634d21a63d146107cf57806357f80bbf146107e25780635ab1bd53146108025780635bfa502714610817578063605aa10a14610837575f80fd5b80633f093cd61161032a5780633f093cd61461073b5780633fd855611461074e5780634793b4ab14610779578063480cebd1146107995780634a4fbeec146107bc575f80fd5b806333fc7dee146106d457806335471f80146106e7578063380bd950146106fa578063392f5f641461070d5780633b046f0914610715575f80fd5b806315b74532116103f157806326d60fb4116103b657806326d60fb41461067557806327b1d7921461067d5780632c0cd0601461069d5780632f458a11146106b0578063311adb68146106c3575f80fd5b806315b74532146105bb57806315fb0abb146105ce5780631d3be477146105ee578063228e42ec1461060e57806324913ce614610621575f80fd5b806310bf267b1161043757806310bf267b1461052e578063128817d41461055557806312e1ebc51461057557806313ab148d146105955780631488c845146105a8575f80fd5b80630232ca491461047357806303014974146104a357806309648a9d146104c45780630b5d931c146104e95780630e0c586d14610509575b5f80fd5b6104866104813660046130b8565b610c5d565b6040516001600160601b0390911681526020015b60405180910390f35b6104b66104b13660046130e7565b610cd7565b60405190815260200161049a565b6104d76104d2366004613102565b610d4a565b60405160ff909116815260200161049a565b6104fc6104f73660046130b8565b610db6565b60405161049a919061315c565b6006546001600160a01b03165b6040516001600160a01b03909116815260200161049a565b61054161053c3660046131fb565b610ec1565b60405162ffffff909116815260200161049a565b610568610563366004613232565b610ed7565b60405161049a919061325c565b610588610583366004613285565b610f59565b60405161049a91906132b4565b6104b66105a33660046130b8565b610fe8565b6105166105b6366004613303565b611021565b6104866105c9366004613102565b61109d565b6105e16105dc366004613538565b6110ce565b60405161049a9190613584565b6106016105fc3660046135cb565b61115e565b60405161049a9190613614565b61048661061c3660046130b8565b611203565b61063461062f3660046136d2565b61123c565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b0316606082015260800161049a565b6104b66112d6565b61069061068b3660046130b8565b611346565b60405161049a91906136ee565b6104866106ab3660046130b8565b6113b5565b6104b66106be3660046130b8565b6113d5565b6002546001600160a01b0316610516565b6104b66106e23660046130b8565b61140e565b6104b66106f5366004613285565b611447565b61048661070836600461373a565b611478565b6104b66114f4565b6107286107233660046130b8565b61153b565b60405161ffff909116815260200161049a565b610568610749366004613756565b61154f565b61076161075c366004613102565b6115a5565b6040516001600160401b03909116815260200161049a565b61078c6107873660046130b8565b611618565b60405161049a9190613793565b6107ac6107a7366004613807565b61168b565b604051901515815260200161049a565b6107ac6107ca366004613285565b611707565b6105166107dd3660046130b8565b611773565b6107f56107f03660046130b8565b6117d1565b60405161049a9190613833565b5f5461010090046001600160a01b0316610516565b61082a6108253660046130e7565b611856565b60405161049a91906138b9565b6107ac610845366004613285565b6118fa565b6104b66108583660046135cb565b61192c565b6107ac61086b3660046130e7565b61195c565b61088361087e366004613285565b611995565b005b6108986108933660046130b8565b611ded565b60405161049a9190613929565b6005546001600160a01b0316610516565b6104866108c4366004613232565b611e43565b6105166108d7366004613102565b611e83565b6104d76108ea3660046131fb565b611eee565b6104d76108fd3660046130b8565b611f79565b610486611f86565b6107ac610918366004613807565b611ff9565b61088361203a565b6107ac6109333660046130e7565b612068565b61094b6109463660046135cb565b6120a1565b60405161049a91906139b0565b6104866109663660046130b8565b612123565b6104d76109793660046130b8565b61215c565b6104b661098c3660046130b8565b612196565b61051661099f3660046130b8565b6121cf565b6109b76109b2366004613102565b612208565b60405161049a91905f60808201905060ff835116825260ff602084015116602083015264ffffffffff604084015116604083015264ffffffffff606084015116606083015292915050565b610a15610a103660046131fb565b612292565b60405161049a91906139ee565b610a35610a303660046135cb565b612349565b604080516001600160a01b03909316835260ff90911660208301520161049a565b6107ac610a643660046130b8565b6124be565b6104b661251c565b610a84610a7f3660046130b8565b612595565b60405161049a9190613a88565b6107ac610a9f3660046130e7565b61268b565b6104b66126c4565b6104d7610aba3660046130b8565b61270b565b610ad2610acd3660046135cb565b612718565b60405161049a9190613bf3565b6107616127cd565b6003546001600160a01b0316610516565b610516610b06366004613cd1565b6127d6565b610486610b19366004613232565b61282c565b6001546001600160a01b0316610516565b610516610b3d3660046130b8565b61286c565b6104b6610b50366004613285565b6128c4565b610b68610b633660046130b8565b61291d565b60405161049a9190613ced565b610b88610b83366004613eed565b6129d8565b60405164ffffffffff909116815260200161049a565b6107ac610bac366004613f19565b612a6a565b610bc4610bbf3660046130b8565b612ab3565b60405161049a9190613f45565b6104d7610bdf366004613fa5565b612af9565b610568610bf2366004613232565b612b4c565b610728610c05366004613102565b612b8c565b6104d7610c183660046135cb565b612c0f565b610c30610c2b366004613fa5565b612c56565b60405161049a9190613fd1565b610c50610c4b3660046130e7565b612cf1565b60405161049a919061402f565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614100565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610d26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061411b565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d906024015b602060405180830381865afa158015610d92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061414b565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201529080610e9473__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600c5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8f919061411b565b612d95565b915091508015610eba5781806020019051810190610eb291906141fd565b949350505050565b5050919050565b5f610ecc8383612292565b606001519392505050565b6006546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610f2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5291906142ea565b9392505050565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc590602401608060405180830381865afa158015610fc4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614310565b6005546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610d0b565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015611079573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f52919061437c565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c92565b604080516060810182525f808252602082018190528183015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061111f9086908690600401614397565b606060405180830381865af415801561113a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f529190614403565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b815290919081906111e59073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e50906001600160c01b031989169060040161325c565b915091508015610eba5781806020019051810190610eb2919061447f565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c92565b604080516060810182525f80825260208201819052918101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce690604401608060405180830381865afa1580156112a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cb919061456c565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa15801561131d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611341919061411b565b905090565b604080516080810182525f80825260208201819052918101829052606080820152908061139773__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166017610e20565b915091508015610eba5781806020019051810190610eb29190614597565b5f806113c083612595565b9050610f528160600151826101000151612e15565b600654604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610d0b565b6006546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610d0b565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610d0b565b6006546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa1580156114d0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f529190614100565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa15801561131d573d5f803e3d5ffd5b5f61154582612595565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061158a9086908690600401614636565b602060405180830381865af4158015610f2e573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa1580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614657565b61165f6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b5f8061166d610e8f85612e75565b915091508015610eba5781806020019051810190610eb291906146d4565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa1580156116e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f529190614798565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa15801561174f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614798565b5f8061177e836121cf565b90506001600160a01b038116156117cb57806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611079573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052908061183873__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600f610e20565b915091508015610eba5781806020019051810190610eb291906147b1565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160c060405180830381865afa1580156118d6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614849565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a90602401611734565b60065460405163380d295960e21b81525f916001600160a01b03169063e034a56490610d0b90859060040161325c565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc9590602401611734565b5f5460ff16156119b85760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a41919061437c565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac1919061437c565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b45919061437c565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051635bd8162760e11b81529051919092169163b7b02c4e9160048083019260209291908290030181865afa158015611ba1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc5919061437c565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051631b776b6960e21b815290519190931692636dddada492818101926020929091908290030181865afa158015611c20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c44919061437c565b600580546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611ca0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cc4919061437c565b600680546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d63919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dca919061437c565b600780546001600160a01b0319166001600160a01b039290921691909117905550565b611df5612fc9565b5f80611e2573__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166029610e20565b915091508015610eba5781806020019051810190610eb291906148d0565b600554604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016114b5565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611eca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061437c565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f90610f529073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611f55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d2919061411b565b5f610cd16104d283612e75565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611fd5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113419190614100565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf947906044016116c8565b5f5460ff161561205d5760405163ae9eff1b60e01b815260040160405180910390fd5b61206633611995565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a90602401611734565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81525f9081906121059073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e50906001600160c01b031989169060040161325c565b915091508015610eba5781806020019051810190610eb29190614961565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c92565b6004545f906001600160a01b03166309648a9d61217884612ed1565b6040518263ffffffff1660e01b8152600401610d7791815260200190565b6005546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610d0b565b5f805f6121de610e8f85612efd565b915091508015610eba57818060200190518101906121fc91906149f1565b60200151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561226e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614a61565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c08301529151637d56159160e11b815261ffff841660048201526001600160601b0385166024820152909190819061231a9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e50565b91509150801561234157818060200190518101906123389190614ab4565b92505050610cd1565b505092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d7919061414b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561241a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243e919061437c565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612491573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b59190614b9d565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af415801561174f573d5f803e3d5ffd5b60025460408051632e98bef960e21b815290515f926001600160a01b03169163ba62fbe49160048083019260209291908290030181865afa158015612563573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125879190614657565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830182905261012083018290526101408301829052610160830182905261018083018290526101a08301919091526101c082018190526101e0820152600480549251636c36e7db60e01b81526001600160601b0385169181019190915290916001600160a01b031690636c36e7db906024015f60405180830381865afa158015612664573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cd19190810190614bd5565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a0017990602401611734565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561131d573d5f803e3d5ffd5b5f610cd16104d283612f29565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b815290919081906127af9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e50906001600160c01b031989169060040161325c565b915091508015610eba5781806020019051810190610eb29190614d68565b5f611341612f55565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa158015611079573d5f803e3d5ffd5b6005546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016114b5565b5f80612877836121cf565b90506001600160a01b038116156117cb57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611079573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610d26573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810182905290806129ba610e8f85612f29565b915091508015610eba5781806020019051810190610eb29190614e89565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846129ff856001614fff565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612a46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f52919061501a565b6007546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016116c8565b60408051606080820183528082525f60208301819052928201529080612adb610e8f85612efd565b915091508015610eba5781806020019051810190610eb291906149f1565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f90610f529073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611f3a565b60065460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610f13565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612bb2846001615035565b6040518263ffffffff1660e01b8152600401612bd091815260200190565b602060405180830381865af4158015612beb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190615048565b6040516355ee627560e01b81525f90610cd19073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611f3a906001600160c01b031987169060040161325c565b6040805160a0810182525f80825260208201819052818301819052606080830182905260808301529151632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201529091908190612cd39073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401610e50565b91509150801561234157818060200190518101906123389190615063565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091908190612d779073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401610e50565b915091508015610eba5781806020019051810190610eb29190615119565b6003546040516354f6127f60e01b8152600481018390526060915f916001600160a01b03909116906354f6127f906024015f60405180830381865afa158015612de0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e0791908101906151e9565b805190949015159350915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156114d0573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401612902565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612e9d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b612e9d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612e9d565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612fa5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113419190614657565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613006604080518082019091525f808252602082015290565b8152602001613024604080518082019091525f808252602082015290565b8152602001613042604080518082019091525f808252602082015290565b8152602001613060604080518082019091525f808252602082015290565b815260200161307e604080518082019091525f808252602082015290565b815260200161309c604080518082019091525f808252602082015290565b905290565b6001600160601b03811681146130b5575f80fd5b50565b5f602082840312156130c8575f80fd5b8135610f52816130a1565b6001600160401b03811681146130b5575f80fd5b5f602082840312156130f7575f80fd5b8135610f52816130d3565b5f60208284031215613112575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156131525781516001600160601b031686526020958601959091019060010161312b565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613189606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610eb2610120840182613119565b61ffff811681146130b5575f80fd5b5f806040838503121561320c575f80fd5b8235613217816130a1565b91506020830135613227816131ec565b809150509250929050565b5f8060408385031215613243575f80fd5b823561324e816130a1565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b03811681146130b5575f80fd5b5f60208284031215613295575f80fd5b8135610f5281613271565b634e487b7160e01b5f52602160045260245ffd5b8151815260208201516080820190600781106132d2576132d26132a0565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f8060408385031215613314575f80fd5b8235915060208301355f81900b8114613227575f80fd5b6001600160e01b0319811681146130b5575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561337757613377613340565b60405290565b604051608081016001600160401b038111828210171561337757613377613340565b604051606081016001600160401b038111828210171561337757613377613340565b60405160c081016001600160401b038111828210171561337757613377613340565b60405160e081016001600160401b038111828210171561337757613377613340565b60405161020081016001600160401b038111828210171561337757613377613340565b60405161014081016001600160401b038111828210171561337757613377613340565b60405161024081016001600160401b038111828210171561337757613377613340565b60405160a081016001600160401b038111828210171561337757613377613340565b604051601f8201601f191681016001600160401b03811182821017156134b8576134b8613340565b604052919050565b5f6001600160401b038211156134d8576134d8613340565b50601f01601f191660200190565b5f82601f8301126134f5575f80fd5b8135613508613503826134c0565b613490565b81815284602083860101111561351c575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215613549575f80fd5b82356135548161332b565b915060208301356001600160401b0381111561356e575f80fd5b61357a858286016134e6565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610cd1565b6001600160c01b0319811681146130b5575f80fd5b5f602082840312156135db575f80fd5b8135610f52816135b6565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161364360408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526136ab6101208401826135e6565b905060e0840151601f19848303016101008501526136c982826135e6565b95945050505050565b5f80604083850312156136e3575f80fd5b823561324e81613271565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152610eb260a08401826135e6565b5f806040838503121561374b575f80fd5b823561324e816135b6565b5f8060408385031215613767575f80fd5b8235613554816130a1565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516137ed60a0840182613772565b5060a083015160e080840152610eb26101008401826135e6565b5f8060408385031215613818575f80fd5b8235613823816130d3565b9150602083013561322781613271565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161388a608084018215159052565b5060a083015161389e60a084018215159052565b5060c08301516138b260c084018215159052565b5092915050565b81516001600160401b03168152602082015160c0820190600481106138e0576138e06132a0565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061393c828451613772565b602083015161394e6040840182613772565b5060408301516139616080840182613772565b50606083015161397460c0840182613772565b506080830151613988610100840182613772565b5060a083015161399c610140840182613772565b5060c08301516138b2610180840182613772565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152610eb260808401826135e6565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613a2e606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613a6b6101008401826135e6565b905060c0840151601f198483030160e08501526136c982826135e6565b60208152613aa26020820183516001600160601b03169052565b5f6020830151613abd60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613bd46102208401826135e6565b90506101e0840151601f19848303016102008501526136c982826135e6565b60208152613c0d6020820183516001600160a01b03169052565b5f6020830151613c2860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613cb26101608401826135e6565b9050610120840151601f19848303016101408501526136c982826135e6565b5f8060408385031215613ce2575f80fd5b823561324e816130d3565b81516001600160601b0316815261024081016020830151613d1960208401826001600160601b03169052565b506040830151613d3460408401826001600160601b03169052565b506060830151613d4f60608401826001600160601b03169052565b506080830151613d6a60808401826001600160601b03169052565b5060a0830151613d8560a08401826001600160601b03169052565b5060c0830151613da060c08401826001600160601b03169052565b5060e0830151613dbb60e08401826001600160601b03169052565b50610100830151613dd86101008401826001600160601b03169052565b50610120830151613df56101208401826001600160601b03169052565b50610140830151613e126101408401826001600160601b03169052565b50610160830151613e2f6101608401826001600160601b03169052565b50610180830151613e4c6101808401826001600160601b03169052565b506101a0830151613e696101a08401826001600160601b03169052565b506101c0830151613e866101c08401826001600160601b03169052565b506101e0830151613ea36101e08401826001600160601b03169052565b50610200830151613ec06102008401826001600160601b03169052565b506102208301516138b26102208401826001600160601b03169052565b62ffffff811681146130b5575f80fd5b5f8060408385031215613efe575f80fd5b8235613f09816131ec565b9150602083013561322781613edd565b5f8060408385031215613f2a575f80fd5b8235613f35816130a1565b91506020830135613227816135b6565b602081525f825160606020840152613f6060808401826135e6565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506136c982826135e6565b64ffffffffff811681146130b5575f80fd5b5f8060408385031215613fb6575f80fd5b8235613fc1816130a1565b9150602083013561322781613f93565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152610eb260c08401826135e6565b602081526140496020820183516001600160601b03169052565b5f602083015161406460408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526140b46101208401826135e6565b905060c0840151601f198483030160e08501526140d182826135e6565b91505060e0840151601f19848303016101008501526136c982826135e6565b80516140fb816130a1565b919050565b5f60208284031215614110575f80fd5b8151610f52816130a1565b5f6020828403121561412b575f80fd5b5051919050565b60ff811681146130b5575f80fd5b80516140fb81614132565b5f6020828403121561415b575f80fd5b8151610f5281614132565b805180151581146140fb575f80fd5b5f82601f830112614184575f80fd5b81516001600160401b0381111561419d5761419d613340565b8060051b6141ad60208201613490565b918252602081850181019290810190868411156141c8575f80fd5b6020860192505b838310156141f35782516141e2816130a1565b8252602092830192909101906141cf565b9695505050505050565b5f6020828403121561420d575f80fd5b81516001600160401b03811115614222575f80fd5b82016101008185031215614234575f80fd5b61423c613354565b61424582614166565b815261425360208301614166565b602082015261426460408301614166565b604082015261427560608301614140565b606082015261428660808301614140565b608082015261429760a083016140f0565b60a08201526142a860c083016140f0565b60c082015260e08201516001600160401b038111156142c5575f80fd5b6142d186828501614175565b60e083015250949350505050565b80516140fb816135b6565b5f602082840312156142fa575f80fd5b8151610f52816135b6565b80516140fb81613f93565b5f6080828403128015614321575f80fd5b5061432a61337d565b8251815260208301516007811061433f575f80fd5b60208201526040830151614352816130d3565b6040820152606083015161436581613f93565b60608201529392505050565b80516140fb81613271565b5f6020828403121561438c575f80fd5b8151610f5281613271565b63ffffffff60e01b83168152604060208201525f610eb260408301846135e6565b5f606082840312156143c8575f80fd5b6143d061339f565b8251815260208301519091506143e58161332b565b602082015260408201516143f881613f93565b604082015292915050565b5f60608284031215614413575f80fd5b610f5283836143b8565b805163ffffffff811681146140fb575f80fd5b5f82601f83011261443f575f80fd5b8151602083015f614452613503846134c0565b9050828152858383011115614465575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561448f575f80fd5b81516001600160401b038111156144a4575f80fd5b820161010081850312156144b6575f80fd5b6144be613354565b6144c7826140f0565b81526144d5602083016140f0565b60208201526144e66040830161441d565b60408201526144f76060830161441d565b606082015261450860808301614371565b608082015261451960a08301614305565b60a082015260c08201516001600160401b03811115614536575f80fd5b61454286828501614430565b60c08301525060e08201516001600160401b03811115614560575f80fd5b6142d186828501614430565b5f806080838503121561457d575f80fd5b61458784846143b8565b91506060830151613227816130d3565b5f602082840312156145a7575f80fd5b81516001600160401b038111156145bc575f80fd5b8201608081850312156145cd575f80fd5b6145d561337d565b81516145e0816135b6565b81526145ee60208301614166565b60208201526145ff6040830161441d565b604082015260608201516001600160401b0381111561461c575f80fd5b61462886828501614430565b606083015250949350505050565b6001600160601b0383168152604060208201525f610eb260408301846135e6565b5f60208284031215614667575f80fd5b8151610f52816130d3565b5f60408284031215614682575f80fd5b604080519081016001600160401b03811182821017156146a4576146a4613340565b806040525080915082516146b781613271565b815260208301516146c7816130a1565b6020919091015292915050565b5f602082840312156146e4575f80fd5b81516001600160401b038111156146f9575f80fd5b820160e0818503121561470a575f80fd5b6147126133c1565b815161471d81613f93565b8152602082015161472d81613f93565b602082015261473e60408301614305565b604082015261474f606083016140f0565b60608201526147618560808401614672565b608082015260c08201516001600160401b0381111561477e575f80fd5b61478a86828501614430565b60a083015250949350505050565b5f602082840312156147a8575f80fd5b610f5282614166565b5f60e08284031280156147c2575f80fd5b506147cb6133e3565b82516147d6816130a1565b815260208301516147e681613271565b602082015260408301516147f981613271565b604082015261480a60608401614166565b606082015261481b60808401614166565b608082015261482c60a08401614166565b60a082015261483d60c08401614166565b60c08201529392505050565b5f60c082840312801561485a575f80fd5b506148636133c1565b825161486e816130d3565b8152602083015160048110614881575f80fd5b60208201526148926040840161441d565b604082015260608301516148a581613f93565b606082015260808301516148b881613f93565b608082015260a0928301519281019290925250919050565b5f6101c08284031280156148e2575f80fd5b506148eb6133e3565b6148f58484614672565b81526149048460408501614672565b60208201526149168460808501614672565b60408201526149288460c08501614672565b606082015261493b846101008501614672565b608082015261494e846101408501614672565b60a082015261483d846101808501614672565b5f60208284031215614971575f80fd5b81516001600160401b03811115614986575f80fd5b820160608185031215614997575f80fd5b61499f61339f565b81516149aa816130a1565b815260208201516149ba81613f93565b602082015260408201516001600160401b038111156149d7575f80fd5b6149e386828501614430565b604083015250949350505050565b5f60208284031215614a01575f80fd5b81516001600160401b03811115614a16575f80fd5b820160608185031215614a27575f80fd5b614a2f61339f565b81516001600160401b03811115614a44575f80fd5b614a5086828501614430565b82525060208201516149ba81613271565b5f6080828403128015614a72575f80fd5b50614a7b61337d565b8251614a8681614132565b81526020830151614a9681614132565b6020820152604083015161435281613f93565b80516140fb81613edd565b5f60208284031215614ac4575f80fd5b81516001600160401b03811115614ad9575f80fd5b820160e08185031215614aea575f80fd5b614af26133e3565b614afb826140f0565b8152614b09602083016140f0565b6020820152614b1a60408301614305565b6040820152614b2b60608301614aa9565b6060820152614b3c60808301614aa9565b608082015260a08201516001600160401b03811115614b59575f80fd5b614b6586828501614430565b60a08301525060c08201516001600160401b03811115614b83575f80fd5b614b8f86828501614430565b60c083015250949350505050565b5f8060408385031215614bae575f80fd5b8251614bb981613271565b602084015190925061322781614132565b80516140fb816131ec565b5f60208284031215614be5575f80fd5b81516001600160401b03811115614bfa575f80fd5b82016102008185031215614c0c575f80fd5b614c14613405565b614c1d826140f0565b8152614c2b602083016140f0565b6020820152614c3c604083016142df565b6040820152614c4d606083016140f0565b6060820152614c5e608083016140f0565b6080820152614c6f60a083016142df565b60a0820152614c8060c08301614bca565b60c0820152614c9160e08301614bca565b60e0820152614ca361010083016140f0565b610100820152614cb661012083016140f0565b610120820152614cc96101408301614305565b610140820152614cdc6101608301614305565b610160820152614cef6101808301614305565b610180820152614d026101a08301614305565b6101a08201526101c08201516001600160401b03811115614d21575f80fd5b614d2d86828501614430565b6101c0830152506101e08201516001600160401b03811115614d4d575f80fd5b614d5986828501614430565b6101e083015250949350505050565b5f60208284031215614d78575f80fd5b81516001600160401b03811115614d8d575f80fd5b82016101408185031215614d9f575f80fd5b614da7613428565b614db082614371565b8152614dbe602083016140f0565b6020820152614dcf60408301614371565b6040820152614de06060830161441d565b6060820152614df160808301614305565b6080820152614e0260a08301614166565b60a0820152614e1360c08301614166565b60c0820152614e2460e08301614371565b60e08201526101008201516001600160401b03811115614e42575f80fd5b614e4e86828501614430565b610100830152506101208201516001600160401b03811115614e6e575f80fd5b614e7a86828501614430565b61012083015250949350505050565b5f610240828403128015614e9b575f80fd5b50614ea461344b565b614ead836140f0565b8152614ebb602084016140f0565b6020820152614ecc604084016140f0565b6040820152614edd606084016140f0565b6060820152614eee608084016140f0565b6080820152614eff60a084016140f0565b60a0820152614f1060c084016140f0565b60c0820152614f2160e084016140f0565b60e0820152614f3361010084016140f0565b610100820152614f4661012084016140f0565b610120820152614f5961014084016140f0565b610140820152614f6c61016084016140f0565b610160820152614f7f61018084016140f0565b610180820152614f926101a084016140f0565b6101a0820152614fa56101c084016140f0565b6101c0820152614fb86101e084016140f0565b6101e0820152614fcb61020084016140f0565b610200820152614fde61022084016140f0565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610cd157610cd1614feb565b5f6020828403121561502a575f80fd5b8151610f5281613f93565b80820180821115610cd157610cd1614feb565b5f60208284031215615058575f80fd5b8151610f52816131ec565b5f60208284031215615073575f80fd5b81516001600160401b03811115615088575f80fd5b820160a08185031215615099575f80fd5b6150a161346e565b81516150ac816131ec565b815260208201516150bc816130a1565b602082015260408201516150cf81613f93565b604082015260608201516150e281613271565b606082015260808201516001600160401b038111156150ff575f80fd5b61510b86828501614430565b608083015250949350505050565b5f60208284031215615129575f80fd5b81516001600160401b0381111561513e575f80fd5b82016101008185031215615150575f80fd5b615158613354565b615161826140f0565b815261516f602083016140f0565b602082015261518060408301614166565b604082015261519160608301614305565b60608201526151a260808301614305565b608082015260a08201516001600160401b038111156151bf575f80fd5b6151cb86828501614430565b60a08301525060c08201516001600160401b03811115614536575f80fd5b5f602082840312156151f9575f80fd5b81516001600160401b0381111561520e575f80fd5b610eb28482850161443056fea2646970667358221220cd7a146f1b93c5c91533e172ee4d3d65a6eb2f0f60c1c224dbe45a7d642fef4164736f6c634300081a0033",
1282
2338
  "linkReferences": {
2339
+ "contracts/authorization/AccessAdminLib.sol": {
2340
+ "AccessAdminLib": [
2341
+ {
2342
+ "length": 20,
2343
+ "start": 4378
2344
+ }
2345
+ ]
2346
+ },
2347
+ "contracts/product/PolicyServiceLib.sol": {
2348
+ "PolicyServiceLib": [
2349
+ {
2350
+ "length": 20,
2351
+ "start": 9481
2352
+ }
2353
+ ]
2354
+ },
1283
2355
  "contracts/type/Amount.sol": {
1284
2356
  "AmountLib": [
1285
2357
  {
1286
2358
  "length": 20,
1287
- "start": 8049
2359
+ "start": 11874
1288
2360
  }
1289
2361
  ]
1290
2362
  },
@@ -1292,11 +2364,15 @@
1292
2364
  "ClaimIdLib": [
1293
2365
  {
1294
2366
  "length": 20,
1295
- "start": 4211
2367
+ "start": 8001
2368
+ },
2369
+ {
2370
+ "length": 20,
2371
+ "start": 8989
1296
2372
  },
1297
2373
  {
1298
2374
  "length": 20,
1299
- "start": 5528
2375
+ "start": 11188
1300
2376
  }
1301
2377
  ]
1302
2378
  },
@@ -1304,7 +2380,7 @@
1304
2380
  "DistributorTypeLib": [
1305
2381
  {
1306
2382
  "length": 20,
1307
- "start": 7154
2383
+ "start": 10146
1308
2384
  }
1309
2385
  ]
1310
2386
  },
@@ -1312,35 +2388,35 @@
1312
2388
  "NftIdLib": [
1313
2389
  {
1314
2390
  "length": 20,
1315
- "start": 2111
2391
+ "start": 3616
1316
2392
  },
1317
2393
  {
1318
2394
  "length": 20,
1319
- "start": 2467
2395
+ "start": 5011
1320
2396
  },
1321
2397
  {
1322
2398
  "length": 20,
1323
- "start": 3453
2399
+ "start": 6196
1324
2400
  },
1325
2401
  {
1326
2402
  "length": 20,
1327
- "start": 3542
2403
+ "start": 7713
1328
2404
  },
1329
2405
  {
1330
2406
  "length": 20,
1331
- "start": 4249
2407
+ "start": 11933
1332
2408
  },
1333
2409
  {
1334
2410
  "length": 20,
1335
- "start": 4294
2411
+ "start": 12025
1336
2412
  },
1337
2413
  {
1338
2414
  "length": 20,
1339
- "start": 7381
2415
+ "start": 12069
1340
2416
  },
1341
2417
  {
1342
2418
  "length": 20,
1343
- "start": 7967
2419
+ "start": 12113
1344
2420
  }
1345
2421
  ]
1346
2422
  },
@@ -1348,11 +2424,15 @@
1348
2424
  "PayoutIdLib": [
1349
2425
  {
1350
2426
  "length": 20,
1351
- "start": 2608
2427
+ "start": 10752
2428
+ },
2429
+ {
2430
+ "length": 20,
2431
+ "start": 11087
1352
2432
  },
1353
2433
  {
1354
2434
  "length": 20,
1355
- "start": 3259
2435
+ "start": 11478
1356
2436
  }
1357
2437
  ]
1358
2438
  },
@@ -1360,43 +2440,39 @@
1360
2440
  "ReferralLib": [
1361
2441
  {
1362
2442
  "length": 20,
1363
- "start": 1871
2443
+ "start": 4568
1364
2444
  },
1365
2445
  {
1366
2446
  "length": 20,
1367
- "start": 2864
2447
+ "start": 5509
1368
2448
  }
1369
2449
  ]
1370
2450
  },
1371
- "contracts/type/RiskId.sol": {
1372
- "RiskIdLib": [
2451
+ "contracts/type/RequestId.sol": {
2452
+ "RequestIdLib": [
1373
2453
  {
1374
2454
  "length": 20,
1375
- "start": 4409
2455
+ "start": 11642
1376
2456
  }
1377
2457
  ]
1378
2458
  },
1379
- "contracts/type/Timestamp.sol": {
1380
- "TimestampLib": [
1381
- {
1382
- "length": 20,
1383
- "start": 3685
1384
- },
1385
- {
1386
- "length": 20,
1387
- "start": 3828
1388
- },
2459
+ "contracts/type/RiskId.sol": {
2460
+ "RiskIdLib": [
1389
2461
  {
1390
2462
  "length": 20,
1391
- "start": 3998
2463
+ "start": 8440
1392
2464
  },
1393
2465
  {
1394
2466
  "length": 20,
1395
- "start": 5802
1396
- },
2467
+ "start": 11337
2468
+ }
2469
+ ]
2470
+ },
2471
+ "contracts/type/RoleId.sol": {
2472
+ "RoleIdLib": [
1397
2473
  {
1398
2474
  "length": 20,
1399
- "start": 6033
2475
+ "start": 12178
1400
2476
  }
1401
2477
  ]
1402
2478
  },
@@ -1404,33 +2480,37 @@
1404
2480
  "UFixedLib": [
1405
2481
  {
1406
2482
  "length": 20,
1407
- "start": 1659
1408
- },
1409
- {
1410
- "length": 20,
1411
- "start": 2996
2483
+ "start": 4198
1412
2484
  },
1413
2485
  {
1414
2486
  "length": 20,
1415
- "start": 5903
1416
- },
2487
+ "start": 10505
2488
+ }
2489
+ ]
2490
+ }
2491
+ },
2492
+ "deployedLinkReferences": {
2493
+ "contracts/authorization/AccessAdminLib.sol": {
2494
+ "AccessAdminLib": [
1417
2495
  {
1418
2496
  "length": 20,
1419
- "start": 6162
1420
- },
2497
+ "start": 4341
2498
+ }
2499
+ ]
2500
+ },
2501
+ "contracts/product/PolicyServiceLib.sol": {
2502
+ "PolicyServiceLib": [
1421
2503
  {
1422
2504
  "length": 20,
1423
- "start": 6305
2505
+ "start": 9444
1424
2506
  }
1425
2507
  ]
1426
- }
1427
- },
1428
- "deployedLinkReferences": {
2508
+ },
1429
2509
  "contracts/type/Amount.sol": {
1430
2510
  "AmountLib": [
1431
2511
  {
1432
2512
  "length": 20,
1433
- "start": 8017
2513
+ "start": 11837
1434
2514
  }
1435
2515
  ]
1436
2516
  },
@@ -1438,11 +2518,15 @@
1438
2518
  "ClaimIdLib": [
1439
2519
  {
1440
2520
  "length": 20,
1441
- "start": 4179
2521
+ "start": 7964
2522
+ },
2523
+ {
2524
+ "length": 20,
2525
+ "start": 8952
1442
2526
  },
1443
2527
  {
1444
2528
  "length": 20,
1445
- "start": 5496
2529
+ "start": 11151
1446
2530
  }
1447
2531
  ]
1448
2532
  },
@@ -1450,7 +2534,7 @@
1450
2534
  "DistributorTypeLib": [
1451
2535
  {
1452
2536
  "length": 20,
1453
- "start": 7122
2537
+ "start": 10109
1454
2538
  }
1455
2539
  ]
1456
2540
  },
@@ -1458,35 +2542,35 @@
1458
2542
  "NftIdLib": [
1459
2543
  {
1460
2544
  "length": 20,
1461
- "start": 2079
2545
+ "start": 3579
1462
2546
  },
1463
2547
  {
1464
2548
  "length": 20,
1465
- "start": 2435
2549
+ "start": 4974
1466
2550
  },
1467
2551
  {
1468
2552
  "length": 20,
1469
- "start": 3421
2553
+ "start": 6159
1470
2554
  },
1471
2555
  {
1472
2556
  "length": 20,
1473
- "start": 3510
2557
+ "start": 7676
1474
2558
  },
1475
2559
  {
1476
2560
  "length": 20,
1477
- "start": 4217
2561
+ "start": 11896
1478
2562
  },
1479
2563
  {
1480
2564
  "length": 20,
1481
- "start": 4262
2565
+ "start": 11988
1482
2566
  },
1483
2567
  {
1484
2568
  "length": 20,
1485
- "start": 7349
2569
+ "start": 12032
1486
2570
  },
1487
2571
  {
1488
2572
  "length": 20,
1489
- "start": 7935
2573
+ "start": 12076
1490
2574
  }
1491
2575
  ]
1492
2576
  },
@@ -1494,11 +2578,15 @@
1494
2578
  "PayoutIdLib": [
1495
2579
  {
1496
2580
  "length": 20,
1497
- "start": 2576
2581
+ "start": 10715
2582
+ },
2583
+ {
2584
+ "length": 20,
2585
+ "start": 11050
1498
2586
  },
1499
2587
  {
1500
2588
  "length": 20,
1501
- "start": 3227
2589
+ "start": 11441
1502
2590
  }
1503
2591
  ]
1504
2592
  },
@@ -1506,43 +2594,39 @@
1506
2594
  "ReferralLib": [
1507
2595
  {
1508
2596
  "length": 20,
1509
- "start": 1839
2597
+ "start": 4531
1510
2598
  },
1511
2599
  {
1512
2600
  "length": 20,
1513
- "start": 2832
2601
+ "start": 5472
1514
2602
  }
1515
2603
  ]
1516
2604
  },
1517
- "contracts/type/RiskId.sol": {
1518
- "RiskIdLib": [
2605
+ "contracts/type/RequestId.sol": {
2606
+ "RequestIdLib": [
1519
2607
  {
1520
2608
  "length": 20,
1521
- "start": 4377
2609
+ "start": 11605
1522
2610
  }
1523
2611
  ]
1524
2612
  },
1525
- "contracts/type/Timestamp.sol": {
1526
- "TimestampLib": [
1527
- {
1528
- "length": 20,
1529
- "start": 3653
1530
- },
1531
- {
1532
- "length": 20,
1533
- "start": 3796
1534
- },
2613
+ "contracts/type/RiskId.sol": {
2614
+ "RiskIdLib": [
1535
2615
  {
1536
2616
  "length": 20,
1537
- "start": 3966
2617
+ "start": 8403
1538
2618
  },
1539
2619
  {
1540
2620
  "length": 20,
1541
- "start": 5770
1542
- },
2621
+ "start": 11300
2622
+ }
2623
+ ]
2624
+ },
2625
+ "contracts/type/RoleId.sol": {
2626
+ "RoleIdLib": [
1543
2627
  {
1544
2628
  "length": 20,
1545
- "start": 6001
2629
+ "start": 12141
1546
2630
  }
1547
2631
  ]
1548
2632
  },
@@ -1550,23 +2634,11 @@
1550
2634
  "UFixedLib": [
1551
2635
  {
1552
2636
  "length": 20,
1553
- "start": 1627
1554
- },
1555
- {
1556
- "length": 20,
1557
- "start": 2964
1558
- },
1559
- {
1560
- "length": 20,
1561
- "start": 5871
1562
- },
1563
- {
1564
- "length": 20,
1565
- "start": 6130
2637
+ "start": 4161
1566
2638
  },
1567
2639
  {
1568
2640
  "length": 20,
1569
- "start": 6273
2641
+ "start": 10468
1570
2642
  }
1571
2643
  ]
1572
2644
  }