@etherisc/gif-next 0.0.2-e200f36-952 → 0.0.2-e25d641-064

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