@etherisc/gif-next 0.0.2-d87995e-298 → 0.0.2-d8ddca8-422

Sign up to get free protection for your applications and to get access to all the features.
Files changed (551) hide show
  1. package/README.md +92 -9
  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 +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  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 +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +183 -487
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +102 -387
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +644 -392
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +209 -133
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +96 -191
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +476 -137
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1439 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +567 -67
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +385 -60
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +573 -165
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1034 -311
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +369 -68
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1689 -773
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +399 -231
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +143 -105
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +976 -765
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +127 -355
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  109. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +103 -133
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +103 -323
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +177 -97
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +160 -438
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +502 -364
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +194 -114
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +340 -112
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +139 -236
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
  134. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  135. package/artifacts/contracts/pool/Pool.sol/Pool.json +129 -416
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  137. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  139. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +230 -106
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  143. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +159 -99
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  147. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +272 -431
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +187 -123
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +405 -102
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  163. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +257 -226
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  165. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +511 -303
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +196 -108
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +247 -332
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +165 -137
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  177. package/artifacts/contracts/product/Product.sol/Product.json +264 -423
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +359 -48
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  189. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +565 -109
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +791 -377
  196. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  197. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +141 -89
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +483 -253
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Component.sol/Component.json +86 -277
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +493 -638
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +183 -133
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -93
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +103 -133
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +42 -6
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +102 -322
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +48 -7
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  263. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1510 -191
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  275. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  276. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  277. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  278. package/artifacts/contracts/staking/Staking.sol/Staking.json +1651 -455
  279. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  280. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +199 -105
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +144 -96
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1588 -765
  291. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  292. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  293. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +180 -77
  295. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  296. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  298. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  300. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +93 -2
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +24 -5
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  342. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  346. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +118 -79
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  352. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  354. package/contracts/accounting/AccountingService.sol +274 -0
  355. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  356. package/contracts/accounting/IAccountingService.sol +47 -0
  357. package/contracts/authorization/AccessAdmin.sol +458 -269
  358. package/contracts/authorization/AccessAdminLib.sol +396 -0
  359. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  360. package/contracts/authorization/Authorization.sol +159 -208
  361. package/contracts/authorization/IAccess.sol +25 -6
  362. package/contracts/authorization/IAccessAdmin.sol +87 -79
  363. package/contracts/authorization/IAuthorization.sol +9 -37
  364. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  365. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  366. package/contracts/distribution/BasicDistribution.sol +20 -17
  367. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  368. package/contracts/distribution/Distribution.sol +44 -92
  369. package/contracts/distribution/DistributionService.sol +243 -132
  370. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  371. package/contracts/distribution/IDistributionComponent.sol +4 -11
  372. package/contracts/distribution/IDistributionService.sol +47 -29
  373. package/contracts/examples/fire/DamageLevel.sol +59 -0
  374. package/contracts/examples/fire/FirePool.sol +86 -0
  375. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  376. package/contracts/examples/fire/FireProduct.sol +433 -0
  377. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  378. package/contracts/examples/fire/FireUSD.sol +26 -0
  379. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  380. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  381. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  382. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  383. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  384. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  385. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  386. package/contracts/instance/BundleSet.sol +42 -38
  387. package/contracts/instance/IInstance.sol +102 -43
  388. package/contracts/instance/IInstanceService.sol +59 -34
  389. package/contracts/instance/Instance.sol +193 -100
  390. package/contracts/instance/InstanceAdmin.sol +275 -158
  391. package/contracts/instance/InstanceAuthorizationV3.sol +120 -58
  392. package/contracts/instance/InstanceReader.sol +478 -251
  393. package/contracts/instance/InstanceService.sol +293 -236
  394. package/contracts/instance/InstanceServiceManager.sol +6 -7
  395. package/contracts/instance/InstanceStore.sol +23 -2
  396. package/contracts/instance/RiskSet.sol +126 -0
  397. package/contracts/instance/base/BalanceStore.sol +4 -6
  398. package/contracts/instance/base/ObjectCounter.sol +1 -2
  399. package/contracts/instance/base/ObjectLifecycle.sol +13 -10
  400. package/contracts/instance/base/ObjectSet.sol +31 -33
  401. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  402. package/contracts/instance/module/IBundle.sol +6 -5
  403. package/contracts/instance/module/IComponents.sol +30 -19
  404. package/contracts/instance/module/IDistribution.sol +21 -8
  405. package/contracts/instance/module/IPolicy.sol +50 -29
  406. package/contracts/instance/module/IRisk.sol +5 -0
  407. package/contracts/mock/Dip.sol +1 -1
  408. package/contracts/oracle/BasicOracle.sol +2 -5
  409. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  410. package/contracts/oracle/IOracle.sol +9 -4
  411. package/contracts/oracle/IOracleService.sol +2 -1
  412. package/contracts/oracle/Oracle.sol +9 -21
  413. package/contracts/oracle/OracleService.sol +119 -87
  414. package/contracts/oracle/OracleServiceManager.sol +6 -6
  415. package/contracts/pool/BasicPool.sol +39 -41
  416. package/contracts/pool/BasicPoolAuthorization.sol +39 -13
  417. package/contracts/pool/BundleService.sol +200 -155
  418. package/contracts/pool/BundleServiceManager.sol +6 -6
  419. package/contracts/pool/IBundleService.sol +42 -46
  420. package/contracts/pool/IPoolComponent.sol +19 -15
  421. package/contracts/pool/IPoolService.sol +97 -77
  422. package/contracts/pool/Pool.sol +143 -138
  423. package/contracts/pool/PoolLib.sol +341 -0
  424. package/contracts/pool/PoolService.sol +413 -233
  425. package/contracts/pool/PoolServiceManager.sol +4 -4
  426. package/contracts/product/ApplicationService.sol +143 -46
  427. package/contracts/product/ApplicationServiceManager.sol +4 -4
  428. package/contracts/product/BasicProduct.sol +11 -14
  429. package/contracts/product/BasicProductAuthorization.sol +32 -12
  430. package/contracts/product/ClaimService.sol +385 -172
  431. package/contracts/product/ClaimServiceManager.sol +4 -4
  432. package/contracts/product/IApplicationService.sol +29 -3
  433. package/contracts/product/IClaimService.sol +48 -11
  434. package/contracts/product/IPolicyService.sol +61 -39
  435. package/contracts/product/IPricingService.sol +11 -10
  436. package/contracts/product/IProductComponent.sol +27 -5
  437. package/contracts/product/IRiskService.sol +48 -0
  438. package/contracts/product/PolicyService.sol +431 -285
  439. package/contracts/product/PolicyServiceLib.sol +139 -0
  440. package/contracts/product/PolicyServiceManager.sol +4 -4
  441. package/contracts/product/PricingService.sol +90 -84
  442. package/contracts/product/PricingServiceManager.sol +4 -4
  443. package/contracts/product/Product.sol +196 -104
  444. package/contracts/product/RiskService.sol +190 -0
  445. package/contracts/product/RiskServiceManager.sol +39 -0
  446. package/contracts/registry/ChainNft.sol +72 -40
  447. package/contracts/registry/IRegistry.sol +70 -32
  448. package/contracts/registry/IRegistryService.sol +5 -12
  449. package/contracts/registry/IRelease.sol +29 -0
  450. package/contracts/registry/ITransferInterceptor.sol +1 -2
  451. package/contracts/registry/Registry.sol +367 -207
  452. package/contracts/registry/RegistryAdmin.sol +114 -288
  453. package/contracts/registry/RegistryAuthorization.sol +336 -0
  454. package/contracts/registry/RegistryService.sol +38 -49
  455. package/contracts/registry/RegistryServiceManager.sol +3 -3
  456. package/contracts/registry/ReleaseAdmin.sol +195 -0
  457. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  458. package/contracts/registry/ReleaseRegistry.sol +279 -239
  459. package/contracts/registry/ServiceAuthorizationV3.sol +205 -63
  460. package/contracts/registry/TokenRegistry.sol +61 -59
  461. package/contracts/shared/Component.sol +70 -136
  462. package/contracts/shared/ComponentService.sol +423 -387
  463. package/contracts/shared/ComponentServiceManager.sol +8 -5
  464. package/contracts/shared/ContractLib.sol +312 -0
  465. package/contracts/shared/IComponent.sol +6 -18
  466. package/contracts/shared/IComponentService.sol +43 -40
  467. package/contracts/shared/IInstanceLinkedComponent.sol +6 -32
  468. package/contracts/shared/IKeyValueStore.sol +1 -1
  469. package/contracts/shared/ILifecycle.sol +3 -1
  470. package/contracts/shared/INftOwnable.sol +4 -0
  471. package/contracts/shared/IPolicyHolder.sol +12 -22
  472. package/contracts/shared/IRegisterable.sol +22 -1
  473. package/contracts/shared/IService.sol +3 -5
  474. package/contracts/shared/InitializableERC165.sol +10 -2
  475. package/contracts/shared/InstanceLinkedComponent.sol +73 -51
  476. package/contracts/shared/KeyValueStore.sol +4 -4
  477. package/contracts/shared/Lifecycle.sol +15 -4
  478. package/contracts/shared/NftOwnable.sol +31 -9
  479. package/contracts/shared/PolicyHolder.sol +18 -54
  480. package/contracts/shared/Registerable.sol +52 -21
  481. package/contracts/shared/RegistryLinked.sol +9 -14
  482. package/contracts/shared/Service.sol +20 -35
  483. package/contracts/shared/TokenHandler.sol +310 -26
  484. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  485. package/contracts/staking/IStaking.sol +271 -71
  486. package/contracts/staking/IStakingService.sol +45 -78
  487. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  488. package/contracts/staking/Staking.sol +524 -243
  489. package/contracts/staking/StakingLib.sol +195 -0
  490. package/contracts/staking/StakingManager.sol +12 -9
  491. package/contracts/staking/StakingReader.sol +70 -82
  492. package/contracts/staking/StakingService.sol +62 -152
  493. package/contracts/staking/StakingServiceManager.sol +7 -5
  494. package/contracts/staking/StakingStore.sol +1089 -330
  495. package/contracts/staking/TargetHandler.sol +132 -0
  496. package/contracts/staking/TargetManagerLib.sol +73 -46
  497. package/contracts/type/Amount.sol +19 -0
  498. package/contracts/type/Blocknumber.sol +22 -16
  499. package/contracts/type/ChainId.sol +101 -0
  500. package/contracts/type/ClaimId.sol +6 -1
  501. package/contracts/type/Fee.sol +8 -8
  502. package/contracts/type/Key32.sol +2 -2
  503. package/contracts/type/Key32Set.sol +62 -0
  504. package/contracts/type/NftId.sol +7 -0
  505. package/contracts/type/ObjectType.sol +73 -37
  506. package/contracts/type/PayoutId.sol +10 -10
  507. package/contracts/type/RiskId.sol +38 -6
  508. package/contracts/type/RoleId.sol +61 -55
  509. package/contracts/type/Seconds.sol +40 -1
  510. package/contracts/type/Selector.sol +5 -0
  511. package/contracts/type/StateId.sol +15 -1
  512. package/contracts/type/String.sol +12 -0
  513. package/contracts/type/Timestamp.sol +14 -7
  514. package/contracts/type/UFixed.sol +38 -126
  515. package/contracts/type/Version.sol +54 -5
  516. package/contracts/upgradeability/IVersionable.sol +3 -0
  517. package/contracts/upgradeability/ProxyManager.sol +93 -45
  518. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  519. package/contracts/upgradeability/Versionable.sol +8 -5
  520. package/package.json +5 -4
  521. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  522. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  523. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  524. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  525. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  526. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  527. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  528. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  529. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  530. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  531. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  532. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  533. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  534. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  535. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  536. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  537. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -470
  538. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  539. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  540. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  541. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  542. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  543. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  544. package/contracts/instance/module/IAccess.sol +0 -46
  545. package/contracts/product/IProductService.sol +0 -33
  546. package/contracts/product/ProductService.sol +0 -99
  547. package/contracts/product/ProductServiceManager.sol +0 -39
  548. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  549. package/contracts/shared/InitializableCustom.sol +0 -177
  550. package/contracts/staking/StakeManagerLib.sol +0 -231
  551. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -17,18 +17,56 @@
17
17
  "inputs": [
18
18
  {
19
19
  "internalType": "NftId",
20
- "name": "targetNftId",
20
+ "name": "poolNftId",
21
21
  "type": "uint96"
22
22
  }
23
23
  ],
24
- "name": "getBalanceAmount",
24
+ "name": "activeBundles",
25
25
  "outputs": [
26
26
  {
27
- "internalType": "Amount",
28
- "name": "",
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
29
40
  "type": "uint96"
30
41
  }
31
42
  ],
43
+ "name": "activeRisks",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "target",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "authorizedFunctions",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "numberOfFunctions",
67
+ "type": "uint256"
68
+ }
69
+ ],
32
70
  "stateMutability": "view",
33
71
  "type": "function"
34
72
  },
@@ -36,60 +74,16 @@
36
74
  "inputs": [
37
75
  {
38
76
  "internalType": "NftId",
39
- "name": "bundleNftId",
77
+ "name": "poolNftId",
40
78
  "type": "uint96"
41
79
  }
42
80
  ],
43
- "name": "getBundleInfo",
81
+ "name": "bundles",
44
82
  "outputs": [
45
83
  {
46
- "components": [
47
- {
48
- "internalType": "NftId",
49
- "name": "poolNftId",
50
- "type": "uint96"
51
- },
52
- {
53
- "components": [
54
- {
55
- "internalType": "UFixed",
56
- "name": "fractionalFee",
57
- "type": "uint256"
58
- },
59
- {
60
- "internalType": "uint256",
61
- "name": "fixedFee",
62
- "type": "uint256"
63
- }
64
- ],
65
- "internalType": "struct Fee",
66
- "name": "fee",
67
- "type": "tuple"
68
- },
69
- {
70
- "internalType": "bytes",
71
- "name": "filter",
72
- "type": "bytes"
73
- },
74
- {
75
- "internalType": "Seconds",
76
- "name": "lifetime",
77
- "type": "uint40"
78
- },
79
- {
80
- "internalType": "Timestamp",
81
- "name": "expiredAt",
82
- "type": "uint40"
83
- },
84
- {
85
- "internalType": "Timestamp",
86
- "name": "closedAt",
87
- "type": "uint40"
88
- }
89
- ],
90
- "internalType": "struct IBundle.BundleInfo",
91
- "name": "info",
92
- "type": "tuple"
84
+ "internalType": "uint256",
85
+ "name": "bundleCount",
86
+ "type": "uint256"
93
87
  }
94
88
  ],
95
89
  "stateMutability": "view",
@@ -101,56 +95,27 @@
101
95
  "internalType": "NftId",
102
96
  "name": "policyNftId",
103
97
  "type": "uint96"
104
- },
98
+ }
99
+ ],
100
+ "name": "claims",
101
+ "outputs": [
105
102
  {
106
- "internalType": "ClaimId",
107
- "name": "claimId",
103
+ "internalType": "uint16",
104
+ "name": "claimCount",
108
105
  "type": "uint16"
109
106
  }
110
107
  ],
111
- "name": "getClaimInfo",
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "components",
112
114
  "outputs": [
113
115
  {
114
- "components": [
115
- {
116
- "internalType": "Amount",
117
- "name": "claimAmount",
118
- "type": "uint96"
119
- },
120
- {
121
- "internalType": "Amount",
122
- "name": "paidAmount",
123
- "type": "uint96"
124
- },
125
- {
126
- "internalType": "uint8",
127
- "name": "payoutsCount",
128
- "type": "uint8"
129
- },
130
- {
131
- "internalType": "uint8",
132
- "name": "openPayoutsCount",
133
- "type": "uint8"
134
- },
135
- {
136
- "internalType": "bytes",
137
- "name": "submissionData",
138
- "type": "bytes"
139
- },
140
- {
141
- "internalType": "bytes",
142
- "name": "processData",
143
- "type": "bytes"
144
- },
145
- {
146
- "internalType": "Timestamp",
147
- "name": "closedAt",
148
- "type": "uint40"
149
- }
150
- ],
151
- "internalType": "struct IPolicy.ClaimInfo",
152
- "name": "info",
153
- "type": "tuple"
116
+ "internalType": "uint256",
117
+ "name": "componentCount",
118
+ "type": "uint256"
154
119
  }
155
120
  ],
156
121
  "stateMutability": "view",
@@ -160,21 +125,21 @@
160
125
  "inputs": [
161
126
  {
162
127
  "internalType": "NftId",
163
- "name": "policyNftId",
128
+ "name": "poolNftId",
164
129
  "type": "uint96"
165
130
  },
166
131
  {
167
- "internalType": "ClaimId",
168
- "name": "claimId",
169
- "type": "uint16"
132
+ "internalType": "uint256",
133
+ "name": "idx",
134
+ "type": "uint256"
170
135
  }
171
136
  ],
172
- "name": "getClaimState",
137
+ "name": "getActiveBundleNftId",
173
138
  "outputs": [
174
139
  {
175
- "internalType": "StateId",
176
- "name": "state",
177
- "type": "uint8"
140
+ "internalType": "NftId",
141
+ "name": "bundleNftId",
142
+ "type": "uint96"
178
143
  }
179
144
  ],
180
145
  "stateMutability": "view",
@@ -184,48 +149,67 @@
184
149
  "inputs": [
185
150
  {
186
151
  "internalType": "NftId",
187
- "name": "componentNftId",
152
+ "name": "productNftId",
188
153
  "type": "uint96"
154
+ },
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "idx",
158
+ "type": "uint256"
189
159
  }
190
160
  ],
191
- "name": "getComponentInfo",
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",
192
186
  "outputs": [
193
187
  {
194
188
  "components": [
195
189
  {
196
- "internalType": "string",
190
+ "internalType": "Str",
197
191
  "name": "name",
198
- "type": "string"
199
- },
200
- {
201
- "internalType": "NftId",
202
- "name": "productNftId",
203
- "type": "uint96"
204
- },
205
- {
206
- "internalType": "contract IERC20Metadata",
207
- "name": "token",
208
- "type": "address"
209
- },
210
- {
211
- "internalType": "contract TokenHandler",
212
- "name": "tokenHandler",
213
- "type": "address"
192
+ "type": "bytes32"
214
193
  },
215
194
  {
216
- "internalType": "address",
217
- "name": "wallet",
218
- "type": "address"
195
+ "internalType": "Selector",
196
+ "name": "selector",
197
+ "type": "bytes4"
219
198
  },
220
199
  {
221
- "internalType": "bytes",
222
- "name": "data",
223
- "type": "bytes"
200
+ "internalType": "Timestamp",
201
+ "name": "createdAt",
202
+ "type": "uint40"
224
203
  }
225
204
  ],
226
- "internalType": "struct IComponents.ComponentInfo",
227
- "name": "info",
205
+ "internalType": "struct IAccess.FunctionInfo",
206
+ "name": "func",
228
207
  "type": "tuple"
208
+ },
209
+ {
210
+ "internalType": "RoleId",
211
+ "name": "roleId",
212
+ "type": "uint64"
229
213
  }
230
214
  ],
231
215
  "stateMutability": "view",
@@ -234,22 +218,17 @@
234
218
  {
235
219
  "inputs": [
236
220
  {
237
- "internalType": "ReferralId",
238
- "name": "referralId",
239
- "type": "bytes8"
221
+ "internalType": "NftId",
222
+ "name": "targetNftId",
223
+ "type": "uint96"
240
224
  }
241
225
  ],
242
- "name": "getDiscountPercentage",
226
+ "name": "getBalanceAmount",
243
227
  "outputs": [
244
228
  {
245
- "internalType": "UFixed",
246
- "name": "discountPercentage",
247
- "type": "uint256"
248
- },
249
- {
250
- "internalType": "ReferralStatus",
251
- "name": "status",
252
- "type": "uint8"
229
+ "internalType": "Amount",
230
+ "name": "",
231
+ "type": "uint96"
253
232
  }
254
233
  ],
255
234
  "stateMutability": "view",
@@ -259,102 +238,58 @@
259
238
  "inputs": [
260
239
  {
261
240
  "internalType": "NftId",
262
- "name": "distributorNftId",
241
+ "name": "bundleNftId",
263
242
  "type": "uint96"
264
243
  }
265
244
  ],
266
- "name": "getDistributorInfo",
245
+ "name": "getBundleInfo",
267
246
  "outputs": [
268
247
  {
269
248
  "components": [
270
249
  {
271
- "internalType": "DistributorType",
272
- "name": "distributorType",
273
- "type": "bytes8"
250
+ "internalType": "Timestamp",
251
+ "name": "activatedAt",
252
+ "type": "uint40"
274
253
  },
275
254
  {
276
- "internalType": "bool",
277
- "name": "active",
278
- "type": "bool"
255
+ "internalType": "Timestamp",
256
+ "name": "expiredAt",
257
+ "type": "uint40"
279
258
  },
280
259
  {
281
- "internalType": "bytes",
282
- "name": "data",
283
- "type": "bytes"
260
+ "internalType": "Timestamp",
261
+ "name": "closedAt",
262
+ "type": "uint40"
284
263
  },
285
264
  {
286
- "internalType": "uint32",
287
- "name": "numPoliciesSold",
288
- "type": "uint32"
289
- }
290
- ],
291
- "internalType": "struct IDistribution.DistributorInfo",
292
- "name": "info",
293
- "type": "tuple"
294
- }
295
- ],
296
- "stateMutability": "view",
297
- "type": "function"
298
- },
299
- {
300
- "inputs": [
301
- {
302
- "internalType": "DistributorType",
303
- "name": "distributorType",
304
- "type": "bytes8"
305
- }
306
- ],
307
- "name": "getDistributorTypeInfo",
308
- "outputs": [
309
- {
310
- "components": [
311
- {
312
- "internalType": "string",
313
- "name": "name",
314
- "type": "string"
315
- },
316
- {
317
- "internalType": "UFixed",
318
- "name": "minDiscountPercentage",
319
- "type": "uint256"
320
- },
321
- {
322
- "internalType": "UFixed",
323
- "name": "maxDiscountPercentage",
324
- "type": "uint256"
325
- },
326
- {
327
- "internalType": "UFixed",
328
- "name": "commissionPercentage",
329
- "type": "uint256"
330
- },
331
- {
332
- "internalType": "uint32",
333
- "name": "maxReferralCount",
334
- "type": "uint32"
335
- },
336
- {
337
- "internalType": "uint32",
338
- "name": "maxReferralLifetime",
339
- "type": "uint32"
340
- },
341
- {
342
- "internalType": "bool",
343
- "name": "allowSelfReferrals",
344
- "type": "bool"
265
+ "internalType": "NftId",
266
+ "name": "poolNftId",
267
+ "type": "uint96"
345
268
  },
346
269
  {
347
- "internalType": "bool",
348
- "name": "allowRenewals",
349
- "type": "bool"
270
+ "components": [
271
+ {
272
+ "internalType": "UFixed",
273
+ "name": "fractionalFee",
274
+ "type": "uint160"
275
+ },
276
+ {
277
+ "internalType": "Amount",
278
+ "name": "fixedFee",
279
+ "type": "uint96"
280
+ }
281
+ ],
282
+ "internalType": "struct Fee",
283
+ "name": "fee",
284
+ "type": "tuple"
350
285
  },
351
286
  {
352
287
  "internalType": "bytes",
353
- "name": "data",
288
+ "name": "filter",
354
289
  "type": "bytes"
355
290
  }
356
291
  ],
357
- "internalType": "struct IDistribution.DistributorTypeInfo",
292
+ "internalType": "struct IBundle.BundleInfo",
358
293
  "name": "info",
359
294
  "type": "tuple"
360
295
  }
@@ -366,15 +301,20 @@
366
301
  "inputs": [
367
302
  {
368
303
  "internalType": "NftId",
369
- "name": "targetNftId",
304
+ "name": "poolNftId",
370
305
  "type": "uint96"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "idx",
310
+ "type": "uint256"
371
311
  }
372
312
  ],
373
- "name": "getFeeAmount",
313
+ "name": "getBundleNftId",
374
314
  "outputs": [
375
315
  {
376
- "internalType": "Amount",
377
- "name": "",
316
+ "internalType": "NftId",
317
+ "name": "bundleNftId",
378
318
  "type": "uint96"
379
319
  }
380
320
  ],
@@ -383,11 +323,11 @@
383
323
  },
384
324
  {
385
325
  "inputs": [],
386
- "name": "getInstance",
326
+ "name": "getBundleSet",
387
327
  "outputs": [
388
328
  {
389
- "internalType": "contract IInstance",
390
- "name": "instance",
329
+ "internalType": "contract BundleSet",
330
+ "name": "bundleSet",
391
331
  "type": "address"
392
332
  }
393
333
  ],
@@ -395,13 +335,19 @@
395
335
  "type": "function"
396
336
  },
397
337
  {
398
- "inputs": [],
399
- "name": "getInstanceStore",
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "bundleNftId",
342
+ "type": "uint96"
343
+ }
344
+ ],
345
+ "name": "getBundleState",
400
346
  "outputs": [
401
347
  {
402
- "internalType": "contract IKeyValueStore",
403
- "name": "store",
404
- "type": "address"
348
+ "internalType": "StateId",
349
+ "name": "state",
350
+ "type": "uint8"
405
351
  }
406
352
  ],
