@etherisc/gif-next 0.0.2-c04bff4-304 → 0.0.2-c0923b6-664

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