@etherisc/gif-next 0.0.2-b643f7e-850 → 0.0.2-b6a85fa-854

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