407
353
  "stateMutability": "view",
@@ -410,57 +356,77 @@
410
356
  {
411
357
  "inputs": [
412
358
  {
413
- "internalType": "NftId",
414
- "name": "targetNftId",
415
- "type": "uint96"
359
+ "internalType": "uint256",
360
+ "name": "idx",
361
+ "type": "uint256"
416
362
  }
417
363
  ],
418
- "name": "getLockedAmount",
364
+ "name": "getClaimId",
419
365
  "outputs": [
420
366
  {
421
- "internalType": "Amount",
422
- "name": "",
423
- "type": "uint96"
367
+ "internalType": "ClaimId",
368
+ "name": "claimId",
369
+ "type": "uint16"
424
370
  }
425
371
  ],
426
- "stateMutability": "view",
372
+ "stateMutability": "pure",
427
373
  "type": "function"
428
374
  },
429
375
  {
430
376
  "inputs": [
431
377
  {
432
- "internalType": "Key32",
433
- "name": "key",
434
- "type": "bytes32"
378
+ "internalType": "NftId",
379
+ "name": "policyNftId",
380
+ "type": "uint96"
381
+ },
382
+ {
383
+ "internalType": "ClaimId",
384
+ "name": "claimId",
385
+ "type": "uint16"
435
386
  }
436
387
  ],
437
- "name": "getMetadata",
388
+ "name": "getClaimInfo",
438
389
  "outputs": [
439
390
  {
440
391
  "components": [
441
392
  {
442
- "internalType": "ObjectType",
443
- "name": "objectType",
444
- "type": "uint8"
393
+ "internalType": "Amount",
394
+ "name": "claimAmount",
395
+ "type": "uint96"
445
396
  },
446
397
  {
447
- "internalType": "StateId",
448
- "name": "state",
449
- "type": "uint8"
398
+ "internalType": "Amount",
399
+ "name": "paidAmount",
400
+ "type": "uint96"
450
401
  },
451
402
  {
452
- "internalType": "Blocknumber",
453
- "name": "updatedIn",
454
- "type": "uint32"
403
+ "internalType": "Timestamp",
404
+ "name": "closedAt",
405
+ "type": "uint40"
455
406
  },
456
407
  {
457
- "internalType": "Blocknumber",
458
- "name": "createdIn",
459
- "type": "uint32"
408
+ "internalType": "uint24",
409
+ "name": "payoutsCount",
410
+ "type": "uint24"
411
+ },
412
+ {
413
+ "internalType": "uint24",
414
+ "name": "openPayoutsCount",
415
+ "type": "uint24"
416
+ },
417
+ {
418
+ "internalType": "bytes",
419
+ "name": "submissionData",
420
+ "type": "bytes"
421
+ },
422
+ {
423
+ "internalType": "bytes",
424
+ "name": "processData",
425
+ "type": "bytes"
460
426
  }
461
427
  ],
462
- "internalType": "struct IKeyValueStore.Metadata",
463
- "name": "metadata",
428
+ "internalType": "struct IPolicy.ClaimInfo",
429
+ "name": "info",
464
430
  "type": "tuple"
465
431
  }
466
432
  ],
@@ -475,37 +441,51 @@
475
441
  "type": "uint96"
476
442
  },
477
443
  {
478
- "internalType": "PayoutId",
479
- "name": "payoutId",
480
- "type": "uint24"
444
+ "internalType": "ClaimId",
445
+ "name": "claimId",
446
+ "type": "uint16"
481
447
  }
482
448
  ],
