@etherisc/gif-next 0.0.2-ff1bf36-818 → 0.0.2-ff3a8a0-504

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