@etherisc/gif-next 0.0.2-e0ff180-567 → 0.0.2-e14821a-976

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. package/README.md +153 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1088 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +803 -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 +1416 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +803 -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 +659 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1247 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +818 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +311 -328
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1835 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +943 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/Component.sol/Component.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +276 -280
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
  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 +1487 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +818 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2056 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +818 -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 +1442 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +818 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1174 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1650 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +818 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2588 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +818 -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/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +573 -1775
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +530 -71
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +639 -2578
  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 +850 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1866 -636
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +571 -386
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +216 -172
  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 -54
  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 +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +960 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +823 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +328 -225
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +876 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1055 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +823 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +357 -488
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +818 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1464 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +879 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  140. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +349 -284
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1397 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  144. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +382 -418
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1807 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +879 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1062 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +803 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +492 -497
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +818 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1546 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +891 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +334 -374
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +185 -155
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +223 -164
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1417 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +867 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +958 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +827 -0
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  186. package/artifacts/contracts/product/Product.sol/Product.json +1120 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +886 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +787 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +499 -34
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +987 -131
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1087 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +415 -262
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +227 -111
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +696 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +360 -137
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  222. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +289 -188
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1577 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +875 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  236. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +153 -138
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +584 -738
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  251. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +66 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +798 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +57 -67
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +36 -73
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +160 -102
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  269. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  270. package/artifacts/contracts/shared/Service.sol/Service.json +110 -111
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.json +3188 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +860 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1357 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +779 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +669 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  360. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  361. package/contracts/accounting/AccountingService.sol +274 -0
  362. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  363. package/contracts/accounting/IAccountingService.sol +47 -0
  364. package/contracts/authorization/AccessAdmin.sol +780 -0
  365. package/contracts/authorization/AccessAdminLib.sol +396 -0
  366. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  367. package/contracts/authorization/Authorization.sol +169 -0
  368. package/contracts/authorization/IAccess.sol +67 -0
  369. package/contracts/authorization/IAccessAdmin.sol +144 -0
  370. package/contracts/authorization/IAuthorization.sol +26 -0
  371. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  372. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  373. package/contracts/distribution/BasicDistribution.sol +140 -0
  374. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  375. package/contracts/distribution/Distribution.sol +245 -0
  376. package/contracts/distribution/DistributionService.sol +465 -0
  377. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  378. package/contracts/distribution/IDistributionComponent.sol +45 -0
  379. package/contracts/distribution/IDistributionService.sol +115 -0
  380. package/contracts/examples/fire/DamageLevel.sol +59 -0
  381. package/contracts/examples/fire/FirePool.sol +86 -0
  382. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  383. package/contracts/examples/fire/FireProduct.sol +433 -0
  384. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  385. package/contracts/examples/fire/FireUSD.sol +26 -0
  386. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  387. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  389. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  390. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  392. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  393. package/contracts/instance/BaseStore.sol +93 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IBaseStore.sol +37 -0
  396. package/contracts/instance/IInstance.sol +131 -73
  397. package/contracts/instance/IInstanceService.sol +86 -39
  398. package/contracts/instance/Instance.sol +248 -224
  399. package/contracts/instance/InstanceAdmin.sol +379 -0
  400. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  401. package/contracts/instance/InstanceReader.sol +513 -192
  402. package/contracts/instance/InstanceService.sol +432 -394
  403. package/contracts/instance/InstanceServiceManager.sol +14 -29
  404. package/contracts/instance/InstanceStore.sol +323 -0
  405. package/contracts/instance/ProductStore.sol +290 -0
  406. package/contracts/instance/RiskSet.sol +126 -0
  407. package/contracts/instance/TargetNames.sol +10 -0
  408. package/contracts/instance/base/BalanceStore.sol +121 -0
  409. package/contracts/instance/base/Cloneable.sol +28 -0
  410. package/contracts/instance/base/ObjectCounter.sol +20 -0
  411. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  412. package/contracts/instance/base/ObjectSet.sol +77 -0
  413. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  414. package/contracts/instance/module/IBundle.sol +9 -11
  415. package/contracts/instance/module/IComponents.sol +43 -24
  416. package/contracts/instance/module/IDistribution.sol +25 -12
  417. package/contracts/instance/module/IPolicy.sol +71 -38
  418. package/contracts/instance/module/IRisk.sol +6 -1
  419. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  420. package/contracts/oracle/BasicOracle.sol +44 -0
  421. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  422. package/contracts/oracle/IOracle.sol +41 -0
  423. package/contracts/oracle/IOracleComponent.sol +33 -0
  424. package/contracts/oracle/IOracleService.sol +66 -0
  425. package/contracts/oracle/Oracle.sol +152 -0
  426. package/contracts/oracle/OracleService.sol +310 -0
  427. package/contracts/oracle/OracleServiceManager.sol +39 -0
  428. package/contracts/pool/BasicPool.sol +161 -0
  429. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  430. package/contracts/pool/BundleService.sol +401 -0
  431. package/contracts/pool/BundleServiceManager.sol +39 -0
  432. package/contracts/pool/IBundleService.sol +116 -0
  433. package/contracts/pool/IPoolComponent.sol +62 -0
  434. package/contracts/pool/IPoolService.sol +167 -0
  435. package/contracts/pool/Pool.sol +331 -0
  436. package/contracts/pool/PoolLib.sol +341 -0
  437. package/contracts/pool/PoolService.sol +635 -0
  438. package/contracts/pool/PoolServiceManager.sol +39 -0
  439. package/contracts/product/ApplicationService.sol +343 -0
  440. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  441. package/contracts/product/BasicProduct.sol +48 -0
  442. package/contracts/product/BasicProductAuthorization.sol +63 -0
  443. package/contracts/product/ClaimService.sol +642 -0
  444. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  445. package/contracts/{instance/service → product}/IApplicationService.sol +41 -35
  446. package/contracts/product/IClaimService.sol +136 -0
  447. package/contracts/product/IPolicyService.sol +102 -0
  448. package/contracts/product/IPricingService.sol +40 -0
  449. package/contracts/product/IProductComponent.sol +62 -0
  450. package/contracts/product/IRiskService.sol +48 -0
  451. package/contracts/product/PolicyService.sol +680 -0
  452. package/contracts/product/PolicyServiceLib.sol +139 -0
  453. package/contracts/product/PolicyServiceManager.sol +39 -0
  454. package/contracts/product/PricingService.sol +318 -0
  455. package/contracts/product/PricingServiceManager.sol +39 -0
  456. package/contracts/product/Product.sol +491 -0
  457. package/contracts/product/RiskService.sol +189 -0
  458. package/contracts/product/RiskServiceManager.sol +39 -0
  459. package/contracts/registry/ChainNft.sol +79 -40
  460. package/contracts/registry/IRegistry.sol +104 -33
  461. package/contracts/registry/IRegistryService.sol +34 -40
  462. package/contracts/registry/IRelease.sol +29 -0
  463. package/contracts/registry/ITransferInterceptor.sol +1 -2
  464. package/contracts/registry/Registry.sol +469 -200
  465. package/contracts/registry/RegistryAdmin.sol +191 -0
  466. package/contracts/registry/RegistryAuthorization.sol +336 -0
  467. package/contracts/registry/RegistryService.sol +90 -131
  468. package/contracts/registry/RegistryServiceManager.sol +23 -32
  469. package/contracts/registry/ReleaseAdmin.sol +195 -0
  470. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  471. package/contracts/registry/ReleaseRegistry.sol +525 -0
  472. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  473. package/contracts/registry/TokenRegistry.sol +265 -64
  474. package/contracts/shared/Component.sol +210 -0
  475. package/contracts/shared/ComponentService.sol +705 -0
  476. package/contracts/shared/ComponentServiceManager.sol +38 -0
  477. package/contracts/shared/ContractLib.sol +312 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +111 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  482. package/contracts/shared/INftOwnable.sol +6 -2
  483. package/contracts/shared/IPolicyHolder.sol +23 -14
  484. package/contracts/shared/IRegisterable.sol +22 -1
  485. package/contracts/shared/IRegistryLinked.sol +0 -1
  486. package/contracts/shared/IService.sol +12 -5
  487. package/contracts/shared/InitializableERC165.sol +49 -0
  488. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +39 -30
  492. package/contracts/shared/PolicyHolder.sol +23 -41
  493. package/contracts/shared/Registerable.sol +54 -22
  494. package/contracts/shared/RegistryLinked.sol +11 -21
  495. package/contracts/shared/Service.sol +36 -41
  496. package/contracts/shared/TokenHandler.sol +322 -13
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +367 -0
  499. package/contracts/staking/IStakingService.sol +127 -0
  500. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  501. package/contracts/staking/Staking.sol +797 -0
  502. package/contracts/staking/StakingLib.sol +195 -0
  503. package/contracts/staking/StakingManager.sol +53 -0
  504. package/contracts/staking/StakingReader.sol +171 -0
  505. package/contracts/staking/StakingService.sol +320 -0
  506. package/contracts/staking/StakingServiceManager.sol +46 -0
  507. package/contracts/staking/StakingStore.sol +1368 -0
  508. package/contracts/staking/TargetHandler.sol +132 -0
  509. package/contracts/staking/TargetManagerLib.sol +234 -0
  510. package/contracts/{types → type}/AddressSet.sol +1 -1
  511. package/contracts/type/Amount.sol +154 -0
  512. package/contracts/{types → type}/Blocknumber.sol +36 -13
  513. package/contracts/type/ChainId.sol +101 -0
  514. package/contracts/{types → type}/ClaimId.sol +31 -3
  515. package/contracts/{types → type}/Fee.sol +28 -26
  516. package/contracts/{types → type}/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/{types → type}/NftId.sol +21 -16
  519. package/contracts/{types → type}/NftIdSet.sol +2 -2
  520. package/contracts/type/ObjectType.sol +307 -0
  521. package/contracts/type/PayoutId.sol +82 -0
  522. package/contracts/{types → type}/Referral.sol +2 -1
  523. package/contracts/type/RequestId.sol +75 -0
  524. package/contracts/type/RiskId.sol +75 -0
  525. package/contracts/type/RoleId.sol +180 -0
  526. package/contracts/type/Seconds.sol +120 -0
  527. package/contracts/type/Selector.sol +107 -0
  528. package/contracts/{types → type}/StateId.sol +47 -4
  529. package/contracts/type/String.sol +65 -0
  530. package/contracts/{types → type}/Timestamp.sol +23 -7
  531. package/contracts/type/UFixed.sol +263 -0
  532. package/contracts/{types → type}/Version.sol +58 -7
  533. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  534. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  535. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +28 -0
  536. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  537. package/package.json +12 -8
  538. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  545. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  547. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  548. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  550. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  551. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  552. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  553. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  554. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  555. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  557. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  559. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  560. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  561. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  562. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  563. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  564. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  565. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  566. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  567. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  569. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  571. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  573. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  575. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  577. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  579. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  581. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  583. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -475
  587. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  592. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  593. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  594. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  595. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  596. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  597. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  598. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  599. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  600. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  602. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  604. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  605. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  606. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  607. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  608. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  609. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  610. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  612. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  614. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  615. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  616. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  617. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  620. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  622. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  624. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  626. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  628. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  630. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  632. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  633. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  634. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  635. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  636. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  638. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  640. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  642. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  644. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  646. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  648. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  649. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  650. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  652. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  653. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  654. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  656. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  658. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  660. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  662. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  664. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  666. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  668. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  670. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  672. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  674. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  676. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  678. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  680. package/contracts/components/Component.sol +0 -253
  681. package/contracts/components/Distribution.sol +0 -280
  682. package/contracts/components/IComponent.sol +0 -76
  683. package/contracts/components/IDistributionComponent.sol +0 -71
  684. package/contracts/components/IPoolComponent.sol +0 -113
  685. package/contracts/components/IProductComponent.sol +0 -40
  686. package/contracts/components/Pool.sol +0 -303
  687. package/contracts/components/Product.sol +0 -293
  688. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  689. package/contracts/instance/BundleManager.sol +0 -127
  690. package/contracts/instance/Cloneable.sol +0 -51
  691. package/contracts/instance/InstanceAccessManager.sol +0 -527
  692. package/contracts/instance/ObjectManager.sol +0 -82
  693. package/contracts/instance/base/ComponentService.sol +0 -121
  694. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  695. package/contracts/instance/base/KeyValueStore.sol +0 -180
  696. package/contracts/instance/base/Lifecycle.sol +0 -109
  697. package/contracts/instance/module/IAccess.sol +0 -54
  698. package/contracts/instance/module/ISetup.sol +0 -33
  699. package/contracts/instance/module/ITreasury.sol +0 -23
  700. package/contracts/instance/service/ApplicationService.sol +0 -350
  701. package/contracts/instance/service/BundleService.sol +0 -431
  702. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  703. package/contracts/instance/service/ClaimService.sol +0 -151
  704. package/contracts/instance/service/DistributionService.sol +0 -435
  705. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  706. package/contracts/instance/service/IBundleService.sol +0 -93
  707. package/contracts/instance/service/IClaimService.sol +0 -61
  708. package/contracts/instance/service/IDistributionService.sol +0 -99
  709. package/contracts/instance/service/IPolicyService.sol +0 -72
  710. package/contracts/instance/service/IPoolService.sol +0 -99
  711. package/contracts/instance/service/IProductService.sol +0 -40
  712. package/contracts/instance/service/PolicyService.sol +0 -362
  713. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  714. package/contracts/instance/service/PoolService.sol +0 -303
  715. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  716. package/contracts/instance/service/ProductService.sol +0 -210
  717. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  718. package/contracts/registry/RegistryAccessManager.sol +0 -216
  719. package/contracts/registry/ReleaseManager.sol +0 -324
  720. package/contracts/shared/ContractDeployerLib.sol +0 -72
  721. package/contracts/shared/ERC165.sol +0 -27
  722. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  723. package/contracts/test/TestFee.sol +0 -25
  724. package/contracts/test/TestRegisterable.sol +0 -18
  725. package/contracts/test/TestRoleId.sol +0 -14
  726. package/contracts/test/TestService.sol +0 -25
  727. package/contracts/test/TestToken.sol +0 -26
  728. package/contracts/test/TestVersion.sol +0 -44
  729. package/contracts/test/TestVersionable.sol +0 -17
  730. package/contracts/types/Amount.sol +0 -60
  731. package/contracts/types/ChainId.sol +0 -38
  732. package/contracts/types/NumberId.sol +0 -52
  733. package/contracts/types/ObjectType.sol +0 -157
  734. package/contracts/types/PayoutId.sol +0 -54
  735. package/contracts/types/RiskId.sol +0 -43
  736. package/contracts/types/RoleId.sol +0 -97
  737. package/contracts/types/Seconds.sol +0 -54
  738. package/contracts/types/UFixed.sol +0 -326
  739. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -3,79 +3,30 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