483
- "name": "getPayoutInfo",
449
+ "name": "getClaimState",
450
+ "outputs": [
451
+ {
452
+ "internalType": "StateId",
453
+ "name": "state",
454
+ "type": "uint8"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "NftId",
464
+ "name": "componentNftId",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "getComponentInfo",
484
469
  "outputs": [
485
470
  {
486
471
  "components": [
487
472
  {
488
- "internalType": "ClaimId",
489
- "name": "claimId",
490
- "type": "uint16"
473
+ "internalType": "string",
474
+ "name": "name",
475
+ "type": "string"
491
476
  },
492
477
  {
493
- "internalType": "Amount",
494
- "name": "amount",
495
- "type": "uint96"
478
+ "internalType": "contract TokenHandler",
479
+ "name": "tokenHandler",
480
+ "type": "address"
496
481
  },
497
482
  {
498
483
  "internalType": "bytes",
499
484
  "name": "data",
500
485
  "type": "bytes"
501
- },
502
- {
503
- "internalType": "Timestamp",
504
- "name": "paidAt",
505
- "type": "uint40"
506
486
  }
507
487
  ],
508
- "internalType": "struct IPolicy.PayoutInfo",
488
+ "internalType": "struct IComponents.ComponentInfo",
509
489
  "name": "info",
510
490
  "type": "tuple"
511
491
  }
@@ -516,21 +496,21 @@
516
496
  {
517
497
  "inputs": [
518
498
  {
519
- "internalType": "NftId",
520
- "name": "policyNftId",
521
- "type": "uint96"
522
- },
523
- {
524
- "internalType": "PayoutId",
525
- "name": "payoutId",
526
- "type": "uint24"
499
+ "internalType": "ReferralId",
500
+ "name": "referralId",
501
+ "type": "bytes8"
527
502
  }
528
503
  ],
529
- "name": "getPayoutState",
504
+ "name": "getDiscountPercentage",
530
505
  "outputs": [
531
506
  {
532
- "internalType": "StateId",
533
- "name": "state",
507
+ "internalType": "UFixed",
508
+ "name": "discountPercentage",
509
+ "type": "uint160"
510
+ },
511
+ {
512
+ "internalType": "ReferralStatus",
513
+ "name": "status",
534
514
  "type": "uint8"
535
515
  }
536
516
  ],
@@ -541,101 +521,36 @@
541
521
  "inputs": [
542
522
  {
543
523
  "internalType": "NftId",
544
- "name": "policyNftId",
524
+ "name": "distributorNftId",
545
525
  "type": "uint96"
546
526
  }
547
527
  ],
548
- "name": "getPolicyInfo",
528
+ "name": "getDistributorInfo",
549
529
  "outputs": [
550
530
  {
551
531
  "components": [
552
532
  {
553
- "internalType": "NftId",
554
- "name": "productNftId",
555
- "type": "uint96"
533
+ "internalType": "DistributorType",
534
+ "name": "distributorType",
535
+ "type": "bytes8"
556
536
  },
557
537
  {
558
- "internalType": "NftId",
559
- "name": "bundleNftId",
560
- "type": "uint96"
538
+ "internalType": "bool",
539
+ "name": "active",
540
+ "type": "bool"
561
541
  },
562
542
  {
563
- "internalType": "ReferralId",
564
- "name": "referralId",
565
- "type": "bytes8"
566
- },
567
- {
568
- "internalType": "RiskId",
569
- "name": "riskId",
570
- "type": "bytes8"
571
- },
572
- {
573
- "internalType": "Amount",
574
- "name": "sumInsuredAmount",
575
- "type": "uint96"
576
- },
577
- {
578
- "internalType": "Amount",
579
- "name": "premiumAmount",
580
- "type": "uint96"
581
- },
582
- {
583
- "internalType": "Amount",
584
- "name": "premiumPaidAmount",
585
- "type": "uint96"
586
- },
587
- {
588
- "internalType": "Seconds",
589
- "name": "lifetime",
590
- "type": "uint40"
591
- },
592
- {
593
- "internalType": "bytes",
594
- "name": "applicationData",
595
- "type": "bytes"
543
+ "internalType": "uint32",
544
+ "name": "numPoliciesSold",
545
+ "type": "uint32"
596
546
  },
597
547
  {
598
548
  "internalType": "bytes",
599
- "name": "processData",
549
+ "name": "data",
600
550
  "type": "bytes"
601
- },
602
- {
603
- "internalType": "uint16",
604
- "name": "claimsCount",
605
- "type": "uint16"
606
- },
607
- {
608
- "internalType": "uint16",
609
- "name": "openClaimsCount",
610
- "type": "uint16"
611
- },
612
- {
613
- "internalType": "Amount",
614
- "name": "claimAmount",
615
- "type": "uint96"
616
- },
617
- {
618
- "internalType": "Amount",
619
- "name": "payoutAmount",
620
- "type": "uint96"
621
- },
622
- {
623
- "internalType": "Timestamp",
624
- "name": "activatedAt",
625
- "type": "uint40"
626
- },
627
- {
628
- "internalType": "Timestamp",
629
- "name": "expiredAt",
630
- "type": "uint40"
631
- },
632
- {
633
- "internalType": "Timestamp",
634
- "name": "closedAt",
635
- "type": "uint40"
636
551
  }
637
552
  ],
638
- "internalType": "struct IPolicy.PolicyInfo",
553
+ "internalType": "struct IDistribution.DistributorInfo",
639
554
  "name": "info",
640
555
  "type": "tuple"
641
556
  }
@@ -646,127 +561,67 @@
646
561
  {
647
562
  "inputs": [
648
563
  {
649
- "internalType": "NftId",
650
- "name": "policyNftId",
651
- "type": "uint96"
652
- }
653
- ],
654
- "name": "getPolicyState",
655
- "outputs": [
656
- {
657
- "internalType": "StateId",
658
- "name": "state",
659
- "type": "uint8"
660
- }
661
- ],
662
- "stateMutability": "view",
663
- "type": "function"
664
- },
665
- {
666
- "inputs": [
667
- {
668
- "internalType": "NftId",
669
- "name": "poolNftId",
670
- "type": "uint96"
564
+ "internalType": "DistributorType",
565
+ "name": "distributorType",
566
+ "type": "bytes8"
671
567
  }
672
568
  ],
673
- "name": "getPoolInfo",
569
+ "name": "getDistributorTypeInfo",
674
570
  "outputs": [
675
571
  {
676
572
  "components": [
573
+ {
574
+ "internalType": "UFixed",
575
+ "name": "minDiscountPercentage",
576
+ "type": "uint160"
577
+ },
677
578
  {
678
579
  "internalType": "NftId",
679
- "name": "productNftId",
580
+ "name": "distributionNftId",
680
581
  "type": "uint96"
681
582
  },
682
583
  {
683
- "internalType": "RoleId",
684
- "name": "bundleOwnerRole",
685
- "type": "uint64"
584
+ "internalType": "UFixed",
585
+ "name": "maxDiscountPercentage",
586
+ "type": "uint160"
686
587
  },
687
588
  {
688
- "internalType": "Amount",
689
- "name": "maxCapitalAmount",
690
- "type": "uint96"
589
+ "internalType": "uint32",
590
+ "name": "maxReferralCount",
591
+ "type": "uint32"
691
592
  },
692
593
  {
693
- "internalType": "bool",
694
- "name": "isInterceptingBundleTransfers",
695
- "type": "bool"
594
+ "internalType": "Seconds",
595
+ "name": "maxReferralLifetime",
596
+ "type": "uint40"
696
597
  },
697
598
  {
698
599
  "internalType": "bool",
699
- "name": "isExternallyManaged",
600
+ "name": "allowSelfReferrals",
700
601
  "type": "bool"
701
602
  },
702
603
  {
703
604
  "internalType": "bool",
704
- "name": "isVerifyingApplications",
605
+ "name": "allowRenewals",
705
606
  "type": "bool"
706
607
  },
707
608
  {
708
609
  "internalType": "UFixed",
709
- "name": "collateralizationLevel",
710
- "type": "uint256"
711
- },
712
- {
713
- "internalType": "UFixed",
714
- "name": "retentionLevel",
715
- "type": "uint256"
716
- },
717
- {
718
- "components": [
719
- {
720
- "internalType": "UFixed",
721
- "name": "fractionalFee",
722
- "type": "uint256"
723
- },
724
- {
725
- "internalType": "uint256",
726
- "name": "fixedFee",
727
- "type": "uint256"
728
- }
729
- ],
730
- "internalType": "struct Fee",
731
- "name": "poolFee",
732
- "type": "tuple"
610
+ "name": "commissionPercentage",
611
+ "type": "uint160"
733
612
  },
734
613
  {
735
- "components": [
736
- {
737
- "internalType": "UFixed",
738
- "name": "fractionalFee",
739
- "type": "uint256"
740
- },
741
- {
742
- "internalType": "uint256",
743
- "name": "fixedFee",
744
- "type": "uint256"
745
- }
746
- ],
747
- "internalType": "struct Fee",
748
- "name": "stakingFee",
749
- "type": "tuple"
614
+ "internalType": "string",
615
+ "name": "name",
616
+ "type": "string"
750
617
  },
751
618
  {
752
- "components": [
753
- {
754
- "internalType": "UFixed",
755
- "name": "fractionalFee",
756
- "type": "uint256"
757
- },
758
- {
759
- "internalType": "uint256",
760
- "name": "fixedFee",
761
- "type": "uint256"
762
- }
763
- ],
764
- "internalType": "struct Fee",
765
- "name": "performanceFee",
766
- "type": "tuple"
619
+ "internalType": "bytes",
620
+ "name": "data",
621
+ "type": "bytes"
767
622
  }
768
623
  ],
769
- "internalType": "struct IComponents.PoolInfo",
624
+ "internalType": "struct IDistribution.DistributorTypeInfo",
770
625
  "name": "info",
771
626
  "type": "tuple"
772
627
  }
@@ -774,6 +629,25 @@
774
629
  "stateMutability": "view",
775
630
  "type": "function"
776
631
  },
632
+ {
633
+ "inputs": [
634
+ {
635
+ "internalType": "NftId",
636
+ "name": "targetNftId",
637
+ "type": "uint96"
638
+ }
639
+ ],
640
+ "name": "getFeeAmount",
641
+ "outputs": [
642
+ {
643
+ "internalType": "Amount",
644
+ "name": "",
645
+ "type": "uint96"
646
+ }
647
+ ],
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
777
651
  {
778
652
  "inputs": [
779
653
  {
@@ -782,31 +656,21 @@
782
656
  "type": "uint96"
783
657
  }
784
658
  ],
785
- "name": "getProductInfo",
659
+ "name": "getFeeInfo",
786
660
  "outputs": [
787
661
  {
788
662
  "components": [
789
- {
790
- "internalType": "NftId",
791
- "name": "distributionNftId",
792
- "type": "uint96"
793
- },
794
- {
795
- "internalType": "NftId",
796
- "name": "poolNftId",
797
- "type": "uint96"
798
- },
799
663
  {
800
664
  "components": [
801
665
  {
802
666
  "internalType": "UFixed",
803
667
  "name": "fractionalFee",
804
- "type": "uint256"
668
+ "type": "uint160"
805
669
  },
806
670
  {
807
- "internalType": "uint256",
671
+ "internalType": "Amount",
808
672
  "name": "fixedFee",
809
- "type": "uint256"
673
+ "type": "uint96"
810
674
  }
811
675
  ],
812
676
  "internalType": "struct Fee",
@@ -818,12 +682,12 @@
818
682
  {
819
683
  "internalType": "UFixed",
820
684
  "name": "fractionalFee",
821
- "type": "uint256"
685
+ "type": "uint160"
822
686
  },
823
687
  {
824
- "internalType": "uint256",
688
+ "internalType": "Amount",
825
689
  "name": "fixedFee",
826
- "type": "uint256"
690
+ "type": "uint96"
827
691
  }
828
692
  ],
829
693
  "internalType": "struct Fee",
@@ -835,12 +699,12 @@
835
699
  {
836
700
  "internalType": "UFixed",
837
701
  "name": "fractionalFee",
838
- "type": "uint256"
702
+ "type": "uint160"
839
703
  },
840
704
  {
841
- "internalType": "uint256",
705
+ "internalType": "Amount",
842
706
  "name": "fixedFee",
843
- "type": "uint256"
707
+ "type": "uint96"
844
708
  }
845
709
  ],
846
710
  "internalType": "struct Fee",
@@ -852,12 +716,12 @@
852
716
  {
853
717
  "internalType": "UFixed",
854
718
  "name": "fractionalFee",
855
- "type": "uint256"
719
+ "type": "uint160"
856
720
  },
857
721
  {
858
- "internalType": "uint256",
722
+ "internalType": "Amount",
859
723
  "name": "fixedFee",
860
- "type": "uint256"
724
+ "type": "uint96"
861
725
  }
862
726
  ],
863
727
  "internalType": "struct Fee",
@@ -869,12 +733,12 @@
869
733
  {
870
734
  "internalType": "UFixed",
871
735
  "name": "fractionalFee",
872
- "type": "uint256"
736
+ "type": "uint160"
873
737
  },
874
738
  {
875
- "internalType": "uint256",
739
+ "internalType": "Amount",
876
740
  "name": "fixedFee",
877
- "type": "uint256"
741
+ "type": "uint96"
878
742
  }
879
743
  ],
880
744
  "internalType": "struct Fee",
@@ -886,12 +750,12 @@
886
750
  {
887
751
  "internalType": "UFixed",
888
752
  "name": "fractionalFee",
889
- "type": "uint256"
753
+ "type": "uint160"
890
754
  },
891
755
  {
892
- "internalType": "uint256",
756
+ "internalType": "Amount",
893
757
  "name": "fixedFee",
894
- "type": "uint256"
758
+ "type": "uint96"
895
759
  }
896
760
  ],
897
761
  "internalType": "struct Fee",
@@ -903,12 +767,12 @@
903
767
  {
904
768
  "internalType": "UFixed",
905
769
  "name": "fractionalFee",
906
- "type": "uint256"
770
+ "type": "uint160"
907
771
  },
908
772
  {
909
- "internalType": "uint256",
773
+ "internalType": "Amount",
910
774
  "name": "fixedFee",
911
- "type": "uint256"
775
+ "type": "uint96"
912
776
  }
913
777
  ],
914
778
  "internalType": "struct Fee",
@@ -916,8 +780,8 @@
916
780
  "type": "tuple"
917
781
  }
918
782
  ],
919
- "internalType": "struct IComponents.ProductInfo",
920
- "name": "info",
783
+ "internalType": "struct IComponents.FeeInfo",
784
+ "name": "feeInfo",
921
785
  "type": "tuple"
922
786
  }
923
787
  ],
@@ -925,47 +789,686 @@
925
789
  "type": "function"
926
790
  },
927
791
  {
928
- "inputs": [
792
+ "inputs": [],
793
+ "name": "getInstance",
794
+ "outputs": [
929
795
  {
930
- "internalType": "ReferralId",
931
- "name": "referralId",
932
- "type": "bytes8"
796
+ "internalType": "contract IInstance",
797
+ "name": "instance",
798
+ "type": "address"
933
799
  }
934
800
  ],
935
- "name": "getReferralInfo",
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [],
806
+ "name": "getInstanceAdmin",
936
807
  "outputs": [
937
808
  {
938
- "components": [
939
- {
940
- "internalType": "NftId",
941
- "name": "distributorNftId",
942
- "type": "uint96"
943
- },
944
- {
945
- "internalType": "string",
946
- "name": "referralCode",
947
- "type": "string"
948
- },
949
- {
950
- "internalType": "UFixed",
951
- "name": "discountPercentage",
952
- "type": "uint256"
953
- },
954
- {
955
- "internalType": "uint32",
956
- "name": "maxReferrals",
957
- "type": "uint32"
958
- },
959
- {
960
- "internalType": "uint32",
961
- "name": "usedReferrals",
962
- "type": "uint32"
963
- },
964
- {
965
- "internalType": "Timestamp",
966
- "name": "expiryAt",
967
- "type": "uint40"
968
- },
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",
984
+ "name": "info",
985
+ "type": "tuple"
986
+ }
987
+ ],
988
+ "stateMutability": "view",
989
+ "type": "function"
990
+ },
991
+ {
992
+ "inputs": [
993
+ {
994
+ "internalType": "NftId",
995
+ "name": "policyNftId",
996
+ "type": "uint96"
997
+ },
998
+ {
999
+ "internalType": "PayoutId",
1000
+ "name": "payoutId",
1001
+ "type": "uint40"
1002
+ }
1003
+ ],
1004
+ "name": "getPayoutState",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "StateId",
1008
+ "name": "state",
1009
+ "type": "uint8"
1010
+ }
1011
+ ],
1012
+ "stateMutability": "view",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "NftId",
1019
+ "name": "policyNftId",
1020
+ "type": "uint96"
1021
+ }
1022
+ ],
1023
+ "name": "getPolicyInfo",
1024
+ "outputs": [
1025
+ {
1026
+ "components": [
1027
+ {
1028
+ "internalType": "NftId",
1029
+ "name": "productNftId",
1030
+ "type": "uint96"
1031
+ },
1032
+ {
1033
+ "internalType": "NftId",
1034
+ "name": "bundleNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "internalType": "RiskId",
1039
+ "name": "riskId",
1040
+ "type": "bytes8"
1041
+ },
1042
+ {
1043
+ "internalType": "Amount",
1044
+ "name": "sumInsuredAmount",
1045
+ "type": "uint96"
1046
+ },
1047
+ {
1048
+ "internalType": "Amount",
1049
+ "name": "premiumAmount",
1050
+ "type": "uint96"
1051
+ },
1052
+ {
1053
+ "internalType": "ReferralId",
1054
+ "name": "referralId",
1055
+ "type": "bytes8"
1056
+ },
1057
+ {
1058
+ "internalType": "uint16",
1059
+ "name": "claimsCount",
1060
+ "type": "uint16"
1061
+ },
1062
+ {
1063
+ "internalType": "uint16",
1064
+ "name": "openClaimsCount",
1065
+ "type": "uint16"
1066
+ },
1067
+ {
1068
+ "internalType": "Amount",
1069
+ "name": "claimAmount",
1070
+ "type": "uint96"
1071
+ },
1072
+ {
1073
+ "internalType": "Amount",
1074
+ "name": "payoutAmount",
1075
+ "type": "uint96"
1076
+ },
1077
+ {
1078
+ "internalType": "Timestamp",
1079
+ "name": "activatedAt",
1080
+ "type": "uint40"
1081
+ },
1082
+ {
1083
+ "internalType": "Seconds",
1084
+ "name": "lifetime",
1085
+ "type": "uint40"
1086
+ },
1087
+ {
1088
+ "internalType": "Timestamp",
1089
+ "name": "expiredAt",
1090
+ "type": "uint40"
1091
+ },
1092
+ {
1093
+ "internalType": "Timestamp",
1094
+ "name": "closedAt",
1095
+ "type": "uint40"
1096
+ },
1097
+ {
1098
+ "internalType": "bytes",
1099
+ "name": "applicationData",
1100
+ "type": "bytes"
1101
+ },
1102
+ {
1103
+ "internalType": "bytes",
1104
+ "name": "processData",
1105
+ "type": "bytes"
1106
+ }
1107
+ ],
1108
+ "internalType": "struct IPolicy.PolicyInfo",
1109
+ "name": "info",
1110
+ "type": "tuple"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [
1118
+ {
1119
+ "internalType": "RiskId",
1120
+ "name": "riskId",
1121
+ "type": "bytes8"
1122
+ },
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "idx",
1126
+ "type": "uint256"
1127
+ }
1128
+ ],
1129
+ "name": "getPolicyNftIdForRisk",
1130
+ "outputs": [
1131
+ {
1132
+ "internalType": "NftId",
1133
+ "name": "linkedPolicyNftId",
1134
+ "type": "uint96"
1135
+ }
1136
+ ],
1137
+ "stateMutability": "view",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "policyNftId",
1145
+ "type": "uint96"
1146
+ }
1147
+ ],
1148
+ "name": "getPolicyState",
1149
+ "outputs": [
1150
+ {
1151
+ "internalType": "StateId",
1152
+ "name": "state",
1153
+ "type": "uint8"
1154
+ }
1155
+ ],
1156
+ "stateMutability": "view",
1157
+ "type": "function"
1158
+ },
1159
+ {
1160
+ "inputs": [
1161
+ {
1162
+ "internalType": "NftId",
1163
+ "name": "poolNftId",
1164
+ "type": "uint96"
1165
+ }
1166
+ ],
1167
+ "name": "getPoolInfo",
1168
+ "outputs": [
1169
+ {
1170
+ "components": [
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "maxBalanceAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "UFixed",
1178
+ "name": "collateralizationLevel",
1179
+ "type": "uint160"
1180
+ },
1181
+ {
1182
+ "internalType": "UFixed",
1183
+ "name": "retentionLevel",
1184
+ "type": "uint160"
1185
+ },
1186
+ {
1187
+ "internalType": "bool",
1188
+ "name": "isInterceptingBundleTransfers",
1189
+ "type": "bool"
1190
+ },
1191
+ {
1192
+ "internalType": "bool",
1193
+ "name": "isProcessingConfirmedClaims",
1194
+ "type": "bool"
1195
+ },
1196
+ {
1197
+ "internalType": "bool",
1198
+ "name": "isExternallyManaged",
1199
+ "type": "bool"
1200
+ },
1201
+ {
1202
+ "internalType": "bool",
1203
+ "name": "isVerifyingApplications",
1204
+ "type": "bool"
1205
+ }
1206
+ ],
1207
+ "internalType": "struct IComponents.PoolInfo",
1208
+ "name": "info",
1209
+ "type": "tuple"
1210
+ }
1211
+ ],
1212
+ "stateMutability": "view",
1213
+ "type": "function"
1214
+ },
1215
+ {
1216
+ "inputs": [
1217
+ {
1218
+ "internalType": "NftId",
1219
+ "name": "policyNftId",
1220
+ "type": "uint96"
1221
+ }
1222
+ ],
1223
+ "name": "getPremiumInfo",
1224
+ "outputs": [
1225
+ {
1226
+ "components": [
1227
+ {
1228
+ "internalType": "Amount",
1229
+ "name": "productFeeAmount",
1230
+ "type": "uint96"
1231
+ },
1232
+ {
1233
+ "internalType": "Amount",
1234
+ "name": "distributionFeeAndCommissionAmount",
1235
+ "type": "uint96"
1236
+ },
1237
+ {
1238
+ "internalType": "Amount",
1239
+ "name": "poolPremiumAndFeeAmount",
1240
+ "type": "uint96"
1241
+ },
1242
+ {
1243
+ "internalType": "Amount",
1244
+ "name": "netPremiumAmount",
1245
+ "type": "uint96"
1246
+ },
1247
+ {
1248
+ "internalType": "Amount",
1249
+ "name": "fullPremiumAmount",
1250
+ "type": "uint96"
1251
+ },
1252
+ {
1253
+ "internalType": "Amount",
1254
+ "name": "premiumAmount",
1255
+ "type": "uint96"
1256
+ },
1257
+ {
1258
+ "internalType": "Amount",
1259
+ "name": "productFeeFixAmount",
1260
+ "type": "uint96"
1261
+ },
1262
+ {
1263
+ "internalType": "Amount",
1264
+ "name": "poolFeeFixAmount",
1265
+ "type": "uint96"
1266
+ },
1267
+ {
1268
+ "internalType": "Amount",
1269
+ "name": "bundleFeeFixAmount",
1270
+ "type": "uint96"
1271
+ },
1272
+ {
1273
+ "internalType": "Amount",
1274
+ "name": "distributionFeeFixAmount",
1275
+ "type": "uint96"
1276
+ },
1277
+ {
1278
+ "internalType": "Amount",
1279
+ "name": "productFeeVarAmount",
1280
+ "type": "uint96"
1281
+ },
1282
+ {
1283
+ "internalType": "Amount",
1284
+ "name": "poolFeeVarAmount",
1285
+ "type": "uint96"
1286
+ },
1287
+ {
1288
+ "internalType": "Amount",
1289
+ "name": "bundleFeeVarAmount",
1290
+ "type": "uint96"
1291
+ },
1292
+ {
1293
+ "internalType": "Amount",
1294
+ "name": "distributionFeeVarAmount",
1295
+ "type": "uint96"
1296
+ },
1297
+ {
1298
+ "internalType": "Amount",
1299
+ "name": "distributionOwnerFeeFixAmount",
1300
+ "type": "uint96"
1301
+ },
1302
+ {
1303
+ "internalType": "Amount",
1304
+ "name": "distributionOwnerFeeVarAmount",
1305
+ "type": "uint96"
1306
+ },
1307
+ {
1308
+ "internalType": "Amount",
1309
+ "name": "commissionAmount",
1310
+ "type": "uint96"
1311
+ },
1312
+ {
1313
+ "internalType": "Amount",
1314
+ "name": "discountAmount",
1315
+ "type": "uint96"
1316
+ }
1317
+ ],
1318
+ "internalType": "struct IPolicy.PremiumInfo",
1319
+ "name": "info",
1320
+ "type": "tuple"
1321
+ }
1322
+ ],
1323
+ "stateMutability": "view",
1324
+ "type": "function"
1325
+ },
1326
+ {
1327
+ "inputs": [
1328
+ {
1329
+ "internalType": "NftId",
1330
+ "name": "policyNftId",
1331
+ "type": "uint96"
1332
+ }
1333
+ ],
1334
+ "name": "getPremiumState",
1335
+ "outputs": [
1336
+ {
1337
+ "internalType": "StateId",
1338
+ "name": "state",
1339
+ "type": "uint8"
1340
+ }
1341
+ ],
1342
+ "stateMutability": "view",
1343
+ "type": "function"
1344
+ },
1345
+ {
1346
+ "inputs": [
1347
+ {
1348
+ "internalType": "NftId",
1349
+ "name": "productNftId",
1350
+ "type": "uint96"
1351
+ }
1352
+ ],
1353
+ "name": "getProductInfo",
1354
+ "outputs": [
1355
+ {
1356
+ "components": [
1357
+ {
1358
+ "internalType": "bool",
1359
+ "name": "isProcessingFundedClaims",
1360
+ "type": "bool"
1361
+ },
1362
+ {
1363
+ "internalType": "bool",
1364
+ "name": "isInterceptingPolicyTransfers",
1365
+ "type": "bool"
1366
+ },
1367
+ {
1368
+ "internalType": "bool",
1369
+ "name": "hasDistribution",
1370
+ "type": "bool"
1371
+ },
1372
+ {
1373
+ "internalType": "uint8",
1374
+ "name": "expectedNumberOfOracles",
1375
+ "type": "uint8"
1376
+ },
1377
+ {
1378
+ "internalType": "uint8",
1379
+ "name": "numberOfOracles",
1380
+ "type": "uint8"
1381
+ },
1382
+ {
1383
+ "internalType": "NftId",
1384
+ "name": "poolNftId",
1385
+ "type": "uint96"
1386
+ },
1387
+ {
1388
+ "internalType": "NftId",
1389
+ "name": "distributionNftId",
1390
+ "type": "uint96"
1391
+ },
1392
+ {
1393
+ "internalType": "NftId[]",
1394
+ "name": "oracleNftId",
1395
+ "type": "uint96[]"
1396
+ }
1397
+ ],
1398
+ "internalType": "struct IComponents.ProductInfo",
1399
+ "name": "info",
1400
+ "type": "tuple"
1401
+ }
1402
+ ],
1403
+ "stateMutability": "view",
1404
+ "type": "function"
1405
+ },
1406
+ {
1407
+ "inputs": [
1408
+ {
1409
+ "internalType": "uint256",
1410
+ "name": "idx",
1411
+ "type": "uint256"
1412
+ }
1413
+ ],
1414
+ "name": "getProductNftId",
1415
+ "outputs": [
1416
+ {
1417
+ "internalType": "NftId",
1418
+ "name": "productNftId",
1419
+ "type": "uint96"
1420
+ }
1421
+ ],
1422
+ "stateMutability": "view",
1423
+ "type": "function"
1424
+ },
1425
+ {
1426
+ "inputs": [
1427
+ {
1428
+ "internalType": "ReferralId",
1429
+ "name": "referralId",
1430
+ "type": "bytes8"
1431
+ }
1432
+ ],
1433
+ "name": "getReferralInfo",
1434
+ "outputs": [
1435
+ {
1436
+ "components": [
1437
+ {
1438
+ "internalType": "NftId",
1439
+ "name": "distributionNftId",
1440
+ "type": "uint96"
1441
+ },
1442
+ {
1443
+ "internalType": "NftId",
1444
+ "name": "distributorNftId",
1445
+ "type": "uint96"
1446
+ },
1447
+ {
1448
+ "internalType": "uint32",
1449
+ "name": "maxReferrals",
1450
+ "type": "uint32"
1451
+ },
1452
+ {
1453
+ "internalType": "uint32",
1454
+ "name": "usedReferrals",
1455
+ "type": "uint32"
1456
+ },
1457
+ {
1458
+ "internalType": "UFixed",
1459
+ "name": "discountPercentage",
1460
+ "type": "uint160"
1461
+ },
1462
+ {
1463
+ "internalType": "Timestamp",
1464
+ "name": "expiryAt",
1465
+ "type": "uint40"
1466
+ },
1467
+ {
1468
+ "internalType": "string",
1469
+ "name": "referralCode",
1470
+ "type": "string"
1471
+ },
969
1472
  {
970
1473
  "internalType": "bytes",
971
1474
  "name": "data",
@@ -980,61 +1483,255 @@
980
1483
  "stateMutability": "view",
981
1484
  "type": "function"
982
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
+ },
983
1690
  {
984
1691
  "inputs": [
985
1692
  {
986
- "internalType": "RequestId",
987
- "name": "requestId",
1693
+ "internalType": "RoleId",
1694
+ "name": "roleId",
988
1695
  "type": "uint64"
989
1696
  }
990
1697
  ],
991
- "name": "getRequestInfo",
1698
+ "name": "getRoleInfo",
992
1699
  "outputs": [
993
1700
  {
994
1701
  "components": [
995
1702
  {
996
- "internalType": "NftId",
997
- "name": "requesterNftId",
998
- "type": "uint96"
999
- },
1000
- {
1001
- "internalType": "string",
1002
- "name": "callbackMethodName",
1003
- "type": "string"
1004
- },
1005
- {
1006
- "internalType": "NftId",
1007
- "name": "oracleNftId",
1008
- "type": "uint96"
1703
+ "internalType": "RoleId",
1704
+ "name": "adminRoleId",
1705
+ "type": "uint64"
1009
1706
  },
1010
1707
  {
1011
- "internalType": "bytes",
1012
- "name": "requestData",
1013
- "type": "bytes"
1708
+ "internalType": "enum IAccess.RoleType",
1709
+ "name": "roleType",
1710
+ "type": "uint8"
1014
1711
  },
1015
1712
  {
1016
- "internalType": "bytes",
1017
- "name": "responseData",
1018
- "type": "bytes"
1713
+ "internalType": "uint32",
1714
+ "name": "maxMemberCount",
1715
+ "type": "uint32"
1019
1716
  },
1020
1717
  {
1021
1718
  "internalType": "Timestamp",
1022
- "name": "respondedAt",
1719
+ "name": "createdAt",
1023
1720
  "type": "uint40"
1024
1721
  },
1025
1722
  {
1026
1723
  "internalType": "Timestamp",
1027
- "name": "expiredAt",
1724
+ "name": "pausedAt",
1028
1725
  "type": "uint40"
1029
1726
  },
1030
1727
  {
1031
- "internalType": "bool",
1032
- "name": "isCancelled",
1033
- "type": "bool"
1728
+ "internalType": "Str",
1729
+ "name": "name",
1730
+ "type": "bytes32"
1034
1731
  }
1035
1732
  ],
1036
- "internalType": "struct IOracle.RequestInfo",
1037
- "name": "requestInfo",
1733
+ "internalType": "struct IAccess.RoleInfo",
1734
+ "name": "roleInfo",
1038
1735
  "type": "tuple"
1039
1736
  }
1040
1737
  ],
@@ -1044,29 +1741,22 @@
1044
1741
  {
1045
1742
  "inputs": [
1046
1743
  {
1047
- "internalType": "RiskId",
1048
- "name": "riskId",
1049
- "type": "bytes8"
1744
+ "internalType": "RoleId",
1745
+ "name": "roleId",
1746
+ "type": "uint64"
1747
+ },
1748
+ {
1749
+ "internalType": "uint256",
1750
+ "name": "idx",
1751
+ "type": "uint256"
1050
1752
  }
1051
1753
  ],
1052
- "name": "getRiskInfo",
1754
+ "name": "getRoleMember",
1053
1755
  "outputs": [
1054
1756
  {
1055
- "components": [
1056
- {
1057
- "internalType": "NftId",
1058
- "name": "productNftId",
1059
- "type": "uint96"
1060
- },
1061
- {
1062
- "internalType": "bytes",
1063
- "name": "data",
1064
- "type": "bytes"
1065
- }
1066
- ],
1067
- "internalType": "struct IRisk.RiskInfo",
1068
- "name": "info",
1069
- "type": "tuple"
1757
+ "internalType": "address",
1758
+ "name": "account",
1759
+ "type": "address"
1070
1760
  }
1071
1761
  ],
1072
1762
  "stateMutability": "view",
@@ -1091,6 +1781,85 @@
1091
1781
  "stateMutability": "view",
1092
1782
  "type": "function"
1093
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
+ },
1094
1863
  {
1095
1864
  "inputs": [
1096
1865
  {
@@ -1102,7 +1871,7 @@
1102
1871
  "name": "getTokenHandler",
1103
1872
  "outputs": [
1104
1873
  {
1105
- "internalType": "address",
1874
+ "internalType": "contract TokenHandler",
1106
1875
  "name": "tokenHandler",
1107
1876
  "type": "address"
1108
1877
  }
@@ -1112,22 +1881,142 @@
1112
1881
  },
1113
1882
  {
1114
1883
  "inputs": [
1115
- {
1116
- "internalType": "address",
1117
- "name": "account",
1118
- "type": "address"
1119
- },
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": [
1120
2009
  {
1121
2010
  "internalType": "RoleId",
1122
2011
  "name": "roleId",
1123
2012
  "type": "uint64"
1124
2013
  }
1125
2014
  ],
1126
- "name": "hasAdminRole",
2015
+ "name": "isRoleCustom",
1127
2016
  "outputs": [
1128
2017
  {
1129
2018
  "internalType": "bool",
1130
- "name": "isMember",
2019
+ "name": "isCustom",
1131
2020
  "type": "bool"
1132
2021
  }
1133
2022
  ],
@@ -1136,18 +2025,18 @@
1136
2025
  },
1137
2026
  {
1138
2027
  "inputs": [
1139
- {
1140
- "internalType": "address",
1141
- "name": "account",
1142
- "type": "address"
1143
- },
1144
2028
  {
1145
2029
  "internalType": "RoleId",
1146
2030
  "name": "roleId",
1147
2031
  "type": "uint64"
2032
+ },
2033
+ {
2034
+ "internalType": "address",
2035
+ "name": "account",
2036
+ "type": "address"
1148
2037
  }
1149
2038
  ],
1150
- "name": "hasRole",
2039
+ "name": "isRoleMember",
1151
2040
  "outputs": [
1152
2041
  {
1153
2042
  "internalType": "bool",
@@ -1158,40 +2047,44 @@
1158
2047
  "stateMutability": "view",
1159
2048
  "type": "function"
1160
2049
  },
1161
- {
1162
- "inputs": [],
1163
- "name": "initialize",
1164
- "outputs": [],
1165
- "stateMutability": "nonpayable",
1166
- "type": "function"
1167
- },
1168
2050
  {
1169
2051
  "inputs": [
1170
2052
  {
1171
- "internalType": "address",
1172
- "name": "instanceAddress",
1173
- "type": "address"
2053
+ "internalType": "NftId",
2054
+ "name": "policyNftId",
2055
+ "type": "uint96"
2056
+ },
2057
+ {
2058
+ "internalType": "ClaimId",
2059
+ "name": "claimId",
2060
+ "type": "uint16"
1174
2061
  }
1175
2062
  ],
1176
- "name": "initializeWithInstance",
1177
- "outputs": [],
1178
- "stateMutability": "nonpayable",
2063
+ "name": "payouts",
2064
+ "outputs": [
2065
+ {
2066
+ "internalType": "uint24",
2067
+ "name": "payoutCount",
2068
+ "type": "uint24"
2069
+ }
2070
+ ],
2071
+ "stateMutability": "view",
1179
2072
  "type": "function"
1180
2073
  },
1181
2074
  {
1182
2075
  "inputs": [
1183
2076
  {
1184
- "internalType": "address",
1185
- "name": "target",
1186
- "type": "address"
2077
+ "internalType": "RiskId",
2078
+ "name": "riskId",
2079
+ "type": "bytes8"
1187
2080
  }
1188
2081
  ],
1189
- "name": "isTargetLocked",
2082
+ "name": "policiesForRisk",
1190
2083
  "outputs": [
1191
2084
  {
1192
- "internalType": "bool",
1193
- "name": "",
1194
- "type": "bool"
2085
+ "internalType": "uint256",
2086
+ "name": "linkedPolicies",
2087
+ "type": "uint256"
1195
2088
  }
1196
2089
  ],
1197
2090
  "stateMutability": "view",
@@ -1205,7 +2098,7 @@
1205
2098
  "type": "uint96"
1206
2099
  }
1207
2100
  ],
1208
- "name": "policyIsCloseable",
2101
+ "name": "policyIsActive",
1209
2102
  "outputs": [
1210
2103
  {
1211
2104
  "internalType": "bool",
@@ -1217,90 +2110,78 @@
1217
2110
  "type": "function"
1218
2111
  },
1219
2112
  {
1220
- "inputs": [
1221
- {
1222
- "internalType": "NftId",
1223
- "name": "poolNftId",
1224
- "type": "uint96"
1225
- }
1226
- ],
1227
- "name": "toBundleKey",
2113
+ "inputs": [],
2114
+ "name": "products",
1228
2115
  "outputs": [
1229
2116
  {
1230
- "internalType": "Key32",
1231
- "name": "",
1232
- "type": "bytes32"
2117
+ "internalType": "uint256",
2118
+ "name": "productCount",
2119
+ "type": "uint256"
1233
2120
  }
1234
2121
  ],
1235
- "stateMutability": "pure",
2122
+ "stateMutability": "view",
1236
2123
  "type": "function"
1237
2124
  },
1238
2125
  {
1239
2126
  "inputs": [
1240
2127
  {
1241
2128
  "internalType": "NftId",
1242
- "name": "componentNftId",
2129
+ "name": "productNftId",
1243
2130
  "type": "uint96"
1244
2131
  }
1245
2132
  ],
1246
- "name": "toComponentKey",
2133
+ "name": "risks",
1247
2134
  "outputs": [
1248
2135
  {
1249
- "internalType": "Key32",
1250
- "name": "",
1251
- "type": "bytes32"
2136
+ "internalType": "uint256",
2137
+ "name": "riskCount",
2138
+ "type": "uint256"
1252
2139
  }
1253
2140
  ],
1254
- "stateMutability": "pure",
2141
+ "stateMutability": "view",
1255
2142
  "type": "function"
1256
2143
  },
1257
2144
  {
1258
2145
  "inputs": [
1259
2146
  {
1260
- "internalType": "NftId",
1261
- "name": "distributionNftId",
1262
- "type": "uint96"
2147
+ "internalType": "RoleId",
2148
+ "name": "roleId",
2149
+ "type": "uint64"
1263
2150
  }
1264
2151
  ],
1265
- "name": "toDistributionKey",
2152
+ "name": "roleExists",
1266
2153
  "outputs": [
1267
2154
  {
1268
- "internalType": "Key32",
1269
- "name": "",
1270
- "type": "bytes32"
2155
+ "internalType": "bool",
2156
+ "name": "exists",
2157
+ "type": "bool"
1271
2158
  }
1272
2159
  ],
1273
- "stateMutability": "pure",
2160
+ "stateMutability": "view",
1274
2161
  "type": "function"
1275
2162
  },
1276
2163
  {
1277
2164
  "inputs": [
1278
2165
  {
1279
- "internalType": "NftId",
1280
- "name": "distributorNftId",
1281
- "type": "uint96"
2166
+ "internalType": "RoleId",
2167
+ "name": "roleId",
2168
+ "type": "uint64"
1282
2169
  }
1283
2170
  ],
1284
- "name": "toDistributorKey",
2171
+ "name": "roleMembers",
1285
2172
  "outputs": [
1286
2173
  {
1287
- "internalType": "Key32",
1288
- "name": "",
1289
- "type": "bytes32"
2174
+ "internalType": "uint256",
2175
+ "name": "numberOfMembers",
2176
+ "type": "uint256"
1290
2177
  }
1291
2178
  ],
1292
- "stateMutability": "pure",
2179
+ "stateMutability": "view",
1293
2180
  "type": "function"
1294
2181
  },
1295
2182
  {
1296
- "inputs": [
1297
- {
1298
- "internalType": "UFixed",
1299
- "name": "value",
1300
- "type": "uint256"
1301
- }
1302
- ],
1303
- "name": "toInt",
2183
+ "inputs": [],
2184
+ "name": "roles",
1304
2185
  "outputs": [
1305
2186
  {
1306
2187
  "internalType": "uint256",
@@ -1308,61 +2189,96 @@
1308
2189
  "type": "uint256"
1309
2190
  }
1310
2191
  ],
1311
- "stateMutability": "pure",
2192
+ "stateMutability": "view",
1312
2193
  "type": "function"
1313
2194
  },
1314
2195
  {
1315
2196
  "inputs": [
1316
2197
  {
1317
- "internalType": "NftId",
1318
- "name": "policyNftId",
1319
- "type": "uint96"
2198
+ "internalType": "address",
2199
+ "name": "target",
2200
+ "type": "address"
1320
2201
  }
1321
2202
  ],
1322
- "name": "toPolicyKey",
2203
+ "name": "targetExists",
1323
2204
  "outputs": [
1324
2205
  {
1325
- "internalType": "Key32",
1326
- "name": "",
1327
- "type": "bytes32"
2206
+ "internalType": "bool",
2207
+ "name": "exists",
2208
+ "type": "bool"
1328
2209
  }
1329
2210
  ],
1330
- "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",
1331
2225
  "type": "function"
1332
2226
  },
1333
2227
  {
1334
2228
  "inputs": [
1335
2229
  {
1336
- "internalType": "NftId",
1337
- "name": "poolNftId",
1338
- "type": "uint96"
2230
+ "internalType": "bytes4",
2231
+ "name": "signature",
2232
+ "type": "bytes4"
2233
+ },
2234
+ {
2235
+ "internalType": "string",
2236
+ "name": "name",
2237
+ "type": "string"
1339
2238
  }
1340
2239
  ],
1341
- "name": "toPoolKey",
2240
+ "name": "toFunction",
1342
2241
  "outputs": [
1343
2242
  {
1344
- "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",
1345
2261
  "name": "",
1346
- "type": "bytes32"
2262
+ "type": "tuple"
1347
2263
  }
1348
2264
  ],
1349
- "stateMutability": "pure",
2265
+ "stateMutability": "view",
1350
2266
  "type": "function"
1351
2267
  },
1352
2268
  {
1353
2269
  "inputs": [
1354
2270
  {
1355
- "internalType": "NftId",
1356
- "name": "productNftId",
1357
- "type": "uint96"
2271
+ "internalType": "UFixed",
2272
+ "name": "value",
2273
+ "type": "uint160"
1358
2274
  }
1359
2275
  ],
1360
- "name": "toProductKey",
2276
+ "name": "toInt",
1361
2277
  "outputs": [
1362
2278
  {
1363
- "internalType": "Key32",
2279
+ "internalType": "uint256",
1364
2280
  "name": "",
1365
- "type": "bytes32"
2281
+ "type": "uint256"
1366
2282
  }
1367
2283
  ],
1368
2284
  "stateMutability": "pure",
@@ -1410,21 +2326,37 @@
1410
2326
  {
1411
2327
  "internalType": "UFixed",
1412
2328
  "name": "",
1413
- "type": "uint256"
2329
+ "type": "uint160"
1414
2330
  }
1415
2331
  ],
1416
2332
  "stateMutability": "pure",
1417
2333
  "type": "function"
1418
2334
  }
1419
2335
  ],
1420
- "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50613df2806100255f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c806378ae935011610135578063b82d7ef5116100b4578063dd26287a11610079578063dd26287a14610631578063de7b5d1414610644578063f0ea17c314610659578063f7f318d314610679578063febe92af1461068c575f80fd5b8063b82d7ef5146105a3578063bd7d9d85146105cd578063cd55e51b146105ed578063d06458c614610600578063d4cda0d814610620575f80fd5b80638eb9000d116100fa5780638eb9000d146104d65780639096a1f3146104e9578063a310e2a3146104fc578063a5961b4c14610527578063a7ef3d2114610583575f80fd5b806378ae9350146104755780637bfd3217146104885780637e54602a1461049b5780638129fc1c146104ae578063887b1fa9146104b6575f80fd5b80633f093cd6116101c15780635da89402116101865780635da894021461041457806364eb3a9b1461042757806364fc31421461043a5780636791f7ab1461044d57806375d357df14610462575f80fd5b80633f093cd61461038257806344aa6836146103ae5780634793b4ab146103c15780634fb784f5146103e157806357f80bbf146103f4575f80fd5b8063228e42ec11610207578063228e42ec146102f957806326decd401461030c57806327b1d7921461032f57806335898f5d1461034f57806339bb60cd14610362575f80fd5b80630232ca491461024357806309648a9d146102735780630b5d931c146102985780631488c845146102b85780631d3be477146102d9575b5f80fd5b6102566102513660046124f4565b6106ac565b6040516001600160601b0390911681526020015b60405180910390f35b61028661028136600461250f565b610726565b60405160ff909116815260200161026a565b6102ab6102a63660046124f4565b61079b565b60405161026a9190612526565b6102cb6102c6366004612608565b610849565b60405190815260200161026a565b6102ec6102e7366004612650565b6108c5565b60405161026a9190612699565b6102566103073660046124f4565b610a09565b61031f61031a366004612747565b610a42565b604051901515815260200161026a565b61034261033d3660046124f4565b610b20565b60405161026a9190612762565b6102cb61035d3660046124f4565b610bdd565b6103756103703660046127bb565b610c74565b60405161026a91906127ee565b6103956103903660046129cb565b610dbe565b6040516001600160c01b0319909116815260200161026a565b6102cb6103bc36600461250f565b610e38565b6103d46103cf3660046124f4565b610e72565b60405161026a9190612a57565b6102cb6103ef3660046124f4565b610f13565b6104076104023660046124f4565b610f3f565b60405161026a9190612ae2565b6102866104223660046127bb565b610fe0565b6102cb6104353660046124f4565b6110d8565b61031f610448366004612be5565b611104565b61046061045b366004612747565b6111f3565b005b61031f6104703660046124f4565b6112c6565b610286610483366004612c20565b611547565b6102cb6104963660046124f4565b6115a6565b6102cb6104a93660046124f4565b6115d2565b6104606115fe565b6104c96104c4366004612650565b61162c565b60405161026a9190612c4c565b6102566104e43660046124f4565b61174d565b6102866104f73660046124f4565b611786565b61050f61050a3660046124f4565b6117ff565b6040516001600160a01b03909116815260200161026a565b61053a61053536600461250f565b6118a7565b60405161026a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610596610591366004612c20565b611931565b60405161026a9190612c81565b6105b66105b1366004612650565b611a7e565b6040805192835260ff90911660208301520161026a565b6105e06105db3660046124f4565b611d1a565b60405161026a9190612d27565b61031f6105fb366004612be5565b611e3a565b61061361060e366004612650565b611eee565b60405161026a9190612eb6565b6001546001600160a01b031661050f565b6102cb61063f3660046124f4565b612053565b5f5461010090046001600160a01b031661050f565b61066c6106673660046124f4565b61207f565b60405161026a9190612f57565b6102cb6106873660046124f4565b612148565b61069f61069a366004612fe1565b612174565b60405161026a9190612ffc565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa1580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906130da565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561076d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610791919061312a565b6020015192915050565b6107a3612322565b6001545f906001600160a01b03166354f6127f6107bf856115a6565b6040518263ffffffff1660e01b81526004016107dd91815260200190565b5f60405180830381865afa1580156107f7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261081e91908101906131e0565b805190915015610843578080602001905181019061083c9190613240565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156108a1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c9190613301565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610968573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098c9190613301565b6040518263ffffffff1660e01b81526004016109aa91815260200190565b5f60405180830381865afa1580156109c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109eb91908101906131e0565b805190915015610843578080602001905181019061083c9190613335565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec906024016106e1565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab79190613417565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610afc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107209190613441565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610b60856115d2565b6040518263ffffffff1660e01b8152600401610b7e91815260200190565b5f60405180830381865afa158015610b98573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bbf91908101906131e0565b805190915015610843578080602001905181019061083c9190613465565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610c50573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107209190613301565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d329190613301565b6040518263ffffffff1660e01b8152600401610d5091815260200190565b5f60405180830381865afa158015610d6a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d9191908101906131e0565b805190915015610db75780806020019051810190610daf9190613515565b915050610720565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610df990869086906004016135ad565b602060405180830381865af4158015610e14573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c91906135ce565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c35565b610e7a61242c565b6001545f906001600160a01b03166354f6127f610e9685612148565b6040518263ffffffff1660e01b8152600401610eb491815260200190565b5f60405180830381865afa158015610ece573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ef591908101906131e0565b805190915015610843578080602001905181019061083c91906135e9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c05565b610f47612483565b6001545f906001600160a01b03166354f6127f610f6385612053565b6040518263ffffffff1660e01b8152600401610f8191815260200190565b5f60405180830381865afa158015610f9b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fc291908101906131e0565b805190915015610843578080602001905181019061083c91906136b8565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015611057573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107b9190613301565b6040518263ffffffff1660e01b815260040161109991815260200190565b602060405180830381865afa1580156110b4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c919061378a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c05565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611155573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111799190613417565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156111cf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c9190613441565b5f5460ff16156112165760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa15801561127f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a39190613417565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f806112d183611d1a565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561132d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113519190613441565b1561135e57505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156113b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113dd9190613441565b156113ea57505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611445573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114699190613441565b1561147657505f92915050565b61016081015161ffff161561148d57505f92915050565b6114a081610180015182608001516122c2565b156114ae5750600192915050565b61153173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151c91906137a5565b826101e0015164ffffffffff90811691161090565b1561153e57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161103c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c05565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610c05565b5f5460ff16156116215760405163ae9eff1b60e01b815260040160405180910390fd5b61162a336111f3565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156116ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d09190613301565b6040518263ffffffff1660e01b81526004016116ee91815260200190565b5f60405180830381865afa158015611708573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261172f91908101906131e0565b805190915015610843578080602001905181019061083c91906137c0565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d906024016106e1565b6001545f906001600160a01b03166309648a9d6117a2846110d8565b6040518263ffffffff1660e01b81526004016117c091815260200190565b602060405180830381865afa1580156117db573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610720919061378a565b6001545f9081906001600160a01b03166354f6127f61181d85610f13565b6040518263ffffffff1660e01b815260040161183b91815260200190565b5f60405180830381865afa158015611855573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261187c91908101906131e0565b805190915015610843575f8180602001905181019061189b9190613848565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561190d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610720919061312a565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156119dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a019190613301565b6040518263ffffffff1660e01b8152600401611a1f91815260200190565b5f60405180830381865afa158015611a39573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a6091908101906131e0565b805190915015610db75780806020019051810190610daf9190613920565b5f805f611a8a846108c5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611ae7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0b9190613441565b15611b885773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7b9190613301565b60645b9250925050915091565b611c0a8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfb91906137a5565b64ffffffffff90811691161090565b15611c815773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7a9190613301565b606e611b7e565b806060015163ffffffff16816080015163ffffffff1610611d0e5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d079190613301565b6078611b7e565b6040810151600a611b7e565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611dbd856110d8565b6040518263ffffffff1660e01b8152600401611ddb91815260200190565b5f60405180830381865afa158015611df5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1c91908101906131e0565b805190915015610843578080602001905181019061083c9190613a09565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaf9190613417565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016111b4565b611f46604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611fb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd69190613301565b6040518263ffffffff1660e01b8152600401611ff491815260200190565b5f60405180830381865afa15801561200e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261203591908101906131e0565b805190915015610843578080602001905181019061083c9190613baf565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c05565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6120cb85610f13565b6040518263ffffffff1660e01b81526004016120e991815260200190565b5f60405180830381865afa158015612103573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261212a91908101906131e0565b805190915015610843578080602001905181019061083c9190613848565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610c05565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612221573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122459190613301565b6040518263ffffffff1660e01b815260040161226391815260200190565b5f60405180830381865afa15801561227d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122a491908101906131e0565b805190915015610843578080602001905181019061083c9190613ca8565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156111cf573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161236760405180604001604052805f81526020015f81525090565b815260200161238760405180604001604052805f81526020015f81525090565b81526020016123a760405180604001604052805f81526020015f81525090565b81526020016123c760405180604001604052805f81526020015f81525090565b81526020016123e760405180604001604052805f81526020015f81525090565b815260200161240760405180604001604052805f81526020015f81525090565b815260200161242760405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161246160405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b60408051610160810182525f8082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e083018290528351808501909452818452830152906101008201906123e7565b6001600160601b03811681146124f1575f80fd5b50565b5f60208284031215612504575f80fd5b813561083c816124dd565b5f6020828403121561251f575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612553908401826001600160601b03169052565b506040830151612570604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610db7565b5f8060408385031215612619575f80fd5b8235915060208301355f81900b8114612630575f80fd5b809150509250929050565b6001600160c01b0319811681146124f1575f80fd5b5f60208284031215612660575f80fd5b813561083c8161263b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526126c861010084018261266b565b90506040840151606084015263ffffffff606085015116608084015260808401516126fb60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261272a828261266b565b95945050505050565b6001600160a01b03811681146124f1575f80fd5b5f60208284031215612757575f80fd5b813561083c81612733565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261279f60a084018261266b565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156127cc575f80fd5b82356127d7816124dd565b9150602083013562ffffff81168114612630575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f60408301516080606084015261282a60a084018261266b565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561287d5761287d612847565b60405290565b604080519081016001600160401b038111828210171561287d5761287d612847565b60405161012081016001600160401b038111828210171561287d5761287d612847565b60405160e081016001600160401b038111828210171561287d5761287d612847565b60405160c081016001600160401b038111828210171561287d5761287d612847565b60405161016081016001600160401b038111828210171561287d5761287d612847565b60405161022081016001600160401b038111828210171561287d5761287d612847565b60405161010081016001600160401b038111828210171561287d5761287d612847565b604051601f8201601f191681016001600160401b038111828210171561299d5761299d612847565b604052919050565b5f6001600160401b038211156129bd576129bd612847565b50601f01601f191660200190565b5f80604083850312156129dc575f80fd5b82356129e7816124dd565b915060208301356001600160401b03811115612a01575f80fd5b8301601f81018513612a11575f80fd5b8035612a24612a1f826129a5565b612975565b818152866020838501011115612a38575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612a88604084018280518252602090810151910152565b50604083015160e06080840152612aa361010084018261266b565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b81516001600160601b031681526101c081016020830151612b0e60208401826001600160401b03169052565b506040830151612b2960408401826001600160601b03169052565b506060830151612b3d606084018215159052565b506080830151612b51608084018215159052565b5060a0830151612b6560a084018215159052565b5060c083015160c083015260e083015160e0830152610100830151612b9861010084018280518252602090810151910152565b506101208301518051610140840152602081015161016084015250610140830151805161018084015260208101516101a0840152610db7565b6001600160401b03811681146124f1575f80fd5b5f8060408385031215612bf6575f80fd5b8235612c0181612733565b9150602083013561263081612bd1565b61ffff811681146124f1575f80fd5b5f8060408385031215612c31575f80fd5b8235612c3c816124dd565b9150602083013561263081612c11565b602081526001600160601b0382511660208201525f6020830151604080840152612c79606084018261266b565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612cbd606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612ce761010084018261266b565b905060a0840151601f198483030160c0850152612d04828261266b565b91505060c0840151612d1f60e085018264ffffffffff169052565b509392505050565b60208152612d416020820183516001600160601b03169052565b5f6020830151612d5c60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612df961024084018261266b565b9050610120840151601f1984830301610140850152612e18828261266b565b915050610140840151612e3261016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612d1f565b602081525f82516101206020840152612ed361014084018261266b565b90506020840151604084015260408401516060840152606084015160808401526080840151612f0a60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f190161012085015261272a828261266b565b602081525f825160c06020840152612f7260e084018261266b565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612fc560a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261272a828261266b565b5f60208284031215612ff1575f80fd5b813561083c81612bd1565b602081526130166020820183516001600160601b03169052565b5f6020830151610100604084015261303261012084018261266b565b9050604084015161304e60608501826001600160601b03169052565b506060840151838203601f1901608085015261306a828261266b565b9150506080840151601f198483030160a0850152613088828261266b565b91505060a08401516130a360c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612d1f565b80516130d5816124dd565b919050565b5f602082840312156130ea575f80fd5b815161083c816124dd565b60ff811681146124f1575f80fd5b80516130d5816130f5565b63ffffffff811681146124f1575f80fd5b80516130d58161310e565b5f608082840312801561313b575f80fd5b5061314461285b565b825161314f816130f5565b8152602083015161315f816130f5565b602082015260408301516131728161310e565b604082015260608301516131858161310e565b60608201529392505050565b5f82601f8301126131a0575f80fd5b8151602083015f6131b3612a1f846129a5565b90508281528583830111156131c6575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131f0575f80fd5b81516001600160401b03811115613205575f80fd5b612c7984828501613191565b5f60408284031215613221575f80fd5b613229612883565b825181526020928301519281019290925250919050565b5f610200828403128015613252575f80fd5b5061325b6128a5565b613264836130ca565b8152613272602084016130ca565b60208201526132848460408501613211565b60408201526132968460808501613211565b60608201526132a88460c08501613211565b60808201526132bb846101008501613211565b60a08201526132ce846101408501613211565b60c08201526132e1846101808501613211565b60e08201526132f4846101c08501613211565b6101008201529392505050565b5f60208284031215613311575f80fd5b5051919050565b64ffffffffff811681146124f1575f80fd5b80516130d581613318565b5f60208284031215613345575f80fd5b81516001600160401b0381111561335a575f80fd5b820160e0818503121561336b575f80fd5b6133736128c8565b61337c826130ca565b815260208201516001600160401b03811115613396575f80fd5b6133a286828501613191565b602083015250604082810151908201526133be6060830161311f565b60608201526133cf6080830161311f565b60808201526133e060a0830161332a565b60a082015260c08201516001600160401b038111156133fd575f80fd5b61340986828501613191565b60c083015250949350505050565b5f60208284031215613427575f80fd5b815161083c81612733565b805180151581146130d5575f80fd5b5f60208284031215613451575f80fd5b61083c82613432565b80516130d58161263b565b5f60208284031215613475575f80fd5b81516001600160401b0381111561348a575f80fd5b82016080818503121561349b575f80fd5b6134a361285b565b81516134ae8161263b565b81526134bc60208301613432565b602082015260408201516001600160401b038111156134d9575f80fd5b6134e586828501613191565b604083015250606082015191506134fb8261310e565b60608101919091529392505050565b80516130d581612c11565b5f60208284031215613525575f80fd5b81516001600160401b0381111561353a575f80fd5b82016080818503121561354b575f80fd5b61355361285b565b815161355e81612c11565b8152602082015161356e816124dd565b602082015260408201516001600160401b0381111561358b575f80fd5b61359786828501613191565b604083015250606082015191506134fb82613318565b6001600160601b0383168152604060208201525f612c79604083018461266b565b5f602082840312156135de575f80fd5b815161083c8161263b565b5f602082840312156135f9575f80fd5b81516001600160401b0381111561360e575f80fd5b820160e0818503121561361f575f80fd5b6136276128ea565b8151613632816124dd565b81526136418560208401613211565b602082015260608201516001600160401b0381111561365e575f80fd5b61366a86828501613191565b604083015250608082015161367e81613318565b606082015261368f60a0830161332a565b60808201526136a060c0830161332a565b60a0820152949350505050565b80516130d581612bd1565b5f6101c08284031280156136ca575f80fd5b506136d361290c565b6136dc836130ca565b81526136ea602084016136ad565b60208201526136fb604084016130ca565b604082015261370c60608401613432565b606082015261371d60808401613432565b608082015261372e60a08401613432565b60a082015260c0838101519082015260e08084015190820152613755846101008501613211565b610100820152613769846101408501613211565b61012082015261377d846101808501613211565b6101408201529392505050565b5f6020828403121561379a575f80fd5b815161083c816130f5565b5f602082840312156137b5575f80fd5b815161083c81613318565b5f602082840312156137d0575f80fd5b81516001600160401b038111156137e5575f80fd5b8201604081850312156137f6575f80fd5b6137fe612883565b8151613809816124dd565b815260208201516001600160401b03811115613823575f80fd5b61382f86828501613191565b602083015250949350505050565b80516130d581612733565b5f60208284031215613858575f80fd5b81516001600160401b0381111561386d575f80fd5b820160c0818503121561387e575f80fd5b6138866128ea565b81516001600160401b0381111561389b575f80fd5b6138a786828501613191565b8252506138b6602083016130ca565b60208201526138c76040830161383d565b60408201526138d86060830161383d565b60608201526138e96080830161383d565b608082015260a08201516001600160401b03811115613906575f80fd5b61391286828501613191565b60a083015250949350505050565b5f60208284031215613930575f80fd5b81516001600160401b03811115613945575f80fd5b820160e08185031215613956575f80fd5b61395e6128c8565b613967826130ca565b8152613975602083016130ca565b602082015261398660408301613103565b604082015261399760608301613103565b606082015260808201516001600160401b038111156139b4575f80fd5b6139c086828501613191565b60808301525060a08201516001600160401b038111156139de575f80fd5b6139ea86828501613191565b60a0830152506139fc60c0830161332a565b60c0820152949350505050565b5f60208284031215613a19575f80fd5b81516001600160401b03811115613a2e575f80fd5b82016102208185031215613a40575f80fd5b613a4861292f565b613a51826130ca565b8152613a5f602083016130ca565b6020820152613a706040830161345a565b6040820152613a816060830161345a565b6060820152613a92608083016130ca565b6080820152613aa360a083016130ca565b60a0820152613ab460c083016130ca565b60c0820152613ac560e0830161332a565b60e08201526101008201516001600160401b03811115613ae3575f80fd5b613aef86828501613191565b610100830152506101208201516001600160401b03811115613b0f575f80fd5b613b1b86828501613191565b61012083015250613b2f610140830161350a565b610140820152613b42610160830161350a565b610160820152613b5561018083016130ca565b610180820152613b686101a083016130ca565b6101a0820152613b7b6101c0830161332a565b6101c0820152613b8e6101e0830161332a565b6101e0820152613ba1610200830161332a565b610200820152949350505050565b5f60208284031215613bbf575f80fd5b81516001600160401b03811115613bd4575f80fd5b82016101208185031215613be6575f80fd5b613bee6128a5565b81516001600160401b03811115613c03575f80fd5b613c0f86828501613191565b825250602082810151908201526040808301519082015260608083015190820152613c3c6080830161311f565b6080820152613c4d60a0830161311f565b60a0820152613c5e60c08301613432565b60c0820152613c6f60e08301613432565b60e08201526101008201516001600160401b03811115613c8d575f80fd5b613c9986828501613191565b61010083015250949350505050565b5f60208284031215613cb8575f80fd5b81516001600160401b03811115613ccd575f80fd5b82016101008185031215613cdf575f80fd5b613ce7612952565b613cf0826130ca565b815260208201516001600160401b03811115613d0a575f80fd5b613d1686828501613191565b602083015250613d28604083016130ca565b604082015260608201516001600160401b03811115613d45575f80fd5b613d5186828501613191565b60608301525060808201516001600160401b03811115613d6f575f80fd5b613d7b86828501613191565b608083015250613d8d60a0830161332a565b60a0820152613d9e60c0830161332a565b60c0820152613daf60e08301613432565b60e082015294935050505056fea2646970667358221220aa47cd137105c55022334209690161f5ea43790db3eabe904155e48b51450dff64736f6c634300081a0033",
1421
- "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c806378ae935011610135578063b82d7ef5116100b4578063dd26287a11610079578063dd26287a14610631578063de7b5d1414610644578063f0ea17c314610659578063f7f318d314610679578063febe92af1461068c575f80fd5b8063b82d7ef5146105a3578063bd7d9d85146105cd578063cd55e51b146105ed578063d06458c614610600578063d4cda0d814610620575f80fd5b80638eb9000d116100fa5780638eb9000d146104d65780639096a1f3146104e9578063a310e2a3146104fc578063a5961b4c14610527578063a7ef3d2114610583575f80fd5b806378ae9350146104755780637bfd3217146104885780637e54602a1461049b5780638129fc1c146104ae578063887b1fa9146104b6575f80fd5b80633f093cd6116101c15780635da89402116101865780635da894021461041457806364eb3a9b1461042757806364fc31421461043a5780636791f7ab1461044d57806375d357df14610462575f80fd5b80633f093cd61461038257806344aa6836146103ae5780634793b4ab146103c15780634fb784f5146103e157806357f80bbf146103f4575f80fd5b8063228e42ec11610207578063228e42ec146102f957806326decd401461030c57806327b1d7921461032f57806335898f5d1461034f57806339bb60cd14610362575f80fd5b80630232ca491461024357806309648a9d146102735780630b5d931c146102985780631488c845146102b85780631d3be477146102d9575b5f80fd5b6102566102513660046124f4565b6106ac565b6040516001600160601b0390911681526020015b60405180910390f35b61028661028136600461250f565b610726565b60405160ff909116815260200161026a565b6102ab6102a63660046124f4565b61079b565b60405161026a9190612526565b6102cb6102c6366004612608565b610849565b60405190815260200161026a565b6102ec6102e7366004612650565b6108c5565b60405161026a9190612699565b6102566103073660046124f4565b610a09565b61031f61031a366004612747565b610a42565b604051901515815260200161026a565b61034261033d3660046124f4565b610b20565b60405161026a9190612762565b6102cb61035d3660046124f4565b610bdd565b6103756103703660046127bb565b610c74565b60405161026a91906127ee565b6103956103903660046129cb565b610dbe565b6040516001600160c01b0319909116815260200161026a565b6102cb6103bc36600461250f565b610e38565b6103d46103cf3660046124f4565b610e72565b60405161026a9190612a57565b6102cb6103ef3660046124f4565b610f13565b6104076104023660046124f4565b610f3f565b60405161026a9190612ae2565b6102866104223660046127bb565b610fe0565b6102cb6104353660046124f4565b6110d8565b61031f610448366004612be5565b611104565b61046061045b366004612747565b6111f3565b005b61031f6104703660046124f4565b6112c6565b610286610483366004612c20565b611547565b6102cb6104963660046124f4565b6115a6565b6102cb6104a93660046124f4565b6115d2565b6104606115fe565b6104c96104c4366004612650565b61162c565b60405161026a9190612c4c565b6102566104e43660046124f4565b61174d565b6102866104f73660046124f4565b611786565b61050f61050a3660046124f4565b6117ff565b6040516001600160a01b03909116815260200161026a565b61053a61053536600461250f565b6118a7565b60405161026a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610596610591366004612c20565b611931565b60405161026a9190612c81565b6105b66105b1366004612650565b611a7e565b6040805192835260ff90911660208301520161026a565b6105e06105db3660046124f4565b611d1a565b60405161026a9190612d27565b61031f6105fb366004612be5565b611e3a565b61061361060e366004612650565b611eee565b60405161026a9190612eb6565b6001546001600160a01b031661050f565b6102cb61063f3660046124f4565b612053565b5f5461010090046001600160a01b031661050f565b61066c6106673660046124f4565b61207f565b60405161026a9190612f57565b6102cb6106873660046124f4565b612148565b61069f61069a366004612fe1565b612174565b60405161026a9190612ffc565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa1580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906130da565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561076d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610791919061312a565b6020015192915050565b6107a3612322565b6001545f906001600160a01b03166354f6127f6107bf856115a6565b6040518263ffffffff1660e01b81526004016107dd91815260200190565b5f60405180830381865afa1580156107f7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261081e91908101906131e0565b805190915015610843578080602001905181019061083c9190613240565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156108a1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c9190613301565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610968573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098c9190613301565b6040518263ffffffff1660e01b81526004016109aa91815260200190565b5f60405180830381865afa1580156109c4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109eb91908101906131e0565b805190915015610843578080602001905181019061083c9190613335565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec906024016106e1565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab79190613417565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610afc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107209190613441565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610b60856115d2565b6040518263ffffffff1660e01b8152600401610b7e91815260200190565b5f60405180830381865afa158015610b98573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bbf91908101906131e0565b805190915015610843578080602001905181019061083c9190613465565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610c50573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107209190613301565b604080516080810182525f80825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d329190613301565b6040518263ffffffff1660e01b8152600401610d5091815260200190565b5f60405180830381865afa158015610d6a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d9191908101906131e0565b805190915015610db75780806020019051810190610daf9190613515565b915050610720565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610df990869086906004016135ad565b602060405180830381865af4158015610e14573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c91906135ce565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610c35565b610e7a61242c565b6001545f906001600160a01b03166354f6127f610e9685612148565b6040518263ffffffff1660e01b8152600401610eb491815260200190565b5f60405180830381865afa158015610ece573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ef591908101906131e0565b805190915015610843578080602001905181019061083c91906135e9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610c05565b610f47612483565b6001545f906001600160a01b03166354f6127f610f6385612053565b6040518263ffffffff1660e01b8152600401610f8191815260200190565b5f60405180830381865afa158015610f9b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fc291908101906131e0565b805190915015610843578080602001905181019061083c91906136b8565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015611057573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107b9190613301565b6040518263ffffffff1660e01b815260040161109991815260200190565b602060405180830381865afa1580156110b4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c919061378a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610c05565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611155573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111799190613417565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156111cf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083c9190613441565b5f5460ff16156112165760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa15801561127f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112a39190613417565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f806112d183611d1a565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561132d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113519190613441565b1561135e57505f92915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156113b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113dd9190613441565b156113ea57505f92915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611445573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114699190613441565b1561147657505f92915050565b61016081015161ffff161561148d57505f92915050565b6114a081610180015182608001516122c2565b156114ae5750600192915050565b61153173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156114f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151c91906137a5565b826101e0015164ffffffffff90811691161090565b1561153e57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161103c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610c05565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601c610c05565b5f5460ff16156116215760405163ae9eff1b60e01b815260040160405180910390fd5b61162a336111f3565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156116ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d09190613301565b6040518263ffffffff1660e01b81526004016116ee91815260200190565b5f60405180830381865afa158015611708573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261172f91908101906131e0565b805190915015610843578080602001905181019061083c91906137c0565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d906024016106e1565b6001545f906001600160a01b03166309648a9d6117a2846110d8565b6040518263ffffffff1660e01b81526004016117c091815260200190565b602060405180830381865afa1580156117db573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610720919061378a565b6001545f9081906001600160a01b03166354f6127f61181d85610f13565b6040518263ffffffff1660e01b815260040161183b91815260200190565b5f60405180830381865afa158015611855573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261187c91908101906131e0565b805190915015610843575f8180602001905181019061189b9190613848565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561190d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610720919061312a565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156119dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a019190613301565b6040518263ffffffff1660e01b8152600401611a1f91815260200190565b5f60405180830381865afa158015611a39573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a6091908101906131e0565b805190915015610db75780806020019051810190610daf9190613920565b5f805f611a8a846108c5565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611ae7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0b9190613441565b15611b885773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7b9190613301565b60645b9250925050915091565b611c0a8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfb91906137a5565b64ffffffffff90811691161090565b15611c815773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7a9190613301565b606e611b7e565b806060015163ffffffff16816080015163ffffffff1610611d0e5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ce3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d079190613301565b6078611b7e565b6040810151600a611b7e565b60408051610220810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001545f906001600160a01b03166354f6127f611dbd856110d8565b6040518263ffffffff1660e01b8152600401611ddb91815260200190565b5f60405180830381865afa158015611df5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e1c91908101906131e0565b805190915015610843578080602001905181019061083c9190613a09565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eaf9190613417565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016111b4565b611f46604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611fb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd69190613301565b6040518263ffffffff1660e01b8152600401611ff491815260200190565b5f60405180830381865afa15801561200e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261203591908101906131e0565b805190915015610843578080602001905181019061083c9190613baf565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610c05565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6120cb85610f13565b6040518263ffffffff1660e01b81526004016120e991815260200190565b5f60405180830381865afa158015612103573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261212a91908101906131e0565b805190915015610843578080602001905181019061083c9190613848565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601e610c05565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612221573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122459190613301565b6040518263ffffffff1660e01b815260040161226391815260200190565b5f60405180830381865afa15801561227d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122a491908101906131e0565b805190915015610843578080602001905181019061083c9190613ca8565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156111cf573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b0316815260200161236760405180604001604052805f81526020015f81525090565b815260200161238760405180604001604052805f81526020015f81525090565b81526020016123a760405180604001604052805f81526020015f81525090565b81526020016123c760405180604001604052805f81526020015f81525090565b81526020016123e760405180604001604052805f81526020015f81525090565b815260200161240760405180604001604052805f81526020015f81525090565b815260200161242760405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b0316815260200161246160405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b60408051610160810182525f8082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e083018290528351808501909452818452830152906101008201906123e7565b6001600160601b03811681146124f1575f80fd5b50565b5f60208284031215612504575f80fd5b813561083c816124dd565b5f6020828403121561251f575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612553908401826001600160601b03169052565b506040830151612570604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610db7565b5f8060408385031215612619575f80fd5b8235915060208301355f81900b8114612630575f80fd5b809150509250929050565b6001600160c01b0319811681146124f1575f80fd5b5f60208284031215612660575f80fd5b813561083c8161263b565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526126c861010084018261266b565b90506040840151606084015263ffffffff606085015116608084015260808401516126fb60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261272a828261266b565b95945050505050565b6001600160a01b03811681146124f1575f80fd5b5f60208284031215612757575f80fd5b813561083c81612733565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261279f60a084018261266b565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156127cc575f80fd5b82356127d7816124dd565b9150602083013562ffffff81168114612630575f80fd5b6020815261ffff82511660208201526001600160601b0360208301511660408201525f60408301516080606084015261282a60a084018261266b565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561287d5761287d612847565b60405290565b604080519081016001600160401b038111828210171561287d5761287d612847565b60405161012081016001600160401b038111828210171561287d5761287d612847565b60405160e081016001600160401b038111828210171561287d5761287d612847565b60405160c081016001600160401b038111828210171561287d5761287d612847565b60405161016081016001600160401b038111828210171561287d5761287d612847565b60405161022081016001600160401b038111828210171561287d5761287d612847565b60405161010081016001600160401b038111828210171561287d5761287d612847565b604051601f8201601f191681016001600160401b038111828210171561299d5761299d612847565b604052919050565b5f6001600160401b038211156129bd576129bd612847565b50601f01601f191660200190565b5f80604083850312156129dc575f80fd5b82356129e7816124dd565b915060208301356001600160401b03811115612a01575f80fd5b8301601f81018513612a11575f80fd5b8035612a24612a1f826129a5565b612975565b818152866020838501011115612a38575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612a88604084018280518252602090810151910152565b50604083015160e06080840152612aa361010084018261266b565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b81516001600160601b031681526101c081016020830151612b0e60208401826001600160401b03169052565b506040830151612b2960408401826001600160601b03169052565b506060830151612b3d606084018215159052565b506080830151612b51608084018215159052565b5060a0830151612b6560a084018215159052565b5060c083015160c083015260e083015160e0830152610100830151612b9861010084018280518252602090810151910152565b506101208301518051610140840152602081015161016084015250610140830151805161018084015260208101516101a0840152610db7565b6001600160401b03811681146124f1575f80fd5b5f8060408385031215612bf6575f80fd5b8235612c0181612733565b9150602083013561263081612bd1565b61ffff811681146124f1575f80fd5b5f8060408385031215612c31575f80fd5b8235612c3c816124dd565b9150602083013561263081612c11565b602081526001600160601b0382511660208201525f6020830151604080840152612c79606084018261266b565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612cbd606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612ce761010084018261266b565b905060a0840151601f198483030160c0850152612d04828261266b565b91505060c0840151612d1f60e085018264ffffffffff169052565b509392505050565b60208152612d416020820183516001600160601b03169052565b5f6020830151612d5c60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152612df961024084018261266b565b9050610120840151601f1984830301610140850152612e18828261266b565b915050610140840151612e3261016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152612d1f565b602081525f82516101206020840152612ed361014084018261266b565b90506020840151604084015260408401516060840152606084015160808401526080840151612f0a60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f190161012085015261272a828261266b565b602081525f825160c06020840152612f7260e084018261266b565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612fc560a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261272a828261266b565b5f60208284031215612ff1575f80fd5b813561083c81612bd1565b602081526130166020820183516001600160601b03169052565b5f6020830151610100604084015261303261012084018261266b565b9050604084015161304e60608501826001600160601b03169052565b506060840151838203601f1901608085015261306a828261266b565b9150506080840151601f198483030160a0850152613088828261266b565b91505060a08401516130a360c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612d1f565b80516130d5816124dd565b919050565b5f602082840312156130ea575f80fd5b815161083c816124dd565b60ff811681146124f1575f80fd5b80516130d5816130f5565b63ffffffff811681146124f1575f80fd5b80516130d58161310e565b5f608082840312801561313b575f80fd5b5061314461285b565b825161314f816130f5565b8152602083015161315f816130f5565b602082015260408301516131728161310e565b604082015260608301516131858161310e565b60608201529392505050565b5f82601f8301126131a0575f80fd5b8151602083015f6131b3612a1f846129a5565b90508281528583830111156131c6575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131f0575f80fd5b81516001600160401b03811115613205575f80fd5b612c7984828501613191565b5f60408284031215613221575f80fd5b613229612883565b825181526020928301519281019290925250919050565b5f610200828403128015613252575f80fd5b5061325b6128a5565b613264836130ca565b8152613272602084016130ca565b60208201526132848460408501613211565b60408201526132968460808501613211565b60608201526132a88460c08501613211565b60808201526132bb846101008501613211565b60a08201526132ce846101408501613211565b60c08201526132e1846101808501613211565b60e08201526132f4846101c08501613211565b6101008201529392505050565b5f60208284031215613311575f80fd5b5051919050565b64ffffffffff811681146124f1575f80fd5b80516130d581613318565b5f60208284031215613345575f80fd5b81516001600160401b0381111561335a575f80fd5b820160e0818503121561336b575f80fd5b6133736128c8565b61337c826130ca565b815260208201516001600160401b03811115613396575f80fd5b6133a286828501613191565b602083015250604082810151908201526133be6060830161311f565b60608201526133cf6080830161311f565b60808201526133e060a0830161332a565b60a082015260c08201516001600160401b038111156133fd575f80fd5b61340986828501613191565b60c083015250949350505050565b5f60208284031215613427575f80fd5b815161083c81612733565b805180151581146130d5575f80fd5b5f60208284031215613451575f80fd5b61083c82613432565b80516130d58161263b565b5f60208284031215613475575f80fd5b81516001600160401b0381111561348a575f80fd5b82016080818503121561349b575f80fd5b6134a361285b565b81516134ae8161263b565b81526134bc60208301613432565b602082015260408201516001600160401b038111156134d9575f80fd5b6134e586828501613191565b604083015250606082015191506134fb8261310e565b60608101919091529392505050565b80516130d581612c11565b5f60208284031215613525575f80fd5b81516001600160401b0381111561353a575f80fd5b82016080818503121561354b575f80fd5b61355361285b565b815161355e81612c11565b8152602082015161356e816124dd565b602082015260408201516001600160401b0381111561358b575f80fd5b61359786828501613191565b604083015250606082015191506134fb82613318565b6001600160601b0383168152604060208201525f612c79604083018461266b565b5f602082840312156135de575f80fd5b815161083c8161263b565b5f602082840312156135f9575f80fd5b81516001600160401b0381111561360e575f80fd5b820160e0818503121561361f575f80fd5b6136276128ea565b8151613632816124dd565b81526136418560208401613211565b602082015260608201516001600160401b0381111561365e575f80fd5b61366a86828501613191565b604083015250608082015161367e81613318565b606082015261368f60a0830161332a565b60808201526136a060c0830161332a565b60a0820152949350505050565b80516130d581612bd1565b5f6101c08284031280156136ca575f80fd5b506136d361290c565b6136dc836130ca565b81526136ea602084016136ad565b60208201526136fb604084016130ca565b604082015261370c60608401613432565b606082015261371d60808401613432565b608082015261372e60a08401613432565b60a082015260c0838101519082015260e08084015190820152613755846101008501613211565b610100820152613769846101408501613211565b61012082015261377d846101808501613211565b6101408201529392505050565b5f6020828403121561379a575f80fd5b815161083c816130f5565b5f602082840312156137b5575f80fd5b815161083c81613318565b5f602082840312156137d0575f80fd5b81516001600160401b038111156137e5575f80fd5b8201604081850312156137f6575f80fd5b6137fe612883565b8151613809816124dd565b815260208201516001600160401b03811115613823575f80fd5b61382f86828501613191565b602083015250949350505050565b80516130d581612733565b5f60208284031215613858575f80fd5b81516001600160401b0381111561386d575f80fd5b820160c0818503121561387e575f80fd5b6138866128ea565b81516001600160401b0381111561389b575f80fd5b6138a786828501613191565b8252506138b6602083016130ca565b60208201526138c76040830161383d565b60408201526138d86060830161383d565b60608201526138e96080830161383d565b608082015260a08201516001600160401b03811115613906575f80fd5b61391286828501613191565b60a083015250949350505050565b5f60208284031215613930575f80fd5b81516001600160401b03811115613945575f80fd5b820160e08185031215613956575f80fd5b61395e6128c8565b613967826130ca565b8152613975602083016130ca565b602082015261398660408301613103565b604082015261399760608301613103565b606082015260808201516001600160401b038111156139b4575f80fd5b6139c086828501613191565b60808301525060a08201516001600160401b038111156139de575f80fd5b6139ea86828501613191565b60a0830152506139fc60c0830161332a565b60c0820152949350505050565b5f60208284031215613a19575f80fd5b81516001600160401b03811115613a2e575f80fd5b82016102208185031215613a40575f80fd5b613a4861292f565b613a51826130ca565b8152613a5f602083016130ca565b6020820152613a706040830161345a565b6040820152613a816060830161345a565b6060820152613a92608083016130ca565b6080820152613aa360a083016130ca565b60a0820152613ab460c083016130ca565b60c0820152613ac560e0830161332a565b60e08201526101008201516001600160401b03811115613ae3575f80fd5b613aef86828501613191565b610100830152506101208201516001600160401b03811115613b0f575f80fd5b613b1b86828501613191565b61012083015250613b2f610140830161350a565b610140820152613b42610160830161350a565b610160820152613b5561018083016130ca565b610180820152613b686101a083016130ca565b6101a0820152613b7b6101c0830161332a565b6101c0820152613b8e6101e0830161332a565b6101e0820152613ba1610200830161332a565b610200820152949350505050565b5f60208284031215613bbf575f80fd5b81516001600160401b03811115613bd4575f80fd5b82016101208185031215613be6575f80fd5b613bee6128a5565b81516001600160401b03811115613c03575f80fd5b613c0f86828501613191565b825250602082810151908201526040808301519082015260608083015190820152613c3c6080830161311f565b6080820152613c4d60a0830161311f565b60a0820152613c5e60c08301613432565b60c0820152613c6f60e08301613432565b60e08201526101008201516001600160401b03811115613c8d575f80fd5b613c9986828501613191565b61010083015250949350505050565b5f60208284031215613cb8575f80fd5b81516001600160401b03811115613ccd575f80fd5b82016101008185031215613cdf575f80fd5b613ce7612952565b613cf0826130ca565b815260208201516001600160401b03811115613d0a575f80fd5b613d1686828501613191565b602083015250613d28604083016130ca565b604082015260608201516001600160401b03811115613d45575f80fd5b613d5186828501613191565b60608301525060808201516001600160401b03811115613d6f575f80fd5b613d7b86828501613191565b608083015250613d8d60a0830161332a565b60a0820152613d9e60c0830161332a565b60c0820152613daf60e08301613432565b60e082015294935050505056fea2646970667358221220aa47cd137105c55022334209690161f5ea43790db3eabe904155e48b51450dff64736f6c634300081a0033",
2336
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b5061516a806100255f395ff3fe608060405234801561000f575f80fd5b506004361061046f575f3560e01c80636ebed9081161024d578063c71e261f11610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610be4578063fad77c3b14610bf7578063fcad2c4b14610c0a578063fd80249214610c1d578063febe92af14610c3d575f80fd5b8063e444c3df14610b55578063e98413ff14610b75578063f0b1d21014610b9e578063f0ea17c314610bb1578063f3ed991914610bd1575f80fd5b8063d78a83b111610105578063d78a83b114610af8578063db70354c14610b0b578063de7b5d1414610b1e578063dfbf164014610b2f578063e2eb023b14610b42575f80fd5b8063c71e261f14610aa4578063c88105e614610aac578063d06458c614610abf578063d299bf6214610adf578063d4cda0d814610ae7575f80fd5b80639096a1f3116101cc578063b82d7ef511610191578063b82d7ef514610a22578063ba579bdc14610a56578063ba62fbe414610a69578063bd7d9d8514610a71578063c6a0017914610a91575f80fd5b80639096a1f31461096b57806394b9929b1461097e578063a310e2a314610991578063a5961b4c146109a4578063a7ef3d2114610a02575f80fd5b80637f0cf947116102125780637f0cf9471461090a5780638129fc1c1461091d57806387c73e5a14610925578063887b1fa9146109385780638eb9000d14610958575f80fd5b80636ebed908146108b6578063728a61a8146108c957806378ae9350146108dc5780637d8f1e81146108ef5780637e79866914610902575f80fd5b806333fc7dee116103655780634d21a63d116102e45780636553994c116102a95780636553994c1461084a57806366c3bc951461085d5780636791f7ab146108705780636a05a413146108855780636dddada4146108a5575f80fd5b80634d21a63d146107cf57806357f80bbf146107e25780635ab1bd53146108025780635bfa502714610817578063605aa10a14610837575f80fd5b80633f093cd61161032a5780633f093cd61461073b5780633fd855611461074e5780634793b4ab14610779578063480cebd1146107995780634a4fbeec146107bc575f80fd5b806333fc7dee146106d457806335471f80146106e7578063380bd950146106fa578063392f5f641461070d5780633b046f0914610715575f80fd5b806315b74532116103f157806326d60fb4116103b657806326d60fb41461067557806327b1d7921461067d5780632c0cd0601461069d5780632f458a11146106b0578063311adb68146106c3575f80fd5b806315b74532146105bb57806315fb0abb146105ce5780631d3be477146105ee578063228e42ec1461060e57806324913ce614610621575f80fd5b806310bf267b1161043757806310bf267b1461052e578063128817d41461055557806312e1ebc51461057557806313ab148d146105955780631488c845146105a8575f80fd5b80630232ca491461047357806303014974146104a357806309648a9d146104c45780630b5d931c146104e95780630e0c586d14610509575b5f80fd5b610486610481366004612fd2565b610c5d565b6040516001600160601b0390911681526020015b60405180910390f35b6104b66104b1366004613001565b610cd7565b60405190815260200161049a565b6104d76104d236600461301c565b610d4a565b60405160ff909116815260200161049a565b6104fc6104f7366004612fd2565b610db5565b60405161049a9190613076565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161049a565b61054161053c366004613115565b610ec0565b60405162ffffff909116815260200161049a565b61056861056336600461314c565b610ed6565b60405161049a9190613176565b61058861058336600461319f565b610f58565b60405161049a91906131ce565b6104b66105a3366004612fd2565b610fe7565b6105166105b636600461321d565b611025565b6104866105c936600461301c565b6110a1565b6105e16105dc366004613452565b6110d2565b60405161049a919061349e565b6106016105fc3660046134e5565b611162565b60405161049a919061352e565b61048661061c366004612fd2565b611207565b61063461062f3660046135ec565b611240565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b0316606082015260800161049a565b6104b66112da565b61069061068b366004612fd2565b61134a565b60405161049a9190613608565b6104866106ab366004612fd2565b6113b9565b6104b66106be366004612fd2565b6113d9565b6002546001600160a01b0316610516565b6104b66106e2366004612fd2565b611412565b6104b66106f536600461319f565b61144b565b610486610708366004613654565b61147c565b6104b66114f8565b610728610723366004612fd2565b61153f565b60405161ffff909116815260200161049a565b610568610749366004613670565b611553565b61076161075c36600461301c565b6115a9565b6040516001600160401b03909116815260200161049a565b61078c610787366004612fd2565b61161c565b60405161049a91906136ad565b6107ac6107a7366004613721565b61168f565b604051901515815260200161049a565b6107ac6107ca36600461319f565b61170b565b6105166107dd366004612fd2565b611777565b6107f56107f0366004612fd2565b6117d5565b60405161049a919061374d565b5f5461010090046001600160a01b0316610516565b61082a610825366004613001565b61185a565b60405161049a91906137d3565b6107ac61084536600461319f565b6118fe565b6104b66108583660046134e5565b611930565b6107ac61086b366004613001565b611960565b61088361087e36600461319f565b611999565b005b610898610893366004612fd2565b611d71565b60405161049a9190613843565b6004546001600160a01b0316610516565b6104866108c436600461314c565b611dc7565b6105166108d736600461301c565b611e0c565b6104d76108ea366004613115565b611e77565b6104d76108fd366004612fd2565b611f02565b610486611f0f565b6107ac610918366004613721565b611f82565b610883611fc3565b6107ac610933366004613001565b611ff1565b61094b6109463660046134e5565b61202a565b60405161049a91906138ca565b610486610966366004612fd2565b6120ac565b6104d7610979366004612fd2565b6120e5565b6104b661098c366004612fd2565b6120f2565b61051661099f366004612fd2565b612130565b6109b76109b236600461301c565b612169565b60405161049a91905f60808201905060ff835116825260ff602084015116602083015264ffffffffff604084015116604083015264ffffffffff606084015116606083015292915050565b610a15610a10366004613115565b6121f3565b60405161049a9190613908565b610a35610a303660046134e5565b6122aa565b604080516001600160a01b03909316835260ff90911660208301520161049a565b6107ac610a64366004612fd2565b61241f565b6104b661247d565b610a84610a7f366004612fd2565b6124f6565b60405161049a91906139a2565b6107ac610a9f366004613001565b6125a0565b6104b66125d9565b6104d7610aba366004612fd2565b612620565b610ad2610acd3660046134e5565b61262d565b60405161049a9190613b0d565b6107616126e2565b6003546001600160a01b0316610516565b610516610b06366004613beb565b6126eb565b610486610b1936600461314c565b612741565b6001546001600160a01b0316610516565b610516610b3d366004612fd2565b612786565b6104b6610b5036600461319f565b6127de565b610b68610b63366004612fd2565b612837565b60405161049a9190613c07565b610b88610b83366004613e07565b6128f2565b60405164ffffffffff909116815260200161049a565b6107ac610bac366004613e33565b612984565b610bc4610bbf366004612fd2565b6129cd565b60405161049a9190613e5f565b6104d7610bdf366004613ebf565b612a13565b610568610bf236600461314c565b612a66565b610728610c0536600461301c565b612aa6565b6104d7610c183660046134e5565b612b29565b610c30610c2b366004613ebf565b612b70565b60405161049a9190613eeb565b610c50610c4b366004613001565b612c0b565b60405161049a9190613f49565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061401a565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610d26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614035565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d90602401602060405180830381865afa158015610d91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614065565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201529080610e9373__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600c5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8e9190614035565b612caf565b915091508015610eb95781806020019051810190610eb19190614117565b949350505050565b5050919050565b5f610ecb83836121f3565b606001519392505050565b6005546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610f2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f519190614204565b9392505050565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc590602401608060405180830381865afa158015610fc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061422a565b600480546040516313ab148d60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906313ab148d90602401610d0b565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561107d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f519190614296565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c92565b604080516060810182525f808252602082018190528183015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061112390869086906004016142b1565b606060405180830381865af415801561113e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f51919061431d565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b815290919081906111e99073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e4f906001600160c01b0319891690600401613176565b915091508015610eb95781806020019051810190610eb19190614399565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c92565b604080516060810182525f80825260208201819052918101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce690604401608060405180830381865afa1580156112ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cf9190614486565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa158015611321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113459190614035565b905090565b604080516080810182525f80825260208201819052918101829052606080820152908061139b73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166017610e1f565b915091508015610eb95781806020019051810190610eb191906144b1565b5f806113c4836124f6565b9050610f518160600151826101000151612d2f565b600554604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610d0b565b6005546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610d0b565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610d0b565b6005546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa1580156114d4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f51919061401a565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa158015611321573d5f803e3d5ffd5b5f611549826124f6565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061158e9086908690600401614550565b602060405180830381865af4158015610f2d573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa1580156115f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614571565b6116636040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b5f80611671610e8e85612d8f565b915091508015610eb95781806020019051810190610eb191906145ee565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa1580156116e7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5191906146b2565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa158015611753573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd191906146b2565b5f8061178283612130565b90506001600160a01b038116156117cf57806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107d573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052908061183c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600f610e1f565b915091508015610eb95781806020019051810190610eb191906146cb565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160c060405180830381865afa1580156118da573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614763565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a90602401611738565b60055460405163380d295960e21b81525f916001600160a01b03169063e034a56490610d0b908590600401613176565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc9590602401611738565b5f5460ff16156119bc5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a459190614296565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611aa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac59190614296565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b499190614296565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc99190614296565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051630e0c586d60e01b815290519190931692630e0c586d92818101926020929091908290030181865afa158015611c24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c489190614296565b600580546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce79190614065565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4e9190614296565b600680546001600160a01b0319166001600160a01b039290921691909117905550565b611d79612ee3565b5f80611da973__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166029610e1f565b915091508015610eb95781806020019051810190610eb191906147ea565b60048054604051630dd7db2160e31b81526001600160601b03851692810192909252602482018390525f916001600160a01b0390911690636ebed908906044016114b9565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611e53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614296565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f90610f519073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d29190614035565b5f610cd16104d283612d8f565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611f5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611345919061401a565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf947906044016116cc565b5f5460ff1615611fe65760405163ae9eff1b60e01b815260040160405180910390fd5b611fef33611999565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a90602401611738565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81525f90819061208e9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e4f906001600160c01b0319891690600401613176565b915091508015610eb95781806020019051810190610eb1919061487b565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c92565b5f610cd16104d283612deb565b600480546040516394b9929b60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906394b9929b90602401610d0b565b5f805f61213f610e8e85612e17565b915091508015610eb9578180602001905181019061215d919061490b565b60200151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156121cf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061497b565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c08301529151637d56159160e11b815261ffff841660048201526001600160601b0385166024820152909190819061227b9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e4f565b9150915080156122a2578180602001905181019061229991906149ce565b92505050610cd1565b505092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612314573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123389190614065565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561237b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239f9190614296565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa1580156123f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124169190614ab7565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611753573d5f803e3d5ffd5b60025460408051632e98bef960e21b815290515f926001600160a01b03169163ba62fbe49160048083019260209291908290030181865afa1580156124c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e89190614571565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201529080612582610e8e85612deb565b915091508015610eb95781806020019051810190610eb19190614aef565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a0017990602401611738565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa158015611321573d5f803e3d5ffd5b5f610cd16104d283612e43565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b815290919081906126c49073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e4f906001600160c01b0319891690600401613176565b915091508015610eb95781806020019051810190610eb19190614c82565b5f611345612e6f565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa15801561107d573d5f803e3d5ffd5b600480546040516336dc0d5360e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063db70354c906044016114b9565b5f8061279183612130565b90506001600160a01b038116156117cf57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107d573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610d26573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810182905290806128d4610e8e85612e43565b915091508015610eb95781806020019051810190610eb19190614da3565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612919856001614f19565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612960573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f519190614f34565b6006546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016116cc565b60408051606080820183528082525f602083018190529282015290806129f5610e8e85612e17565b915091508015610eb95781806020019051810190610eb1919061490b565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f90610f519073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611ec3565b60055460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610f12565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612acc846001614f4f565b6040518263ffffffff1660e01b8152600401612aea91815260200190565b602060405180830381865af4158015612b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614f62565b6040516355ee627560e01b81525f90610cd19073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611ec3906001600160c01b0319871690600401613176565b6040805160a0810182525f80825260208201819052818301819052606080830182905260808301529151632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201529091908190612bed9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401610e4f565b9150915080156122a257818060200190518101906122999190614f7d565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091908190612c919073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401610e4f565b915091508015610eb95781806020019051810190610eb19190615033565b6003546040516354f6127f60e01b8152600481018390526060915f916001600160a01b03909116906354f6127f906024015f60405180830381865afa158015612cfa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d219190810190615103565b805190949015159350915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156114d4573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015260440161281c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612db7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b612db7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612db7565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612ebf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113459190614571565b6040805161012081019091525f60e0820181815261010083019190915281908152602001612f20604080518082019091525f808252602082015290565b8152602001612f3e604080518082019091525f808252602082015290565b8152602001612f5c604080518082019091525f808252602082015290565b8152602001612f7a604080518082019091525f808252602082015290565b8152602001612f98604080518082019091525f808252602082015290565b8152602001612fb6604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114612fcf575f80fd5b50565b5f60208284031215612fe2575f80fd5b8135610f5181612fbb565b6001600160401b0381168114612fcf575f80fd5b5f60208284031215613011575f80fd5b8135610f5181612fed565b5f6020828403121561302c575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561306c5781516001600160601b0316865260209586019590910190600101613045565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516130a3606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610eb1610120840182613033565b61ffff81168114612fcf575f80fd5b5f8060408385031215613126575f80fd5b823561313181612fbb565b9150602083013561314181613106565b809150509250929050565b5f806040838503121561315d575f80fd5b823561316881612fbb565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114612fcf575f80fd5b5f602082840312156131af575f80fd5b8135610f518161318b565b634e487b7160e01b5f52602160045260245ffd5b8151815260208201516080820190600781106131ec576131ec6131ba565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561322e575f80fd5b8235915060208301355f81900b8114613141575f80fd5b6001600160e01b031981168114612fcf575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b03811182821017156132915761329161325a565b60405290565b604051608081016001600160401b03811182821017156132915761329161325a565b604051606081016001600160401b03811182821017156132915761329161325a565b60405160c081016001600160401b03811182821017156132915761329161325a565b60405160e081016001600160401b03811182821017156132915761329161325a565b60405161020081016001600160401b03811182821017156132915761329161325a565b60405161014081016001600160401b03811182821017156132915761329161325a565b60405161024081016001600160401b03811182821017156132915761329161325a565b60405160a081016001600160401b03811182821017156132915761329161325a565b604051601f8201601f191681016001600160401b03811182821017156133d2576133d261325a565b604052919050565b5f6001600160401b038211156133f2576133f261325a565b50601f01601f191660200190565b5f82601f83011261340f575f80fd5b813561342261341d826133da565b6133aa565b818152846020838601011115613436575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215613463575f80fd5b823561346e81613245565b915060208301356001600160401b03811115613488575f80fd5b61349485828601613400565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610cd1565b6001600160c01b031981168114612fcf575f80fd5b5f602082840312156134f5575f80fd5b8135610f51816134d0565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161355d60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526135c5610120840182613500565b905060e0840151601f19848303016101008501526135e38282613500565b95945050505050565b5f80604083850312156135fd575f80fd5b82356131688161318b565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152610eb160a0840182613500565b5f8060408385031215613665575f80fd5b8235613168816134d0565b5f8060408385031215613681575f80fd5b823561346e81612fbb565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161370760a084018261368c565b5060a083015160e080840152610eb1610100840182613500565b5f8060408385031215613732575f80fd5b823561373d81612fed565b915060208301356131418161318b565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516137a4608084018215159052565b5060a08301516137b860a084018215159052565b5060c08301516137cc60c084018215159052565b5092915050565b81516001600160401b03168152602082015160c0820190600481106137fa576137fa6131ba565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061385682845161368c565b6020830151613868604084018261368c565b50604083015161387b608084018261368c565b50606083015161388e60c084018261368c565b5060808301516138a261010084018261368c565b5060a08301516138b661014084018261368c565b5060c08301516137cc61018084018261368c565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152610eb16080840182613500565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613948606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613985610100840182613500565b905060c0840151601f198483030160e08501526135e38282613500565b602081526139bc6020820183516001600160601b03169052565b5f60208301516139d760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613aee610220840182613500565b90506101e0840151601f19848303016102008501526135e38282613500565b60208152613b276020820183516001600160a01b03169052565b5f6020830151613b4260408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613bcc610160840182613500565b9050610120840151601f19848303016101408501526135e38282613500565b5f8060408385031215613bfc575f80fd5b823561316881612fed565b81516001600160601b0316815261024081016020830151613c3360208401826001600160601b03169052565b506040830151613c4e60408401826001600160601b03169052565b506060830151613c6960608401826001600160601b03169052565b506080830151613c8460808401826001600160601b03169052565b5060a0830151613c9f60a08401826001600160601b03169052565b5060c0830151613cba60c08401826001600160601b03169052565b5060e0830151613cd560e08401826001600160601b03169052565b50610100830151613cf26101008401826001600160601b03169052565b50610120830151613d0f6101208401826001600160601b03169052565b50610140830151613d2c6101408401826001600160601b03169052565b50610160830151613d496101608401826001600160601b03169052565b50610180830151613d666101808401826001600160601b03169052565b506101a0830151613d836101a08401826001600160601b03169052565b506101c0830151613da06101c08401826001600160601b03169052565b506101e0830151613dbd6101e08401826001600160601b03169052565b50610200830151613dda6102008401826001600160601b03169052565b506102208301516137cc6102208401826001600160601b03169052565b62ffffff81168114612fcf575f80fd5b5f8060408385031215613e18575f80fd5b8235613e2381613106565b9150602083013561314181613df7565b5f8060408385031215613e44575f80fd5b8235613e4f81612fbb565b91506020830135613141816134d0565b602081525f825160606020840152613e7a6080840182613500565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506135e38282613500565b64ffffffffff81168114612fcf575f80fd5b5f8060408385031215613ed0575f80fd5b8235613edb81612fbb565b9150602083013561314181613ead565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152610eb160c0840182613500565b60208152613f636020820183516001600160601b03169052565b5f6020830151613f7e60408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152613fce610120840182613500565b905060c0840151601f198483030160e0850152613feb8282613500565b91505060e0840151601f19848303016101008501526135e38282613500565b805161401581612fbb565b919050565b5f6020828403121561402a575f80fd5b8151610f5181612fbb565b5f60208284031215614045575f80fd5b5051919050565b60ff81168114612fcf575f80fd5b80516140158161404c565b5f60208284031215614075575f80fd5b8151610f518161404c565b80518015158114614015575f80fd5b5f82601f83011261409e575f80fd5b81516001600160401b038111156140b7576140b761325a565b8060051b6140c7602082016133aa565b918252602081850181019290810190868411156140e2575f80fd5b6020860192505b8383101561410d5782516140fc81612fbb565b8252602092830192909101906140e9565b9695505050505050565b5f60208284031215614127575f80fd5b81516001600160401b0381111561413c575f80fd5b8201610100818503121561414e575f80fd5b61415661326e565b61415f82614080565b815261416d60208301614080565b602082015261417e60408301614080565b604082015261418f6060830161405a565b60608201526141a06080830161405a565b60808201526141b160a0830161400a565b60a08201526141c260c0830161400a565b60c082015260e08201516001600160401b038111156141df575f80fd5b6141eb8682850161408f565b60e083015250949350505050565b8051614015816134d0565b5f60208284031215614214575f80fd5b8151610f51816134d0565b805161401581613ead565b5f608082840312801561423b575f80fd5b50614244613297565b82518152602083015160078110614259575f80fd5b6020820152604083015161426c81612fed565b6040820152606083015161427f81613ead565b60608201529392505050565b80516140158161318b565b5f602082840312156142a6575f80fd5b8151610f518161318b565b63ffffffff60e01b83168152604060208201525f610eb16040830184613500565b5f606082840312156142e2575f80fd5b6142ea6132b9565b8251815260208301519091506142ff81613245565b6020820152604082015161431281613ead565b604082015292915050565b5f6060828403121561432d575f80fd5b610f5183836142d2565b805163ffffffff81168114614015575f80fd5b5f82601f830112614359575f80fd5b8151602083015f61436c61341d846133da565b905082815285838301111561437f575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156143a9575f80fd5b81516001600160401b038111156143be575f80fd5b820161010081850312156143d0575f80fd5b6143d861326e565b6143e18261400a565b81526143ef6020830161400a565b602082015261440060408301614337565b604082015261441160608301614337565b60608201526144226080830161428b565b608082015261443360a0830161421f565b60a082015260c08201516001600160401b03811115614450575f80fd5b61445c8682850161434a565b60c08301525060e08201516001600160401b0381111561447a575f80fd5b6141eb8682850161434a565b5f8060808385031215614497575f80fd5b6144a184846142d2565b9150606083015161314181612fed565b5f602082840312156144c1575f80fd5b81516001600160401b038111156144d6575f80fd5b8201608081850312156144e7575f80fd5b6144ef613297565b81516144fa816134d0565b815261450860208301614080565b602082015261451960408301614337565b604082015260608201516001600160401b03811115614536575f80fd5b6145428682850161434a565b606083015250949350505050565b6001600160601b0383168152604060208201525f610eb16040830184613500565b5f60208284031215614581575f80fd5b8151610f5181612fed565b5f6040828403121561459c575f80fd5b604080519081016001600160401b03811182821017156145be576145be61325a565b806040525080915082516145d18161318b565b815260208301516145e181612fbb565b6020919091015292915050565b5f602082840312156145fe575f80fd5b81516001600160401b03811115614613575f80fd5b820160e08185031215614624575f80fd5b61462c6132db565b815161463781613ead565b8152602082015161464781613ead565b60208201526146586040830161421f565b60408201526146696060830161400a565b606082015261467b856080840161458c565b608082015260c08201516001600160401b03811115614698575f80fd5b6146a48682850161434a565b60a083015250949350505050565b5f602082840312156146c2575f80fd5b610f5182614080565b5f60e08284031280156146dc575f80fd5b506146e56132fd565b82516146f081612fbb565b815260208301516147008161318b565b602082015260408301516147138161318b565b604082015261472460608401614080565b606082015261473560808401614080565b608082015261474660a08401614080565b60a082015261475760c08401614080565b60c08201529392505050565b5f60c0828403128015614774575f80fd5b5061477d6132db565b825161478881612fed565b815260208301516004811061479b575f80fd5b60208201526147ac60408401614337565b604082015260608301516147bf81613ead565b606082015260808301516147d281613ead565b608082015260a0928301519281019290925250919050565b5f6101c08284031280156147fc575f80fd5b506148056132fd565b61480f848461458c565b815261481e846040850161458c565b6020820152614830846080850161458c565b60408201526148428460c0850161458c565b606082015261485584610100850161458c565b608082015261486884610140850161458c565b60a082015261475784610180850161458c565b5f6020828403121561488b575f80fd5b81516001600160401b038111156148a0575f80fd5b8201606081850312156148b1575f80fd5b6148b96132b9565b81516148c481612fbb565b815260208201516148d481613ead565b602082015260408201516001600160401b038111156148f1575f80fd5b6148fd8682850161434a565b604083015250949350505050565b5f6020828403121561491b575f80fd5b81516001600160401b03811115614930575f80fd5b820160608185031215614941575f80fd5b6149496132b9565b81516001600160401b0381111561495e575f80fd5b61496a8682850161434a565b82525060208201516148d48161318b565b5f608082840312801561498c575f80fd5b50614995613297565b82516149a08161404c565b815260208301516149b08161404c565b6020820152604083015161426c81613ead565b805161401581613df7565b5f602082840312156149de575f80fd5b81516001600160401b038111156149f3575f80fd5b820160e08185031215614a04575f80fd5b614a0c6132fd565b614a158261400a565b8152614a236020830161400a565b6020820152614a346040830161421f565b6040820152614a45606083016149c3565b6060820152614a56608083016149c3565b608082015260a08201516001600160401b03811115614a73575f80fd5b614a7f8682850161434a565b60a08301525060c08201516001600160401b03811115614a9d575f80fd5b614aa98682850161434a565b60c083015250949350505050565b5f8060408385031215614ac8575f80fd5b8251614ad38161318b565b60208401519092506131418161404c565b805161401581613106565b5f60208284031215614aff575f80fd5b81516001600160401b03811115614b14575f80fd5b82016102008185031215614b26575f80fd5b614b2e61331f565b614b378261400a565b8152614b456020830161400a565b6020820152614b56604083016141f9565b6040820152614b676060830161400a565b6060820152614b786080830161400a565b6080820152614b8960a083016141f9565b60a0820152614b9a60c08301614ae4565b60c0820152614bab60e08301614ae4565b60e0820152614bbd610100830161400a565b610100820152614bd0610120830161400a565b610120820152614be3610140830161421f565b610140820152614bf6610160830161421f565b610160820152614c09610180830161421f565b610180820152614c1c6101a0830161421f565b6101a08201526101c08201516001600160401b03811115614c3b575f80fd5b614c478682850161434a565b6101c0830152506101e08201516001600160401b03811115614c67575f80fd5b614c738682850161434a565b6101e083015250949350505050565b5f60208284031215614c92575f80fd5b81516001600160401b03811115614ca7575f80fd5b82016101408185031215614cb9575f80fd5b614cc1613342565b614cca8261428b565b8152614cd86020830161400a565b6020820152614ce96040830161428b565b6040820152614cfa60608301614337565b6060820152614d0b6080830161421f565b6080820152614d1c60a08301614080565b60a0820152614d2d60c08301614080565b60c0820152614d3e60e0830161428b565b60e08201526101008201516001600160401b03811115614d5c575f80fd5b614d688682850161434a565b610100830152506101208201516001600160401b03811115614d88575f80fd5b614d948682850161434a565b61012083015250949350505050565b5f610240828403128015614db5575f80fd5b50614dbe613365565b614dc78361400a565b8152614dd56020840161400a565b6020820152614de66040840161400a565b6040820152614df76060840161400a565b6060820152614e086080840161400a565b6080820152614e1960a0840161400a565b60a0820152614e2a60c0840161400a565b60c0820152614e3b60e0840161400a565b60e0820152614e4d610100840161400a565b610100820152614e60610120840161400a565b610120820152614e73610140840161400a565b610140820152614e86610160840161400a565b610160820152614e99610180840161400a565b610180820152614eac6101a0840161400a565b6101a0820152614ebf6101c0840161400a565b6101c0820152614ed26101e0840161400a565b6101e0820152614ee5610200840161400a565b610200820152614ef8610220840161400a565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610cd157610cd1614f05565b5f60208284031215614f44575f80fd5b8151610f5181613ead565b80820180821115610cd157610cd1614f05565b5f60208284031215614f72575f80fd5b8151610f5181613106565b5f60208284031215614f8d575f80fd5b81516001600160401b03811115614fa2575f80fd5b820160a08185031215614fb3575f80fd5b614fbb613388565b8151614fc681613106565b81526020820151614fd681612fbb565b60208201526040820151614fe981613ead565b60408201526060820151614ffc8161318b565b606082015260808201516001600160401b03811115615019575f80fd5b6150258682850161434a565b608083015250949350505050565b5f60208284031215615043575f80fd5b81516001600160401b03811115615058575f80fd5b8201610100818503121561506a575f80fd5b61507261326e565b61507b8261400a565b81526150896020830161400a565b602082015261509a60408301614080565b60408201526150ab6060830161421f565b60608201526150bc6080830161421f565b608082015260a08201516001600160401b038111156150d9575f80fd5b6150e58682850161434a565b60a08301525060c08201516001600160401b03811115614450575f80fd5b5f60208284031215615113575f80fd5b81516001600160401b03811115615128575f80fd5b610eb18482850161434a56fea2646970667358221220fbf830c6da55eb9e8aceb06969bef5026d0ee121ed2d6a2f535ca7d9a80ffbd964736f6c634300081a0033",
2337
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061046f575f3560e01c80636ebed9081161024d578063c71e261f11610140578063e444c3df116100bf578063f4809edd11610084578063f4809edd14610be4578063fad77c3b14610bf7578063fcad2c4b14610c0a578063fd80249214610c1d578063febe92af14610c3d575f80fd5b8063e444c3df14610b55578063e98413ff14610b75578063f0b1d21014610b9e578063f0ea17c314610bb1578063f3ed991914610bd1575f80fd5b8063d78a83b111610105578063d78a83b114610af8578063db70354c14610b0b578063de7b5d1414610b1e578063dfbf164014610b2f578063e2eb023b14610b42575f80fd5b8063c71e261f14610aa4578063c88105e614610aac578063d06458c614610abf578063d299bf6214610adf578063d4cda0d814610ae7575f80fd5b80639096a1f3116101cc578063b82d7ef511610191578063b82d7ef514610a22578063ba579bdc14610a56578063ba62fbe414610a69578063bd7d9d8514610a71578063c6a0017914610a91575f80fd5b80639096a1f31461096b57806394b9929b1461097e578063a310e2a314610991578063a5961b4c146109a4578063a7ef3d2114610a02575f80fd5b80637f0cf947116102125780637f0cf9471461090a5780638129fc1c1461091d57806387c73e5a14610925578063887b1fa9146109385780638eb9000d14610958575f80fd5b80636ebed908146108b6578063728a61a8146108c957806378ae9350146108dc5780637d8f1e81146108ef5780637e79866914610902575f80fd5b806333fc7dee116103655780634d21a63d116102e45780636553994c116102a95780636553994c1461084a57806366c3bc951461085d5780636791f7ab146108705780636a05a413146108855780636dddada4146108a5575f80fd5b80634d21a63d146107cf57806357f80bbf146107e25780635ab1bd53146108025780635bfa502714610817578063605aa10a14610837575f80fd5b80633f093cd61161032a5780633f093cd61461073b5780633fd855611461074e5780634793b4ab14610779578063480cebd1146107995780634a4fbeec146107bc575f80fd5b806333fc7dee146106d457806335471f80146106e7578063380bd950146106fa578063392f5f641461070d5780633b046f0914610715575f80fd5b806315b74532116103f157806326d60fb4116103b657806326d60fb41461067557806327b1d7921461067d5780632c0cd0601461069d5780632f458a11146106b0578063311adb68146106c3575f80fd5b806315b74532146105bb57806315fb0abb146105ce5780631d3be477146105ee578063228e42ec1461060e57806324913ce614610621575f80fd5b806310bf267b1161043757806310bf267b1461052e578063128817d41461055557806312e1ebc51461057557806313ab148d146105955780631488c845146105a8575f80fd5b80630232ca491461047357806303014974146104a357806309648a9d146104c45780630b5d931c146104e95780630e0c586d14610509575b5f80fd5b610486610481366004612fd2565b610c5d565b6040516001600160601b0390911681526020015b60405180910390f35b6104b66104b1366004613001565b610cd7565b60405190815260200161049a565b6104d76104d236600461301c565b610d4a565b60405160ff909116815260200161049a565b6104fc6104f7366004612fd2565b610db5565b60405161049a9190613076565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161049a565b61054161053c366004613115565b610ec0565b60405162ffffff909116815260200161049a565b61056861056336600461314c565b610ed6565b60405161049a9190613176565b61058861058336600461319f565b610f58565b60405161049a91906131ce565b6104b66105a3366004612fd2565b610fe7565b6105166105b636600461321d565b611025565b6104866105c936600461301c565b6110a1565b6105e16105dc366004613452565b6110d2565b60405161049a919061349e565b6106016105fc3660046134e5565b611162565b60405161049a919061352e565b61048661061c366004612fd2565b611207565b61063461062f3660046135ec565b611240565b60408051835181526020808501516001600160e01b031916908201529281015164ffffffffff16908301526001600160401b0316606082015260800161049a565b6104b66112da565b61069061068b366004612fd2565b61134a565b60405161049a9190613608565b6104866106ab366004612fd2565b6113b9565b6104b66106be366004612fd2565b6113d9565b6002546001600160a01b0316610516565b6104b66106e2366004612fd2565b611412565b6104b66106f536600461319f565b61144b565b610486610708366004613654565b61147c565b6104b66114f8565b610728610723366004612fd2565b61153f565b60405161ffff909116815260200161049a565b610568610749366004613670565b611553565b61076161075c36600461301c565b6115a9565b6040516001600160401b03909116815260200161049a565b61078c610787366004612fd2565b61161c565b60405161049a91906136ad565b6107ac6107a7366004613721565b61168f565b604051901515815260200161049a565b6107ac6107ca36600461319f565b61170b565b6105166107dd366004612fd2565b611777565b6107f56107f0366004612fd2565b6117d5565b60405161049a919061374d565b5f5461010090046001600160a01b0316610516565b61082a610825366004613001565b61185a565b60405161049a91906137d3565b6107ac61084536600461319f565b6118fe565b6104b66108583660046134e5565b611930565b6107ac61086b366004613001565b611960565b61088361087e36600461319f565b611999565b005b610898610893366004612fd2565b611d71565b60405161049a9190613843565b6004546001600160a01b0316610516565b6104866108c436600461314c565b611dc7565b6105166108d736600461301c565b611e0c565b6104d76108ea366004613115565b611e77565b6104d76108fd366004612fd2565b611f02565b610486611f0f565b6107ac610918366004613721565b611f82565b610883611fc3565b6107ac610933366004613001565b611ff1565b61094b6109463660046134e5565b61202a565b60405161049a91906138ca565b610486610966366004612fd2565b6120ac565b6104d7610979366004612fd2565b6120e5565b6104b661098c366004612fd2565b6120f2565b61051661099f366004612fd2565b612130565b6109b76109b236600461301c565b612169565b60405161049a91905f60808201905060ff835116825260ff602084015116602083015264ffffffffff604084015116604083015264ffffffffff606084015116606083015292915050565b610a15610a10366004613115565b6121f3565b60405161049a9190613908565b610a35610a303660046134e5565b6122aa565b604080516001600160a01b03909316835260ff90911660208301520161049a565b6107ac610a64366004612fd2565b61241f565b6104b661247d565b610a84610a7f366004612fd2565b6124f6565b60405161049a91906139a2565b6107ac610a9f366004613001565b6125a0565b6104b66125d9565b6104d7610aba366004612fd2565b612620565b610ad2610acd3660046134e5565b61262d565b60405161049a9190613b0d565b6107616126e2565b6003546001600160a01b0316610516565b610516610b06366004613beb565b6126eb565b610486610b1936600461314c565b612741565b6001546001600160a01b0316610516565b610516610b3d366004612fd2565b612786565b6104b6610b5036600461319f565b6127de565b610b68610b63366004612fd2565b612837565b60405161049a9190613c07565b610b88610b83366004613e07565b6128f2565b60405164ffffffffff909116815260200161049a565b6107ac610bac366004613e33565b612984565b610bc4610bbf366004612fd2565b6129cd565b60405161049a9190613e5f565b6104d7610bdf366004613ebf565b612a13565b610568610bf236600461314c565b612a66565b610728610c0536600461301c565b612aa6565b6104d7610c183660046134e5565b612b29565b610c30610c2b366004613ebf565b612b70565b60405161049a9190613eeb565b610c50610c4b366004613001565b612c0b565b60405161049a9190613f49565b600354604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061401a565b92915050565b60025460405162c0525d60e21b81526001600160401b03831660048201525f916001600160a01b0316906303014974906024015b602060405180830381865afa158015610d26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614035565b6003546040516309648a9d60e01b8152600481018390525f916001600160a01b0316906309648a9d90602401602060405180830381865afa158015610d91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614065565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201529080610e9373__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600c5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8e9190614035565b612caf565b915091508015610eb95781806020019051810190610eb19190614117565b949350505050565b5050919050565b5f610ecb83836121f3565b606001519392505050565b6005546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610f2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f519190614204565b9392505050565b604080516080810182525f8082526020820181905291810182905260608101919091526002546040516312e1ebc560e01b81526001600160a01b038481166004830152909116906312e1ebc590602401608060405180830381865afa158015610fc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061422a565b600480546040516313ab148d60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906313ab148d90602401610d0b565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561107d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f519190614296565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610c92565b604080516060810182525f808252602082018190528183015290516315fb0abb60e01b815273__$7ca0443fea8aec4ba68c2e8d18c5a8d73e$__906315fb0abb9061112390869086906004016142b1565b606060405180830381865af415801561113e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f51919061431d565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b815290919081906111e99073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610e4f906001600160c01b0319891690600401613176565b915091508015610eb95781806020019051810190610eb19190614399565b6003546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610c92565b604080516060810182525f80825260208201819052918101919091526002546040516312489e7360e11b81526001600160a01b038581166004830152602482018590525f9216906324913ce690604401608060405180830381865afa1580156112ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cf9190614486565b915091509250929050565b600254604080516309b583ed60e21b815290515f926001600160a01b0316916326d60fb49160048083019260209291908290030181865afa158015611321573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113459190614035565b905090565b604080516080810182525f80825260208201819052918101829052606080820152908061139b73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166017610e1f565b915091508015610eb95781806020019051810190610eb191906144b1565b5f806113c4836124f6565b9050610f518160600151826101000151612d2f565b600554604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610d0b565b6005546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610d0b565b600254604051626a8e3f60e71b81526001600160a01b0383811660048301525f9216906335471f8090602401610d0b565b6005546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa1580156114d4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f51919061401a565b60025460408051630e4bd7d960e21b815290515f926001600160a01b03169163392f5f649160048083019260209291908290030181865afa158015611321573d5f803e3d5ffd5b5f611549826124f6565b60c0015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061158e9086908690600401614550565b602060405180830381865af4158015610f2d573d5f803e3d5ffd5b600254604051633fd8556160e01b81526001600160401b03831660048201525f916001600160a01b031690633fd8556190602401602060405180830381865afa1580156115f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614571565b6116636040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b5f80611671610e8e85612d8f565b915091508015610eb95781806020019051810190610eb191906145ee565b60025460405163480cebd160e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f92169063480cebd1906044015b602060405180830381865afa1580156116e7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5191906146b2565b600254604051629b7b3560e61b81526001600160a01b0383811660048301525f9216906326decd40906024015b602060405180830381865afa158015611753573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd191906146b2565b5f8061178283612130565b90506001600160a01b038116156117cf57806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107d573d5f803e3d5ffd5b50919050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101829052908061183c73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038716600f610e1f565b915091508015610eb95781806020019051810190610eb191906146cb565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a0810191909152600254604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b0390911690635bfa50279060240160c060405180830381865afa1580156118da573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614763565b60025460405163302d508560e11b81526001600160a01b0383811660048301525f92169063605aa10a90602401611738565b60055460405163380d295960e21b81525f916001600160a01b03169063e034a56490610d0b908590600401613176565b6002546040516366c3bc9560e01b81526001600160401b03831660048201525f916001600160a01b0316906366c3bc9590602401611738565b5f5460ff16156119bc5760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b03199091168117909155604080516306235b6d60e31b8152905163311adb68916004808201926020929091908290030181865afa158015611a21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a459190614296565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051635ab1bd5360e01b815290519190921691635ab1bd539160048083019260209291908290030181865afa158015611aa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac59190614296565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611b25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b499190614296565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc99190614296565b600480546001600160a01b0319166001600160a01b0392831617815560015460408051630e0c586d60e01b815290519190931692630e0c586d92818101926020929091908290030181865afa158015611c24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c489190614296565b600580546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce79190614065565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4e9190614296565b600680546001600160a01b0319166001600160a01b039290921691909117905550565b611d79612ee3565b5f80611da973__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0387166029610e1f565b915091508015610eb95781806020019051810190610eb191906147ea565b60048054604051630dd7db2160e31b81526001600160601b03851692810192909252602482018390525f916001600160a01b0390911690636ebed908906044016114b9565b600254604051630e514c3560e31b8152600481018390525f916001600160a01b03169063728a61a890602401602060405180830381865afa158015611e53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614296565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f90610f519073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d29190614035565b5f610cd16104d283612d8f565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611f5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611345919061401a565b600254604051637f0cf94760e01b81526001600160401b03841660048201526001600160a01b0383811660248301525f921690637f0cf947906044016116cc565b5f5460ff1615611fe65760405163ae9eff1b60e01b815260040160405180910390fd5b611fef33611999565b565b6002546040516343e39f2d60e11b81526001600160401b03831660048201525f916001600160a01b0316906387c73e5a90602401611738565b60408051606080820183525f8083526020830152918101919091526040516355ee627560e01b81525f90819061208e9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610e4f906001600160c01b0319891690600401613176565b915091508015610eb95781806020019051810190610eb1919061487b565b600354604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610c92565b5f610cd16104d283612deb565b600480546040516394b9929b60e01b81526001600160601b038416928101929092525f916001600160a01b03909116906394b9929b90602401610d0b565b5f805f61213f610e8e85612e17565b915091508015610eb9578180602001905181019061215d919061490b565b60200151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600354915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156121cf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd1919061497b565b6040805160e0810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c08301529151637d56159160e11b815261ffff841660048201526001600160601b0385166024820152909190819061227b9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e4f565b9150915080156122a2578180602001905181019061229991906149ce565b92505050610cd1565b505092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612314573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123389190614065565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561237b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239f9190614296565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa1580156123f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124169190614ab7565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611753573d5f803e3d5ffd5b60025460408051632e98bef960e21b815290515f926001600160a01b03169163ba62fbe49160048083019260209291908290030181865afa1580156124c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e89190614571565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201529080612582610e8e85612deb565b915091508015610eb95781806020019051810190610eb19190614aef565b60025460405163c6a0017960e01b81526001600160401b03831660048201525f916001600160a01b03169063c6a0017990602401611738565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa158015611321573d5f803e3d5ffd5b5f610cd16104d283612e43565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b815290919081906126c49073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610e4f906001600160c01b0319891690600401613176565b915091508015610eb95781806020019051810190610eb19190614c82565b5f611345612e6f565b60025460405163d78a83b160e01b81526001600160401b0384166004820152602481018390525f916001600160a01b03169063d78a83b190604401602060405180830381865afa15801561107d573d5f803e3d5ffd5b600480546040516336dc0d5360e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063db70354c906044016114b9565b5f8061279183612130565b90506001600160a01b038116156117cf57806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107d573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b906024015b602060405180830381865af4158015610d26573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101829052610220810182905290806128d4610e8e85612e43565b915091508015610eb95781806020019051810190610eb19190614da3565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612919856001614f19565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612960573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f519190614f34565b6006546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d07384906044016116cc565b60408051606080820183528082525f602083018190529282015290806129f5610e8e85612e17565b915091508015610eb95781806020019051810190610eb1919061490b565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f90610f519073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611ec3565b60055460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610f12565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612acc846001614f4f565b6040518263ffffffff1660e01b8152600401612aea91815260200190565b602060405180830381865af4158015612b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd19190614f62565b6040516355ee627560e01b81525f90610cd19073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611ec3906001600160c01b0319871690600401613176565b6040805160a0810182525f80825260208201819052818301819052606080830182905260808301529151632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201529091908190612bed9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401610e4f565b9150915080156122a257818060200190518101906122999190614f7d565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091908190612c919073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401610e4f565b915091508015610eb95781806020019051810190610eb19190615033565b6003546040516354f6127f60e01b8152600481018390526060915f916001600160a01b03909116906354f6127f906024015f60405180830381865afa158015612cfa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612d219190810190615103565b805190949015159350915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156114d4573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015260440161281c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015612db7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b612db7565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b612db7565b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015612ebf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113459190614571565b6040805161012081019091525f60e0820181815261010083019190915281908152602001612f20604080518082019091525f808252602082015290565b8152602001612f3e604080518082019091525f808252602082015290565b8152602001612f5c604080518082019091525f808252602082015290565b8152602001612f7a604080518082019091525f808252602082015290565b8152602001612f98604080518082019091525f808252602082015290565b8152602001612fb6604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114612fcf575f80fd5b50565b5f60208284031215612fe2575f80fd5b8135610f5181612fbb565b6001600160401b0381168114612fcf575f80fd5b5f60208284031215613011575f80fd5b8135610f5181612fed565b5f6020828403121561302c575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561306c5781516001600160601b0316865260209586019590910190600101613045565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516130a3606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152610eb1610120840182613033565b61ffff81168114612fcf575f80fd5b5f8060408385031215613126575f80fd5b823561313181612fbb565b9150602083013561314181613106565b809150509250929050565b5f806040838503121561315d575f80fd5b823561316881612fbb565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114612fcf575f80fd5b5f602082840312156131af575f80fd5b8135610f518161318b565b634e487b7160e01b5f52602160045260245ffd5b8151815260208201516080820190600781106131ec576131ec6131ba565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561322e575f80fd5b8235915060208301355f81900b8114613141575f80fd5b6001600160e01b031981168114612fcf575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b03811182821017156132915761329161325a565b60405290565b604051608081016001600160401b03811182821017156132915761329161325a565b604051606081016001600160401b03811182821017156132915761329161325a565b60405160c081016001600160401b03811182821017156132915761329161325a565b60405160e081016001600160401b03811182821017156132915761329161325a565b60405161020081016001600160401b03811182821017156132915761329161325a565b60405161014081016001600160401b03811182821017156132915761329161325a565b60405161024081016001600160401b03811182821017156132915761329161325a565b60405160a081016001600160401b03811182821017156132915761329161325a565b604051601f8201601f191681016001600160401b03811182821017156133d2576133d261325a565b604052919050565b5f6001600160401b038211156133f2576133f261325a565b50601f01601f191660200190565b5f82601f83011261340f575f80fd5b813561342261341d826133da565b6133aa565b818152846020838601011115613436575f80fd5b816020850160208301375f918101602001919091529392505050565b5f8060408385031215613463575f80fd5b823561346e81613245565b915060208301356001600160401b03811115613488575f80fd5b61349485828601613400565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610cd1565b6001600160c01b031981168114612fcf575f80fd5b5f602082840312156134f5575f80fd5b8135610f51816134d0565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161355d60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526135c5610120840182613500565b905060e0840151601f19848303016101008501526135e38282613500565b95945050505050565b5f80604083850312156135fd575f80fd5b82356131688161318b565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152610eb160a0840182613500565b5f8060408385031215613665575f80fd5b8235613168816134d0565b5f8060408385031215613681575f80fd5b823561346e81612fbb565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161370760a084018261368c565b5060a083015160e080840152610eb1610100840182613500565b5f8060408385031215613732575f80fd5b823561373d81612fed565b915060208301356131418161318b565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b03604084015116604083015260608301511515606083015260808301516137a4608084018215159052565b5060a08301516137b860a084018215159052565b5060c08301516137cc60c084018215159052565b5092915050565b81516001600160401b03168152602082015160c0820190600481106137fa576137fa6131ba565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061385682845161368c565b6020830151613868604084018261368c565b50604083015161387b608084018261368c565b50606083015161388e60c084018261368c565b5060808301516138a261010084018261368c565b5060a08301516138b661014084018261368c565b5060c08301516137cc61018084018261368c565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152610eb16080840182613500565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613948606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613985610100840182613500565b905060c0840151601f198483030160e08501526135e38282613500565b602081526139bc6020820183516001600160601b03169052565b5f60208301516139d760408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613aee610220840182613500565b90506101e0840151601f19848303016102008501526135e38282613500565b60208152613b276020820183516001600160a01b03169052565b5f6020830151613b4260408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613bcc610160840182613500565b9050610120840151601f19848303016101408501526135e38282613500565b5f8060408385031215613bfc575f80fd5b823561316881612fed565b81516001600160601b0316815261024081016020830151613c3360208401826001600160601b03169052565b506040830151613c4e60408401826001600160601b03169052565b506060830151613c6960608401826001600160601b03169052565b506080830151613c8460808401826001600160601b03169052565b5060a0830151613c9f60a08401826001600160601b03169052565b5060c0830151613cba60c08401826001600160601b03169052565b5060e0830151613cd560e08401826001600160601b03169052565b50610100830151613cf26101008401826001600160601b03169052565b50610120830151613d0f6101208401826001600160601b03169052565b50610140830151613d2c6101408401826001600160601b03169052565b50610160830151613d496101608401826001600160601b03169052565b50610180830151613d666101808401826001600160601b03169052565b506101a0830151613d836101a08401826001600160601b03169052565b506101c0830151613da06101c08401826001600160601b03169052565b506101e0830151613dbd6101e08401826001600160601b03169052565b50610200830151613dda6102008401826001600160601b03169052565b506102208301516137cc6102208401826001600160601b03169052565b62ffffff81168114612fcf575f80fd5b5f8060408385031215613e18575f80fd5b8235613e2381613106565b9150602083013561314181613df7565b5f8060408385031215613e44575f80fd5b8235613e4f81612fbb565b91506020830135613141816134d0565b602081525f825160606020840152613e7a6080840182613500565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506135e38282613500565b64ffffffffff81168114612fcf575f80fd5b5f8060408385031215613ed0575f80fd5b8235613edb81612fbb565b9150602083013561314181613ead565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152610eb160c0840182613500565b60208152613f636020820183516001600160601b03169052565b5f6020830151613f7e60408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152613fce610120840182613500565b905060c0840151601f198483030160e0850152613feb8282613500565b91505060e0840151601f19848303016101008501526135e38282613500565b805161401581612fbb565b919050565b5f6020828403121561402a575f80fd5b8151610f5181612fbb565b5f60208284031215614045575f80fd5b5051919050565b60ff81168114612fcf575f80fd5b80516140158161404c565b5f60208284031215614075575f80fd5b8151610f518161404c565b80518015158114614015575f80fd5b5f82601f83011261409e575f80fd5b81516001600160401b038111156140b7576140b761325a565b8060051b6140c7602082016133aa565b918252602081850181019290810190868411156140e2575f80fd5b6020860192505b8383101561410d5782516140fc81612fbb565b8252602092830192909101906140e9565b9695505050505050565b5f60208284031215614127575f80fd5b81516001600160401b0381111561413c575f80fd5b8201610100818503121561414e575f80fd5b61415661326e565b61415f82614080565b815261416d60208301614080565b602082015261417e60408301614080565b604082015261418f6060830161405a565b60608201526141a06080830161405a565b60808201526141b160a0830161400a565b60a08201526141c260c0830161400a565b60c082015260e08201516001600160401b038111156141df575f80fd5b6141eb8682850161408f565b60e083015250949350505050565b8051614015816134d0565b5f60208284031215614214575f80fd5b8151610f51816134d0565b805161401581613ead565b5f608082840312801561423b575f80fd5b50614244613297565b82518152602083015160078110614259575f80fd5b6020820152604083015161426c81612fed565b6040820152606083015161427f81613ead565b60608201529392505050565b80516140158161318b565b5f602082840312156142a6575f80fd5b8151610f518161318b565b63ffffffff60e01b83168152604060208201525f610eb16040830184613500565b5f606082840312156142e2575f80fd5b6142ea6132b9565b8251815260208301519091506142ff81613245565b6020820152604082015161431281613ead565b604082015292915050565b5f6060828403121561432d575f80fd5b610f5183836142d2565b805163ffffffff81168114614015575f80fd5b5f82601f830112614359575f80fd5b8151602083015f61436c61341d846133da565b905082815285838301111561437f575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156143a9575f80fd5b81516001600160401b038111156143be575f80fd5b820161010081850312156143d0575f80fd5b6143d861326e565b6143e18261400a565b81526143ef6020830161400a565b602082015261440060408301614337565b604082015261441160608301614337565b60608201526144226080830161428b565b608082015261443360a0830161421f565b60a082015260c08201516001600160401b03811115614450575f80fd5b61445c8682850161434a565b60c08301525060e08201516001600160401b0381111561447a575f80fd5b6141eb8682850161434a565b5f8060808385031215614497575f80fd5b6144a184846142d2565b9150606083015161314181612fed565b5f602082840312156144c1575f80fd5b81516001600160401b038111156144d6575f80fd5b8201608081850312156144e7575f80fd5b6144ef613297565b81516144fa816134d0565b815261450860208301614080565b602082015261451960408301614337565b604082015260608201516001600160401b03811115614536575f80fd5b6145428682850161434a565b606083015250949350505050565b6001600160601b0383168152604060208201525f610eb16040830184613500565b5f60208284031215614581575f80fd5b8151610f5181612fed565b5f6040828403121561459c575f80fd5b604080519081016001600160401b03811182821017156145be576145be61325a565b806040525080915082516145d18161318b565b815260208301516145e181612fbb565b6020919091015292915050565b5f602082840312156145fe575f80fd5b81516001600160401b03811115614613575f80fd5b820160e08185031215614624575f80fd5b61462c6132db565b815161463781613ead565b8152602082015161464781613ead565b60208201526146586040830161421f565b60408201526146696060830161400a565b606082015261467b856080840161458c565b608082015260c08201516001600160401b03811115614698575f80fd5b6146a48682850161434a565b60a083015250949350505050565b5f602082840312156146c2575f80fd5b610f5182614080565b5f60e08284031280156146dc575f80fd5b506146e56132fd565b82516146f081612fbb565b815260208301516147008161318b565b602082015260408301516147138161318b565b604082015261472460608401614080565b606082015261473560808401614080565b608082015261474660a08401614080565b60a082015261475760c08401614080565b60c08201529392505050565b5f60c0828403128015614774575f80fd5b5061477d6132db565b825161478881612fed565b815260208301516004811061479b575f80fd5b60208201526147ac60408401614337565b604082015260608301516147bf81613ead565b606082015260808301516147d281613ead565b608082015260a0928301519281019290925250919050565b5f6101c08284031280156147fc575f80fd5b506148056132fd565b61480f848461458c565b815261481e846040850161458c565b6020820152614830846080850161458c565b60408201526148428460c0850161458c565b606082015261485584610100850161458c565b608082015261486884610140850161458c565b60a082015261475784610180850161458c565b5f6020828403121561488b575f80fd5b81516001600160401b038111156148a0575f80fd5b8201606081850312156148b1575f80fd5b6148b96132b9565b81516148c481612fbb565b815260208201516148d481613ead565b602082015260408201516001600160401b038111156148f1575f80fd5b6148fd8682850161434a565b604083015250949350505050565b5f6020828403121561491b575f80fd5b81516001600160401b03811115614930575f80fd5b820160608185031215614941575f80fd5b6149496132b9565b81516001600160401b0381111561495e575f80fd5b61496a8682850161434a565b82525060208201516148d48161318b565b5f608082840312801561498c575f80fd5b50614995613297565b82516149a08161404c565b815260208301516149b08161404c565b6020820152604083015161426c81613ead565b805161401581613df7565b5f602082840312156149de575f80fd5b81516001600160401b038111156149f3575f80fd5b820160e08185031215614a04575f80fd5b614a0c6132fd565b614a158261400a565b8152614a236020830161400a565b6020820152614a346040830161421f565b6040820152614a45606083016149c3565b6060820152614a56608083016149c3565b608082015260a08201516001600160401b03811115614a73575f80fd5b614a7f8682850161434a565b60a08301525060c08201516001600160401b03811115614a9d575f80fd5b614aa98682850161434a565b60c083015250949350505050565b5f8060408385031215614ac8575f80fd5b8251614ad38161318b565b60208401519092506131418161404c565b805161401581613106565b5f60208284031215614aff575f80fd5b81516001600160401b03811115614b14575f80fd5b82016102008185031215614b26575f80fd5b614b2e61331f565b614b378261400a565b8152614b456020830161400a565b6020820152614b56604083016141f9565b6040820152614b676060830161400a565b6060820152614b786080830161400a565b6080820152614b8960a083016141f9565b60a0820152614b9a60c08301614ae4565b60c0820152614bab60e08301614ae4565b60e0820152614bbd610100830161400a565b610100820152614bd0610120830161400a565b610120820152614be3610140830161421f565b610140820152614bf6610160830161421f565b610160820152614c09610180830161421f565b610180820152614c1c6101a0830161421f565b6101a08201526101c08201516001600160401b03811115614c3b575f80fd5b614c478682850161434a565b6101c0830152506101e08201516001600160401b03811115614c67575f80fd5b614c738682850161434a565b6101e083015250949350505050565b5f60208284031215614c92575f80fd5b81516001600160401b03811115614ca7575f80fd5b82016101408185031215614cb9575f80fd5b614cc1613342565b614cca8261428b565b8152614cd86020830161400a565b6020820152614ce96040830161428b565b6040820152614cfa60608301614337565b6060820152614d0b6080830161421f565b6080820152614d1c60a08301614080565b60a0820152614d2d60c08301614080565b60c0820152614d3e60e0830161428b565b60e08201526101008201516001600160401b03811115614d5c575f80fd5b614d688682850161434a565b610100830152506101208201516001600160401b03811115614d88575f80fd5b614d948682850161434a565b61012083015250949350505050565b5f610240828403128015614db5575f80fd5b50614dbe613365565b614dc78361400a565b8152614dd56020840161400a565b6020820152614de66040840161400a565b6040820152614df76060840161400a565b6060820152614e086080840161400a565b6080820152614e1960a0840161400a565b60a0820152614e2a60c0840161400a565b60c0820152614e3b60e0840161400a565b60e0820152614e4d610100840161400a565b610100820152614e60610120840161400a565b610120820152614e73610140840161400a565b610140820152614e86610160840161400a565b610160820152614e99610180840161400a565b610180820152614eac6101a0840161400a565b6101a0820152614ebf6101c0840161400a565b6101c0820152614ed26101e0840161400a565b6101e0820152614ee5610200840161400a565b610200820152614ef8610220840161400a565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610cd157610cd1614f05565b5f60208284031215614f44575f80fd5b8151610f5181613ead565b80820180821115610cd157610cd1614f05565b5f60208284031215614f72575f80fd5b8151610f5181613106565b5f60208284031215614f8d575f80fd5b81516001600160401b03811115614fa2575f80fd5b820160a08185031215614fb3575f80fd5b614fbb613388565b8151614fc681613106565b81526020820151614fd681612fbb565b60208201526040820151614fe981613ead565b60408201526060820151614ffc8161318b565b606082015260808201516001600160401b03811115615019575f80fd5b6150258682850161434a565b608083015250949350505050565b5f60208284031215615043575f80fd5b81516001600160401b03811115615058575f80fd5b8201610100818503121561506a575f80fd5b61507261326e565b61507b8261400a565b81526150896020830161400a565b602082015261509a60408301614080565b60408201526150ab6060830161421f565b60608201526150bc6080830161421f565b608082015260a08201516001600160401b038111156150d9575f80fd5b6150e58682850161434a565b60a08301525060c08201516001600160401b03811115614450575f80fd5b5f60208284031215615113575f80fd5b81516001600160401b03811115615128575f80fd5b610eb18482850161434a56fea2646970667358221220fbf830c6da55eb9e8aceb06969bef5026d0ee121ed2d6a2f535ca7d9a80ffbd964736f6c634300081a0033",
1422
2338
  "linkReferences": {
2339
+ "contracts/authorization/AccessAdminLib.sol": {
2340
+ "AccessAdminLib": [
2341
+ {
2342
+ "length": 20,
2343
+ "start": 4382
2344
+ }
2345
+ ]
2346
+ },
2347
+ "contracts/product/PolicyServiceLib.sol": {
2348
+ "PolicyServiceLib": [
2349
+ {
2350
+ "length": 20,
2351
+ "start": 9322
2352
+ }
2353
+ ]
2354
+ },
1423
2355
  "contracts/type/Amount.sol": {
1424
2356
  "AmountLib": [
1425
2357
  {
1426
2358
  "length": 20,
1427
- "start": 8975
2359
+ "start": 11644
1428
2360
  }
1429
2361
  ]
1430
2362
  },
@@ -1432,11 +2364,15 @@
1432
2364
  "ClaimIdLib": [
1433
2365
  {
1434
2366
  "length": 20,
1435
- "start": 5545
2367
+ "start": 7882
1436
2368
  },
1437
2369
  {
1438
2370
  "length": 20,
1439
- "start": 6602
2371
+ "start": 8830
2372
+ },
2373
+ {
2374
+ "length": 20,
2375
+ "start": 10958
1440
2376
  }
1441
2377
  ]
1442
2378
  },
@@ -1444,7 +2380,7 @@
1444
2380
  "DistributorTypeLib": [
1445
2381
  {
1446
2382
  "length": 20,
1447
- "start": 8095
2383
+ "start": 9911
1448
2384
  }
1449
2385
  ]
1450
2386
  },
@@ -1452,35 +2388,35 @@
1452
2388
  "NftIdLib": [
1453
2389
  {
1454
2390
  "length": 20,
1455
- "start": 3077
2391
+ "start": 3615
1456
2392
  },
1457
2393
  {
1458
2394
  "length": 20,
1459
- "start": 3899
2395
+ "start": 5015
1460
2396
  },
1461
2397
  {
1462
2398
  "length": 20,
1463
- "start": 4352
2399
+ "start": 6200
1464
2400
  },
1465
2401
  {
1466
2402
  "length": 20,
1467
- "start": 4890
2403
+ "start": 7589
1468
2404
  },
1469
2405
  {
1470
2406
  "length": 20,
1471
- "start": 5582
2407
+ "start": 11703
1472
2408
  },
1473
2409
  {
1474
2410
  "length": 20,
1475
- "start": 5626
2411
+ "start": 11795
1476
2412
  },
1477
2413
  {
1478
2414
  "length": 20,
1479
- "start": 8315
2415
+ "start": 11839
1480
2416
  },
1481
2417
  {
1482
2418
  "length": 20,
1483
- "start": 8560
2419
+ "start": 11883
1484
2420
  }
1485
2421
  ]
1486
2422
  },
@@ -1488,11 +2424,15 @@
1488
2424
  "PayoutIdLib": [
1489
2425
  {
1490
2426
  "length": 20,
1491
- "start": 3323
2427
+ "start": 10522
2428
+ },
2429
+ {
2430
+ "length": 20,
2431
+ "start": 10857
1492
2432
  },
1493
2433
  {
1494
2434
  "length": 20,
1495
- "start": 4163
2435
+ "start": 11248
1496
2436
  }
1497
2437
  ]
1498
2438
  },
@@ -1500,11 +2440,11 @@
1500
2440
  "ReferralLib": [
1501
2441
  {
1502
2442
  "length": 20,
1503
- "start": 2389
2443
+ "start": 4572
1504
2444
  },
1505
2445
  {
1506
2446
  "length": 20,
1507
- "start": 3572
2447
+ "start": 5513
1508
2448
  }
1509
2449
  ]
1510
2450
  },
@@ -1512,7 +2452,7 @@
1512
2452
  "RequestIdLib": [
1513
2453
  {
1514
2454
  "length": 20,
1515
- "start": 8718
2455
+ "start": 11412
1516
2456
  }
1517
2457
  ]
1518
2458
  },
@@ -1520,31 +2460,19 @@
1520
2460
  "RiskIdLib": [
1521
2461
  {
1522
2462
  "length": 20,
1523
- "start": 5785
1524
- }
1525
- ]
1526
- },
1527
- "contracts/type/Timestamp.sol": {
1528
- "TimestampLib": [
1529
- {
1530
- "length": 20,
1531
- "start": 5030
1532
- },
1533
- {
1534
- "length": 20,
1535
- "start": 5170
1536
- },
1537
- {
1538
- "length": 20,
1539
- "start": 5336
2463
+ "start": 8321
1540
2464
  },
1541
2465
  {
1542
2466
  "length": 20,
1543
- "start": 6868
1544
- },
2467
+ "start": 11107
2468
+ }
2469
+ ]
2470
+ },
2471
+ "contracts/type/RoleId.sol": {
2472
+ "RoleIdLib": [
1545
2473
  {
1546
2474
  "length": 20,
1547
- "start": 7095
2475
+ "start": 11948
1548
2476
  }
1549
2477
  ]
1550
2478
  },
@@ -1552,33 +2480,37 @@
1552
2480
  "UFixedLib": [
1553
2481
  {
1554
2482
  "length": 20,
1555
- "start": 2190
1556
- },
1557
- {
1558
- "length": 20,
1559
- "start": 3701
2483
+ "start": 4202
1560
2484
  },
1561
2485
  {
1562
2486
  "length": 20,
1563
- "start": 6967
1564
- },
2487
+ "start": 10275
2488
+ }
2489
+ ]
2490
+ }
2491
+ },
2492
+ "deployedLinkReferences": {
2493
+ "contracts/authorization/AccessAdminLib.sol": {
2494
+ "AccessAdminLib": [
1565
2495
  {
1566
2496
  "length": 20,
1567
- "start": 7222
1568
- },
2497
+ "start": 4345
2498
+ }
2499
+ ]
2500
+ },
2501
+ "contracts/product/PolicyServiceLib.sol": {
2502
+ "PolicyServiceLib": [
1569
2503
  {
1570
2504
  "length": 20,
1571
- "start": 7363
2505
+ "start": 9285
1572
2506
  }
1573
2507
  ]
1574
- }
1575
- },
1576
- "deployedLinkReferences": {
2508
+ },
1577
2509
  "contracts/type/Amount.sol": {
1578
2510
  "AmountLib": [
1579
2511
  {
1580
2512
  "length": 20,
1581
- "start": 8938
2513
+ "start": 11607
1582
2514
  }
1583
2515
  ]
1584
2516
  },
