@etherisc/gif-next 0.0.2-c9711ab-345 → 0.0.2-c99b1cc-016

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