9
19
  "internalType": "NftId",
10
- "name": "bundleNftId",
20
+ "name": "poolNftId",
11
21
  "type": "uint96"
12
22
  }
13
23
  ],
14
- "name": "getBundleInfo",
24
+ "name": "activeBundles",
15
25
  "outputs": [
16
26
  {
17
- "components": [
18
- {
19
- "internalType": "NftId",
20
- "name": "poolNftId",
21
- "type": "uint96"
22
- },
23
- {
24
- "components": [
25
- {
26
- "internalType": "UFixed",
27
- "name": "fractionalFee",
28
- "type": "uint256"
29
- },
30
- {
31
- "internalType": "uint256",
32
- "name": "fixedFee",
33
- "type": "uint256"
34
- }
35
- ],
36
- "internalType": "struct Fee",
37
- "name": "fee",
38
- "type": "tuple"
39
- },
40
- {
41
- "internalType": "bytes",
42
- "name": "filter",
43
- "type": "bytes"
44
- },
45
- {
46
- "internalType": "Amount",
47
- "name": "capitalAmount",
48
- "type": "uint96"
49
- },
50
- {
51
- "internalType": "Amount",
52
- "name": "lockedAmount",
53
- "type": "uint96"
54
- },
55
- {
56
- "internalType": "Amount",
57
- "name": "feeAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Seconds",
62
- "name": "lifetime",
63
- "type": "uint40"
64
- },
65
- {
66
- "internalType": "Timestamp",
67
- "name": "expiredAt",
68
- "type": "uint40"
69
- },
70
- {
71
- "internalType": "Timestamp",
72
- "name": "closedAt",
73
- "type": "uint40"
74
- }
75
- ],
76
- "internalType": "struct IBundle.BundleInfo",
77
- "name": "info",
78
- "type": "tuple"
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
79
30
  }
80
31
  ],
81
32
  "stateMutability": "view",
@@ -85,53 +36,16 @@
85
36
  "inputs": [
86
37
  {
87
38
  "internalType": "NftId",
88
- "name": "poolNftId",
39
+ "name": "productNftId",
89
40
  "type": "uint96"
90
41
  }
91
42
  ],
92
- "name": "getComponentInfo",
43
+ "name": "activeRisks",
93
44
  "outputs": [
94
45
  {
95
- "components": [
96
- {
97
- "internalType": "string",
98
- "name": "name",
99
- "type": "string"
100
- },
101
- {
102
- "internalType": "contract IERC20Metadata",
103
- "name": "token",
104
- "type": "address"
105
- },
106
- {
107
- "internalType": "contract TokenHandler",
108
- "name": "tokenHandler",
109
- "type": "address"
110
- },
111
- {
112
- "internalType": "address",
113
- "name": "wallet",
114
- "type": "address"
115
- },
116
- {
117
- "internalType": "Amount",
118
- "name": "balanceAmount",
119
- "type": "uint96"
120
- },
121
- {
122
- "internalType": "Amount",
123
- "name": "feeAmount",
124
- "type": "uint96"
125
- },
126
- {
127
- "internalType": "bytes",
128
- "name": "data",
129
- "type": "bytes"
130
- }
131
- ],
132
- "internalType": "struct IComponents.ComponentInfo",
133
- "name": "info",
134
- "type": "tuple"
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
135
49
  }
136
50
  ],
137
51
  "stateMutability": "view",
@@ -140,22 +54,36 @@
140
54
  {
141
55
  "inputs": [
142
56
  {
143
- "internalType": "ReferralId",
144
- "name": "referralId",
145
- "type": "bytes8"
57
+ "internalType": "address",
58
+ "name": "target",
59
+ "type": "address"
146
60
  }
147
61
  ],
148
- "name": "getDiscountPercentage",
62
+ "name": "authorizedFunctions",
149
63
  "outputs": [
150
64
  {
151
- "internalType": "UFixed",
152
- "name": "discountPercentage",
65
+ "internalType": "uint256",
66
+ "name": "numberOfFunctions",
153
67
  "type": "uint256"
154
- },
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
155
75
  {
156
- "internalType": "ReferralStatus",
157
- "name": "status",
158
- "type": "uint8"
76
+ "internalType": "NftId",
77
+ "name": "poolNftId",
78
+ "type": "uint96"
79
+ }
80
+ ],
81
+ "name": "bundles",
82
+ "outputs": [
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "bundleCount",
86
+ "type": "uint256"
159
87
  }
160
88
  ],
161
89
  "stateMutability": "view",
@@ -165,72 +93,29 @@
165
93
  "inputs": [
166
94
  {
167
95
  "internalType": "NftId",
168
- "name": "distributionNftId",
96
+ "name": "policyNftId",
169
97
  "type": "uint96"
170
98
  }
171
99
  ],
172
- "name": "getDistributionSetupInfo",
100
+ "name": "claims",
173
101
  "outputs": [
174
102
  {
175
- "components": [
176
- {
177
- "internalType": "NftId",
178
- "name": "productNftId",
179
- "type": "uint96"
180
- },
181
- {
182
- "internalType": "contract TokenHandler",
183
- "name": "tokenHandler",
184
- "type": "address"
185
- },
186
- {
187
- "components": [
188
- {
189
- "internalType": "UFixed",
190
- "name": "fractionalFee",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "uint256",
195
- "name": "fixedFee",
196
- "type": "uint256"
197
- }
198
- ],
199
- "internalType": "struct Fee",
200
- "name": "minDistributionOwnerFee",
201
- "type": "tuple"
202
- },
203
- {
204
- "components": [
205
- {
206
- "internalType": "UFixed",
207
- "name": "fractionalFee",
208
- "type": "uint256"
209
- },
210
- {
211
- "internalType": "uint256",
212
- "name": "fixedFee",
213
- "type": "uint256"
214
- }
215
- ],
216
- "internalType": "struct Fee",
217
- "name": "distributionFee",
218
- "type": "tuple"
219
- },
220
- {
221
- "internalType": "address",
222
- "name": "wallet",
223
- "type": "address"
224
- },
225
- {
226
- "internalType": "uint256",
227
- "name": "sumDistributionOwnerFees",
228
- "type": "uint256"
229
- }
230
- ],
231
- "internalType": "struct ISetup.DistributionSetupInfo",
232
- "name": "info",
233
- "type": "tuple"
103
+ "internalType": "uint16",
104
+ "name": "claimCount",
105
+ "type": "uint16"
106
+ }
107
+ ],
108
+ "stateMutability": "view",
109
+ "type": "function"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "components",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "componentCount",
118
+ "type": "uint256"
234
119
  }
235
120
  ],
236
121
  "stateMutability": "view",
@@ -240,43 +125,21 @@
240
125
  "inputs": [
241
126
  {
242
127
  "internalType": "NftId",
243
- "name": "distributorNftId",
128
+ "name": "poolNftId",
244
129
  "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "idx",
134
+ "type": "uint256"
245
135
  }
246
136
  ],
247
- "name": "getDistributorInfo",
137
+ "name": "getActiveBundleNftId",
248
138
  "outputs": [
249
139
  {
250
- "components": [
251
- {
252
- "internalType": "DistributorType",
253
- "name": "distributorType",
254
- "type": "bytes8"
255
- },
256
- {
257
- "internalType": "bool",
258
- "name": "active",
259
- "type": "bool"
260
- },
261
- {
262
- "internalType": "bytes",
263
- "name": "data",
264
- "type": "bytes"
265
- },
266
- {
267
- "internalType": "uint256",
268
- "name": "sumCommisions",
269
- "type": "uint256"
270
- },
271
- {
272
- "internalType": "uint256",
273
- "name": "numPoliciesSold",
274
- "type": "uint256"
275
- }
276
- ],
277
- "internalType": "struct IDistribution.DistributorInfo",
278
- "name": "info",
279
- "type": "tuple"
140
+ "internalType": "NftId",
141
+ "name": "bundleNftId",
142
+ "type": "uint96"
280
143
  }
281
144
  ],
282
145
  "stateMutability": "view",