@@ -1586,11 +2518,15 @@
1586
2518
  "ClaimIdLib": [
1587
2519
  {
1588
2520
  "length": 20,
1589
- "start": 5508
2521
+ "start": 7845
2522
+ },
2523
+ {
2524
+ "length": 20,
2525
+ "start": 8793
1590
2526
  },
1591
2527
  {
1592
2528
  "length": 20,
1593
- "start": 6565
2529
+ "start": 10921
1594
2530
  }
1595
2531
  ]
1596
2532
  },
@@ -1598,7 +2534,7 @@
1598
2534
  "DistributorTypeLib": [
1599
2535
  {
1600
2536
  "length": 20,
1601
- "start": 8058
2537
+ "start": 9874
1602
2538
  }
1603
2539
  ]
1604
2540
  },
@@ -1606,35 +2542,35 @@
1606
2542
  "NftIdLib": [
1607
2543
  {
1608
2544
  "length": 20,
1609
- "start": 3040
2545
+ "start": 3578
1610
2546
  },
1611
2547
  {
1612
2548
  "length": 20,
1613
- "start": 3862
2549
+ "start": 4978
1614
2550
  },
1615
2551
  {
1616
2552
  "length": 20,
1617
- "start": 4315
2553
+ "start": 6163
1618
2554
  },
1619
2555
  {
1620
2556
  "length": 20,
1621
- "start": 4853
2557
+ "start": 7552
1622
2558
  },
1623
2559
  {
1624
2560
  "length": 20,
1625
- "start": 5545
2561
+ "start": 11666
1626
2562
  },
1627
2563
  {
1628
2564
  "length": 20,
1629
- "start": 5589
2565
+ "start": 11758
1630
2566
  },
1631
2567
  {
1632
2568
  "length": 20,
1633
- "start": 8278
2569
+ "start": 11802
1634
2570
  },
1635
2571
  {
1636
2572
  "length": 20,
1637
- "start": 8523
2573
+ "start": 11846
1638
2574
  }
1639
2575
  ]
