@etherisc/gif-next 0.0.2-ee54ca6-863 → 0.0.2-ef15ccf-423

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