@@ -285,62 +148,148 @@
285
148
  {
286
149
  "inputs": [
287
150
  {
288
- "internalType": "DistributorType",
289
- "name": "distributorType",
290
- "type": "bytes8"
151
+ "internalType": "NftId",
152
+ "name": "productNftId",
153
+ "type": "uint96"
154
+ },
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "idx",
158
+ "type": "uint256"
291
159
  }
292
160
  ],
293
- "name": "getDistributorTypeInfo",
161
+ "name": "getActiveRiskId",
294
162
  "outputs": [
295
163
  {
296
- "components": [
297
- {
298
- "internalType": "string",
299
- "name": "name",
300
- "type": "string"
301
- },
302
- {
303
- "internalType": "UFixed",
304
- "name": "minDiscountPercentage",
305
- "type": "uint256"
306
- },
307
- {
308
- "internalType": "UFixed",
309
- "name": "maxDiscountPercentage",
310
- "type": "uint256"
164
+ "internalType": "RiskId",
165
+ "name": "riskId",
166
+ "type": "bytes8"
167
+ }
168
+ ],
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "target",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "uint256",
181
+ "name": "idx",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "name": "getAuthorizedFunction",
186
+ "outputs": [
187
+ {
188
+ "components": [
189
+ {
190
+ "internalType": "Str",
191
+ "name": "name",
192
+ "type": "bytes32"
311
193
  },
312
194
  {
313
- "internalType": "UFixed",
314
- "name": "commissionPercentage",
315
- "type": "uint256"
195
+ "internalType": "Selector",
196
+ "name": "selector",
197
+ "type": "bytes4"
316
198
  },
317
199
  {
318
- "internalType": "uint32",
319
- "name": "maxReferralCount",
320
- "type": "uint32"
200
+ "internalType": "Timestamp",
201
+ "name": "createdAt",
202
+ "type": "uint40"
203
+ }
204
+ ],
205
+ "internalType": "struct IAccess.FunctionInfo",
206
+ "name": "func",
207
+ "type": "tuple"
208
+ },
209
+ {
210
+ "internalType": "RoleId",
211
+ "name": "roleId",
212
+ "type": "uint64"
213
+ }
214
+ ],
215
+ "stateMutability": "view",
216
+ "type": "function"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "NftId",
222
+ "name": "targetNftId",
223
+ "type": "uint96"
224
+ }
225
+ ],
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",
246
+ "outputs": [
247
+ {
248
+ "components": [
249
+ {
250
+ "internalType": "Timestamp",
251
+ "name": "activatedAt",
252
+ "type": "uint40"
321
253
  },
322
254
  {
323
- "internalType": "uint32",
324
- "name": "maxReferralLifetime",
325
- "type": "uint32"
255
+ "internalType": "Timestamp",
256
+ "name": "expiredAt",
257
+ "type": "uint40"
326
258
  },
327
259
  {
328
- "internalType": "bool",
329
- "name": "allowSelfReferrals",
330
- "type": "bool"
260
+ "internalType": "Timestamp",
261
+ "name": "closedAt",
262
+ "type": "uint40"
331
263
  },
332
264
  {
333
- "internalType": "bool",
334
- "name": "allowRenewals",
335
- "type": "bool"
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"
336
285
  },
337
286
  {
338
287
  "internalType": "bytes",
339
- "name": "data",
288
+ "name": "filter",
340
289
  "type": "bytes"
341
290
  }
342
291
  ],
343
- "internalType": "struct IDistribution.DistributorTypeInfo",
292
+ "internalType": "struct IBundle.BundleInfo",
344
293
  "name": "info",
345
294
  "type": "tuple"
346
295
  }
@@ -349,13 +298,24 @@
349
298
  "type": "function"
350
299
  },