1640
2576
  },
@@ -1642,11 +2578,15 @@
1642
2578
  "PayoutIdLib": [
1643
2579
  {
1644
2580
  "length": 20,
1645
- "start": 3286
2581
+ "start": 10485
2582
+ },
2583
+ {
2584
+ "length": 20,
2585
+ "start": 10820
1646
2586
  },
1647
2587
  {
1648
2588
  "length": 20,
1649
- "start": 4126
2589
+ "start": 11211
1650
2590
  }
1651
2591
  ]
1652
2592
  },
@@ -1654,11 +2594,11 @@
1654
2594
  "ReferralLib": [
1655
2595
  {
1656
2596
  "length": 20,
1657
- "start": 2352
2597
+ "start": 4535
1658
2598
  },
1659
2599
  {
1660
2600
  "length": 20,
1661
- "start": 3535
2601
+ "start": 5476
1662
2602
  }
1663
2603
  ]
1664
2604
  },
@@ -1666,7 +2606,7 @@
1666
2606
  "RequestIdLib": [
1667
2607
  {
1668
2608
  "length": 20,
1669
- "start": 8681
2609
+ "start": 11375
1670
2610
  }
1671
2611
  ]
1672
2612
  },
@@ -1674,31 +2614,19 @@
1674
2614
  "RiskIdLib": [
1675
2615
  {
1676
2616
  "length": 20,
1677
- "start": 5748
1678
- }
1679
- ]
1680
- },
1681
- "contracts/type/Timestamp.sol": {
1682
- "TimestampLib": [
1683
- {
1684
- "length": 20,
1685
- "start": 4993
1686
- },
1687
- {
1688
- "length": 20,
1689
- "start": 5133
2617
+ "start": 8284
1690
2618
  },
1691
2619
  {
1692
2620
  "length": 20,
1693
- "start": 5299
1694
- },
1695
- {
1696
- "length": 20,
1697
- "start": 6831
1698
- },
2621
+ "start": 11070
2622
+ }
2623
+ ]
2624
+ },
2625
+ "contracts/type/RoleId.sol": {
2626
+ "RoleIdLib": [
1699
2627
  {
1700
2628
  "length": 20,
1701
- "start": 7058
2629
+ "start": 11911
1702
2630
  }
1703
2631
  ]
1704
2632
  },
@@ -1706,23 +2634,11 @@
1706
2634
  "UFixedLib": [
1707
2635
  {
1708
2636
  "length": 20,
1709
- "start": 2153
1710
- },
1711
- {
1712
- "length": 20,
1713
- "start": 3664
1714
- },
1715
- {
1716
- "length": 20,
1717
- "start": 6930
1718
- },
1719
- {
1720
- "length": 20,
1721
- "start": 7185
2637
+ "start": 4165
1722
2638
  },
1723
2639
  {
1724
2640
  "length": 20,
1725
- "start": 7326
2641
+ "start": 10238
1726
2642
  }
1727
2643
  ]
1728
2644
  }