351
300
  {
352
- "inputs": [],
353
- "name": "getInstance",
301
+ "inputs": [
302
+ {
303
+ "internalType": "NftId",
304
+ "name": "poolNftId",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "idx",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "name": "getBundleNftId",
354
314
  "outputs": [
355
315
  {
356
- "internalType": "contract IInstance",
357
- "name": "instance",
358
- "type": "address"
316
+ "internalType": "NftId",
317
+ "name": "bundleNftId",
318
+ "type": "uint96"
359
319
  }
360
320
  ],
361
321
  "stateMutability": "view",
@@ -363,11 +323,11 @@
363
323
  },
364
324
  {
365
325
  "inputs": [],
366
- "name": "getInstanceStore",
326
+ "name": "getBundleSet",
367
327
  "outputs": [
368
328
  {
369
- "internalType": "contract IKeyValueStore",
370
- "name": "store",
329
+ "internalType": "contract BundleSet",
330
+ "name": "bundleSet",
371
331
  "type": "address"
372
332
  }
373
333
  ],
@@ -377,143 +337,95 @@
377
337
  {
378
338
  "inputs": [
379
339
  {
380
- "internalType": "Key32",
381
- "name": "key",
382
- "type": "bytes32"
340
+ "internalType": "NftId",
341
+ "name": "bundleNftId",
342
+ "type": "uint96"
383
343
  }
384
344
  ],
385
- "name": "getMetadata",
345
+ "name": "getBundleState",
386
346
  "outputs": [
387
347
  {
388
- "components": [
389
- {
390
- "internalType": "ObjectType",
391
- "name": "objectType",
392
- "type": "uint8"
393
- },
394
- {
395
- "internalType": "StateId",
396
- "name": "state",
397
- "type": "uint8"
398
- },
399
- {
400
- "internalType": "address",
401
- "name": "updatedBy",
402
- "type": "address"
403
- },
404
- {
405
- "internalType": "Blocknumber",
406
- "name": "updatedIn",
407
- "type": "uint32"
408
- },
409
- {
410
- "internalType": "Blocknumber",
411
- "name": "createdIn",
412
- "type": "uint32"
413
- }
414
- ],
415
- "internalType": "struct IKeyValueStore.Metadata",
416
- "name": "metadata",
417
- "type": "tuple"
348
+ "internalType": "StateId",
349
+ "name": "state",
350
+ "type": "uint8"
418
351
  }
419
352
  ],
420
353
  "stateMutability": "view",
421
354
  "type": "function"
422
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
+ },
423
375
  {
424
376
  "inputs": [
425
377
  {
426
378
  "internalType": "NftId",
427
379
  "name": "policyNftId",
428
380
  "type": "uint96"
381
+ },
382
+ {
383
+ "internalType": "ClaimId",
384
+ "name": "claimId",
385
+ "type": "uint16"
429
386
  }
430
387
  ],
431
- "name": "getPolicyInfo",
388
+ "name": "getClaimInfo",
432
389
  "outputs": [
433
390
  {
434
391
  "components": [
435
392
  {
436
- "internalType": "NftId",
437
- "name": "productNftId",
393
+ "internalType": "Amount",
394
+ "name": "claimAmount",
438
395
  "type": "uint96"
439
396
  },
440
397
  {
441
- "internalType": "NftId",
442
- "name": "bundleNftId",
398
+ "internalType": "Amount",
399
+ "name": "paidAmount",
443
400
  "type": "uint96"
444
401
  },
445
402
  {
446
- "internalType": "ReferralId",
447
- "name": "referralId",
448
- "type": "bytes8"
449
- },
450
- {
451
- "internalType": "RiskId",
452
- "name": "riskId",
453
- "type": "bytes8"
454
- },
455
- {
456
- "internalType": "uint256",
457
- "name": "sumInsuredAmount",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "premiumAmount",
463
- "type": "uint256"
403
+ "internalType": "Timestamp",
404
+ "name": "closedAt",
405
+ "type": "uint40"
464
406
  },
465
407
  {
466
- "internalType": "uint256",
467
- "name": "premiumPaidAmount",
468
- "type": "uint256"
408
+ "internalType": "uint24",
409
+ "name": "payoutsCount",
410
+ "type": "uint24"
469
411
  },
470
412
  {
471
- "internalType": "Seconds",
472
- "name": "lifetime",
473
- "type": "uint40"
413
+ "internalType": "uint24",
414
+ "name": "openPayoutsCount",
415
+ "type": "uint24"
474
416
  },
475
417
  {
476
418
  "internalType": "bytes",
477
- "name": "applicationData",
419
+ "name": "submissionData",
478
420
  "type": "bytes"
479
421
  },
480
422
  {
481
423
  "internalType": "bytes",
482
- "name": "policyData",
424
+ "name": "processData",
483
425
  "type": "bytes"
484
- },
485
- {
486
- "internalType": "uint16",
487
- "name": "claimsCount",
488
- "type": "uint16"
489
- },
490
- {
491
- "internalType": "uint16",
492
- "name": "openClaimsCount",
493
- "type": "uint16"
494
- },
495
- {
496
- "internalType": "uint256",
497
- "name": "payoutAmount",
498
- "type": "uint256"
499
- },
500
- {
501
- "internalType": "Timestamp",
502
- "name": "activatedAt",
503
- "type": "uint40"
504
- },
505
- {
506
- "internalType": "Timestamp",
507
- "name": "expiredAt",
508
- "type": "uint40"
509
- },
510
- {
511
- "internalType": "Timestamp",
512
- "name": "closedAt",
513
- "type": "uint40"
514
426
  }
515
427
  ],
516
- "internalType": "struct IPolicy.PolicyInfo",
428
+ "internalType": "struct IPolicy.ClaimInfo",
517
429
  "name": "info",
518
430
  "type": "tuple"
519
431
  }
@@ -527,9 +439,14 @@
527
439
  "internalType": "NftId",
528
440
  "name": "policyNftId",
529
441
  "type": "uint96"
442
+ },
443
+ {
444
+ "internalType": "ClaimId",
445
+ "name": "claimId",
446
+ "type": "uint16"
530
447
  }
531
448
  ],
532
- "name": "getPolicyState",
449
+ "name": "getClaimState",
533
450
  "outputs": [
534
451
  {
535
452
  "internalType": "StateId",
@@ -544,80 +461,26 @@
544
461
  "inputs": [
545
462
  {
546
463
  "internalType": "NftId",
547
- "name": "productNftId",
464
+ "name": "componentNftId",
548
465
  "type": "uint96"
549
466
  }
550
467
  ],
551
- "name": "getProductSetupInfo",
468
+ "name": "getComponentInfo",
552
469
  "outputs": [
553
470
  {
554
471
  "components": [
555
472
  {
556
- "internalType": "contract IERC20Metadata",
557
- "name": "token",
558
- "type": "address"
473
+ "internalType": "string",
474
+ "name": "name",
475
+ "type": "string"
559
476
  },
560
477
  {
561
478
  "internalType": "contract TokenHandler",
562
479
  "name": "tokenHandler",
563
480
  "type": "address"
564
- },
565
- {
566
- "internalType": "NftId",
567
- "name": "distributionNftId",
568
- "type": "uint96"
569
- },
570
- {
571
- "internalType": "NftId",
572
- "name": "poolNftId",
573
- "type": "uint96"
574
- },
575
- {
576
- "components": [
577
- {
578
- "internalType": "UFixed",
579
- "name": "fractionalFee",
580
- "type": "uint256"
581
- },
582
- {
583
- "internalType": "uint256",
584
- "name": "fixedFee",
585
- "type": "uint256"
586
- }
587
- ],
588
- "internalType": "struct Fee",
589
- "name": "productFee",
590
- "type": "tuple"
591
- },
592
- {
593
- "components": [
594
- {
595
- "internalType": "UFixed",
596
- "name": "fractionalFee",
597
- "type": "uint256"
598
- },
599
- {
600
- "internalType": "uint256",
601
- "name": "fixedFee",
602
- "type": "uint256"
603
- }
604
- ],
605
- "internalType": "struct Fee",
606
- "name": "processingFee",
607
- "type": "tuple"
608
- },
609
- {
610
- "internalType": "bool",
611
- "name": "isIntercepting",
612
- "type": "bool"
613
- },
614
- {
615
- "internalType": "address",
616
- "name": "wallet",
617
- "type": "address"
618
481
  }
619
482
  ],
620
- "internalType": "struct ISetup.ProductSetupInfo",
483
+ "internalType": "struct IComponents.ComponentInfo",
621
484
  "name": "info",
622
485
  "type": "tuple"
623
486
  }
@@ -633,47 +496,56 @@
633
496
  "type": "bytes8"
634
497
  }
635
498
  ],
636
- "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",
637
524
  "outputs": [
638
525
  {
639
526
  "components": [
640
527
  {
641
- "internalType": "NftId",
642
- "name": "distributorNftId",
643
- "type": "uint96"
644
- },
645
- {
646
- "internalType": "string",
647
- "name": "referralCode",
648
- "type": "string"
649
- },
650
- {
651
- "internalType": "UFixed",
652
- "name": "discountPercentage",
653
- "type": "uint256"
528
+ "internalType": "DistributorType",
529
+ "name": "distributorType",
530
+ "type": "bytes8"
654
531
  },
655
532
  {
656
- "internalType": "uint32",
657
- "name": "maxReferrals",
658
- "type": "uint32"
533
+ "internalType": "bool",
534
+ "name": "active",
535
+ "type": "bool"
659
536
  },
660
537
  {
661
538
  "internalType": "uint32",
662
- "name": "usedReferrals",
539
+ "name": "numPoliciesSold",
663
540
  "type": "uint32"
664
541
  },
665
- {
666
- "internalType": "Timestamp",
667
- "name": "expiryAt",
668
- "type": "uint40"
669
- },
670
542
  {
671
543
  "internalType": "bytes",
672
544
  "name": "data",
673
545
  "type": "bytes"
674
546
  }
675
547
  ],
676
- "internalType": "struct IDistribution.ReferralInfo",
548
+ "internalType": "struct IDistribution.DistributorInfo",
677
549
  "name": "info",
678
550
  "type": "tuple"
679
551
  }
@@ -684,27 +556,67 @@
684
556
  {
685
557
  "inputs": [
686
558
  {
687
- "internalType": "RiskId",
688
- "name": "riskId",
559
+ "internalType": "DistributorType",
560
+ "name": "distributorType",
689
561
  "type": "bytes8"
690
562
  }
691
563
  ],
692
- "name": "getRiskInfo",
564
+ "name": "getDistributorTypeInfo",
693
565
  "outputs": [
694
566
  {
695
567
  "components": [
568
+ {
569
+ "internalType": "UFixed",
570
+ "name": "minDiscountPercentage",
571
+ "type": "uint160"
572
+ },
696
573
  {
697
574
  "internalType": "NftId",
698
- "name": "productNftId",
575
+ "name": "distributionNftId",
699
576
  "type": "uint96"
700
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
+ },
701
613
  {
702
614
  "internalType": "bytes",
703
615
  "name": "data",
704
616
  "type": "bytes"
705
617
  }
706
618
  ],
707
- "internalType": "struct IRisk.RiskInfo",
619
+ "internalType": "struct IDistribution.DistributorTypeInfo",
708
620
  "name": "info",
709
621
  "type": "tuple"
710
622
  }
@@ -716,16 +628,16 @@
716
628
  "inputs": [
717
629
  {
718
630
  "internalType": "NftId",
719
- "name": "productNftId",
631
+ "name": "targetNftId",
720
632
  "type": "uint96"
721
633
  }
722
634
  ],
723
- "name": "getTokenHandler",
635
+ "name": "getFeeAmount",
724
636
  "outputs": [
725
637
  {
726
- "internalType": "address",
727
- "name": "tokenHandler",
728
- "type": "address"
638
+ "internalType": "Amount",
639
+ "name": "",
640
+ "type": "uint96"
729
641
  }
730
642
  ],
731
643
  "stateMutability": "view",
@@ -739,45 +651,42 @@
739
651
  "type": "uint96"
740
652
  }
741
653
  ],
742
- "name": "getTreasuryInfo",
654
+ "name": "getFeeInfo",
743
655
  "outputs": [
744
656
  {
745
657
  "components": [
746
658
  {
747
- "internalType": "contract IERC20Metadata",
748
- "name": "token",
749
- "type": "address"
750
- },
751
- {
752
- "internalType": "contract TokenHandler",
753
- "name": "tokenHandler",
754
- "type": "address"
755
- },
756
- {
757
- "internalType": "NftId",
758
- "name": "distributionNftId",
759
- "type": "uint96"
760
- },
761
- {
762
- "internalType": "NftId",
763
- "name": "poolNftId",
764
- "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"
765
674
  },
766
675
  {
767
676
  "components": [
768
677
  {
769
678
  "internalType": "UFixed",
770
679
  "name": "fractionalFee",
771
- "type": "uint256"
680
+ "type": "uint160"
772
681
  },
773
682
  {
774
- "internalType": "uint256",
683
+ "internalType": "Amount",
775
684
  "name": "fixedFee",
776
- "type": "uint256"
685
+ "type": "uint96"
777
686
  }
778
687
  ],
779
688
  "internalType": "struct Fee",
780
- "name": "distributionFee",
689
+ "name": "processingFee",
781
690
  "type": "tuple"
782
691
  },
783
692
  {
@@ -785,16 +694,16 @@
785
694
  {
786
695
  "internalType": "UFixed",
787
696
  "name": "fractionalFee",
788
- "type": "uint256"
697
+ "type": "uint160"
789
698
  },
790
699
  {
791
- "internalType": "uint256",
700
+ "internalType": "Amount",
792
701
  "name": "fixedFee",
793
- "type": "uint256"
702
+ "type": "uint96"
794
703
  }
795
704
  ],
796
705
  "internalType": "struct Fee",
797
- "name": "productFee",
706
+ "name": "distributionFee",
798
707
  "type": "tuple"
799
708
  },
800
709
  {
@@ -802,16 +711,16 @@
802
711
  {
803
712
  "internalType": "UFixed",
804
713
  "name": "fractionalFee",
805
- "type": "uint256"
714
+ "type": "uint160"
806
715
  },
807
716
  {
808
- "internalType": "uint256",
717
+ "internalType": "Amount",
809
718
  "name": "fixedFee",
810
- "type": "uint256"
719
+ "type": "uint96"
811
720
  }
812
721
  ],
813
722
  "internalType": "struct Fee",
814
- "name": "processingFee",
723
+ "name": "minDistributionOwnerFee",
815
724
  "type": "tuple"
816
725
  },
817
726
  {
@@ -819,12 +728,12 @@
819
728
  {
820
729
  "internalType": "UFixed",
821
730
  "name": "fractionalFee",
822
- "type": "uint256"
731
+ "type": "uint160"
823
732
  },
824
733
  {
825
- "internalType": "uint256",
734
+ "internalType": "Amount",
826
735
  "name": "fixedFee",
827
- "type": "uint256"
736
+ "type": "uint96"
828
737
  }
829
738
  ],
830
739
  "internalType": "struct Fee",
@@ -836,12 +745,12 @@
836
745
  {
837
746
  "internalType": "UFixed",
838
747
  "name": "fractionalFee",
839
- "type": "uint256"
748
+ "type": "uint160"
840
749
  },
841
750
  {
842
- "internalType": "uint256",
751
+ "internalType": "Amount",
843
752
  "name": "fixedFee",
844
- "type": "uint256"
753
+ "type": "uint96"
845
754
  }
846
755
  ],
847
756
  "internalType": "struct Fee",
@@ -853,12 +762,12 @@
853
762
  {
854
763
  "internalType": "UFixed",
855
764
  "name": "fractionalFee",
856
- "type": "uint256"
765
+ "type": "uint160"
857
766
  },
858
767
  {
859
- "internalType": "uint256",
768
+ "internalType": "Amount",
860
769
  "name": "fixedFee",
861
- "type": "uint256"
770
+ "type": "uint96"
862
771
  }
863
772
  ],
864
773
  "internalType": "struct Fee",
@@ -866,101 +775,1296 @@
866
775
  "type": "tuple"
867
776
  }
868
777
  ],
869
- "internalType": "struct ITreasury.TreasuryInfo",
870
- "name": "info",
778
+ "internalType": "struct IComponents.FeeInfo",
779
+ "name": "feeInfo",
871
780
  "type": "tuple"
872
781
  }
873
782
  ],
874
783
  "stateMutability": "view",
875
784
  "type": "function"
876
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
+ },
877
1960
  {
878
1961
  "inputs": [
1962
+ {
1963
+ "internalType": "RoleId",
1964
+ "name": "roleId",
1965
+ "type": "uint64"
1966
+ },
879
1967
  {
880
1968
  "internalType": "address",
881
- "name": "instance",
1969
+ "name": "account",
882
1970
  "type": "address"
883
1971
  }
884
1972
  ],
885
- "name": "initialize",
886
- "outputs": [],
887
- "stateMutability": "nonpayable",
1973
+ "name": "isRoleAdmin",
1974
+ "outputs": [
1975
+ {
1976
+ "internalType": "bool",
1977
+ "name": "isMember",
1978
+ "type": "bool"
1979
+ }
1980
+ ],
1981
+ "stateMutability": "view",
888
1982
  "type": "function"
889
1983
  },
890
1984
  {
891
1985
  "inputs": [
892
1986
  {
893
- "internalType": "NftId",
894
- "name": "poolNftId",
895
- "type": "uint96"
1987
+ "internalType": "RoleId",
1988
+ "name": "roleId",
1989
+ "type": "uint64"
896
1990
  }
897
1991
  ],
898
- "name": "toBundleKey",
1992
+ "name": "isRoleCustom",
899
1993
  "outputs": [
900
1994
  {
901
- "internalType": "Key32",
902
- "name": "",
903
- "type": "bytes32"
1995
+ "internalType": "bool",
1996
+ "name": "isCustom",
1997
+ "type": "bool"
904
1998
  }
905
1999
  ],
906
- "stateMutability": "pure",
2000
+ "stateMutability": "view",
907
2001
  "type": "function"
908
2002
  },
909
2003
  {
910
2004
  "inputs": [
911
2005
  {
912
- "internalType": "NftId",
913
- "name": "distributionNftId",
914
- "type": "uint96"
2006
+ "internalType": "RoleId",
2007
+ "name": "roleId",
2008
+ "type": "uint64"
2009
+ },
2010
+ {
2011
+ "internalType": "address",
2012
+ "name": "account",
2013
+ "type": "address"
915
2014
  }
916
2015
  ],
917
- "name": "toDistributionKey",
2016
+ "name": "isRoleMember",
918
2017
  "outputs": [
919
2018
  {
920
- "internalType": "Key32",
921
- "name": "",
922
- "type": "bytes32"
2019
+ "internalType": "bool",
2020
+ "name": "isMember",
2021
+ "type": "bool"
923
2022
  }
924
2023
  ],
925
- "stateMutability": "pure",
2024
+ "stateMutability": "view",
926
2025
  "type": "function"
927
2026
  },
928
2027
  {
929
2028
  "inputs": [
930
2029
  {
931
2030
  "internalType": "NftId",
932
- "name": "distributorNftId",
2031
+ "name": "policyNftId",
933
2032
  "type": "uint96"
2033
+ },
2034
+ {
2035
+ "internalType": "ClaimId",
2036
+ "name": "claimId",
2037
+ "type": "uint16"
934
2038
  }
935
2039
  ],
936
- "name": "toDistributorKey",
2040
+ "name": "payouts",
937
2041
  "outputs": [
938
2042
  {
939
- "internalType": "Key32",
940
- "name": "",
941
- "type": "bytes32"
2043
+ "internalType": "uint24",
2044
+ "name": "payoutCount",
2045
+ "type": "uint24"
942
2046
  }
943
2047
  ],
944
- "stateMutability": "pure",
2048
+ "stateMutability": "view",
945
2049
  "type": "function"
946
2050
  },
947
2051
  {
948
2052
  "inputs": [
949
2053
  {
950
- "internalType": "UFixed",
951
- "name": "value",
952
- "type": "uint256"
2054
+ "internalType": "RiskId",
2055
+ "name": "riskId",
2056
+ "type": "bytes8"
953
2057
  }
954
2058
  ],
955
- "name": "toInt",
2059
+ "name": "policiesForRisk",
956
2060
  "outputs": [
957
2061
  {
958
2062
  "internalType": "uint256",
959
- "name": "",
2063
+ "name": "linkedPolicies",
960
2064
  "type": "uint256"
961
2065
  }
962
2066
  ],
963
- "stateMutability": "pure",
2067
+ "stateMutability": "view",
964
2068
  "type": "function"
965
2069
  },
966
2070
  {
@@ -971,74 +2075,187 @@
971
2075
  "type": "uint96"
972
2076
  }
973
2077
  ],
974
- "name": "toPolicyKey",
2078
+ "name": "policyIsActive",
975
2079
  "outputs": [
976
2080
  {
977
- "internalType": "Key32",
978
- "name": "",
979
- "type": "bytes32"
2081
+ "internalType": "bool",
2082
+ "name": "isCloseable",
2083
+ "type": "bool"
980
2084
  }
981
2085
  ],
982
- "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",
983
2100
  "type": "function"
984
2101
  },
985
2102
  {
986
2103
  "inputs": [
987
2104
  {
988
2105
  "internalType": "NftId",
989
- "name": "poolNftId",
2106
+ "name": "productNftId",
990
2107
  "type": "uint96"
991
2108
  }
992
2109
  ],
993
- "name": "toPoolKey",
2110
+ "name": "risks",
994
2111
  "outputs": [
995
2112
  {
996
- "internalType": "Key32",
997
- "name": "",
998
- "type": "bytes32"
2113
+ "internalType": "uint256",
2114
+ "name": "riskCount",
2115
+ "type": "uint256"
999
2116
  }
1000
2117
  ],
1001
- "stateMutability": "pure",
2118
+ "stateMutability": "view",
1002
2119
  "type": "function"
1003
2120
  },
1004
2121
  {
1005
2122
  "inputs": [
1006
2123
  {
1007
- "internalType": "NftId",
1008
- "name": "productNftId",
1009
- "type": "uint96"
2124
+ "internalType": "RoleId",
2125
+ "name": "roleId",
2126
+ "type": "uint64"
1010
2127
  }
1011
2128
  ],
1012
- "name": "toProductKey",
2129
+ "name": "roleExists",
1013
2130
  "outputs": [
1014
2131
  {
1015
- "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",
1016
2165
  "name": "",
1017
- "type": "bytes32"
2166
+ "type": "uint256"
1018
2167
  }
1019
2168
  ],
1020
- "stateMutability": "pure",
2169
+ "stateMutability": "view",
1021
2170
  "type": "function"
1022
2171
  },
1023
2172
  {
1024
2173
  "inputs": [
1025
2174
  {
1026
- "internalType": "NftId",
1027
- "name": "distributionNftId",
1028
- "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"
1029
2210
  },
1030
2211
  {
1031
2212
  "internalType": "string",
1032
- "name": "referralCode",
2213
+ "name": "name",
1033
2214
  "type": "string"
1034
2215
  }
1035
2216
  ],
1036
- "name": "toReferralId",
2217
+ "name": "toFunction",
1037
2218
  "outputs": [
1038
2219
  {
1039
- "internalType": "ReferralId",
1040
- "name": "referralId",
1041
- "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"
1042
2259
  }
1043
2260
  ],
1044
2261
  "stateMutability": "pure",
@@ -1048,16 +2265,21 @@
1048
2265
  "inputs": [
1049
2266
  {
1050
2267
  "internalType": "NftId",
1051
- "name": "productNftId",
2268
+ "name": "distributionNftId",
1052
2269
  "type": "uint96"
2270
+ },
2271
+ {
2272
+ "internalType": "string",
2273
+ "name": "referralCode",
2274
+ "type": "string"
1053
2275
  }
1054
2276
  ],
1055
- "name": "toTreasuryKey",
2277
+ "name": "toReferralId",
1056
2278
  "outputs": [
1057
2279
  {
1058
- "internalType": "Key32",
1059
- "name": "",
1060
- "type": "bytes32"
2280
+ "internalType": "ReferralId",
2281
+ "name": "referralId",
2282
+ "type": "bytes8"
1061
2283
  }
1062
2284
  ],
1063
2285
  "stateMutability": "pure",
@@ -1081,207 +2303,215 @@
1081
2303
  {
1082
2304
  "internalType": "UFixed",
1083
2305
  "name": "",
1084
- "type": "uint256"
2306
+ "type": "uint160"
1085
2307
  }
1086
2308
  ],
1087
2309
  "stateMutability": "pure",
1088
2310
  "type": "function"
1089
2311
  }
1090
2312
  ],
1091
- "bytecode": "0x608060405234801561001057600080fd5b50612d17806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220d5077f18bf5f396b553ef8134172404eec23fd3f6c30604a35eb6996c376da3464736f6c63430008140033",
1092
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220d5077f18bf5f396b553ef8134172404eec23fd3f6c30604a35eb6996c376da3464736f6c63430008140033",
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$__906368aebf7b90602401602060405180830381865af415801561312d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c091906147f7565b6040805161012081019091525f60e082018181526101008301919091528190815260200161318e604080518082019091525f808252602082015290565b81526020016131ac604080518082019091525f808252602082015290565b81526020016131ca604080518082019091525f808252602082015290565b81526020016131e8604080518082019091525f808252602082015290565b8152602001613206604080518082019091525f808252602082015290565b8152602001613224604080518082019091525f808252602082015290565b905290565b6001600160601b038116811461323d575f80fd5b50565b5f60208284031215613250575f80fd5b8135610ec781613229565b6001600160401b038116811461323d575f80fd5b5f6020828403121561327f575f80fd5b8135610ec78161325b565b5f6020828403121561329a575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156132da5781516001600160601b03168652602095860195909101906001016132b3565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613311606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526133746101208401826132a1565b949350505050565b61ffff8116811461323d575f80fd5b5f806040838503121561339c575f80fd5b82356133a781613229565b915060208301356133b78161337c565b809150509250929050565b5f80604083850312156133d3575f80fd5b82356133de81613229565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b038116811461323d575f80fd5b5f60208284031215613425575f80fd5b8135610ec781613401565b634e487b7160e01b5f52602160045260245ffd5b81518152602082015160808201906007811061346257613462613430565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f80604083850312156134a4575f80fd5b8235915060208301355f81900b81146133b7575f80fd5b6001600160e01b03198116811461323d575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b0381118282101715613507576135076134d0565b60405290565b604051608081016001600160401b0381118282101715613507576135076134d0565b604051606081016001600160401b0381118282101715613507576135076134d0565b604080519081016001600160401b0381118282101715613507576135076134d0565b60405160c081016001600160401b0381118282101715613507576135076134d0565b60405160e081016001600160401b0381118282101715613507576135076134d0565b60405161020081016001600160401b0381118282101715613507576135076134d0565b60405161014081016001600160401b0381118282101715613507576135076134d0565b60405161024081016001600160401b0381118282101715613507576135076134d0565b60405160a081016001600160401b0381118282101715613507576135076134d0565b604051601f8201601f191681016001600160401b038111828210171561366a5761366a6134d0565b604052919050565b5f6001600160401b0382111561368a5761368a6134d0565b50601f01601f191660200190565b5f82601f8301126136a7575f80fd5b81356136ba6136b582613672565b613642565b8181528460208386010111156136ce575f80fd5b816020850160208301375f918101602001919091529392505050565b5f80604083850312156136fb575f80fd5b8235613706816134bb565b915060208301356001600160401b03811115613720575f80fd5b61372c85828601613698565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610c9b565b6001600160c01b03198116811461323d575f80fd5b5f6020828403121561378d575f80fd5b8135610ec781613768565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f60208301516137f560408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e084015261385d610120840182613798565b905060e0840151601f198483030161010085015261387b8282613798565b95945050505050565b5f8060408385031215613895575f80fd5b82356133de81613401565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261337460a0840182613798565b5f80604083850312156138fd575f80fd5b82356133de81613768565b5f8060408385031215613919575f80fd5b823561370681613229565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161399f60a0840182613924565b5060a083015160e080840152613374610100840182613798565b5f80604083850312156139ca575f80fd5b82356139d58161325b565b915060208301356133b781613401565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613a3c608084018215159052565b5060a0830151613a5060a084018215159052565b5060c0830151613a6460c084018215159052565b5092915050565b81516001600160401b03168152602082015160c082019060048110613a9257613a92613430565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c082019050613aee828451613924565b6020830151613b006040840182613924565b506040830151613b136080840182613924565b506060830151613b2660c0840182613924565b506080830151613b3a610100840182613924565b5060a0830151613b4e610140840182613924565b5060c0830151613a64610180840182613924565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526133746080840182613798565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613be0606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613c1d610100840182613798565b905060c0840151601f198483030160e085015261387b8282613798565b60208152613c546020820183516001600160601b03169052565b5f6020830151613c6f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613d86610220840182613798565b90506101e0840151601f198483030161020085015261387b8282613798565b60208152613dbf6020820183516001600160a01b03169052565b5f6020830151613dda60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613e64610160840182613798565b9050610120840151601f198483030161014085015261387b8282613798565b5f8060408385031215613e94575f80fd5b82356133de8161325b565b81516001600160601b0316815261024081016020830151613ecb60208401826001600160601b03169052565b506040830151613ee660408401826001600160601b03169052565b506060830151613f0160608401826001600160601b03169052565b506080830151613f1c60808401826001600160601b03169052565b5060a0830151613f3760a08401826001600160601b03169052565b5060c0830151613f5260c08401826001600160601b03169052565b5060e0830151613f6d60e08401826001600160601b03169052565b50610100830151613f8a6101008401826001600160601b03169052565b50610120830151613fa76101208401826001600160601b03169052565b50610140830151613fc46101408401826001600160601b03169052565b50610160830151613fe16101608401826001600160601b03169052565b50610180830151613ffe6101808401826001600160601b03169052565b506101a083015161401b6101a08401826001600160601b03169052565b506101c08301516140386101c08401826001600160601b03169052565b506101e08301516140556101e08401826001600160601b03169052565b506102008301516140726102008401826001600160601b03169052565b50610220830151613a646102208401826001600160601b03169052565b62ffffff8116811461323d575f80fd5b5f80604083850312156140b0575f80fd5b82356140bb8161337c565b915060208301356133b78161408f565b5f80604083850312156140dc575f80fd5b82356140e781613229565b915060208301356133b781613768565b602081525f8251604060208401526141126060840182613798565b602094909401516001600160a01b0316604093909301929092525090919050565b64ffffffffff8116811461323d575f80fd5b5f8060408385031215614156575f80fd5b823561416181613229565b915060208301356133b781614133565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261337460c0840182613798565b602081526141e96020820183516001600160601b03169052565b5f602083015161420460408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152614254610120840182613798565b905060c0840151601f198483030160e08501526142718282613798565b91505060e0840151601f198483030161010085015261387b8282613798565b805161429b81613229565b919050565b5f602082840312156142b0575f80fd5b8151610ec781613229565b5f602082840312156142cb575f80fd5b5051919050565b60ff8116811461323d575f80fd5b805161429b816142d2565b5f602082840312156142fb575f80fd5b8151610ec7816142d2565b8051801515811461429b575f80fd5b5f82601f830112614324575f80fd5b81516001600160401b0381111561433d5761433d6134d0565b8060051b61434d60208201613642565b91825260208185018101929081019086841115614368575f80fd5b6020860192505b8383101561439357825161438281613229565b82526020928301929091019061436f565b9695505050505050565b5f602082840312156143ad575f80fd5b81516001600160401b038111156143c2575f80fd5b820161010081850312156143d4575f80fd5b6143dc6134e4565b6143e582614306565b81526143f360208301614306565b602082015261440460408301614306565b6040820152614415606083016142e0565b6060820152614426608083016142e0565b608082015261443760a08301614290565b60a082015261444860c08301614290565b60c082015260e08201516001600160401b03811115614465575f80fd5b61447186828501614315565b60e083015250949350505050565b805161429b81613768565b5f6020828403121561449a575f80fd5b8151610ec781613768565b805161429b81614133565b5f60808284031280156144c1575f80fd5b506144ca61350d565b825181526020830151600781106144df575f80fd5b602082015260408301516144f28161325b565b6040820152606083015161450581614133565b60608201529392505050565b805161429b81613401565b5f6020828403121561452c575f80fd5b8151610ec781613401565b63ffffffff60e01b83168152604060208201525f6133746040830184613798565b5f60608284031215614568575f80fd5b61457061352f565b825181526020830151909150614585816134bb565b6020820152604082015161459881614133565b604082015292915050565b5f606082840312156145b3575f80fd5b610ec78383614558565b805163ffffffff8116811461429b575f80fd5b5f82601f8301126145df575f80fd5b8151602083015f6145f26136b584613672565b9050828152858383011115614605575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561462f575f80fd5b81516001600160401b03811115614644575f80fd5b82016101008185031215614656575f80fd5b61465e6134e4565b61466782614290565b815261467560208301614290565b6020820152614686604083016145bd565b6040820152614697606083016145bd565b60608201526146a860808301614511565b60808201526146b960a083016144a5565b60a082015260c08201516001600160401b038111156146d6575f80fd5b6146e2868285016145d0565b60c08301525060e08201516001600160401b03811115614700575f80fd5b614471868285016145d0565b5f806080838503121561471d575f80fd5b6147278484614558565b915060608301516133b78161325b565b5f60208284031215614747575f80fd5b81516001600160401b0381111561475c575f80fd5b82016080818503121561476d575f80fd5b61477561350d565b815161478081613768565b815261478e60208301614306565b602082015261479f604083016145bd565b604082015260608201516001600160401b038111156147bc575f80fd5b6147c8868285016145d0565b606083015250949350505050565b6001600160601b0383168152604060208201525f6133746040830184613798565b5f60208284031215614807575f80fd5b8151610ec78161325b565b5f60408284031215614822575f80fd5b61482a613551565b9050815161483781613401565b8152602082015161484781613229565b602082015292915050565b5f60208284031215614862575f80fd5b81516001600160401b03811115614877575f80fd5b820160e08185031215614888575f80fd5b614890613573565b815161489b81614133565b815260208201516148ab81614133565b60208201526148bc604083016144a5565b60408201526148cd60608301614290565b60608201526148df8560808401614812565b608082015260c08201516001600160401b038111156148fc575f80fd5b614908868285016145d0565b60a083015250949350505050565b5f60208284031215614926575f80fd5b610ec782614306565b5f60e0828403128015614940575f80fd5b50614949613595565b825161495481613229565b8152602083015161496481613401565b6020820152604083015161497781613401565b604082015261498860608401614306565b606082015261499960808401614306565b60808201526149aa60a08401614306565b60a08201526149bb60c08401614306565b60c08201529392505050565b5f60c08284031280156149d8575f80fd5b506149e1613573565b82516149ec8161325b565b81526020830151600481106149ff575f80fd5b6020820152614a10604084016145bd565b60408201526060830151614a2381614133565b60608201526080830151614a3681614133565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015614a60575f80fd5b50614a69613595565b614a738484614812565b8152614a828460408501614812565b6020820152614a948460808501614812565b6040820152614aa68460c08501614812565b6060820152614ab9846101008501614812565b6080820152614acc846101408501614812565b60a08201526149bb846101808501614812565b5f60208284031215614aef575f80fd5b81516001600160401b03811115614b04575f80fd5b820160608185031215614b15575f80fd5b614b1d61352f565b8151614b2881613229565b81526020820151614b3881614133565b602082015260408201516001600160401b03811115614b55575f80fd5b614b61868285016145d0565b604083015250949350505050565b5f60208284031215614b7f575f80fd5b81516001600160401b03811115614b94575f80fd5b820160408185031215614ba5575f80fd5b614bad613551565b81516001600160401b03811115614bc2575f80fd5b614bce868285016145d0565b82525060208201519150614be182613401565b60208101919091529392505050565b5f6060828403128015614c01575f80fd5b50614c0a61352f565b8251614c15816142d2565b81526020830151614c25816142d2565b60208201526040830151614c3881614133565b60408201529392505050565b805161429b8161408f565b5f60208284031215614c5f575f80fd5b81516001600160401b03811115614c74575f80fd5b820160e08185031215614c85575f80fd5b614c8d613595565b614c9682614290565b8152614ca460208301614290565b6020820152614cb5604083016144a5565b6040820152614cc660608301614c44565b6060820152614cd760808301614c44565b608082015260a08201516001600160401b03811115614cf4575f80fd5b614d00868285016145d0565b60a08301525060c08201516001600160401b03811115614d1e575f80fd5b614d2a868285016145d0565b60c083015250949350505050565b5f8060408385031215614d49575f80fd5b8251614d5481613401565b60208401519092506133b7816142d2565b805161429b8161337c565b5f60208284031215614d80575f80fd5b81516001600160401b03811115614d95575f80fd5b82016102008185031215614da7575f80fd5b614daf6135b7565b614db882614290565b8152614dc660208301614290565b6020820152614dd76040830161447f565b6040820152614de860608301614290565b6060820152614df960808301614290565b6080820152614e0a60a0830161447f565b60a0820152614e1b60c08301614d65565b60c0820152614e2c60e08301614d65565b60e0820152614e3e6101008301614290565b610100820152614e516101208301614290565b610120820152614e6461014083016144a5565b610140820152614e7761016083016144a5565b610160820152614e8a61018083016144a5565b610180820152614e9d6101a083016144a5565b6101a08201526101c08201516001600160401b03811115614ebc575f80fd5b614ec8868285016145d0565b6101c0830152506101e08201516001600160401b03811115614ee8575f80fd5b614ef4868285016145d0565b6101e083015250949350505050565b5f60208284031215614f13575f80fd5b81516001600160401b03811115614f28575f80fd5b82016101408185031215614f3a575f80fd5b614f426135da565b614f4b82614511565b8152614f5960208301614290565b6020820152614f6a60408301614511565b6040820152614f7b606083016145bd565b6060820152614f8c608083016144a5565b6080820152614f9d60a08301614306565b60a0820152614fae60c08301614306565b60c0820152614fbf60e08301614511565b60e08201526101008201516001600160401b03811115614fdd575f80fd5b614fe9868285016145d0565b610100830152506101208201516001600160401b03811115615009575f80fd5b615015868285016145d0565b61012083015250949350505050565b5f610240828403128015615036575f80fd5b5061503f6135fd565b61504883614290565b815261505660208401614290565b602082015261506760408401614290565b604082015261507860608401614290565b606082015261508960808401614290565b608082015261509a60a08401614290565b60a08201526150ab60c08401614290565b60c08201526150bc60e08401614290565b60e08201526150ce6101008401614290565b6101008201526150e16101208401614290565b6101208201526150f46101408401614290565b6101408201526151076101608401614290565b61016082015261511a6101808401614290565b61018082015261512d6101a08401614290565b6101a08201526151406101c08401614290565b6101c08201526151536101e08401614290565b6101e08201526151666102008401614290565b6102008201526151796102208401614290565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610c9b57610c9b615186565b5f602082840312156151c5575f80fd5b8151610ec781614133565b80820180821115610c9b57610c9b615186565b5f602082840312156151f3575f80fd5b8151610ec78161337c565b5f6020828403121561520e575f80fd5b81516001600160401b03811115615223575f80fd5b820160a08185031215615234575f80fd5b61523c613620565b81516152478161337c565b8152602082015161525781613229565b6020820152604082015161526a81614133565b6040820152606082015161527d81613401565b606082015260808201516001600160401b0381111561529a575f80fd5b6152a6868285016145d0565b608083015250949350505050565b5f602082840312156152c4575f80fd5b81516001600160401b038111156152d9575f80fd5b820161010081850312156152eb575f80fd5b6152f36134e4565b6152fc82614290565b815261530a60208301614290565b602082015261531b60408301614306565b604082015261532c606083016144a5565b606082015261533d608083016144a5565b608082015260a08201516001600160401b0381111561535a575f80fd5b615366868285016145d0565b60a08301525060c08201516001600160401b038111156146d6575f80fdfea26469706673582212203a575f01a95090163229305fd34fed9dbaae1e416d5500218aeac3ee16800e6a64736f6c634300081a0033",
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$__906368aebf7b90602401602060405180830381865af415801561312d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c091906147f7565b6040805161012081019091525f60e082018181526101008301919091528190815260200161318e604080518082019091525f808252602082015290565b81526020016131ac604080518082019091525f808252602082015290565b81526020016131ca604080518082019091525f808252602082015290565b81526020016131e8604080518082019091525f808252602082015290565b8152602001613206604080518082019091525f808252602082015290565b8152602001613224604080518082019091525f808252602082015290565b905290565b6001600160601b038116811461323d575f80fd5b50565b5f60208284031215613250575f80fd5b8135610ec781613229565b6001600160401b038116811461323d575f80fd5b5f6020828403121561327f575f80fd5b8135610ec78161325b565b5f6020828403121561329a575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156132da5781516001600160601b03168652602095860195909101906001016132b3565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613311606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526133746101208401826132a1565b949350505050565b61ffff8116811461323d575f80fd5b5f806040838503121561339c575f80fd5b82356133a781613229565b915060208301356133b78161337c565b809150509250929050565b5f80604083850312156133d3575f80fd5b82356133de81613229565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b038116811461323d575f80fd5b5f60208284031215613425575f80fd5b8135610ec781613401565b634e487b7160e01b5f52602160045260245ffd5b81518152602082015160808201906007811061346257613462613430565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f80604083850312156134a4575f80fd5b8235915060208301355f81900b81146133b7575f80fd5b6001600160e01b03198116811461323d575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b0381118282101715613507576135076134d0565b60405290565b604051608081016001600160401b0381118282101715613507576135076134d0565b604051606081016001600160401b0381118282101715613507576135076134d0565b604080519081016001600160401b0381118282101715613507576135076134d0565b60405160c081016001600160401b0381118282101715613507576135076134d0565b60405160e081016001600160401b0381118282101715613507576135076134d0565b60405161020081016001600160401b0381118282101715613507576135076134d0565b60405161014081016001600160401b0381118282101715613507576135076134d0565b60405161024081016001600160401b0381118282101715613507576135076134d0565b60405160a081016001600160401b0381118282101715613507576135076134d0565b604051601f8201601f191681016001600160401b038111828210171561366a5761366a6134d0565b604052919050565b5f6001600160401b0382111561368a5761368a6134d0565b50601f01601f191660200190565b5f82601f8301126136a7575f80fd5b81356136ba6136b582613672565b613642565b8181528460208386010111156136ce575f80fd5b816020850160208301375f918101602001919091529392505050565b5f80604083850312156136fb575f80fd5b8235613706816134bb565b915060208301356001600160401b03811115613720575f80fd5b61372c85828601613698565b9150509250929050565b815181526020808301516001600160e01b0319169082015260408083015164ffffffffff169082015260608101610c9b565b6001600160c01b03198116811461323d575f80fd5b5f6020828403121561378d575f80fd5b8135610ec781613768565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f60208301516137f560408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e084015261385d610120840182613798565b905060e0840151601f198483030161010085015261387b8282613798565b95945050505050565b5f8060408385031215613895575f80fd5b82356133de81613401565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261337460a0840182613798565b5f80604083850312156138fd575f80fd5b82356133de81613768565b5f8060408385031215613919575f80fd5b823561370681613229565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f608083015161399f60a0840182613924565b5060a083015160e080840152613374610100840182613798565b5f80604083850312156139ca575f80fd5b82356139d58161325b565b915060208301356133b781613401565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151613a3c608084018215159052565b5060a0830151613a5060a084018215159052565b5060c0830151613a6460c084018215159052565b5092915050565b81516001600160401b03168152602082015160c082019060048110613a9257613a92613430565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c082019050613aee828451613924565b6020830151613b006040840182613924565b506040830151613b136080840182613924565b506060830151613b2660c0840182613924565b506080830151613b3a610100840182613924565b5060a0830151613b4e610140840182613924565b5060c0830151613a64610180840182613924565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526133746080840182613798565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613be0606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613c1d610100840182613798565b905060c0840151601f198483030160e085015261387b8282613798565b60208152613c546020820183516001600160601b03169052565b5f6020830151613c6f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e0840152613d86610220840182613798565b90506101e0840151601f198483030161020085015261387b8282613798565b60208152613dbf6020820183516001600160a01b03169052565b5f6020830151613dda60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b03811661010084015250610100830151610140610120840152613e64610160840182613798565b9050610120840151601f198483030161014085015261387b8282613798565b5f8060408385031215613e94575f80fd5b82356133de8161325b565b81516001600160601b0316815261024081016020830151613ecb60208401826001600160601b03169052565b506040830151613ee660408401826001600160601b03169052565b506060830151613f0160608401826001600160601b03169052565b506080830151613f1c60808401826001600160601b03169052565b5060a0830151613f3760a08401826001600160601b03169052565b5060c0830151613f5260c08401826001600160601b03169052565b5060e0830151613f6d60e08401826001600160601b03169052565b50610100830151613f8a6101008401826001600160601b03169052565b50610120830151613fa76101208401826001600160601b03169052565b50610140830151613fc46101408401826001600160601b03169052565b50610160830151613fe16101608401826001600160601b03169052565b50610180830151613ffe6101808401826001600160601b03169052565b506101a083015161401b6101a08401826001600160601b03169052565b506101c08301516140386101c08401826001600160601b03169052565b506101e08301516140556101e08401826001600160601b03169052565b506102008301516140726102008401826001600160601b03169052565b50610220830151613a646102208401826001600160601b03169052565b62ffffff8116811461323d575f80fd5b5f80604083850312156140b0575f80fd5b82356140bb8161337c565b915060208301356133b78161408f565b5f80604083850312156140dc575f80fd5b82356140e781613229565b915060208301356133b781613768565b602081525f8251604060208401526141126060840182613798565b602094909401516001600160a01b0316604093909301929092525090919050565b64ffffffffff8116811461323d575f80fd5b5f8060408385031215614156575f80fd5b823561416181613229565b915060208301356133b781614133565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261337460c0840182613798565b602081526141e96020820183516001600160601b03169052565b5f602083015161420460408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152614254610120840182613798565b905060c0840151601f198483030160e08501526142718282613798565b91505060e0840151601f198483030161010085015261387b8282613798565b805161429b81613229565b919050565b5f602082840312156142b0575f80fd5b8151610ec781613229565b5f602082840312156142cb575f80fd5b5051919050565b60ff8116811461323d575f80fd5b805161429b816142d2565b5f602082840312156142fb575f80fd5b8151610ec7816142d2565b8051801515811461429b575f80fd5b5f82601f830112614324575f80fd5b81516001600160401b0381111561433d5761433d6134d0565b8060051b61434d60208201613642565b91825260208185018101929081019086841115614368575f80fd5b6020860192505b8383101561439357825161438281613229565b82526020928301929091019061436f565b9695505050505050565b5f602082840312156143ad575f80fd5b81516001600160401b038111156143c2575f80fd5b820161010081850312156143d4575f80fd5b6143dc6134e4565b6143e582614306565b81526143f360208301614306565b602082015261440460408301614306565b6040820152614415606083016142e0565b6060820152614426608083016142e0565b608082015261443760a08301614290565b60a082015261444860c08301614290565b60c082015260e08201516001600160401b03811115614465575f80fd5b61447186828501614315565b60e083015250949350505050565b805161429b81613768565b5f6020828403121561449a575f80fd5b8151610ec781613768565b805161429b81614133565b5f60808284031280156144c1575f80fd5b506144ca61350d565b825181526020830151600781106144df575f80fd5b602082015260408301516144f28161325b565b6040820152606083015161450581614133565b60608201529392505050565b805161429b81613401565b5f6020828403121561452c575f80fd5b8151610ec781613401565b63ffffffff60e01b83168152604060208201525f6133746040830184613798565b5f60608284031215614568575f80fd5b61457061352f565b825181526020830151909150614585816134bb565b6020820152604082015161459881614133565b604082015292915050565b5f606082840312156145b3575f80fd5b610ec78383614558565b805163ffffffff8116811461429b575f80fd5b5f82601f8301126145df575f80fd5b8151602083015f6145f26136b584613672565b9050828152858383011115614605575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561462f575f80fd5b81516001600160401b03811115614644575f80fd5b82016101008185031215614656575f80fd5b61465e6134e4565b61466782614290565b815261467560208301614290565b6020820152614686604083016145bd565b6040820152614697606083016145bd565b60608201526146a860808301614511565b60808201526146b960a083016144a5565b60a082015260c08201516001600160401b038111156146d6575f80fd5b6146e2868285016145d0565b60c08301525060e08201516001600160401b03811115614700575f80fd5b614471868285016145d0565b5f806080838503121561471d575f80fd5b6147278484614558565b915060608301516133b78161325b565b5f60208284031215614747575f80fd5b81516001600160401b0381111561475c575f80fd5b82016080818503121561476d575f80fd5b61477561350d565b815161478081613768565b815261478e60208301614306565b602082015261479f604083016145bd565b604082015260608201516001600160401b038111156147bc575f80fd5b6147c8868285016145d0565b606083015250949350505050565b6001600160601b0383168152604060208201525f6133746040830184613798565b5f60208284031215614807575f80fd5b8151610ec78161325b565b5f60408284031215614822575f80fd5b61482a613551565b9050815161483781613401565b8152602082015161484781613229565b602082015292915050565b5f60208284031215614862575f80fd5b81516001600160401b03811115614877575f80fd5b820160e08185031215614888575f80fd5b614890613573565b815161489b81614133565b815260208201516148ab81614133565b60208201526148bc604083016144a5565b60408201526148cd60608301614290565b60608201526148df8560808401614812565b608082015260c08201516001600160401b038111156148fc575f80fd5b614908868285016145d0565b60a083015250949350505050565b5f60208284031215614926575f80fd5b610ec782614306565b5f60e0828403128015614940575f80fd5b50614949613595565b825161495481613229565b8152602083015161496481613401565b6020820152604083015161497781613401565b604082015261498860608401614306565b606082015261499960808401614306565b60808201526149aa60a08401614306565b60a08201526149bb60c08401614306565b60c08201529392505050565b5f60c08284031280156149d8575f80fd5b506149e1613573565b82516149ec8161325b565b81526020830151600481106149ff575f80fd5b6020820152614a10604084016145bd565b60408201526060830151614a2381614133565b60608201526080830151614a3681614133565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015614a60575f80fd5b50614a69613595565b614a738484614812565b8152614a828460408501614812565b6020820152614a948460808501614812565b6040820152614aa68460c08501614812565b6060820152614ab9846101008501614812565b6080820152614acc846101408501614812565b60a08201526149bb846101808501614812565b5f60208284031215614aef575f80fd5b81516001600160401b03811115614b04575f80fd5b820160608185031215614b15575f80fd5b614b1d61352f565b8151614b2881613229565b81526020820151614b3881614133565b602082015260408201516001600160401b03811115614b55575f80fd5b614b61868285016145d0565b604083015250949350505050565b5f60208284031215614b7f575f80fd5b81516001600160401b03811115614b94575f80fd5b820160408185031215614ba5575f80fd5b614bad613551565b81516001600160401b03811115614bc2575f80fd5b614bce868285016145d0565b82525060208201519150614be182613401565b60208101919091529392505050565b5f6060828403128015614c01575f80fd5b50614c0a61352f565b8251614c15816142d2565b81526020830151614c25816142d2565b60208201526040830151614c3881614133565b60408201529392505050565b805161429b8161408f565b5f60208284031215614c5f575f80fd5b81516001600160401b03811115614c74575f80fd5b820160e08185031215614c85575f80fd5b614c8d613595565b614c9682614290565b8152614ca460208301614290565b6020820152614cb5604083016144a5565b6040820152614cc660608301614c44565b6060820152614cd760808301614c44565b608082015260a08201516001600160401b03811115614cf4575f80fd5b614d00868285016145d0565b60a08301525060c08201516001600160401b03811115614d1e575f80fd5b614d2a868285016145d0565b60c083015250949350505050565b5f8060408385031215614d49575f80fd5b8251614d5481613401565b60208401519092506133b7816142d2565b805161429b8161337c565b5f60208284031215614d80575f80fd5b81516001600160401b03811115614d95575f80fd5b82016102008185031215614da7575f80fd5b614daf6135b7565b614db882614290565b8152614dc660208301614290565b6020820152614dd76040830161447f565b6040820152614de860608301614290565b6060820152614df960808301614290565b6080820152614e0a60a0830161447f565b60a0820152614e1b60c08301614d65565b60c0820152614e2c60e08301614d65565b60e0820152614e3e6101008301614290565b610100820152614e516101208301614290565b610120820152614e6461014083016144a5565b610140820152614e7761016083016144a5565b610160820152614e8a61018083016144a5565b610180820152614e9d6101a083016144a5565b6101a08201526101c08201516001600160401b03811115614ebc575f80fd5b614ec8868285016145d0565b6101c0830152506101e08201516001600160401b03811115614ee8575f80fd5b614ef4868285016145d0565b6101e083015250949350505050565b5f60208284031215614f13575f80fd5b81516001600160401b03811115614f28575f80fd5b82016101408185031215614f3a575f80fd5b614f426135da565b614f4b82614511565b8152614f5960208301614290565b6020820152614f6a60408301614511565b6040820152614f7b606083016145bd565b6060820152614f8c608083016144a5565b6080820152614f9d60a08301614306565b60a0820152614fae60c08301614306565b60c0820152614fbf60e08301614511565b60e08201526101008201516001600160401b03811115614fdd575f80fd5b614fe9868285016145d0565b610100830152506101208201516001600160401b03811115615009575f80fd5b615015868285016145d0565b61012083015250949350505050565b5f610240828403128015615036575f80fd5b5061503f6135fd565b61504883614290565b815261505660208401614290565b602082015261506760408401614290565b604082015261507860608401614290565b606082015261508960808401614290565b608082015261509a60a08401614290565b60a08201526150ab60c08401614290565b60c08201526150bc60e08401614290565b60e08201526150ce6101008401614290565b6101008201526150e16101208401614290565b6101208201526150f46101408401614290565b6101408201526151076101608401614290565b61016082015261511a6101808401614290565b61018082015261512d6101a08401614290565b6101a08201526151406101c08401614290565b6101c08201526151536101e08401614290565b6101e08201526151666102008401614290565b6102008201526151796102208401614290565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610c9b57610c9b615186565b5f602082840312156151c5575f80fd5b8151610ec781614133565b80820180821115610c9b57610c9b615186565b5f602082840312156151f3575f80fd5b8151610ec78161337c565b5f6020828403121561520e575f80fd5b81516001600160401b03811115615223575f80fd5b820160a08185031215615234575f80fd5b61523c613620565b81516152478161337c565b8152602082015161525781613229565b6020820152604082015161526a81614133565b6040820152606082015161527d81613401565b606082015260808201516001600160401b0381111561529a575f80fd5b6152a6868285016145d0565b608083015250949350505050565b5f602082840312156152c4575f80fd5b81516001600160401b038111156152d9575f80fd5b820161010081850312156152eb575f80fd5b6152f36134e4565b6152fc82614290565b815261530a60208301614290565b602082015261531b60408301614306565b604082015261532c606083016144a5565b606082015261533d608083016144a5565b608082015260a08201516001600160401b0381111561535a575f80fd5b615366868285016145d0565b60a08301525060c08201516001600160401b038111156146d6575f80fdfea26469706673582212203a575f01a95090163229305fd34fed9dbaae1e416d5500218aeac3ee16800e6a64736f6c634300081a0033",
1093
2315
  "linkReferences": {
1094
- "contracts/types/DistributorType.sol": {
1095
- "DistributorTypeLib": [
2316
+ "contracts/authorization/AccessAdminLib.sol": {
2317
+ "AccessAdminLib": [
1096
2318
  {
1097
2319
  "length": 20,
1098
- "start": 5244
2320
+ "start": 4239
1099
2321
  }
1100
2322
  ]
1101
2323
  },
1102
- "contracts/types/NftId.sol": {
1103
- "NftIdLib": [
2324
+ "contracts/product/PolicyServiceLib.sol": {
2325
+ "PolicyServiceLib": [
1104
2326
  {
1105
2327
  "length": 20,
1106
- "start": 1894
1107
- },
2328
+ "start": 9751
2329
+ }
2330
+ ]
2331
+ },
2332
+ "contracts/type/Amount.sol": {
2333
+ "AmountLib": [
1108
2334
  {
1109
2335
  "length": 20,
1110
- "start": 2274
1111
- },
2336
+ "start": 12310
2337
+ }
2338
+ ]
2339
+ },
2340
+ "contracts/type/ClaimId.sol": {
2341
+ "ClaimIdLib": [
1112
2342
  {
1113
2343
  "length": 20,
1114
- "start": 2669
2344
+ "start": 8083
1115
2345
  },
1116
2346
  {
1117
2347
  "length": 20,
1118
- "start": 2714
1119
- },
2348
+ "start": 11640
2349
+ }
2350
+ ]
2351
+ },
2352
+ "contracts/type/NftId.sol": {
2353
+ "NftIdLib": [
1120
2354
  {
1121
2355
  "length": 20,
1122
- "start": 2759
2356
+ "start": 12369
1123
2357
  },
1124
2358
  {
1125
2359
  "length": 20,
1126
- "start": 5471
2360
+ "start": 12461
1127
2361
  },
1128
2362
  {
1129
2363
  "length": 20,
1130
- "start": 6057
2364
+ "start": 12505
1131
2365
  }
1132
2366
  ]
1133
2367
  },
1134
- "contracts/types/Referral.sol": {
1135
- "ReferralLib": [
2368
+ "contracts/type/PayoutId.sol": {
2369
+ "PayoutIdLib": [
1136
2370
  {
1137
2371
  "length": 20,
1138
- "start": 1661
2372
+ "start": 11119
1139
2373
  },
1140
2374
  {
1141
2375
  "length": 20,
1142
- "start": 2333
2376
+ "start": 11539
1143
2377
  }
1144
2378
  ]
1145
2379
  },
1146
- "contracts/types/RiskId.sol": {
1147
- "RiskIdLib": [
2380
+ "contracts/type/Referral.sol": {
2381
+ "ReferralLib": [
1148
2382
  {
1149
2383
  "length": 20,
1150
- "start": 2874
2384
+ "start": 5416
1151
2385
  }
1152
2386
  ]
1153
2387
  },
1154
- "contracts/types/Timestamp.sol": {
1155
- "TimestampLib": [
2388
+ "contracts/type/RiskId.sol": {
2389
+ "RiskIdLib": [
1156
2390
  {
1157
2391
  "length": 20,
1158
- "start": 3929
1159
- },
2392
+ "start": 11807
2393
+ }
2394
+ ]
2395
+ },
2396
+ "contracts/type/RoleId.sol": {
2397
+ "RoleIdLib": [
1160
2398
  {
1161
2399
  "length": 20,
1162
- "start": 4160
2400
+ "start": 12570
1163
2401
  }
1164
2402
  ]
1165
2403
  },
1166
- "contracts/types/UFixed.sol": {
2404
+ "contracts/type/UFixed.sol": {
1167
2405
  "UFixedLib": [
1168
2406
  {
1169
2407
  "length": 20,
1170
- "start": 1451
1171
- },
1172
- {
1173
- "length": 20,
1174
- "start": 2465
1175
- },
1176
- {
1177
- "length": 20,
1178
- "start": 4030
1179
- },
1180
- {
1181
- "length": 20,
1182
- "start": 4289
2408
+ "start": 4059
1183
2409
  },
1184
2410
  {
1185
2411
  "length": 20,
1186
- "start": 4432
2412
+ "start": 10800
1187
2413
  }
1188
2414
  ]
1189
2415
  }
1190
2416
  },
1191
2417
  "deployedLinkReferences": {
1192
- "contracts/types/DistributorType.sol": {
1193
- "DistributorTypeLib": [
2418
+ "contracts/authorization/AccessAdminLib.sol": {
2419
+ "AccessAdminLib": [
1194
2420
  {
1195
2421
  "length": 20,
1196
- "start": 5212
2422
+ "start": 4202
1197
2423
  }
1198
2424
  ]
1199
2425
  },
1200
- "contracts/types/NftId.sol": {
1201
- "NftIdLib": [
2426
+ "contracts/product/PolicyServiceLib.sol": {
2427
+ "PolicyServiceLib": [
1202
2428
  {
1203
2429
  "length": 20,
1204
- "start": 1862
1205
- },
2430
+ "start": 9714
2431
+ }
2432
+ ]
2433
+ },
2434
+ "contracts/type/Amount.sol": {
2435
+ "AmountLib": [
1206
2436
  {
1207
2437
  "length": 20,
1208
- "start": 2242
1209
- },
2438
+ "start": 12273
2439
+ }
2440
+ ]
2441
+ },
2442
+ "contracts/type/ClaimId.sol": {
2443
+ "ClaimIdLib": [
1210
2444
  {
1211
2445
  "length": 20,
1212
- "start": 2637
2446
+ "start": 8046
1213
2447
  },
1214
2448
  {
1215
2449
  "length": 20,
1216
- "start": 2682
1217
- },
2450
+ "start": 11603
2451
+ }
2452
+ ]
2453
+ },
2454
+ "contracts/type/NftId.sol": {
2455
+ "NftIdLib": [
1218
2456
  {
1219
2457
  "length": 20,
1220
- "start": 2727
2458
+ "start": 12332
1221
2459
  },
1222
2460
  {
1223
2461
  "length": 20,
1224
- "start": 5439
2462
+ "start": 12424
1225
2463
  },
1226
2464
  {
1227
2465
  "length": 20,
1228
- "start": 6025
2466
+ "start": 12468
1229
2467
  }
1230
2468
  ]
1231
2469
  },
1232
- "contracts/types/Referral.sol": {
1233
- "ReferralLib": [
2470
+ "contracts/type/PayoutId.sol": {
2471
+ "PayoutIdLib": [
1234
2472
  {
1235
2473
  "length": 20,
1236
- "start": 1629
2474
+ "start": 11082
1237
2475
  },
1238
2476
  {
1239
2477
  "length": 20,
1240
- "start": 2301
2478
+ "start": 11502
1241
2479
  }
1242
2480
  ]
1243
2481
  },
1244
- "contracts/types/RiskId.sol": {
1245
- "RiskIdLib": [
2482
+ "contracts/type/Referral.sol": {
2483
+ "ReferralLib": [
1246
2484
  {
1247
2485
  "length": 20,
1248
- "start": 2842
2486
+ "start": 5379
1249
2487
  }
1250
2488
  ]
1251
2489
  },
1252
- "contracts/types/Timestamp.sol": {
1253
- "TimestampLib": [
2490
+ "contracts/type/RiskId.sol": {
2491
+ "RiskIdLib": [
1254
2492
  {
1255
2493
  "length": 20,
1256
- "start": 3897
1257
- },
2494
+ "start": 11770
2495
+ }
2496
+ ]
2497
+ },
2498
+ "contracts/type/RoleId.sol": {
2499
+ "RoleIdLib": [
1258
2500
  {
1259
2501
  "length": 20,
1260
- "start": 4128
2502
+ "start": 12533
1261
2503
  }
1262
2504
  ]
1263
2505
  },
1264
- "contracts/types/UFixed.sol": {
2506
+ "contracts/type/UFixed.sol": {
1265
2507
  "UFixedLib": [
1266
2508
  {
1267
2509
  "length": 20,
1268
- "start": 1419
1269
- },
1270
- {
1271
- "length": 20,
1272
- "start": 2433
1273
- },
1274
- {
1275
- "length": 20,
1276
- "start": 3998
1277
- },
1278
- {
1279
- "length": 20,
1280
- "start": 4257
2510
+ "start": 4022
1281
2511
  },
1282
2512
  {
1283
2513
  "length": 20,
1284
- "start": 4400
2514
+ "start": 10763
1285
2515
  }
1286
2516
  ]
1287
2517
  }