@etherisc/gif-next 0.0.2-ebf1a6b-485 → 0.0.2-ec19f94-589

Sign up to get free protection for your applications and to get access to all the features.
Files changed (723) hide show
  1. package/README.md +139 -93
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1850 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +950 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +304 -285
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1285 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1480 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2471 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +644 -1920
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +660 -93
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +660 -2680
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1998 -707
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +601 -325
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +201 -122
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/IOracleComponent.sol/IOracleComponent.json} +240 -242
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +387 -144
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +326 -527
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1454 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +870 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1041 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +432 -436
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → product/BasicProduct.sol/BasicProduct.json} +475 -595
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1552 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +243 -147
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IRiskService.sol/IRiskService.json} +224 -204
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/{components → product}/Product.sol/Product.json +472 -454
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +780 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +512 -28
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +306 -124
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +996 -121
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +381 -260
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +212 -109
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +268 -85
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +271 -236
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +177 -18
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +47 -70
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +145 -100
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +163 -106
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +119 -66
  390. package/contracts/instance/IInstanceService.sol +83 -26
  391. package/contracts/instance/Instance.sol +255 -200
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +530 -191
  395. package/contracts/instance/InstanceService.sol +384 -375
  396. package/contracts/instance/InstanceServiceManager.sol +14 -29
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +118 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -10
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -12
  408. package/contracts/instance/module/IPolicy.sol +71 -38
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +173 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  421. package/contracts/pool/BundleService.sol +406 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +121 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +343 -0
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +641 -0
  435. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  436. package/contracts/{instance/service → product}/IApplicationService.sol +41 -35
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +37 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +472 -0
  448. package/contracts/product/RiskService.sol +163 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +83 -36
  451. package/contracts/registry/IRegistry.sol +106 -30
  452. package/contracts/registry/IRegistryService.sol +36 -41
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +478 -206
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +90 -132
  459. package/contracts/registry/RegistryServiceManager.sol +23 -32
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +263 -65
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +679 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +111 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +6 -2
  475. package/contracts/shared/IPolicyHolder.sol +23 -14
  476. package/contracts/shared/IRegisterable.sol +22 -1
  477. package/contracts/shared/IRegistryLinked.sol +0 -1
  478. package/contracts/shared/IService.sol +12 -7
  479. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +36 -27
  485. package/contracts/shared/PolicyHolder.sol +23 -41
  486. package/contracts/shared/Registerable.sol +52 -20
  487. package/contracts/shared/RegistryLinked.sol +9 -19
  488. package/contracts/shared/Service.sol +38 -29
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/{types → type}/ClaimId.sol +31 -3
  506. package/contracts/type/Fee.sol +66 -0
  507. package/contracts/{types → type}/Key32.sol +2 -2
  508. package/contracts/type/Key32Set.sol +62 -0
  509. package/contracts/{types → type}/NftId.sol +28 -15
  510. package/contracts/{types → type}/NftIdSet.sol +2 -2
  511. package/contracts/type/ObjectType.sol +307 -0
  512. package/contracts/type/PayoutId.sol +82 -0
  513. package/contracts/{types → type}/Referral.sol +6 -1
  514. package/contracts/type/RequestId.sol +75 -0
  515. package/contracts/type/RiskId.sol +75 -0
  516. package/contracts/type/RoleId.sol +180 -0
  517. package/contracts/type/Seconds.sol +105 -0
  518. package/contracts/type/Selector.sol +107 -0
  519. package/contracts/{types → type}/StateId.sol +48 -4
  520. package/contracts/type/String.sol +65 -0
  521. package/contracts/{types → type}/Timestamp.sol +21 -6
  522. package/contracts/type/UFixed.sol +262 -0
  523. package/contracts/{types → type}/Version.sol +59 -7
  524. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  525. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  526. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  527. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  528. package/package.json +12 -8
  529. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  530. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  531. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  536. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  537. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  538. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  539. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  540. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  541. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  542. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  543. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  544. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  546. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  547. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  548. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  549. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  552. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  553. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  554. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
  557. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  558. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  559. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
  561. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  563. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  565. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  567. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1553
  569. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -793
  571. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +0 -633
  574. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
  576. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -858
  578. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
  581. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -384
  583. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1000
  585. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  587. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  589. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  591. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  593. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  595. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  596. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  597. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  598. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  599. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  600. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  601. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  602. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  603. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  604. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  605. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  606. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  607. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  608. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  610. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  611. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  612. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  613. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  614. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  615. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  617. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  619. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  620. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  621. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  622. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  623. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  624. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  625. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  626. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  627. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  629. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  631. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  633. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  635. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  637. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  638. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  639. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  641. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  642. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  643. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  645. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  646. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  647. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  649. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  651. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  653. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  655. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  657. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  659. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  661. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  663. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  665. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  667. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  669. package/contracts/components/Component.sol +0 -221
  670. package/contracts/components/Distribution.sol +0 -293
  671. package/contracts/components/IComponent.sol +0 -68
  672. package/contracts/components/IDistributionComponent.sol +0 -79
  673. package/contracts/components/IPoolComponent.sol +0 -151
  674. package/contracts/components/IProductComponent.sol +0 -40
  675. package/contracts/components/Pool.sol +0 -378
  676. package/contracts/components/Product.sol +0 -289
  677. package/contracts/instance/BundleManager.sol +0 -125
  678. package/contracts/instance/InstanceAccessManager.sol +0 -297
  679. package/contracts/instance/ObjectManager.sol +0 -84
  680. package/contracts/instance/base/ComponentService.sol +0 -134
  681. package/contracts/instance/base/KeyValueStore.sol +0 -172
  682. package/contracts/instance/base/Lifecycle.sol +0 -100
  683. package/contracts/instance/module/IAccess.sol +0 -47
  684. package/contracts/instance/module/ISetup.sol +0 -46
  685. package/contracts/instance/module/ITreasury.sol +0 -23
  686. package/contracts/instance/service/ApplicationService.sol +0 -349
  687. package/contracts/instance/service/BundleService.sol +0 -299
  688. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  689. package/contracts/instance/service/ClaimService.sol +0 -151
  690. package/contracts/instance/service/DistributionService.sol +0 -394
  691. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  692. package/contracts/instance/service/IBundleService.sol +0 -55
  693. package/contracts/instance/service/IClaimService.sol +0 -61
  694. package/contracts/instance/service/IDistributionService.sol +0 -86
  695. package/contracts/instance/service/IPolicyService.sol +0 -70
  696. package/contracts/instance/service/IPoolService.sol +0 -20
  697. package/contracts/instance/service/IProductService.sol +0 -40
  698. package/contracts/instance/service/PolicyService.sol +0 -402
  699. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  700. package/contracts/instance/service/PoolService.sol +0 -109
  701. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  702. package/contracts/instance/service/ProductService.sol +0 -233
  703. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  704. package/contracts/registry/RegistryAccessManager.sol +0 -216
  705. package/contracts/registry/ReleaseManager.sol +0 -322
  706. package/contracts/shared/ContractDeployerLib.sol +0 -72
  707. package/contracts/test/TestFee.sol +0 -25
  708. package/contracts/test/TestRegisterable.sol +0 -18
  709. package/contracts/test/TestRoleId.sol +0 -14
  710. package/contracts/test/TestService.sol +0 -25
  711. package/contracts/test/TestToken.sol +0 -26
  712. package/contracts/test/TestVersion.sol +0 -44
  713. package/contracts/test/TestVersionable.sol +0 -17
  714. package/contracts/types/ChainId.sol +0 -38
  715. package/contracts/types/Fee.sol +0 -56
  716. package/contracts/types/NumberId.sol +0 -52
  717. package/contracts/types/ObjectType.sol +0 -156
  718. package/contracts/types/PayoutId.sol +0 -54
  719. package/contracts/types/RiskId.sol +0 -43
  720. package/contracts/types/RoleId.sol +0 -95
  721. package/contracts/types/Seconds.sol +0 -54
  722. package/contracts/types/UFixed.sol +0 -325
  723. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -44,60 +44,192 @@
44
44
  {
45
45
  "inputs": [
46
46
  {
47
- "internalType": "ObjectType",
48
- "name": "objectType",
49
- "type": "uint8"
50
- },
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
51
57
  {
52
- "internalType": "StateId",
53
- "name": "fromStateId",
54
- "type": "uint8"
55
- },
58
+ "internalType": "address",
59
+ "name": "instanceBundleSet",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorInstanceBundleSetAlreadySet",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
56
68
  {
57
- "internalType": "StateId",
58
- "name": "toStateId",
59
- "type": "uint8"
69
+ "internalType": "address",
70
+ "name": "instanceAuthority",
71
+ "type": "address"
60
72
  }
61
73
  ],
62
- "name": "ErrorInvalidStateTransition",
74
+ "name": "ErrorInstanceBundleSetAuthorityMismatch",
63
75
  "type": "error"
64
76
  },
65
77
  {
66
78
  "inputs": [
67
79
  {
68
- "internalType": "NftId",
69
- "name": "nftId",
70
- "type": "uint96"
80
+ "internalType": "address",
81
+ "name": "instance",
82
+ "type": "address"
71
83
  }
72
84
  ],
73
- "name": "ErrorNftOwnableAlreadyLinked",
85
+ "name": "ErrorInstanceBundleSetInstanceMismatch",
74
86
  "type": "error"
75
87
  },
76
88
  {
77
89
  "inputs": [
78
90
  {
79
91
  "internalType": "address",
80
- "name": "contractAddress",
92
+ "name": "instanceAdmin",
81
93
  "type": "address"
82
94
  }
83
95
  ],
84
- "name": "ErrorNftOwnableContractNotRegistered",
96
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [
101
+ {
102
+ "internalType": "address",
103
+ "name": "instanceAuthority",
104
+ "type": "address"
105
+ }
106
+ ],
107
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
85
108
  "type": "error"
86
109
  },
87
110
  {
88
111
  "inputs": [],
89
- "name": "ErrorNftOwnableInitialOwnerZero",
112
+ "name": "ErrorInstanceInstanceAdminZero",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "instanceAuthority",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "instanceStore",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
139
+ {
140
+ "internalType": "address",
141
+ "name": "instanceAuthority",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "RoleId",
152
+ "name": "roleId",
153
+ "type": "uint64"
154
+ }
155
+ ],
156
+ "name": "ErrorInstanceNotCustomRole",
90
157
  "type": "error"
91
158
  },
92
159
  {
93
160
  "inputs": [
161
+ {
162
+ "internalType": "RoleId",
163
+ "name": "roleId",
164
+ "type": "uint64"
165
+ },
94
166
  {
95
167
  "internalType": "address",
96
168
  "name": "account",
97
169
  "type": "address"
98
170
  }
99
171
  ],
100
- "name": "ErrorNftOwnableNotOwner",
172
+ "name": "ErrorInstanceNotRoleAdmin",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "address",
179
+ "name": "instanceRiskSet",
180
+ "type": "address"
181
+ }
182
+ ],
183
+ "name": "ErrorInstanceRiskSetAlreadySet",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "address",
190
+ "name": "instanceAuthority",
191
+ "type": "address"
192
+ }
193
+ ],
194
+ "name": "ErrorInstanceRiskSetAuthorityMismatch",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "instance",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorInstanceRiskSetInstanceMismatch",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "NftId",
212
+ "name": "nftId",
213
+ "type": "uint96"
214
+ }
215
+ ],
216
+ "name": "ErrorNftOwnableAlreadyLinked",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "address",
223
+ "name": "contractAddress",
224
+ "type": "address"
225
+ }
226
+ ],
227
+ "name": "ErrorNftOwnableContractNotRegistered",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorNftOwnableInitialOwnerZero",
101
233
  "type": "error"
102
234
  },
103
235
  {
@@ -109,11 +241,22 @@
109
241
  },
110
242
  {
111
243
  "internalType": "ObjectType",
112
- "name": "objectType",
244
+ "name": "expectedObjectType",
113
245
  "type": "uint8"
114
246
  }
115
247
  ],
116
- "name": "ErrorNoLifecycle",
248
+ "name": "ErrorNftOwnableInvalidType",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [
253
+ {
254
+ "internalType": "address",
255
+ "name": "account",
256
+ "type": "address"
257
+ }
258
+ ],
259
+ "name": "ErrorNftOwnableNotOwner",
117
260
  "type": "error"
118
261
  },
119
262
  {
@@ -127,6 +270,11 @@
127
270
  "name": "ErrorNotRegistry",
128
271
  "type": "error"
129
272
  },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorRegisterableNotActive",
276
+ "type": "error"
277
+ },
130
278
  {
131
279
  "inputs": [],
132
280
  "name": "InvalidInitialization",
@@ -168,36 +316,24 @@
168
316
  "inputs": [
169
317
  {
170
318
  "indexed": false,
171
- "internalType": "ObjectType",
172
- "name": "objectType",
173
- "type": "uint8"
174
- },
175
- {
176
- "indexed": false,
177
- "internalType": "KeyId",
178
- "name": "keyId",
179
- "type": "bytes31"
180
- },
181
- {
182
- "indexed": false,
183
- "internalType": "StateId",
184
- "name": "state",
185
- "type": "uint8"
319
+ "internalType": "RoleId",
320
+ "name": "roleId",
321
+ "type": "uint64"
186
322
  },
187
323
  {
188
324
  "indexed": false,
189
- "internalType": "address",
190
- "name": "createdBy",
191
- "type": "address"
325
+ "internalType": "bool",
326
+ "name": "active",
327
+ "type": "bool"
192
328
  },
193
329
  {
194
330
  "indexed": false,
195
331
  "internalType": "address",
196
- "name": "txOrigin",
332
+ "name": "caller",
197
333
  "type": "address"
198
334
  }
199
335
  ],
200
- "name": "LogInfoCreated",
336
+ "name": "LogInstanceCustomRoleActiveSet",
201
337
  "type": "event"
202
338
  },
203
339
  {
@@ -205,42 +341,55 @@
205
341
  "inputs": [
206
342
  {
207
343
  "indexed": false,
208
- "internalType": "ObjectType",
209
- "name": "objectType",
210
- "type": "uint8"
344
+ "internalType": "RoleId",
345
+ "name": "roleId",
346
+ "type": "uint64"
211
347
  },
212
348
  {
213
349
  "indexed": false,
214
- "internalType": "KeyId",
215
- "name": "keyId",
216
- "type": "bytes31"
350
+ "internalType": "string",
351
+ "name": "roleName",
352
+ "type": "string"
217
353
  },
218
354
  {
219
355
  "indexed": false,
220
- "internalType": "StateId",
221
- "name": "state",
222
- "type": "uint8"
356
+ "internalType": "RoleId",
357
+ "name": "adminRoleId",
358
+ "type": "uint64"
223
359
  },
224
360
  {
225
361
  "indexed": false,
226
- "internalType": "address",
227
- "name": "updatedBy",
228
- "type": "address"
362
+ "internalType": "uint32",
363
+ "name": "maxMemberCount",
364
+ "type": "uint32"
365
+ }
366
+ ],
367
+ "name": "LogInstanceCustomRoleCreated",
368
+ "type": "event"
369
+ },
370
+ {
371
+ "anonymous": false,
372
+ "inputs": [
373
+ {
374
+ "indexed": false,
375
+ "internalType": "RoleId",
376
+ "name": "roleId",
377
+ "type": "uint64"
229
378
  },
230
379
  {
231
380
  "indexed": false,
232
381
  "internalType": "address",
233
- "name": "txOrigin",
382
+ "name": "account",
234
383
  "type": "address"
235
384
  },
236
385
  {
237
386
  "indexed": false,
238
- "internalType": "Blocknumber",
239
- "name": "lastUpdatedIn",
240
- "type": "uint32"
387
+ "internalType": "address",
388
+ "name": "caller",
389
+ "type": "address"
241
390
  }
242
391
  ],
243
- "name": "LogInfoUpdated",
392
+ "name": "LogInstanceCustomRoleGranted",
244
393
  "type": "event"
245
394
  },
246
395
  {
@@ -248,101 +397,113 @@
248
397
  "inputs": [
249
398
  {
250
399
  "indexed": false,
251
- "internalType": "ObjectType",
252
- "name": "objectType",
253
- "type": "uint8"
254
- },
255
- {
256
- "indexed": false,
257
- "internalType": "KeyId",
258
- "name": "keyId",
259
- "type": "bytes31"
400
+ "internalType": "RoleId",
401
+ "name": "roleId",
402
+ "type": "uint64"
260
403
  },
261
404
  {
262
405
  "indexed": false,
263
- "internalType": "StateId",
264
- "name": "stateOld",
265
- "type": "uint8"
406
+ "internalType": "address",
407
+ "name": "account",
408
+ "type": "address"
266
409
  },
267
410
  {
268
411
  "indexed": false,
269
- "internalType": "StateId",
270
- "name": "stateNew",
271
- "type": "uint8"
272
- },
412
+ "internalType": "address",
413
+ "name": "caller",
414
+ "type": "address"
415
+ }
416
+ ],
417
+ "name": "LogInstanceCustomRoleRevoked",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
273
423
  {
274
424
  "indexed": false,
275
425
  "internalType": "address",
276
- "name": "updatedBy",
426
+ "name": "target",
277
427
  "type": "address"
278
428
  },
279
429
  {
280
430
  "indexed": false,
281
- "internalType": "address",
282
- "name": "txOrigin",
283
- "type": "address"
431
+ "internalType": "RoleId",
432
+ "name": "targetRoleId",
433
+ "type": "uint64"
284
434
  },
285
435
  {
286
436
  "indexed": false,
287
- "internalType": "Blocknumber",
288
- "name": "lastUpdatedIn",
289
- "type": "uint32"
437
+ "internalType": "string",
438
+ "name": "name",
439
+ "type": "string"
290
440
  }
291
441
  ],
292
- "name": "LogStateUpdated",
442
+ "name": "LogInstanceCustomTargetCreated",
293
443
  "type": "event"
294
444
  },
295
445
  {
296
- "inputs": [],
297
- "name": "ADMIN_ROLE",
298
- "outputs": [
446
+ "anonymous": false,
447
+ "inputs": [
299
448
  {
300
- "internalType": "uint64",
301
- "name": "",
449
+ "indexed": false,
450
+ "internalType": "address",
451
+ "name": "target",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "bytes4[]",
457
+ "name": "selectors",
458
+ "type": "bytes4[]"
459
+ },
460
+ {
461
+ "indexed": false,
462
+ "internalType": "RoleId",
463
+ "name": "roleId",
302
464
  "type": "uint64"
303
465
  }
304
466
  ],
305
- "stateMutability": "view",
306
- "type": "function"
467
+ "name": "LogInstanceCustomTargetFunctionRoleSet",
468
+ "type": "event"
307
469
  },
308
470
  {
309
- "inputs": [],
310
- "name": "CUSTOM_ROLE_ID_MIN",
311
- "outputs": [
471
+ "anonymous": false,
472
+ "inputs": [
312
473
  {
313
- "internalType": "uint64",
314
- "name": "",
315
- "type": "uint64"
474
+ "indexed": false,
475
+ "internalType": "address",
476
+ "name": "target",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "indexed": false,
481
+ "internalType": "bool",
482
+ "name": "locked",
483
+ "type": "bool"
316
484
  }
317
485
  ],
318
- "stateMutability": "view",
319
- "type": "function"
486
+ "name": "LogInstanceTargetLocked",
487
+ "type": "event"
320
488
  },
321
489
  {
322
- "inputs": [],
323
- "name": "EXECUTION_DELAY",
324
- "outputs": [
490
+ "anonymous": false,
491
+ "inputs": [
325
492
  {
326
- "internalType": "uint32",
327
- "name": "",
328
- "type": "uint32"
329
- }
330
- ],
331
- "stateMutability": "view",
332
- "type": "function"
333
- },
334
- {
335
- "inputs": [],
336
- "name": "GIF_MAJOR_VERSION",
337
- "outputs": [
493
+ "indexed": false,
494
+ "internalType": "NftId",
495
+ "name": "nftId",
496
+ "type": "uint96"
497
+ },
338
498
  {
339
- "internalType": "uint256",
340
- "name": "",
341
- "type": "uint256"
499
+ "indexed": false,
500
+ "internalType": "address",
501
+ "name": "owner",
502
+ "type": "address"
342
503
  }
343
504
  ],
344
- "stateMutability": "view",
345
- "type": "function"
505
+ "name": "LogNftOwnableNftLinkedToAddress",
506
+ "type": "event"
346
507
  },
347
508
  {
348
509
  "inputs": [],
@@ -357,19 +518,6 @@
357
518
  "stateMutability": "view",
358
519
  "type": "function"
359
520
  },
360
- {
361
- "inputs": [],
362
- "name": "PUBLIC_ROLE",
363
- "outputs": [
364
- {
365
- "internalType": "uint64",
366
- "name": "",
367
- "type": "uint64"
368
- }
369
- ],
370
- "stateMutability": "view",
371
- "type": "function"
372
- },
373
521
  {
374
522
  "inputs": [],
375
523
  "name": "REGISTERABLE_LOCATION_V1",
@@ -399,122 +547,39 @@
399
547
  {
400
548
  "inputs": [
401
549
  {
402
- "internalType": "ObjectType",
403
- "name": "objectType",
404
- "type": "uint8"
405
- },
406
- {
407
- "internalType": "StateId",
408
- "name": "fromId",
409
- "type": "uint8"
550
+ "internalType": "address",
551
+ "name": "target",
552
+ "type": "address"
410
553
  },
411
554
  {
412
- "internalType": "StateId",
413
- "name": "toId",
414
- "type": "uint8"
415
- }
416
- ],
417
- "name": "checkTransition",
418
- "outputs": [],
419
- "stateMutability": "view",
420
- "type": "function"
421
- },
422
- {
423
- "inputs": [
424
- {
425
- "internalType": "NftId",
426
- "name": "applicationNftId",
427
- "type": "uint96"
555
+ "internalType": "RoleId",
556
+ "name": "roleId",
557
+ "type": "uint64"
428
558
  },
429
559
  {
430
560
  "components": [
431
561
  {
432
- "internalType": "NftId",
433
- "name": "productNftId",
434
- "type": "uint96"
435
- },
436
- {
437
- "internalType": "NftId",
438
- "name": "bundleNftId",
439
- "type": "uint96"
440
- },
441
- {
442
- "internalType": "ReferralId",
443
- "name": "referralId",
444
- "type": "bytes8"
445
- },
446
- {
447
- "internalType": "RiskId",
448
- "name": "riskId",
449
- "type": "bytes8"
450
- },
451
- {
452
- "internalType": "uint256",
453
- "name": "sumInsuredAmount",
454
- "type": "uint256"
455
- },
456
- {
457
- "internalType": "uint256",
458
- "name": "premiumAmount",
459
- "type": "uint256"
460
- },
461
- {
462
- "internalType": "uint256",
463
- "name": "premiumPaidAmount",
464
- "type": "uint256"
465
- },
466
- {
467
- "internalType": "Seconds",
468
- "name": "lifetime",
469
- "type": "uint40"
470
- },
471
- {
472
- "internalType": "bytes",
473
- "name": "applicationData",
474
- "type": "bytes"
475
- },
476
- {
477
- "internalType": "bytes",
478
- "name": "policyData",
479
- "type": "bytes"
480
- },
481
- {
482
- "internalType": "uint16",
483
- "name": "claimsCount",
484
- "type": "uint16"
485
- },
486
- {
487
- "internalType": "uint16",
488
- "name": "openClaimsCount",
489
- "type": "uint16"
490
- },
491
- {
492
- "internalType": "uint256",
493
- "name": "payoutAmount",
494
- "type": "uint256"
495
- },
496
- {
497
- "internalType": "Timestamp",
498
- "name": "activatedAt",
499
- "type": "uint40"
562
+ "internalType": "Str",
563
+ "name": "name",
564
+ "type": "bytes32"
500
565
  },
501
566
  {
502
- "internalType": "Timestamp",
503
- "name": "expiredAt",
504
- "type": "uint40"
567
+ "internalType": "Selector",
568
+ "name": "selector",
569
+ "type": "bytes4"
505
570
  },
506
571
  {
507
572
  "internalType": "Timestamp",
508
- "name": "closedAt",
573
+ "name": "createdAt",
509
574
  "type": "uint40"
510
575
  }
511
576
  ],
512
- "internalType": "struct IPolicy.PolicyInfo",
513
- "name": "policy",
514
- "type": "tuple"
577
+ "internalType": "struct IAccess.FunctionInfo[]",
578
+ "name": "functions",
579
+ "type": "tuple[]"
515
580
  }
516
581
  ],
517
- "name": "createApplication",
582
+ "name": "authorizeFunctions",
518
583
  "outputs": [],
519
584
  "stateMutability": "nonpayable",
520
585
  "type": "function"
@@ -522,1185 +587,140 @@
522
587
  {
523
588
  "inputs": [
524
589
  {
525
- "internalType": "NftId",
526
- "name": "bundleNftId",
527
- "type": "uint96"
590
+ "internalType": "string",
591
+ "name": "roleName",
592
+ "type": "string"
528
593
  },
529
594
  {
530
- "components": [
531
- {
532
- "internalType": "NftId",
533
- "name": "poolNftId",
534
- "type": "uint96"
535
- },
536
- {
537
- "components": [
538
- {
539
- "internalType": "UFixed",
540
- "name": "fractionalFee",
541
- "type": "uint256"
542
- },
543
- {
544
- "internalType": "uint256",
545
- "name": "fixedFee",
546
- "type": "uint256"
547
- }
548
- ],
549
- "internalType": "struct Fee",
550
- "name": "fee",
551
- "type": "tuple"
552
- },
553
- {
554
- "internalType": "bytes",
555
- "name": "filter",
556
- "type": "bytes"
557
- },
558
- {
559
- "internalType": "uint256",
560
- "name": "capitalAmount",
561
- "type": "uint256"
562
- },
563
- {
564
- "internalType": "uint256",
565
- "name": "lockedAmount",
566
- "type": "uint256"
567
- },
568
- {
569
- "internalType": "uint256",
570
- "name": "balanceAmount",
571
- "type": "uint256"
572
- },
573
- {
574
- "internalType": "Seconds",
575
- "name": "lifetime",
576
- "type": "uint40"
577
- },
578
- {
579
- "internalType": "Timestamp",
580
- "name": "expiredAt",
581
- "type": "uint40"
582
- },
583
- {
584
- "internalType": "Timestamp",
585
- "name": "closedAt",
586
- "type": "uint40"
587
- }
588
- ],
589
- "internalType": "struct IBundle.BundleInfo",
590
- "name": "bundle",
591
- "type": "tuple"
595
+ "internalType": "RoleId",
596
+ "name": "adminRoleId",
597
+ "type": "uint64"
598
+ },
599
+ {
600
+ "internalType": "uint32",
601
+ "name": "maxMemberCount",
602
+ "type": "uint32"
603
+ }
604
+ ],
605
+ "name": "createRole",
606
+ "outputs": [
607
+ {
608
+ "internalType": "RoleId",
609
+ "name": "roleId",
610
+ "type": "uint64"
592
611
  }
593
612
  ],
594
- "name": "createBundle",
595
- "outputs": [],
596
613
  "stateMutability": "nonpayable",
597
614
  "type": "function"
598
615
  },
599
616
  {
600
617
  "inputs": [
601
618
  {
602
- "internalType": "NftId",
603
- "name": "policyNftId",
604
- "type": "uint96"
619
+ "internalType": "address",
620
+ "name": "target",
621
+ "type": "address"
605
622
  },
606
623
  {
607
- "internalType": "ClaimId",
608
- "name": "claimId",
609
- "type": "uint16"
610
- },
624
+ "internalType": "string",
625
+ "name": "name",
626
+ "type": "string"
627
+ }
628
+ ],
629
+ "name": "createTarget",
630
+ "outputs": [
611
631
  {
612
- "components": [
613
- {
614
- "internalType": "uint256",
615
- "name": "claimAmount",
616
- "type": "uint256"
617
- },
618
- {
619
- "internalType": "uint256",
620
- "name": "paidAmount",
621
- "type": "uint256"
622
- },
623
- {
624
- "internalType": "bytes",
625
- "name": "data",
626
- "type": "bytes"
627
- },
628
- {
629
- "internalType": "Timestamp",
630
- "name": "closedAt",
631
- "type": "uint40"
632
- }
633
- ],
634
- "internalType": "struct IPolicy.ClaimInfo",
635
- "name": "claim",
636
- "type": "tuple"
632
+ "internalType": "RoleId",
633
+ "name": "targetRoleId",
634
+ "type": "uint64"
637
635
  }
638
636
  ],
639
- "name": "createClaim",
640
- "outputs": [],
641
637
  "stateMutability": "nonpayable",
642
638
  "type": "function"
643
639
  },
644
640
  {
645
- "inputs": [
641
+ "inputs": [],
642
+ "name": "getBundleSet",
643
+ "outputs": [
646
644
  {
647
- "internalType": "NftId",
648
- "name": "distributionNftId",
649
- "type": "uint96"
650
- },
645
+ "internalType": "contract BundleSet",
646
+ "name": "",
647
+ "type": "address"
648
+ }
649
+ ],
650
+ "stateMutability": "view",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [],
655
+ "name": "getInitialInfo",
656
+ "outputs": [
651
657
  {
652
658
  "components": [
653
659
  {
654
660
  "internalType": "NftId",
655
- "name": "productNftId",
661
+ "name": "nftId",
656
662
  "type": "uint96"
657
663
  },
658
664
  {
659
- "internalType": "contract TokenHandler",
660
- "name": "tokenHandler",
661
- "type": "address"
665
+ "internalType": "NftId",
666
+ "name": "parentNftId",
667
+ "type": "uint96"
662
668
  },
663
669
  {
664
- "components": [
665
- {
666
- "internalType": "UFixed",
667
- "name": "fractionalFee",
668
- "type": "uint256"
669
- },
670
- {
671
- "internalType": "uint256",
672
- "name": "fixedFee",
673
- "type": "uint256"
674
- }
675
- ],
676
- "internalType": "struct Fee",
677
- "name": "minDistributionOwnerFee",
678
- "type": "tuple"
670
+ "internalType": "ObjectType",
671
+ "name": "objectType",
672
+ "type": "uint8"
679
673
  },
680
674
  {
681
- "components": [
682
- {
683
- "internalType": "UFixed",
684
- "name": "fractionalFee",
685
- "type": "uint256"
686
- },
687
- {
688
- "internalType": "uint256",
689
- "name": "fixedFee",
690
- "type": "uint256"
691
- }
692
- ],
693
- "internalType": "struct Fee",
694
- "name": "distributionFee",
695
- "type": "tuple"
675
+ "internalType": "bool",
676
+ "name": "isInterceptor",
677
+ "type": "bool"
696
678
  },
697
679
  {
698
680
  "internalType": "address",
699
- "name": "wallet",
681
+ "name": "objectAddress",
700
682
  "type": "address"
701
683
  },
702
684
  {
703
- "internalType": "uint256",
704
- "name": "sumDistributionFees",
705
- "type": "uint256"
706
- }
707
- ],
708
- "internalType": "struct ISetup.DistributionSetupInfo",
709
- "name": "setup",
710
- "type": "tuple"
711
- }
712
- ],
713
- "name": "createDistributionSetup",
714
- "outputs": [],
715
- "stateMutability": "nonpayable",
716
- "type": "function"
717
- },
718
- {
719
- "inputs": [
720
- {
721
- "internalType": "NftId",
722
- "name": "nftId",
723
- "type": "uint96"
724
- },
725
- {
726
- "components": [
727
- {
728
- "internalType": "DistributorType",
729
- "name": "distributorType",
730
- "type": "bytes8"
731
- },
732
- {
733
- "internalType": "bool",
734
- "name": "active",
735
- "type": "bool"
685
+ "internalType": "address",
686
+ "name": "initialOwner",
687
+ "type": "address"
736
688
  },
737
689
  {
738
690
  "internalType": "bytes",
739
691
  "name": "data",
740
692
  "type": "bytes"
741
- },
742
- {
743
- "internalType": "uint256",
744
- "name": "sumCommisions",
745
- "type": "uint256"
746
- },
747
- {
748
- "internalType": "uint256",
749
- "name": "numPoliciesSold",
750
- "type": "uint256"
751
693
  }
752
694
  ],
753
- "internalType": "struct IDistribution.DistributorInfo",
695
+ "internalType": "struct IRegistry.ObjectInfo",
754
696
  "name": "info",
755
697
  "type": "tuple"
756
698
  }
757
699
  ],
758
- "name": "createDistributor",
759
- "outputs": [],
760
- "stateMutability": "nonpayable",
700
+ "stateMutability": "view",
761
701
  "type": "function"
762
702
  },
763
703
  {
764
- "inputs": [
704
+ "inputs": [],
705
+ "name": "getInstanceAdmin",
706
+ "outputs": [
765
707
  {
766
- "internalType": "Key32",
767
- "name": "distributorKey",
768
- "type": "bytes32"
769
- },
708
+ "internalType": "contract InstanceAdmin",
709
+ "name": "",
710
+ "type": "address"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [],
718
+ "name": "getInstanceReader",
719
+ "outputs": [
770
720
  {
771
- "components": [
772
- {
773
- "internalType": "string",
774
- "name": "name",
775
- "type": "string"
776
- },
777
- {
778
- "internalType": "UFixed",
779
- "name": "minDiscountPercentage",
780
- "type": "uint256"
781
- },
782
- {
783
- "internalType": "UFixed",
784
- "name": "maxDiscountPercentage",
785
- "type": "uint256"
786
- },
787
- {
788
- "internalType": "UFixed",
789
- "name": "commissionPercentage",
790
- "type": "uint256"
791
- },
792
- {
793
- "internalType": "uint32",
794
- "name": "maxReferralCount",
795
- "type": "uint32"
796
- },
797
- {
798
- "internalType": "uint32",
799
- "name": "maxReferralLifetime",
800
- "type": "uint32"
801
- },
802
- {
803
- "internalType": "bool",
804
- "name": "allowSelfReferrals",
805
- "type": "bool"
806
- },
807
- {
808
- "internalType": "bool",
809
- "name": "allowRenewals",
810
- "type": "bool"
811
- },
812
- {
813
- "internalType": "bytes",
814
- "name": "data",
815
- "type": "bytes"
816
- }
817
- ],
818
- "internalType": "struct IDistribution.DistributorTypeInfo",
819
- "name": "info",
820
- "type": "tuple"
821
- }
822
- ],
823
- "name": "createDistributorType",
824
- "outputs": [],
825
- "stateMutability": "nonpayable",
826
- "type": "function"
827
- },
828
- {
829
- "inputs": [
830
- {
831
- "internalType": "NftId",
832
- "name": "policyNftId",
833
- "type": "uint96"
834
- },
835
- {
836
- "internalType": "NumberId",
837
- "name": "payoutId",
838
- "type": "uint32"
839
- },
840
- {
841
- "components": [
842
- {
843
- "internalType": "ClaimId",
844
- "name": "claimId",
845
- "type": "uint16"
846
- },
847
- {
848
- "internalType": "uint256",
849
- "name": "amount",
850
- "type": "uint256"
851
- },
852
- {
853
- "internalType": "bytes",
854
- "name": "data",
855
- "type": "bytes"
856
- },
857
- {
858
- "internalType": "Timestamp",
859
- "name": "paidAt",
860
- "type": "uint40"
861
- }
862
- ],
863
- "internalType": "struct IPolicy.PayoutInfo",
864
- "name": "payout",
865
- "type": "tuple"
866
- }
867
- ],
868
- "name": "createPayout",
869
- "outputs": [],
870
- "stateMutability": "nonpayable",
871
- "type": "function"
872
- },
873
- {
874
- "inputs": [
875
- {
876
- "internalType": "NftId",
877
- "name": "poolNftId",
878
- "type": "uint96"
879
- },
880
- {
881
- "components": [
882
- {
883
- "internalType": "NftId",
884
- "name": "productNftId",
885
- "type": "uint96"
886
- },
887
- {
888
- "internalType": "contract TokenHandler",
889
- "name": "tokenHandler",
890
- "type": "address"
891
- },
892
- {
893
- "internalType": "uint256",
894
- "name": "maxCapitalAmount",
895
- "type": "uint256"
896
- },
897
- {
898
- "internalType": "bool",
899
- "name": "isInterceptingBundleTransfers",
900
- "type": "bool"
901
- },
902
- {
903
- "internalType": "bool",
904
- "name": "isExternallyManaged",
905
- "type": "bool"
906
- },
907
- {
908
- "internalType": "bool",
909
- "name": "isVerifyingApplications",
910
- "type": "bool"
911
- },
912
- {
913
- "internalType": "UFixed",
914
- "name": "collateralizationLevel",
915
- "type": "uint256"
916
- },
917
- {
918
- "internalType": "UFixed",
919
- "name": "retentionLevel",
920
- "type": "uint256"
921
- },
922
- {
923
- "components": [
924
- {
925
- "internalType": "UFixed",
926
- "name": "fractionalFee",
927
- "type": "uint256"
928
- },
929
- {
930
- "internalType": "uint256",
931
- "name": "fixedFee",
932
- "type": "uint256"
933
- }
934
- ],
935
- "internalType": "struct Fee",
936
- "name": "poolFee",
937
- "type": "tuple"
938
- },
939
- {
940
- "components": [
941
- {
942
- "internalType": "UFixed",
943
- "name": "fractionalFee",
944
- "type": "uint256"
945
- },
946
- {
947
- "internalType": "uint256",
948
- "name": "fixedFee",
949
- "type": "uint256"
950
- }
951
- ],
952
- "internalType": "struct Fee",
953
- "name": "stakingFee",
954
- "type": "tuple"
955
- },
956
- {
957
- "components": [
958
- {
959
- "internalType": "UFixed",
960
- "name": "fractionalFee",
961
- "type": "uint256"
962
- },
963
- {
964
- "internalType": "uint256",
965
- "name": "fixedFee",
966
- "type": "uint256"
967
- }
968
- ],
969
- "internalType": "struct Fee",
970
- "name": "performanceFee",
971
- "type": "tuple"
972
- },
973
- {
974
- "internalType": "address",
975
- "name": "wallet",
976
- "type": "address"
977
- }
978
- ],
979
- "internalType": "struct ISetup.PoolSetupInfo",
980
- "name": "setup",
981
- "type": "tuple"
982
- }
983
- ],
984
- "name": "createPoolSetup",
985
- "outputs": [],
986
- "stateMutability": "nonpayable",
987
- "type": "function"
988
- },
989
- {
990
- "inputs": [
991
- {
992
- "internalType": "NftId",
993
- "name": "productNftId",
994
- "type": "uint96"
995
- },
996
- {
997
- "components": [
998
- {
999
- "internalType": "contract IERC20Metadata",
1000
- "name": "token",
1001
- "type": "address"
1002
- },
1003
- {
1004
- "internalType": "contract TokenHandler",
1005
- "name": "tokenHandler",
1006
- "type": "address"
1007
- },
1008
- {
1009
- "internalType": "NftId",
1010
- "name": "distributionNftId",
1011
- "type": "uint96"
1012
- },
1013
- {
1014
- "internalType": "NftId",
1015
- "name": "poolNftId",
1016
- "type": "uint96"
1017
- },
1018
- {
1019
- "components": [
1020
- {
1021
- "internalType": "UFixed",
1022
- "name": "fractionalFee",
1023
- "type": "uint256"
1024
- },
1025
- {
1026
- "internalType": "uint256",
1027
- "name": "fixedFee",
1028
- "type": "uint256"
1029
- }
1030
- ],
1031
- "internalType": "struct Fee",
1032
- "name": "productFee",
1033
- "type": "tuple"
1034
- },
1035
- {
1036
- "components": [
1037
- {
1038
- "internalType": "UFixed",
1039
- "name": "fractionalFee",
1040
- "type": "uint256"
1041
- },
1042
- {
1043
- "internalType": "uint256",
1044
- "name": "fixedFee",
1045
- "type": "uint256"
1046
- }
1047
- ],
1048
- "internalType": "struct Fee",
1049
- "name": "processingFee",
1050
- "type": "tuple"
1051
- },
1052
- {
1053
- "internalType": "bool",
1054
- "name": "isIntercepting",
1055
- "type": "bool"
1056
- },
1057
- {
1058
- "internalType": "address",
1059
- "name": "wallet",
1060
- "type": "address"
1061
- }
1062
- ],
1063
- "internalType": "struct ISetup.ProductSetupInfo",
1064
- "name": "setup",
1065
- "type": "tuple"
1066
- }
1067
- ],
1068
- "name": "createProductSetup",
1069
- "outputs": [],
1070
- "stateMutability": "nonpayable",
1071
- "type": "function"
1072
- },
1073
- {
1074
- "inputs": [
1075
- {
1076
- "internalType": "Key32",
1077
- "name": "referralKey",
1078
- "type": "bytes32"
1079
- },
1080
- {
1081
- "components": [
1082
- {
1083
- "internalType": "NftId",
1084
- "name": "distributorNftId",
1085
- "type": "uint96"
1086
- },
1087
- {
1088
- "internalType": "string",
1089
- "name": "referralCode",
1090
- "type": "string"
1091
- },
1092
- {
1093
- "internalType": "UFixed",
1094
- "name": "discountPercentage",
1095
- "type": "uint256"
1096
- },
1097
- {
1098
- "internalType": "uint32",
1099
- "name": "maxReferrals",
1100
- "type": "uint32"
1101
- },
1102
- {
1103
- "internalType": "uint32",
1104
- "name": "usedReferrals",
1105
- "type": "uint32"
1106
- },
1107
- {
1108
- "internalType": "Timestamp",
1109
- "name": "expiryAt",
1110
- "type": "uint40"
1111
- },
1112
- {
1113
- "internalType": "bytes",
1114
- "name": "data",
1115
- "type": "bytes"
1116
- }
1117
- ],
1118
- "internalType": "struct IDistribution.ReferralInfo",
1119
- "name": "referralInfo",
1120
- "type": "tuple"
1121
- }
1122
- ],
1123
- "name": "createReferral",
1124
- "outputs": [],
1125
- "stateMutability": "nonpayable",
1126
- "type": "function"
1127
- },
1128
- {
1129
- "inputs": [
1130
- {
1131
- "internalType": "RiskId",
1132
- "name": "riskId",
1133
- "type": "bytes8"
1134
- },
1135
- {
1136
- "components": [
1137
- {
1138
- "internalType": "NftId",
1139
- "name": "productNftId",
1140
- "type": "uint96"
1141
- },
1142
- {
1143
- "internalType": "bytes",
1144
- "name": "data",
1145
- "type": "bytes"
1146
- }
1147
- ],
1148
- "internalType": "struct IRisk.RiskInfo",
1149
- "name": "risk",
1150
- "type": "tuple"
1151
- }
1152
- ],
1153
- "name": "createRisk",
1154
- "outputs": [],
1155
- "stateMutability": "nonpayable",
1156
- "type": "function"
1157
- },
1158
- {
1159
- "inputs": [
1160
- {
1161
- "internalType": "Key32",
1162
- "name": "key32",
1163
- "type": "bytes32"
1164
- }
1165
- ],
1166
- "name": "exists",
1167
- "outputs": [
1168
- {
1169
- "internalType": "bool",
1170
- "name": "",
1171
- "type": "bool"
1172
- }
1173
- ],
1174
- "stateMutability": "view",
1175
- "type": "function"
1176
- },
1177
- {
1178
- "inputs": [
1179
- {
1180
- "internalType": "Key32",
1181
- "name": "key32",
1182
- "type": "bytes32"
1183
- }
1184
- ],
1185
- "name": "get",
1186
- "outputs": [
1187
- {
1188
- "components": [
1189
- {
1190
- "components": [
1191
- {
1192
- "internalType": "ObjectType",
1193
- "name": "objectType",
1194
- "type": "uint8"
1195
- },
1196
- {
1197
- "internalType": "StateId",
1198
- "name": "state",
1199
- "type": "uint8"
1200
- },
1201
- {
1202
- "internalType": "address",
1203
- "name": "updatedBy",
1204
- "type": "address"
1205
- },
1206
- {
1207
- "internalType": "Blocknumber",
1208
- "name": "updatedIn",
1209
- "type": "uint32"
1210
- },
1211
- {
1212
- "internalType": "Blocknumber",
1213
- "name": "createdIn",
1214
- "type": "uint32"
1215
- }
1216
- ],
1217
- "internalType": "struct IKeyValueStore.Metadata",
1218
- "name": "metadata",
1219
- "type": "tuple"
1220
- },
1221
- {
1222
- "internalType": "bytes",
1223
- "name": "data",
1224
- "type": "bytes"
1225
- }
1226
- ],
1227
- "internalType": "struct IKeyValueStore.Value",
1228
- "name": "value",
1229
- "type": "tuple"
1230
- }
1231
- ],
1232
- "stateMutability": "view",
1233
- "type": "function"
1234
- },
1235
- {
1236
- "inputs": [],
1237
- "name": "getBundleManager",
1238
- "outputs": [
1239
- {
1240
- "internalType": "contract BundleManager",
1241
- "name": "",
1242
- "type": "address"
1243
- }
1244
- ],
1245
- "stateMutability": "view",
1246
- "type": "function"
1247
- },
1248
- {
1249
- "inputs": [],
1250
- "name": "getBundleService",
1251
- "outputs": [
1252
- {
1253
- "internalType": "contract IBundleService",
1254
- "name": "",
1255
- "type": "address"
1256
- }
1257
- ],
1258
- "stateMutability": "view",
1259
- "type": "function"
1260
- },
1261
- {
1262
- "inputs": [
1263
- {
1264
- "internalType": "Key32",
1265
- "name": "key32",
1266
- "type": "bytes32"
1267
- }
1268
- ],
1269
- "name": "getData",
1270
- "outputs": [
1271
- {
1272
- "internalType": "bytes",
1273
- "name": "data",
1274
- "type": "bytes"
1275
- }
1276
- ],
1277
- "stateMutability": "view",
1278
- "type": "function"
1279
- },
1280
- {
1281
- "inputs": [],
1282
- "name": "getDistributionService",
1283
- "outputs": [
1284
- {
1285
- "internalType": "contract IDistributionService",
1286
- "name": "",
1287
- "type": "address"
1288
- }
1289
- ],
1290
- "stateMutability": "view",
1291
- "type": "function"
1292
- },
1293
- {
1294
- "inputs": [],
1295
- "name": "getInitialInfo",
1296
- "outputs": [
1297
- {
1298
- "components": [
1299
- {
1300
- "internalType": "NftId",
1301
- "name": "nftId",
1302
- "type": "uint96"
1303
- },
1304
- {
1305
- "internalType": "NftId",
1306
- "name": "parentNftId",
1307
- "type": "uint96"
1308
- },
1309
- {
1310
- "internalType": "ObjectType",
1311
- "name": "objectType",
1312
- "type": "uint8"
1313
- },
1314
- {
1315
- "internalType": "bool",
1316
- "name": "isInterceptor",
1317
- "type": "bool"
1318
- },
1319
- {
1320
- "internalType": "address",
1321
- "name": "objectAddress",
1322
- "type": "address"
1323
- },
1324
- {
1325
- "internalType": "address",
1326
- "name": "initialOwner",
1327
- "type": "address"
1328
- },
1329
- {
1330
- "internalType": "bytes",
1331
- "name": "data",
1332
- "type": "bytes"
1333
- }
1334
- ],
1335
- "internalType": "struct IRegistry.ObjectInfo",
1336
- "name": "info",
1337
- "type": "tuple"
1338
- }
1339
- ],
1340
- "stateMutability": "view",
1341
- "type": "function"
1342
- },
1343
- {
1344
- "inputs": [
1345
- {
1346
- "internalType": "ObjectType",
1347
- "name": "objectType",
1348
- "type": "uint8"
1349
- }
1350
- ],
1351
- "name": "getInitialState",
1352
- "outputs": [
1353
- {
1354
- "internalType": "StateId",
1355
- "name": "",
1356
- "type": "uint8"
1357
- }
1358
- ],
1359
- "stateMutability": "view",
1360
- "type": "function"
1361
- },
1362
- {
1363
- "inputs": [],
1364
- "name": "getInstanceReader",
1365
- "outputs": [
1366
- {
1367
- "internalType": "contract InstanceReader",
1368
- "name": "",
1369
- "type": "address"
1370
- }
1371
- ],
1372
- "stateMutability": "view",
1373
- "type": "function"
1374
- },
1375
- {
1376
- "inputs": [],
1377
- "name": "getMajorVersion",
1378
- "outputs": [
1379
- {
1380
- "internalType": "VersionPart",
1381
- "name": "majorVersion",
1382
- "type": "uint8"
1383
- }
1384
- ],
1385
- "stateMutability": "pure",
1386
- "type": "function"
1387
- },
1388
- {
1389
- "inputs": [
1390
- {
1391
- "internalType": "Key32",
1392
- "name": "key32",
1393
- "type": "bytes32"
1394
- }
1395
- ],
1396
- "name": "getMetadata",
1397
- "outputs": [
1398
- {
1399
- "components": [
1400
- {
1401
- "internalType": "ObjectType",
1402
- "name": "objectType",
1403
- "type": "uint8"
1404
- },
1405
- {
1406
- "internalType": "StateId",
1407
- "name": "state",
1408
- "type": "uint8"
1409
- },
1410
- {
1411
- "internalType": "address",
1412
- "name": "updatedBy",
1413
- "type": "address"
1414
- },
1415
- {
1416
- "internalType": "Blocknumber",
1417
- "name": "updatedIn",
1418
- "type": "uint32"
1419
- },
1420
- {
1421
- "internalType": "Blocknumber",
1422
- "name": "createdIn",
1423
- "type": "uint32"
1424
- }
1425
- ],
1426
- "internalType": "struct IKeyValueStore.Metadata",
1427
- "name": "metadata",
1428
- "type": "tuple"
1429
- }
1430
- ],
1431
- "stateMutability": "view",
1432
- "type": "function"
1433
- },
1434
- {
1435
- "inputs": [],
1436
- "name": "getNftId",
1437
- "outputs": [
1438
- {
1439
- "internalType": "NftId",
1440
- "name": "",
1441
- "type": "uint96"
1442
- }
1443
- ],
1444
- "stateMutability": "view",
1445
- "type": "function"
1446
- },
1447
- {
1448
- "inputs": [],
1449
- "name": "getOwner",
1450
- "outputs": [
1451
- {
1452
- "internalType": "address",
1453
- "name": "",
1454
- "type": "address"
1455
- }
1456
- ],
1457
- "stateMutability": "view",
1458
- "type": "function"
1459
- },
1460
- {
1461
- "inputs": [],
1462
- "name": "getPolicyService",
1463
- "outputs": [
1464
- {
1465
- "internalType": "contract IPolicyService",
1466
- "name": "",
1467
- "type": "address"
1468
- }
1469
- ],
1470
- "stateMutability": "view",
1471
- "type": "function"
1472
- },
1473
- {
1474
- "inputs": [],
1475
- "name": "getPoolService",
1476
- "outputs": [
1477
- {
1478
- "internalType": "contract IPoolService",
1479
- "name": "",
1480
- "type": "address"
1481
- }
1482
- ],
1483
- "stateMutability": "view",
1484
- "type": "function"
1485
- },
1486
- {
1487
- "inputs": [],
1488
- "name": "getProductService",
1489
- "outputs": [
1490
- {
1491
- "internalType": "contract IProductService",
1492
- "name": "",
1493
- "type": "address"
1494
- }
1495
- ],
1496
- "stateMutability": "view",
1497
- "type": "function"
1498
- },
1499
- {
1500
- "inputs": [],
1501
- "name": "getRegistry",
1502
- "outputs": [
1503
- {
1504
- "internalType": "contract IRegistry",
1505
- "name": "",
1506
- "type": "address"
1507
- }
1508
- ],
1509
- "stateMutability": "view",
1510
- "type": "function"
1511
- },
1512
- {
1513
- "inputs": [],
1514
- "name": "getRegistryAddress",
1515
- "outputs": [
1516
- {
1517
- "internalType": "address",
1518
- "name": "",
1519
- "type": "address"
1520
- }
1521
- ],
1522
- "stateMutability": "view",
1523
- "type": "function"
1524
- },
1525
- {
1526
- "inputs": [
1527
- {
1528
- "internalType": "Key32",
1529
- "name": "key32",
1530
- "type": "bytes32"
1531
- }
1532
- ],
1533
- "name": "getState",
1534
- "outputs": [
1535
- {
1536
- "internalType": "StateId",
1537
- "name": "state",
1538
- "type": "uint8"
1539
- }
1540
- ],
1541
- "stateMutability": "view",
1542
- "type": "function"
1543
- },
1544
- {
1545
- "inputs": [
1546
- {
1547
- "internalType": "ObjectType",
1548
- "name": "objectType",
1549
- "type": "uint8"
1550
- }
1551
- ],
1552
- "name": "hasLifecycle",
1553
- "outputs": [
1554
- {
1555
- "internalType": "bool",
1556
- "name": "",
1557
- "type": "bool"
1558
- }
1559
- ],
1560
- "stateMutability": "view",
1561
- "type": "function"
1562
- },
1563
- {
1564
- "inputs": [
1565
- {
1566
- "internalType": "address",
1567
- "name": "accessManagerAddress",
1568
- "type": "address"
1569
- },
1570
- {
1571
- "internalType": "address",
1572
- "name": "registryAddress",
1573
- "type": "address"
1574
- },
1575
- {
1576
- "internalType": "NftId",
1577
- "name": "registryNftId",
1578
- "type": "uint96"
1579
- },
1580
- {
1581
- "internalType": "address",
1582
- "name": "initialOwner",
1583
- "type": "address"
1584
- }
1585
- ],
1586
- "name": "initialize",
1587
- "outputs": [],
1588
- "stateMutability": "nonpayable",
1589
- "type": "function"
1590
- },
1591
- {
1592
- "inputs": [],
1593
- "name": "initializeERC165",
1594
- "outputs": [],
1595
- "stateMutability": "nonpayable",
1596
- "type": "function"
1597
- },
1598
- {
1599
- "inputs": [
1600
- {
1601
- "internalType": "address",
1602
- "name": "initialOwner",
1603
- "type": "address"
1604
- },
1605
- {
1606
- "internalType": "address",
1607
- "name": "registryAddress",
1608
- "type": "address"
1609
- }
1610
- ],
1611
- "name": "initializeNftOwnable",
1612
- "outputs": [],
1613
- "stateMutability": "nonpayable",
1614
- "type": "function"
1615
- },
1616
- {
1617
- "inputs": [
1618
- {
1619
- "internalType": "address",
1620
- "name": "registryAddress",
1621
- "type": "address"
1622
- },
1623
- {
1624
- "internalType": "NftId",
1625
- "name": "parentNftId",
1626
- "type": "uint96"
1627
- },
1628
- {
1629
- "internalType": "ObjectType",
1630
- "name": "objectType",
1631
- "type": "uint8"
1632
- },
1633
- {
1634
- "internalType": "bool",
1635
- "name": "isInterceptor",
1636
- "type": "bool"
1637
- },
1638
- {
1639
- "internalType": "address",
1640
- "name": "initialOwner",
1641
- "type": "address"
1642
- },
1643
- {
1644
- "internalType": "bytes",
1645
- "name": "registryData",
1646
- "type": "bytes"
1647
- }
1648
- ],
1649
- "name": "initializeRegisterable",
1650
- "outputs": [],
1651
- "stateMutability": "nonpayable",
1652
- "type": "function"
1653
- },
1654
- {
1655
- "inputs": [
1656
- {
1657
- "internalType": "address",
1658
- "name": "registryAddress",
1659
- "type": "address"
1660
- }
1661
- ],
1662
- "name": "initializeRegistryLinked",
1663
- "outputs": [],
1664
- "stateMutability": "nonpayable",
1665
- "type": "function"
1666
- },
1667
- {
1668
- "inputs": [],
1669
- "name": "isConsumingScheduledOp",
1670
- "outputs": [
1671
- {
1672
- "internalType": "bytes4",
1673
- "name": "",
1674
- "type": "bytes4"
1675
- }
1676
- ],
1677
- "stateMutability": "view",
1678
- "type": "function"
1679
- },
1680
- {
1681
- "inputs": [
1682
- {
1683
- "internalType": "ObjectType",
1684
- "name": "objectType",
1685
- "type": "uint8"
1686
- },
1687
- {
1688
- "internalType": "StateId",
1689
- "name": "fromId",
1690
- "type": "uint8"
1691
- },
1692
- {
1693
- "internalType": "StateId",
1694
- "name": "toId",
1695
- "type": "uint8"
1696
- }
1697
- ],
1698
- "name": "isValidTransition",
1699
- "outputs": [
1700
- {
1701
- "internalType": "bool",
721
+ "internalType": "contract InstanceReader",
1702
722
  "name": "",
1703
- "type": "bool"
723
+ "type": "address"
1704
724
  }
1705
725
  ],
1706
726
  "stateMutability": "view",
@@ -1708,420 +728,115 @@
1708
728
  },
1709
729
  {
1710
730
  "inputs": [],
1711
- "name": "linkToRegisteredNftId",
1712
- "outputs": [],
1713
- "stateMutability": "nonpayable",
1714
- "type": "function"
1715
- },
1716
- {
1717
- "inputs": [
1718
- {
1719
- "internalType": "bytes4",
1720
- "name": "interfaceId",
1721
- "type": "bytes4"
1722
- }
1723
- ],
1724
- "name": "registerInterface",
1725
- "outputs": [],
1726
- "stateMutability": "nonpayable",
1727
- "type": "function"
1728
- },
1729
- {
1730
- "inputs": [
1731
- {
1732
- "internalType": "address",
1733
- "name": "newAuthority",
1734
- "type": "address"
1735
- }
1736
- ],
1737
- "name": "setAuthority",
1738
- "outputs": [],
1739
- "stateMutability": "nonpayable",
1740
- "type": "function"
1741
- },
1742
- {
1743
- "inputs": [
1744
- {
1745
- "internalType": "contract BundleManager",
1746
- "name": "bundleManager",
1747
- "type": "address"
1748
- }
1749
- ],
1750
- "name": "setBundleManager",
1751
- "outputs": [],
1752
- "stateMutability": "nonpayable",
1753
- "type": "function"
1754
- },
1755
- {
1756
- "inputs": [
1757
- {
1758
- "internalType": "contract InstanceReader",
1759
- "name": "instanceReader",
1760
- "type": "address"
1761
- }
1762
- ],
1763
- "name": "setInstanceReader",
1764
- "outputs": [],
1765
- "stateMutability": "nonpayable",
1766
- "type": "function"
1767
- },
1768
- {
1769
- "inputs": [
1770
- {
1771
- "internalType": "bytes4",
1772
- "name": "interfaceId",
1773
- "type": "bytes4"
1774
- }
1775
- ],
1776
- "name": "supportsInterface",
731
+ "name": "getInstanceStore",
1777
732
  "outputs": [
1778
733
  {
1779
- "internalType": "bool",
734
+ "internalType": "contract InstanceStore",
1780
735
  "name": "",
1781
- "type": "bool"
736
+ "type": "address"
1782
737
  }
1783
738
  ],
1784
739
  "stateMutability": "view",
1785
740
  "type": "function"
1786
741
  },
1787
742
  {
1788
- "inputs": [
1789
- {
1790
- "internalType": "NftId",
1791
- "name": "bundleNftId",
1792
- "type": "uint96"
1793
- }
1794
- ],
1795
- "name": "toBundleKey32",
1796
- "outputs": [
1797
- {
1798
- "internalType": "Key32",
1799
- "name": "",
1800
- "type": "bytes32"
1801
- }
1802
- ],
1803
- "stateMutability": "pure",
1804
- "type": "function"
1805
- },
1806
- {
1807
- "inputs": [
1808
- {
1809
- "internalType": "NftId",
1810
- "name": "distNftId",
1811
- "type": "uint96"
1812
- }
1813
- ],
1814
- "name": "toDistributionKey32",
743
+ "inputs": [],
744
+ "name": "getNftId",
1815
745
  "outputs": [
1816
- {
1817
- "internalType": "Key32",
1818
- "name": "",
1819
- "type": "bytes32"
1820
- }
1821
- ],
1822
- "stateMutability": "pure",
1823
- "type": "function"
1824
- },
1825
- {
1826
- "inputs": [
1827
746
  {
1828
747
  "internalType": "NftId",
1829
- "name": "distNftId",
1830
- "type": "uint96"
1831
- }
1832
- ],
1833
- "name": "toDistributorKey32",
1834
- "outputs": [
1835
- {
1836
- "internalType": "Key32",
1837
748
  "name": "",
1838
- "type": "bytes32"
1839
- }
1840
- ],
1841
- "stateMutability": "pure",
1842
- "type": "function"
1843
- },
1844
- {
1845
- "inputs": [
1846
- {
1847
- "internalType": "NftId",
1848
- "name": "distNftId",
1849
749
  "type": "uint96"
1850
750
  }
1851
751
  ],
1852
- "name": "toDistributorTypeKey32",
1853
- "outputs": [
1854
- {
1855
- "internalType": "Key32",
1856
- "name": "",
1857
- "type": "bytes32"
1858
- }
1859
- ],
1860
- "stateMutability": "pure",
1861
- "type": "function"
1862
- },
1863
- {
1864
- "inputs": [
1865
- {
1866
- "internalType": "ObjectType",
1867
- "name": "objectType",
1868
- "type": "uint8"
1869
- },
1870
- {
1871
- "internalType": "KeyId",
1872
- "name": "id",
1873
- "type": "bytes31"
1874
- }
1875
- ],
1876
- "name": "toKey32",
1877
- "outputs": [
1878
- {
1879
- "internalType": "Key32",
1880
- "name": "",
1881
- "type": "bytes32"
1882
- }
1883
- ],
1884
- "stateMutability": "pure",
752
+ "stateMutability": "view",
1885
753
  "type": "function"
1886
754
  },
1887
755
  {
1888
- "inputs": [
1889
- {
1890
- "internalType": "NftId",
1891
- "name": "policyNftId",
1892
- "type": "uint96"
1893
- }
1894
- ],
1895
- "name": "toPolicyKey32",
756
+ "inputs": [],
757
+ "name": "getOwner",
1896
758
  "outputs": [
1897
759
  {
1898
- "internalType": "Key32",
1899
- "name": "",
1900
- "type": "bytes32"
1901
- }
1902
- ],
1903
- "stateMutability": "pure",
1904
- "type": "function"
1905
- },
1906
- {
1907
- "inputs": [
1908
- {
1909
- "internalType": "NftId",
1910
- "name": "applicationNftId",
1911
- "type": "uint96"
1912
- },
1913
- {
1914
- "components": [
1915
- {
1916
- "internalType": "NftId",
1917
- "name": "productNftId",
1918
- "type": "uint96"
1919
- },
1920
- {
1921
- "internalType": "NftId",
1922
- "name": "bundleNftId",
1923
- "type": "uint96"
1924
- },
1925
- {
1926
- "internalType": "ReferralId",
1927
- "name": "referralId",
1928
- "type": "bytes8"
1929
- },
1930
- {
1931
- "internalType": "RiskId",
1932
- "name": "riskId",
1933
- "type": "bytes8"
1934
- },
1935
- {
1936
- "internalType": "uint256",
1937
- "name": "sumInsuredAmount",
1938
- "type": "uint256"
1939
- },
1940
- {
1941
- "internalType": "uint256",
1942
- "name": "premiumAmount",
1943
- "type": "uint256"
1944
- },
1945
- {
1946
- "internalType": "uint256",
1947
- "name": "premiumPaidAmount",
1948
- "type": "uint256"
1949
- },
1950
- {
1951
- "internalType": "Seconds",
1952
- "name": "lifetime",
1953
- "type": "uint40"
1954
- },
1955
- {
1956
- "internalType": "bytes",
1957
- "name": "applicationData",
1958
- "type": "bytes"
1959
- },
1960
- {
1961
- "internalType": "bytes",
1962
- "name": "policyData",
1963
- "type": "bytes"
1964
- },
1965
- {
1966
- "internalType": "uint16",
1967
- "name": "claimsCount",
1968
- "type": "uint16"
1969
- },
1970
- {
1971
- "internalType": "uint16",
1972
- "name": "openClaimsCount",
1973
- "type": "uint16"
1974
- },
1975
- {
1976
- "internalType": "uint256",
1977
- "name": "payoutAmount",
1978
- "type": "uint256"
1979
- },
1980
- {
1981
- "internalType": "Timestamp",
1982
- "name": "activatedAt",
1983
- "type": "uint40"
1984
- },
1985
- {
1986
- "internalType": "Timestamp",
1987
- "name": "expiredAt",
1988
- "type": "uint40"
1989
- },
1990
- {
1991
- "internalType": "Timestamp",
1992
- "name": "closedAt",
1993
- "type": "uint40"
1994
- }
1995
- ],
1996
- "internalType": "struct IPolicy.PolicyInfo",
1997
- "name": "policy",
1998
- "type": "tuple"
1999
- },
2000
- {
2001
- "internalType": "StateId",
2002
- "name": "newState",
2003
- "type": "uint8"
760
+ "internalType": "address",
761
+ "name": "",
762
+ "type": "address"
2004
763
  }
2005
764
  ],
2006
- "name": "updateApplication",
2007
- "outputs": [],
2008
- "stateMutability": "nonpayable",
765
+ "stateMutability": "view",
2009
766
  "type": "function"
2010
767
  },
2011
768
  {
2012
769
  "inputs": [
770
+ {
771
+ "internalType": "uint256",
772
+ "name": "idx",
773
+ "type": "uint256"
774
+ }
775
+ ],
776
+ "name": "getProductNftId",
777
+ "outputs": [
2013
778
  {
2014
779
  "internalType": "NftId",
2015
- "name": "applicationNftId",
780
+ "name": "productNftId",
2016
781
  "type": "uint96"
2017
- },
2018
- {
2019
- "internalType": "StateId",
2020
- "name": "newState",
2021
- "type": "uint8"
2022
782
  }
2023
783
  ],
2024
- "name": "updateApplicationState",
2025
- "outputs": [],
2026
- "stateMutability": "nonpayable",
784
+ "stateMutability": "view",
2027
785
  "type": "function"
2028
786
  },
2029
787
  {
2030
- "inputs": [
2031
- {
2032
- "internalType": "NftId",
2033
- "name": "bundleNftId",
2034
- "type": "uint96"
2035
- },
788
+ "inputs": [],
789
+ "name": "getRegistry",
790
+ "outputs": [
2036
791
  {
2037
- "components": [
2038
- {
2039
- "internalType": "NftId",
2040
- "name": "poolNftId",
2041
- "type": "uint96"
2042
- },
2043
- {
2044
- "components": [
2045
- {
2046
- "internalType": "UFixed",
2047
- "name": "fractionalFee",
2048
- "type": "uint256"
2049
- },
2050
- {
2051
- "internalType": "uint256",
2052
- "name": "fixedFee",
2053
- "type": "uint256"
2054
- }
2055
- ],
2056
- "internalType": "struct Fee",
2057
- "name": "fee",
2058
- "type": "tuple"
2059
- },
2060
- {
2061
- "internalType": "bytes",
2062
- "name": "filter",
2063
- "type": "bytes"
2064
- },
2065
- {
2066
- "internalType": "uint256",
2067
- "name": "capitalAmount",
2068
- "type": "uint256"
2069
- },
2070
- {
2071
- "internalType": "uint256",
2072
- "name": "lockedAmount",
2073
- "type": "uint256"
2074
- },
2075
- {
2076
- "internalType": "uint256",
2077
- "name": "balanceAmount",
2078
- "type": "uint256"
2079
- },
2080
- {
2081
- "internalType": "Seconds",
2082
- "name": "lifetime",
2083
- "type": "uint40"
2084
- },
2085
- {
2086
- "internalType": "Timestamp",
2087
- "name": "expiredAt",
2088
- "type": "uint40"
2089
- },
2090
- {
2091
- "internalType": "Timestamp",
2092
- "name": "closedAt",
2093
- "type": "uint40"
2094
- }
2095
- ],
2096
- "internalType": "struct IBundle.BundleInfo",
2097
- "name": "bundle",
2098
- "type": "tuple"
2099
- },
792
+ "internalType": "contract IRegistry",
793
+ "name": "",
794
+ "type": "address"
795
+ }
796
+ ],
797
+ "stateMutability": "view",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [],
802
+ "name": "getRelease",
803
+ "outputs": [
2100
804
  {
2101
- "internalType": "StateId",
2102
- "name": "newState",
805
+ "internalType": "VersionPart",
806
+ "name": "release",
2103
807
  "type": "uint8"
2104
808
  }
2105
809
  ],
2106
- "name": "updateBundle",
2107
- "outputs": [],
2108
- "stateMutability": "nonpayable",
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [],
815
+ "name": "getRiskSet",
816
+ "outputs": [
817
+ {
818
+ "internalType": "contract RiskSet",
819
+ "name": "",
820
+ "type": "address"
821
+ }
822
+ ],
823
+ "stateMutability": "view",
2109
824
  "type": "function"
2110
825
  },
2111
826
  {
2112
827
  "inputs": [
2113
828
  {
2114
- "internalType": "NftId",
2115
- "name": "bundleNftId",
2116
- "type": "uint96"
829
+ "internalType": "RoleId",
830
+ "name": "roleId",
831
+ "type": "uint64"
2117
832
  },
2118
833
  {
2119
- "internalType": "StateId",
2120
- "name": "newState",
2121
- "type": "uint8"
834
+ "internalType": "address",
835
+ "name": "account",
836
+ "type": "address"
2122
837
  }
2123
838
  ],
2124
- "name": "updateBundleState",
839
+ "name": "grantRole",
2125
840
  "outputs": [],
2126
841
  "stateMutability": "nonpayable",
2127
842
  "type": "function"
@@ -2129,237 +844,162 @@
2129
844
  {
2130
845
  "inputs": [
2131
846
  {
2132
- "internalType": "NftId",
2133
- "name": "policyNftId",
2134
- "type": "uint96"
847
+ "internalType": "contract InstanceAdmin",
848
+ "name": "instanceAdmin",
849
+ "type": "address"
2135
850
  },
2136
851
  {
2137
- "internalType": "ClaimId",
2138
- "name": "claimId",
2139
- "type": "uint16"
852
+ "internalType": "contract InstanceStore",
853
+ "name": "instanceStore",
854
+ "type": "address"
2140
855
  },
2141
856
  {
2142
- "components": [
2143
- {
2144
- "internalType": "uint256",
2145
- "name": "claimAmount",
2146
- "type": "uint256"
2147
- },
2148
- {
2149
- "internalType": "uint256",
2150
- "name": "paidAmount",
2151
- "type": "uint256"
2152
- },
2153
- {
2154
- "internalType": "bytes",
2155
- "name": "data",
2156
- "type": "bytes"
2157
- },
2158
- {
2159
- "internalType": "Timestamp",
2160
- "name": "closedAt",
2161
- "type": "uint40"
2162
- }
2163
- ],
2164
- "internalType": "struct IPolicy.ClaimInfo",
2165
- "name": "claim",
2166
- "type": "tuple"
857
+ "internalType": "contract BundleSet",
858
+ "name": "bundleSet",
859
+ "type": "address"
2167
860
  },
2168
861
  {
2169
- "internalType": "StateId",
2170
- "name": "newState",
862
+ "internalType": "contract RiskSet",
863
+ "name": "riskSet",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "contract InstanceReader",
868
+ "name": "instanceReader",
869
+ "type": "address"
870
+ },
871
+ {
872
+ "internalType": "contract IRegistry",
873
+ "name": "registry",
874
+ "type": "address"
875
+ },
876
+ {
877
+ "internalType": "VersionPart",
878
+ "name": "release",
2171
879
  "type": "uint8"
880
+ },
881
+ {
882
+ "internalType": "address",
883
+ "name": "initialOwner",
884
+ "type": "address"
885
+ },
886
+ {
887
+ "internalType": "bool",
888
+ "name": "tokenRegistryDisabled",
889
+ "type": "bool"
2172
890
  }
2173
891
  ],
2174
- "name": "updateClaim",
892
+ "name": "initialize",
2175
893
  "outputs": [],
2176
894
  "stateMutability": "nonpayable",
2177
895
  "type": "function"
2178
896
  },
2179
897
  {
2180
- "inputs": [
898
+ "inputs": [],
899
+ "name": "isActive",
900
+ "outputs": [
2181
901
  {
2182
- "internalType": "NftId",
2183
- "name": "policyNftId",
2184
- "type": "uint96"
2185
- },
902
+ "internalType": "bool",
903
+ "name": "active",
904
+ "type": "bool"
905
+ }
906
+ ],
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [],
912
+ "name": "isConsumingScheduledOp",
913
+ "outputs": [
2186
914
  {
2187
- "internalType": "ClaimId",
2188
- "name": "claimId",
2189
- "type": "uint16"
2190
- },
915
+ "internalType": "bytes4",
916
+ "name": "",
917
+ "type": "bytes4"
918
+ }
919
+ ],
920
+ "stateMutability": "view",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [],
925
+ "name": "isInstanceLocked",
926
+ "outputs": [
2191
927
  {
2192
- "internalType": "StateId",
2193
- "name": "newState",
2194
- "type": "uint8"
928
+ "internalType": "bool",
929
+ "name": "",
930
+ "type": "bool"
2195
931
  }
2196
932
  ],
2197
- "name": "updateClaimState",
2198
- "outputs": [],
2199
- "stateMutability": "nonpayable",
933
+ "stateMutability": "view",
2200
934
  "type": "function"
2201
935
  },
2202
936
  {
2203
937
  "inputs": [
2204
938
  {
2205
- "internalType": "NftId",
2206
- "name": "distributionNftId",
2207
- "type": "uint96"
2208
- },
2209
- {
2210
- "components": [
2211
- {
2212
- "internalType": "NftId",
2213
- "name": "productNftId",
2214
- "type": "uint96"
2215
- },
2216
- {
2217
- "internalType": "contract TokenHandler",
2218
- "name": "tokenHandler",
2219
- "type": "address"
2220
- },
2221
- {
2222
- "components": [
2223
- {
2224
- "internalType": "UFixed",
2225
- "name": "fractionalFee",
2226
- "type": "uint256"
2227
- },
2228
- {
2229
- "internalType": "uint256",
2230
- "name": "fixedFee",
2231
- "type": "uint256"
2232
- }
2233
- ],
2234
- "internalType": "struct Fee",
2235
- "name": "minDistributionOwnerFee",
2236
- "type": "tuple"
2237
- },
2238
- {
2239
- "components": [
2240
- {
2241
- "internalType": "UFixed",
2242
- "name": "fractionalFee",
2243
- "type": "uint256"
2244
- },
2245
- {
2246
- "internalType": "uint256",
2247
- "name": "fixedFee",
2248
- "type": "uint256"
2249
- }
2250
- ],
2251
- "internalType": "struct Fee",
2252
- "name": "distributionFee",
2253
- "type": "tuple"
2254
- },
2255
- {
2256
- "internalType": "address",
2257
- "name": "wallet",
2258
- "type": "address"
2259
- },
2260
- {
2261
- "internalType": "uint256",
2262
- "name": "sumDistributionFees",
2263
- "type": "uint256"
2264
- }
2265
- ],
2266
- "internalType": "struct ISetup.DistributionSetupInfo",
2267
- "name": "setup",
2268
- "type": "tuple"
2269
- },
939
+ "internalType": "address",
940
+ "name": "target",
941
+ "type": "address"
942
+ }
943
+ ],
944
+ "name": "isTargetLocked",
945
+ "outputs": [
2270
946
  {
2271
- "internalType": "StateId",
2272
- "name": "newState",
2273
- "type": "uint8"
947
+ "internalType": "bool",
948
+ "name": "",
949
+ "type": "bool"
2274
950
  }
2275
951
  ],
2276
- "name": "updateDistributionSetup",
2277
- "outputs": [],
2278
- "stateMutability": "nonpayable",
952
+ "stateMutability": "view",
2279
953
  "type": "function"
2280
954
  },
2281
955
  {
2282
- "inputs": [
2283
- {
2284
- "internalType": "NftId",
2285
- "name": "distributionNftId",
2286
- "type": "uint96"
2287
- },
956
+ "inputs": [],
957
+ "name": "isTokenRegistryDisabled",
958
+ "outputs": [
2288
959
  {
2289
- "internalType": "StateId",
2290
- "name": "newState",
2291
- "type": "uint8"
960
+ "internalType": "bool",
961
+ "name": "",
962
+ "type": "bool"
2292
963
  }
2293
964
  ],
2294
- "name": "updateDistributionSetupState",
2295
- "outputs": [],
2296
- "stateMutability": "nonpayable",
965
+ "stateMutability": "view",
2297
966
  "type": "function"
2298
967
  },
2299
968
  {
2300
- "inputs": [
969
+ "inputs": [],
970
+ "name": "linkToRegisteredNftId",
971
+ "outputs": [
2301
972
  {
2302
973
  "internalType": "NftId",
2303
974
  "name": "nftId",
2304
975
  "type": "uint96"
2305
- },
2306
- {
2307
- "components": [
2308
- {
2309
- "internalType": "DistributorType",
2310
- "name": "distributorType",
2311
- "type": "bytes8"
2312
- },
2313
- {
2314
- "internalType": "bool",
2315
- "name": "active",
2316
- "type": "bool"
2317
- },
2318
- {
2319
- "internalType": "bytes",
2320
- "name": "data",
2321
- "type": "bytes"
2322
- },
2323
- {
2324
- "internalType": "uint256",
2325
- "name": "sumCommisions",
2326
- "type": "uint256"
2327
- },
2328
- {
2329
- "internalType": "uint256",
2330
- "name": "numPoliciesSold",
2331
- "type": "uint256"
2332
- }
2333
- ],
2334
- "internalType": "struct IDistribution.DistributorInfo",
2335
- "name": "info",
2336
- "type": "tuple"
2337
- },
976
+ }
977
+ ],
978
+ "stateMutability": "nonpayable",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [],
983
+ "name": "products",
984
+ "outputs": [
2338
985
  {
2339
- "internalType": "StateId",
2340
- "name": "newState",
2341
- "type": "uint8"
986
+ "internalType": "uint256",
987
+ "name": "productCount",
988
+ "type": "uint256"
2342
989
  }
2343
990
  ],
2344
- "name": "updateDistributor",
2345
- "outputs": [],
2346
- "stateMutability": "nonpayable",
991
+ "stateMutability": "view",
2347
992
  "type": "function"
2348
993
  },
2349
994
  {
2350
995
  "inputs": [
2351
996
  {
2352
- "internalType": "NftId",
2353
- "name": "nftId",
997
+ "internalType": "Amount",
998
+ "name": "dipAmount",
2354
999
  "type": "uint96"
2355
- },
2356
- {
2357
- "internalType": "StateId",
2358
- "name": "newState",
2359
- "type": "uint8"
2360
1000
  }
2361
1001
  ],
2362
- "name": "updateDistributorState",
1002
+ "name": "refillStakingRewardReserves",
2363
1003
  "outputs": [],
2364
1004
  "stateMutability": "nonpayable",
2365
1005
  "type": "function"
@@ -2367,137 +1007,41 @@
2367
1007
  {
2368
1008
  "inputs": [
2369
1009
  {
2370
- "internalType": "Key32",
2371
- "name": "distributorKey",
2372
- "type": "bytes32"
2373
- },
2374
- {
2375
- "components": [
2376
- {
2377
- "internalType": "string",
2378
- "name": "name",
2379
- "type": "string"
2380
- },
2381
- {
2382
- "internalType": "UFixed",
2383
- "name": "minDiscountPercentage",
2384
- "type": "uint256"
2385
- },
2386
- {
2387
- "internalType": "UFixed",
2388
- "name": "maxDiscountPercentage",
2389
- "type": "uint256"
2390
- },
2391
- {
2392
- "internalType": "UFixed",
2393
- "name": "commissionPercentage",
2394
- "type": "uint256"
2395
- },
2396
- {
2397
- "internalType": "uint32",
2398
- "name": "maxReferralCount",
2399
- "type": "uint32"
2400
- },
2401
- {
2402
- "internalType": "uint32",
2403
- "name": "maxReferralLifetime",
2404
- "type": "uint32"
2405
- },
2406
- {
2407
- "internalType": "bool",
2408
- "name": "allowSelfReferrals",
2409
- "type": "bool"
2410
- },
2411
- {
2412
- "internalType": "bool",
2413
- "name": "allowRenewals",
2414
- "type": "bool"
2415
- },
2416
- {
2417
- "internalType": "bytes",
2418
- "name": "data",
2419
- "type": "bytes"
2420
- }
2421
- ],
2422
- "internalType": "struct IDistribution.DistributorTypeInfo",
2423
- "name": "info",
2424
- "type": "tuple"
1010
+ "internalType": "address",
1011
+ "name": "product",
1012
+ "type": "address"
2425
1013
  },
2426
1014
  {
2427
- "internalType": "StateId",
2428
- "name": "newState",
2429
- "type": "uint8"
1015
+ "internalType": "address",
1016
+ "name": "token",
1017
+ "type": "address"
2430
1018
  }
2431
1019
  ],
2432
- "name": "updateDistributorType",
2433
- "outputs": [],
2434
- "stateMutability": "nonpayable",
2435
- "type": "function"
2436
- },
2437
- {
2438
- "inputs": [
2439
- {
2440
- "internalType": "Key32",
2441
- "name": "distributorKey",
2442
- "type": "bytes32"
2443
- },
1020
+ "name": "registerProduct",
1021
+ "outputs": [
2444
1022
  {
2445
- "internalType": "StateId",
2446
- "name": "newState",
2447
- "type": "uint8"
1023
+ "internalType": "NftId",
1024
+ "name": "productNftId",
1025
+ "type": "uint96"
2448
1026
  }
2449
1027
  ],
2450
- "name": "updateDistributorTypeState",
2451
- "outputs": [],
2452
1028
  "stateMutability": "nonpayable",
2453
1029
  "type": "function"
2454
1030
  },
2455
1031
  {
2456
1032
  "inputs": [
2457
1033
  {
2458
- "internalType": "NftId",
2459
- "name": "policyNftId",
2460
- "type": "uint96"
2461
- },
2462
- {
2463
- "internalType": "NumberId",
2464
- "name": "payoutId",
2465
- "type": "uint32"
2466
- },
2467
- {
2468
- "components": [
2469
- {
2470
- "internalType": "ClaimId",
2471
- "name": "claimId",
2472
- "type": "uint16"
2473
- },
2474
- {
2475
- "internalType": "uint256",
2476
- "name": "amount",
2477
- "type": "uint256"
2478
- },
2479
- {
2480
- "internalType": "bytes",
2481
- "name": "data",
2482
- "type": "bytes"
2483
- },
2484
- {
2485
- "internalType": "Timestamp",
2486
- "name": "paidAt",
2487
- "type": "uint40"
2488
- }
2489
- ],
2490
- "internalType": "struct IPolicy.PayoutInfo",
2491
- "name": "payout",
2492
- "type": "tuple"
1034
+ "internalType": "RoleId",
1035
+ "name": "roleId",
1036
+ "type": "uint64"
2493
1037
  },
2494
1038
  {
2495
- "internalType": "StateId",
2496
- "name": "newState",
2497
- "type": "uint8"
1039
+ "internalType": "address",
1040
+ "name": "account",
1041
+ "type": "address"
2498
1042
  }
2499
1043
  ],
2500
- "name": "updatePayout",
1044
+ "name": "revokeRole",
2501
1045
  "outputs": [],
2502
1046
  "stateMutability": "nonpayable",
2503
1047
  "type": "function"
@@ -2505,17 +1049,12 @@
2505
1049
  {
2506
1050
  "inputs": [
2507
1051
  {
2508
- "internalType": "NftId",
2509
- "name": "policyNftId",
2510
- "type": "uint96"
2511
- },
2512
- {
2513
- "internalType": "StateId",
2514
- "name": "newState",
2515
- "type": "uint8"
1052
+ "internalType": "address",
1053
+ "name": "newAuthority",
1054
+ "type": "address"
2516
1055
  }
2517
1056
  ],
2518
- "name": "updatePayoutState",
1057
+ "name": "setAuthority",
2519
1058
  "outputs": [],
2520
1059
  "stateMutability": "nonpayable",
2521
1060
  "type": "function"
@@ -2523,104 +1062,12 @@
2523
1062
  {
2524
1063
  "inputs": [
2525
1064
  {
2526
- "internalType": "NftId",
2527
- "name": "policyNftId",
2528
- "type": "uint96"
2529
- },
2530
- {
2531
- "components": [
2532
- {
2533
- "internalType": "NftId",
2534
- "name": "productNftId",
2535
- "type": "uint96"
2536
- },
2537
- {
2538
- "internalType": "NftId",
2539
- "name": "bundleNftId",
2540
- "type": "uint96"
2541
- },
2542
- {
2543
- "internalType": "ReferralId",
2544
- "name": "referralId",
2545
- "type": "bytes8"
2546
- },
2547
- {
2548
- "internalType": "RiskId",
2549
- "name": "riskId",
2550
- "type": "bytes8"
2551
- },
2552
- {
2553
- "internalType": "uint256",
2554
- "name": "sumInsuredAmount",
2555
- "type": "uint256"
2556
- },
2557
- {
2558
- "internalType": "uint256",
2559
- "name": "premiumAmount",
2560
- "type": "uint256"
2561
- },
2562
- {
2563
- "internalType": "uint256",
2564
- "name": "premiumPaidAmount",
2565
- "type": "uint256"
2566
- },
2567
- {
2568
- "internalType": "Seconds",
2569
- "name": "lifetime",
2570
- "type": "uint40"
2571
- },
2572
- {
2573
- "internalType": "bytes",
2574
- "name": "applicationData",
2575
- "type": "bytes"
2576
- },
2577
- {
2578
- "internalType": "bytes",
2579
- "name": "policyData",
2580
- "type": "bytes"
2581
- },
2582
- {
2583
- "internalType": "uint16",
2584
- "name": "claimsCount",
2585
- "type": "uint16"
2586
- },
2587
- {
2588
- "internalType": "uint16",
2589
- "name": "openClaimsCount",
2590
- "type": "uint16"
2591
- },
2592
- {
2593
- "internalType": "uint256",
2594
- "name": "payoutAmount",
2595
- "type": "uint256"
2596
- },
2597
- {
2598
- "internalType": "Timestamp",
2599
- "name": "activatedAt",
2600
- "type": "uint40"
2601
- },
2602
- {
2603
- "internalType": "Timestamp",
2604
- "name": "expiredAt",
2605
- "type": "uint40"
2606
- },
2607
- {
2608
- "internalType": "Timestamp",
2609
- "name": "closedAt",
2610
- "type": "uint40"
2611
- }
2612
- ],
2613
- "internalType": "struct IPolicy.PolicyInfo",
2614
- "name": "policy",
2615
- "type": "tuple"
2616
- },
2617
- {
2618
- "internalType": "StateId",
2619
- "name": "newState",
2620
- "type": "uint8"
1065
+ "internalType": "bool",
1066
+ "name": "locked",
1067
+ "type": "bool"
2621
1068
  }
2622
1069
  ],
2623
- "name": "updatePolicy",
1070
+ "name": "setInstanceLocked",
2624
1071
  "outputs": [],
2625
1072
  "stateMutability": "nonpayable",
2626
1073
  "type": "function"
@@ -2628,17 +1075,12 @@
2628
1075
  {
2629
1076
  "inputs": [
2630
1077
  {
2631
- "internalType": "NftId",
2632
- "name": "policyNftId",
2633
- "type": "uint96"
2634
- },
2635
- {
2636
- "internalType": "StateId",
2637
- "name": "newState",
2638
- "type": "uint8"
1078
+ "internalType": "contract InstanceReader",
1079
+ "name": "instanceReader",
1080
+ "type": "address"
2639
1081
  }
2640
1082
  ],
2641
- "name": "updatePolicyState",
1083
+ "name": "setInstanceReader",
2642
1084
  "outputs": [],
2643
1085
  "stateMutability": "nonpayable",
2644
1086
  "type": "function"
@@ -2646,120 +1088,17 @@
2646
1088
  {
2647
1089
  "inputs": [
2648
1090
  {
2649
- "internalType": "NftId",
2650
- "name": "poolNftId",
2651
- "type": "uint96"
2652
- },
2653
- {
2654
- "components": [
2655
- {
2656
- "internalType": "NftId",
2657
- "name": "productNftId",
2658
- "type": "uint96"
2659
- },
2660
- {
2661
- "internalType": "contract TokenHandler",
2662
- "name": "tokenHandler",
2663
- "type": "address"
2664
- },
2665
- {
2666
- "internalType": "uint256",
2667
- "name": "maxCapitalAmount",
2668
- "type": "uint256"
2669
- },
2670
- {
2671
- "internalType": "bool",
2672
- "name": "isInterceptingBundleTransfers",
2673
- "type": "bool"
2674
- },
2675
- {
2676
- "internalType": "bool",
2677
- "name": "isExternallyManaged",
2678
- "type": "bool"
2679
- },
2680
- {
2681
- "internalType": "bool",
2682
- "name": "isVerifyingApplications",
2683
- "type": "bool"
2684
- },
2685
- {
2686
- "internalType": "UFixed",
2687
- "name": "collateralizationLevel",
2688
- "type": "uint256"
2689
- },
2690
- {
2691
- "internalType": "UFixed",
2692
- "name": "retentionLevel",
2693
- "type": "uint256"
2694
- },
2695
- {
2696
- "components": [
2697
- {
2698
- "internalType": "UFixed",
2699
- "name": "fractionalFee",
2700
- "type": "uint256"
2701
- },
2702
- {
2703
- "internalType": "uint256",
2704
- "name": "fixedFee",
2705
- "type": "uint256"
2706
- }
2707
- ],
2708
- "internalType": "struct Fee",
2709
- "name": "poolFee",
2710
- "type": "tuple"
2711
- },
2712
- {
2713
- "components": [
2714
- {
2715
- "internalType": "UFixed",
2716
- "name": "fractionalFee",
2717
- "type": "uint256"
2718
- },
2719
- {
2720
- "internalType": "uint256",
2721
- "name": "fixedFee",
2722
- "type": "uint256"
2723
- }
2724
- ],
2725
- "internalType": "struct Fee",
2726
- "name": "stakingFee",
2727
- "type": "tuple"
2728
- },
2729
- {
2730
- "components": [
2731
- {
2732
- "internalType": "UFixed",
2733
- "name": "fractionalFee",
2734
- "type": "uint256"
2735
- },
2736
- {
2737
- "internalType": "uint256",
2738
- "name": "fixedFee",
2739
- "type": "uint256"
2740
- }
2741
- ],
2742
- "internalType": "struct Fee",
2743
- "name": "performanceFee",
2744
- "type": "tuple"
2745
- },
2746
- {
2747
- "internalType": "address",
2748
- "name": "wallet",
2749
- "type": "address"
2750
- }
2751
- ],
2752
- "internalType": "struct ISetup.PoolSetupInfo",
2753
- "name": "setup",
2754
- "type": "tuple"
1091
+ "internalType": "RoleId",
1092
+ "name": "roleId",
1093
+ "type": "uint64"
2755
1094
  },
2756
1095
  {
2757
- "internalType": "StateId",
2758
- "name": "newState",
2759
- "type": "uint8"
1096
+ "internalType": "bool",
1097
+ "name": "active",
1098
+ "type": "bool"
2760
1099
  }
2761
1100
  ],
2762
- "name": "updatePoolSetup",
1101
+ "name": "setRoleActive",
2763
1102
  "outputs": [],
2764
1103
  "stateMutability": "nonpayable",
2765
1104
  "type": "function"
@@ -2767,17 +1106,12 @@
2767
1106
  {
2768
1107
  "inputs": [
2769
1108
  {
2770
- "internalType": "NftId",
2771
- "name": "poolNftId",
2772
- "type": "uint96"
2773
- },
2774
- {
2775
- "internalType": "StateId",
2776
- "name": "newState",
2777
- "type": "uint8"
1109
+ "internalType": "Seconds",
1110
+ "name": "stakeLockingPeriod",
1111
+ "type": "uint40"
2778
1112
  }
2779
1113
  ],
2780
- "name": "updatePoolSetupState",
1114
+ "name": "setStakingLockingPeriod",
2781
1115
  "outputs": [],
2782
1116
  "stateMutability": "nonpayable",
2783
1117
  "type": "function"
@@ -2785,88 +1119,12 @@
2785
1119
  {
2786
1120
  "inputs": [
2787
1121
  {
2788
- "internalType": "NftId",
2789
- "name": "productNftId",
1122
+ "internalType": "Amount",
1123
+ "name": "maxStakedAmount",
2790
1124
  "type": "uint96"
2791
- },
2792
- {
2793
- "components": [
2794
- {
2795
- "internalType": "contract IERC20Metadata",
2796
- "name": "token",
2797
- "type": "address"
2798
- },
2799
- {
2800
- "internalType": "contract TokenHandler",
2801
- "name": "tokenHandler",
2802
- "type": "address"
2803
- },
2804
- {
2805
- "internalType": "NftId",
2806
- "name": "distributionNftId",
2807
- "type": "uint96"
2808
- },
2809
- {
2810
- "internalType": "NftId",
2811
- "name": "poolNftId",
2812
- "type": "uint96"
2813
- },
2814
- {
2815
- "components": [
2816
- {
2817
- "internalType": "UFixed",
2818
- "name": "fractionalFee",
2819
- "type": "uint256"
2820
- },
2821
- {
2822
- "internalType": "uint256",
2823
- "name": "fixedFee",
2824
- "type": "uint256"
2825
- }
2826
- ],
2827
- "internalType": "struct Fee",
2828
- "name": "productFee",
2829
- "type": "tuple"
2830
- },
2831
- {
2832
- "components": [
2833
- {
2834
- "internalType": "UFixed",
2835
- "name": "fractionalFee",
2836
- "type": "uint256"
2837
- },
2838
- {
2839
- "internalType": "uint256",
2840
- "name": "fixedFee",
2841
- "type": "uint256"
2842
- }
2843
- ],
2844
- "internalType": "struct Fee",
2845
- "name": "processingFee",
2846
- "type": "tuple"
2847
- },
2848
- {
2849
- "internalType": "bool",
2850
- "name": "isIntercepting",
2851
- "type": "bool"
2852
- },
2853
- {
2854
- "internalType": "address",
2855
- "name": "wallet",
2856
- "type": "address"
2857
- }
2858
- ],
2859
- "internalType": "struct ISetup.ProductSetupInfo",
2860
- "name": "setup",
2861
- "type": "tuple"
2862
- },
2863
- {
2864
- "internalType": "StateId",
2865
- "name": "newState",
2866
- "type": "uint8"
2867
1125
  }
2868
1126
  ],
2869
- "name": "updateProductSetup",
1127
+ "name": "setStakingMaxAmount",
2870
1128
  "outputs": [],
2871
1129
  "stateMutability": "nonpayable",
2872
1130
  "type": "function"
@@ -2874,17 +1132,12 @@
2874
1132
  {
2875
1133
  "inputs": [
2876
1134
  {
2877
- "internalType": "NftId",
2878
- "name": "productNftId",
2879
- "type": "uint96"
2880
- },
2881
- {
2882
- "internalType": "StateId",
2883
- "name": "newState",
2884
- "type": "uint8"
1135
+ "internalType": "UFixed",
1136
+ "name": "rewardRate",
1137
+ "type": "uint160"
2885
1138
  }
2886
1139
  ],
2887
- "name": "updateProductSetupState",
1140
+ "name": "setStakingRewardRate",
2888
1141
  "outputs": [],
2889
1142
  "stateMutability": "nonpayable",
2890
1143
  "type": "function"
@@ -2892,59 +1145,17 @@
2892
1145
  {
2893
1146
  "inputs": [
2894
1147
  {
2895
- "internalType": "Key32",
2896
- "name": "referralKey",
2897
- "type": "bytes32"
2898
- },
2899
- {
2900
- "components": [
2901
- {
2902
- "internalType": "NftId",
2903
- "name": "distributorNftId",
2904
- "type": "uint96"
2905
- },
2906
- {
2907
- "internalType": "string",
2908
- "name": "referralCode",
2909
- "type": "string"
2910
- },
2911
- {
2912
- "internalType": "UFixed",
2913
- "name": "discountPercentage",
2914
- "type": "uint256"
2915
- },
2916
- {
2917
- "internalType": "uint32",
2918
- "name": "maxReferrals",
2919
- "type": "uint32"
2920
- },
2921
- {
2922
- "internalType": "uint32",
2923
- "name": "usedReferrals",
2924
- "type": "uint32"
2925
- },
2926
- {
2927
- "internalType": "Timestamp",
2928
- "name": "expiryAt",
2929
- "type": "uint40"
2930
- },
2931
- {
2932
- "internalType": "bytes",
2933
- "name": "data",
2934
- "type": "bytes"
2935
- }
2936
- ],
2937
- "internalType": "struct IDistribution.ReferralInfo",
2938
- "name": "referralInfo",
2939
- "type": "tuple"
1148
+ "internalType": "address",
1149
+ "name": "target",
1150
+ "type": "address"
2940
1151
  },
2941
1152
  {
2942
- "internalType": "StateId",
2943
- "name": "newState",
2944
- "type": "uint8"
1153
+ "internalType": "bool",
1154
+ "name": "locked",
1155
+ "type": "bool"
2945
1156
  }
2946
1157
  ],
2947
- "name": "updateReferral",
1158
+ "name": "setTargetLocked",
2948
1159
  "outputs": [],
2949
1160
  "stateMutability": "nonpayable",
2950
1161
  "type": "function"
@@ -2952,52 +1163,60 @@
2952
1163
  {
2953
1164
  "inputs": [
2954
1165
  {
2955
- "internalType": "Key32",
2956
- "name": "referralKey",
2957
- "type": "bytes32"
2958
- },
1166
+ "internalType": "bytes4",
1167
+ "name": "interfaceId",
1168
+ "type": "bytes4"
1169
+ }
1170
+ ],
1171
+ "name": "supportsInterface",
1172
+ "outputs": [
2959
1173
  {
2960
- "internalType": "StateId",
2961
- "name": "newState",
2962
- "type": "uint8"
1174
+ "internalType": "bool",
1175
+ "name": "",
1176
+ "type": "bool"
2963
1177
  }
2964
1178
  ],
2965
- "name": "updateReferralState",
2966
- "outputs": [],
2967
- "stateMutability": "nonpayable",
1179
+ "stateMutability": "view",
2968
1180
  "type": "function"
2969
1181
  },
2970
1182
  {
2971
1183
  "inputs": [
2972
1184
  {
2973
- "internalType": "RiskId",
2974
- "name": "riskId",
2975
- "type": "bytes8"
1185
+ "internalType": "address",
1186
+ "name": "target",
1187
+ "type": "address"
2976
1188
  },
2977
1189
  {
2978
1190
  "components": [
2979
1191
  {
2980
- "internalType": "NftId",
2981
- "name": "productNftId",
2982
- "type": "uint96"
1192
+ "internalType": "Str",
1193
+ "name": "name",
1194
+ "type": "bytes32"
2983
1195
  },
2984
1196
  {
2985
- "internalType": "bytes",
2986
- "name": "data",
2987
- "type": "bytes"
1197
+ "internalType": "Selector",
1198
+ "name": "selector",
1199
+ "type": "bytes4"
1200
+ },
1201
+ {
1202
+ "internalType": "Timestamp",
1203
+ "name": "createdAt",
1204
+ "type": "uint40"
2988
1205
  }
2989
1206
  ],
2990
- "internalType": "struct IRisk.RiskInfo",
2991
- "name": "risk",
2992
- "type": "tuple"
2993
- },
2994
- {
2995
- "internalType": "StateId",
2996
- "name": "newState",
2997
- "type": "uint8"
1207
+ "internalType": "struct IAccess.FunctionInfo[]",
1208
+ "name": "functions",
1209
+ "type": "tuple[]"
2998
1210
  }
2999
1211
  ],
3000
- "name": "updateRisk",
1212
+ "name": "unauthorizeFunctions",
1213
+ "outputs": [],
1214
+ "stateMutability": "nonpayable",
1215
+ "type": "function"
1216
+ },
1217
+ {
1218
+ "inputs": [],
1219
+ "name": "upgradeInstanceReader",
3001
1220
  "outputs": [],
3002
1221
  "stateMutability": "nonpayable",
3003
1222
  "type": "function"
@@ -3005,320 +1224,81 @@
3005
1224
  {
3006
1225
  "inputs": [
3007
1226
  {
3008
- "internalType": "RiskId",
3009
- "name": "riskId",
3010
- "type": "bytes8"
3011
- },
1227
+ "internalType": "Amount",
1228
+ "name": "dipAmount",
1229
+ "type": "uint96"
1230
+ }
1231
+ ],
1232
+ "name": "withdrawStakingRewardReserves",
1233
+ "outputs": [
3012
1234
  {
3013
- "internalType": "StateId",
3014
- "name": "newState",
3015
- "type": "uint8"
1235
+ "internalType": "Amount",
1236
+ "name": "newBalance",
1237
+ "type": "uint96"
3016
1238
  }
3017
1239
  ],
3018
- "name": "updateRiskState",
3019
- "outputs": [],
3020
1240
  "stateMutability": "nonpayable",
3021
1241
  "type": "function"
3022
1242
  }
3023
1243
  ],
3024
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000040565b62000026620001f7565b6200003062000331565b6200003a6200059e565b62000717565b60dc600090815260026020527f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef0805460ff191660641790556001906003906200008760dc90565b60ff1660ff1681526020019081526020016000206000620000ad620006e560201b60201c565b60ff1660ff1681526020019081526020016000206000620000d3620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200010760dc90565b60ff1660ff16815260200190815260200160002060006200012d620006ef60201b60201c565b60ff1660ff168152602001908152602001600020600062000153620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200018760dc90565b60ff1660ff1681526020019081526020016000206000620001ad620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf8054909116600190811790915560009182526003602052907f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e906200028b606e90565b60ff1660ff1681526020019081526020016000206000620002b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e5606490565b60ff1660ff16815260200190815260200160002060006200030b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f960201b60201c565b60d3600090815260026020527feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d805460ff1916600a1790556001906003906200037860d390565b60ff1660ff16815260200190815260200160002060006200039e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620003c46200070360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620003f860d390565b60ff1660ff16815260200190815260200160002060006200041e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004446200070860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200047860d390565b60ff1660ff16815260200190815260200160002060006200049e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004c46200070d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620004f860d390565b60ff1660ff16815260200190815260200160002060006200051e6200070d60201b60201c565b60ff1660ff168152602001908152602001600020600062000544620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200057860d390565b60ff1660ff1681526020019081526020016000206000620001ad620006e560201b60201c565b60c8600090815260026020527fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e805460ff19166064179055600190600390620005e560c890565b60ff1660ff16815260200190815260200160002060006200060b620006e560201b60201c565b60ff1660ff168152602001908152602001600020600062000631620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200066560c890565b60ff1660ff16815260200190815260200160002060006200068b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620006b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006ea565b61520480620007276000396000f3fe608060405234801561001057600080fd5b50600436106104a15760003560e01c8063675393bf1161026d578063b6d7cd6211610151578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610b3d578063fa145b6d14610b50578063fb4a8e3414610b63578063fbc1a3a014610b76578063fe1f18d614610b89578063fed3d63f14610b9c57600080fd5b8063e9e96c7014610ac6578063f21de1e8146107f1578063f48016ce14610b04578063f7b442d114610b17578063f7bc431c14610b2a57600080fd5b8063cde749f411610115578063cde749f414610a7d578063cf947d2014610a85578063d2f21a2914610a98578063dee3262314610aab578063e1033e7d14610abe57600080fd5b8063b6d7cd6214610a47578063bf1db3f914610a5a578063bf7e214f14610a6d578063c29948fc14610611578063ca600b1c14610a7557600080fd5b80639df0280b116101ea578063a76ee018116101ae578063a76ee018146109e6578063a8989675146109f9578063ada9652e14610a0c578063afa5e13014610798578063afcc743914610a21578063b3260e9314610a3457600080fd5b80639df0280b146105bb5780639e90178c146108fc578063a13df2ab1461090f578063a5961b4c14610922578063a671495e146109d357600080fd5b80637cef4842116102315780637cef48421461088d578063893d20e8146108a05780638eaa6ac0146108a85780638fb36037146108c8578063976b0a77146108e957600080fd5b8063675393bf146108445780636b9bf08b1461085757806375b238fc1461085f5780637a9e5e4b146108675780637b8c388f1461087a57600080fd5b80632f61088a11610394578063447fc48f116103115780635772b101116102d55780635772b101146107de5780635ab1bd53146107f15780635d4345cc146105bb5780635dfa73db1461080257806361f5f4201461080b578063644c45e01461081c57600080fd5b8063447fc48f14610772578063468a1867146107855780635378cd3c1461079857806354d747a8146107ab57806354f6127f146107be57600080fd5b80633ca7c02a116103585780633ca7c02a1461070b5780633e35aba81461073157806340529b0f14610744578063422c9d00146107575780634288121d1461076a57600080fd5b80632f61088a146106ad57806336fc697e146106c057806337f135d7146106c857806338a699a4146106e55780633c0d6a41146106f857600080fd5b80631204b553116104225780631eff4b22116103e65780631eff4b2214610645578063214cdb801461066c5780632781d4431461067f57806327953f481461068757806327bb7a331461069a57600080fd5b80631204b553146105e357806312aa0b2a146105f6578063138461e0146106095780631518afb9146106115780631b38d5f41461062457600080fd5b80630d358181116104695780630d3581811461056f5780630f03144a146105955780630f526f7d146105a85780630fad0eb1146105bb5780630fec111c146105ce57600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d57806309fb1d08146105475780630cbc6b891461055c575b600080fd5b6104d36104b4366004613364565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461338e565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b61055a61055536600461362f565b610ba4565b005b61055a61056a366004613724565b610bea565b61053561057d366004613765565b60ff9081166000908152600260205260409020541690565b61055a6105a33660046138ea565b610c12565b61055a6105b6366004613939565b610c50565b61055a6105c9366004613939565b610c6d565b6105d6610c82565b6040516104df91906139c2565b61055a6105f1366004613a4d565b610e31565b61055a610604366004613aa5565b610e57565b61055a610e7f565b61055a61061f366004613c5a565b611086565b610637610632366004613ca1565b6110ac565b6040519081526020016104df565b6106377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61055a61067a366004613364565b61114b565b610637600381565b61055a610695366004613dae565b611178565b61055a6106a8366004613dea565b611196565b61055a6106bb366004613edc565b611222565b61055a6112bd565b6106d0600081565b60405163ffffffff90911681526020016104df565b6104d36106f336600461338e565b611303565b61055a610706366004613f98565b611392565b6107196001600160401b0381565b6040516001600160401b0390911681526020016104df565b61063761073f366004613ca1565b6113b8565b61055a610752366004613939565b6113e5565b61055a610765366004613ff9565b6113fa565b6104f5611537565b61055a610780366004614016565b6115ca565b610637610793366004613ca1565b6115f6565b61055a6107a636600461408a565b611623565b61055a6107b936600461416b565b611636565b6107d16107cc36600461338e565b611654565b6040516104df91906141a7565b61055a6107ec3660046141fd565b6116f9565b6001546001600160a01b03166104f5565b61071961271081565b6007546001600160a01b03166104f5565b60008051602061518f833981519152546040516001600160601b0390911681526020016104df565b61055a610852366004613ff9565b61171f565b6104f561182b565b610719600081565b61055a610875366004613ff9565b611854565b610637610888366004613ca1565b6118d7565b61055a61089b366004614255565b611904565b6104f561198e565b6108bb6108b636600461338e565b611ac5565b6040516104df91906142bd565b6108d0611c06565b6040516001600160e01b031990911681526020016104df565b61055a6108f73660046142e9565b611c3e565b61055a61090a3660046143df565b611d7d565b61063761091d366004613ca1565b611da5565b6109c661093036600461338e565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df919061440d565b61055a6109e13660046144be565b611dd2565b61055a6109f4366004614503565b611df8565b61055a610a0736600461454a565b611e93565b61063760008051602061518f83398151915281565b61055a610a2f36600461458a565b611f84565b61055a610a423660046145cf565b611faa565b61055a610a5536600461460d565b611fc8565b6104d3610a68366004613765565b611fdd565b6104f561202a565b6104f5612046565b61053561206f565b61055a610a9336600461463d565b6120e6565b61055a610aa6366004613939565b612104565b61055a610ab9366004613939565b61211b565b6104f5612132565b6104d3610ad436600461454a565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610637610b1236600461468b565b61215b565b61055a610b253660046146b9565b6121e6565b61055a610b38366004613ff9565b61220e565b61055a610b4b3660046146fa565b6122fb565b61055a610b5e366004614728565b612372565b61055a610b7136600461477f565b612398565b61055a610b843660046147c6565b6123be565b61055a610b97366004613939565b6123e6565b6104f56123fb565b610bb1335b600036612424565b610be5610bbf84608c61252a565b83604051602001610bd091906147f4565b60405160208183030381529060405283612576565b505050565b610bf333610ba9565b610be5610c0184606e61252a565b83604051602001610bd091906148ed565b610c1b33610ba9565b610c4c610c2783611da5565b82604051602001610c38919061499a565b604051602081830303815290604052612581565b5050565b610c5933610ba9565b610c4c610c6783608c61252a565b8261258b565b610c7633610ba9565b610c4c610c67836115f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610d2d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5990614a56565b8015610da65780601f10610d7b57610100808354040283529160200191610da6565b820191906000526020600020905b815481529060010190602001808311610d8957829003601f168201915b50505050508152505090506040518060e00160405280610dc4600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e1561198e565b6001600160a01b03168152602001826060015181525091505090565b610e3a33610ba9565b610be5610e4684611da5565b83604051602001610bd0919061499a565b610e6033610ba9565b610c4c610e6e83608c61252a565b82604051602001610c3891906147f4565b600060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f129190614a90565b15610f435780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610f566001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc29190614a90565b610fea5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610f3a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190614aad565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61108f33610ba9565b610be561109b846115f6565b83604051602001610bd09190614aca565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614c18565b92915050565b611153612595565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61118133610ba9565b610c4c8282604051602001610c389190614c31565b61119e612595565b6111a882876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112188382614d27565b5050505050505050565b61122b33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ac9190614c18565b82604051602001610c389190614de6565b6112c5612595565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561136e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614a90565b61139b33610ba9565b610be56113a7846115f6565b82604051602001610c389190614e14565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786110d5565b6113ee33610ba9565b610c4c610c67836118d7565b61140333610ba9565b6007546001600160a01b0316156114535760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610f3a565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561149b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bf9190614e65565b6001600160a01b0316146115155760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610f3a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061154b6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c59190614e65565b905090565b6115d333610ba9565b6115f06115df856115f6565b83604051602001610bd09190614e14565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36110d5565b61162c33610ba9565b610c4c828261258b565b61163f33610ba9565b610c4c8282604051602001610c389190614e82565b600081815260046020526040902060010180546060919061167490614a56565b80601f01602080910402602001604051908101604052809291908181526020018280546116a090614a56565b80156116ed5780601f106116c2576101008083540402835291602001916116ed565b820191906000526020600020905b8154815290600101906020018083116116d057829003601f168201915b50505050509050919050565b61170233610ba9565b6115f061170e856115f6565b83604051602001610bd09190614f1d565b611727612595565b806001600160a01b03163b60000361175d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156117d7575060408051601f3d908101601f191682019092526117d491810190614a90565b60015b6117ff5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b80610c4c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610f3a565b50565b600061183f6001546001600160a01b031690565b6001600160a01b031663d39e6043608c61155c565b3361185d61202a565b6001600160a01b0316816001600160a01b0316146118985760405162d1953b60e31b81526001600160a01b0382166004820152602401610f3a565b816001600160a01b03163b6000036118ce576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f3a565b610c4c826125e0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6110d5565b61190d33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561196a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190614c18565b60008060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a229190614a90565b15611aaf576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa99190614e65565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b7d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba990614a56565b8015611bf65780601f10611bcb57610100808354040283529160200191611bf6565b820191906000526020600020905b815481529060010190602001808311611bd957829003601f168201915b5050505050815250509050919050565b6000805160206151af833981519152805460009190600160a01b900460ff16611c30576000611aa9565b638fb3603760e01b91505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611c835750825b90506000826001600160401b03166001148015611c9f5750303b155b905081158015611cad575080155b15611ccb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cf557845460ff60401b1916600160401b1785555b611cfe89612641565b611d1d8888604660008a60405180602001604052806000815250611196565b611d2c62e51dcd60e31b61114b565b8315611d7257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611d8633610ba9565b610c4c611d9483607861252a565b82604051602001610c389190614f4d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6110d5565b611ddb33610ba9565b610c4c611de7836118d7565b82604051602001610c389190614fc1565b611e0133610ba9565b6040516355ee627560e01b81526001600160c01b031984166004820152610be59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e829190614c18565b83604051602001610bd09190614de6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1c9190614a90565b15611f2657505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610be557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610f3a565b611f8d33610ba9565b610c4c611f99836115f6565b82604051602001610c389190614aca565b611fb333610ba9565b610be58383604051602001610bd09190614c31565b611fd133610ba9565b610be5610c67846115f6565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611351565b6000805160206151af833981519152546001600160a01b031690565b600061205a6001546001600160a01b031690565b6001600160a01b031663d39e6043607861155c565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c5919061501f565b6120ef33610ba9565b610be58383604051602001610bd09190614e82565b61210d33610ba9565b610c4c610c6783607861252a565b61212433610ba9565b610c4c610c6783606e61252a565b60006121466001546001600160a01b031690565b6001600160a01b031663d39e604360d361155c565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190614c18565b9392505050565b6121ef33610ba9565b610be56121fd84607861252a565b83604051602001610bd09190614f4d565b61221733610ba9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122839190614e65565b6001600160a01b0316146122d95760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610f3a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b612303612595565b61230c8161171f565b6123146112bd565b6001600160a01b03821661233b5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061518f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61237b33610ba9565b610be5612387846115f6565b82604051602001610c389190614f1d565b6123a133610ba9565b610be56123ad846118d7565b83604051602001610bd09190614fc1565b6123c733610ba9565b610c4c6123d583606e61252a565b82604051602001610c3891906148ed565b6123ef33610ba9565b610c4c610c6783611da5565b600061240f6001546001600160a01b031690565b6001600160a01b031663d39e604360dc61155c565b6000805160206151af83398151915260008061245f61244161202a565b8730612451600460008a8c61503c565b61245a91615066565b612652565b91509150816125225763ffffffff8116156124ff57825460ff60a01b1916600160a01b17835561248d61202a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124bc93929190615096565b600060405180830381600087803b1580156124d657600080fd5b505af11580156124ea573d6000803e3d6000fd5b5050845460ff60a01b19168555506125229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f3a565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161219e565b610be583838361275e565b610c4c8282612c06565b610c4c828261301f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166125de57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206151af83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612649612595565b61182881613353565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126c191906150d6565b600060405180830381855afa9150503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b50915091508115612753576040815110612733578080602001905181019061272991906150f2565b9094509250612753565b602081511061275357808060200190518101906127509190614a90565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d49190614a90565b6128205760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561288c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b09190614a90565b6128fc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b60008581526004602052604090206001016129178582614d27565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661295c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a12919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a869190615121565b8786863287604051612a9e979695949392919061513e565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3c919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190615121565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612c59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7d919061501f565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf69190614a90565b612d425760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610f3a565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd39190614a90565b612e1f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610f3a565b33436000612e2c85611fdd565b612e37576064612e4d565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612ed78782614d27565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6e919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fe29190615121565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612bf5565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613071573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130959190614a90565b6130e15760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561314d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131719190614a90565b6131bd5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132014390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b7919061501f565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332b9190615121565b8786863287604051613343979695949392919061513e565b60405180910390a1505050505050565b61335b612595565b611828816125e0565b60006020828403121561337657600080fd5b81356001600160e01b0319811681146121df57600080fd5b6000602082840312156133a057600080fd5b5035919050565b6001600160601b038116811461182857600080fd5b80356133c7816133a7565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613404576134046133cc565b60405290565b60405161018081016001600160401b0381118282101715613404576134046133cc565b60405161010081016001600160401b0381118282101715613404576134046133cc565b60405161012081016001600160401b0381118282101715613404576134046133cc565b60405161020081016001600160401b0381118282101715613404576134046133cc565b604051608081016001600160401b0381118282101715613404576134046133cc565b60405160e081016001600160401b0381118282101715613404576134046133cc565b6001600160a01b038116811461182857600080fd5b80356133c7816134da565b801515811461182857600080fd5b80356133c7816134fa565b60006040828403121561352557600080fd5b61352d6133e2565b9050813581526020820135602082015292915050565b60006101e0828403121561355657600080fd5b61355e61340a565b9050613569826133bc565b8152613577602083016134ef565b60208201526040820135604082015261359260608301613508565b60608201526135a360808301613508565b60808201526135b460a08301613508565b60a082015260c082013560c082015260e082013560e08201526101006135dc84828501613513565b908201526101406135ef84848301613513565b610120830152613603846101808501613513565b908201526136146101c083016134ef565b61016082015292915050565b60ff8116811461182857600080fd5b6000806000610220848603121561364557600080fd5b8335613650816133a7565b925061365f8560208601613543565b915061020084013561367081613620565b809150509250925092565b6000610140828403121561368e57600080fd5b61369661342d565b90506136a1826134ef565b81526136af602083016134ef565b60208201526136c0604083016133bc565b60408201526136d1606083016133bc565b60608201526136e38360808401613513565b60808201526136f58360c08401613513565b60a08201526137076101008301613508565b60c082015261371961012083016134ef565b60e082015292915050565b6000806000610180848603121561373a57600080fd5b8335613745816133a7565b9250613754856020860161367b565b915061016084013561367081613620565b60006020828403121561377757600080fd5b81356121df81613620565b600082601f83011261379357600080fd5b81356001600160401b03808211156137ad576137ad6133cc565b604051601f8301601f19908116603f011681019082821181831017156137d5576137d56133cc565b816040528381528660208588010111156137ee57600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461182857600080fd5b80356133c78161380e565b6000610140828403121561383f57600080fd5b613847613450565b9050613852826133bc565b81526138618360208401613513565b602082015260608201356001600160401b0381111561387f57600080fd5b61388b84828501613782565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526138bb60e08301613821565b60c08201526101006138ce818401613821565b60e08301526138e06101208401613821565b9082015292915050565b600080604083850312156138fd57600080fd5b8235613908816133a7565b915060208301356001600160401b0381111561392357600080fd5b61392f8582860161382c565b9150509250929050565b6000806040838503121561394c57600080fd5b8235613957816133a7565b9150602083013561396781613620565b809150509250929050565b60005b8381101561398d578181015183820152602001613975565b50506000910152565b600081518084526139ae816020860160208601613972565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613a2b60c08401826001600160a01b03169052565b5060c083015160e080840152613a45610100840182613996565b949350505050565b600080600060608486031215613a6257600080fd5b8335613a6d816133a7565b925060208401356001600160401b03811115613a8857600080fd5b613a948682870161382c565b925050604084013561367081613620565b6000806102008385031215613ab957600080fd5b8235613ac4816133a7565b9150613ad38460208501613543565b90509250929050565b6001600160c01b03198116811461182857600080fd5b80356133c781613adc565b61ffff8116811461182857600080fd5b80356133c781613afd565b60006102008284031215613b2b57600080fd5b613b33613473565b9050613b3e826133bc565b8152613b4c602083016133bc565b6020820152613b5d60408301613af2565b6040820152613b6e60608301613af2565b60608201526080820135608082015260a082013560a082015260c082013560c0820152613b9d60e08301613821565b60e0820152610100808301356001600160401b0380821115613bbe57600080fd5b613bca86838701613782565b83850152610120925082850135915080821115613be657600080fd5b50613bf385828601613782565b828401525050610140613c07818401613b0d565b90820152610160613c19838201613b0d565b9082015261018082810135908201526101a0613c36818401613821565b908201526101c0613c48838201613821565b908201526101e06138e0838201613821565b600080600060608486031215613c6f57600080fd5b8335613c7a816133a7565b925060208401356001600160401b03811115613c9557600080fd5b613a9486828701613b18565b600060208284031215613cb357600080fd5b81356121df816133a7565b63ffffffff8116811461182857600080fd5b80356133c781613cbe565b60006101208284031215613cee57600080fd5b613cf6613450565b905081356001600160401b0380821115613d0f57600080fd5b613d1b85838601613782565b8352602084013560208401526040840135604084015260608401356060840152613d4760808501613cd0565b6080840152613d5860a08501613cd0565b60a0840152613d6960c08501613508565b60c0840152613d7a60e08501613508565b60e084015261010091508184013581811115613d9557600080fd5b613da186828701613782565b8385015250505092915050565b60008060408385031215613dc157600080fd5b8235915060208301356001600160401b03811115613dde57600080fd5b61392f85828601613cdb565b60008060008060008060c08789031215613e0357600080fd5b8635613e0e816134da565b95506020870135613e1e816133a7565b94506040870135613e2e81613620565b93506060870135613e3e816134fa565b92506080870135613e4e816134da565b915060a08701356001600160401b03811115613e6957600080fd5b613e7589828a01613782565b9150509295509295509295565b600060408284031215613e9457600080fd5b613e9c6133e2565b90508135613ea9816133a7565b815260208201356001600160401b03811115613ec457600080fd5b613ed084828501613782565b60208301525092915050565b60008060408385031215613eef57600080fd5b8235613efa81613adc565b915060208301356001600160401b03811115613f1557600080fd5b61392f85828601613e82565b600060808284031215613f3357600080fd5b613f3b613496565b90508135613f4881613afd565b81526020828101359082015260408201356001600160401b03811115613f6d57600080fd5b613f7984828501613782565b6040830152506060820135613f8d8161380e565b606082015292915050565b600080600060608486031215613fad57600080fd5b8335613fb8816133a7565b92506020840135613fc881613cbe565b915060408401356001600160401b03811115613fe357600080fd5b613fef86828701613f21565b9150509250925092565b60006020828403121561400b57600080fd5b81356121df816134da565b6000806000806080858703121561402c57600080fd5b8435614037816133a7565b9350602085013561404781613cbe565b925060408501356001600160401b0381111561406257600080fd5b61406e87828801613f21565b925050606085013561407f81613620565b939692955090935050565b6000806040838503121561409d57600080fd5b82359150602083013561396781613620565b600060e082840312156140c157600080fd5b6140c96134b8565b90506140d4826133bc565b815260208201356001600160401b03808211156140f057600080fd5b6140fc85838601613782565b60208401526040840135604084015261411760608501613cd0565b606084015261412860808501613cd0565b608084015261413960a08501613821565b60a084015260c084013591508082111561415257600080fd5b5061415f84828501613782565b60c08301525092915050565b6000806040838503121561417e57600080fd5b8235915060208301356001600160401b0381111561419b57600080fd5b61392f858286016140af565b6020815260006121df6020830184613996565b6000608082840312156141cc57600080fd5b6141d4613496565b9050813581526020820135602082015260408201356001600160401b03811115613f6d57600080fd5b6000806000806080858703121561421357600080fd5b843561421e816133a7565b9350602085013561422e81613afd565b925060408501356001600160401b0381111561424957600080fd5b61406e878288016141ba565b6000806040838503121561426857600080fd5b823561395781613adc565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526142cf602082018351614273565b6000602083015160c080840152613a4560e0840182613996565b600080600080608085870312156142ff57600080fd5b843561430a816134da565b9350602085013561431a816134da565b9250604085013561432a816133a7565b9150606085013561407f816134da565b6000610100828403121561434d57600080fd5b60405160c081018181106001600160401b038211171561436f5761436f6133cc565b6040529050808235614380816133a7565b81526020830135614390816134da565b60208201526143a28460408501613513565b60408201526143b48460808501613513565b606082015260c08301356143c7816134da565b8060808301525060e083013560a08201525092915050565b60008061012083850312156143f357600080fd5b82356143fe816133a7565b9150613ad3846020850161433a565b60a081016111458284614273565b600060a0828403121561442d57600080fd5b60405160a081016001600160401b038282108183111715614450576144506133cc565b816040528293508435915061446482613adc565b908252602084013590614476826134fa565b816020840152604085013591508082111561449057600080fd5b5061449d85828601613782565b60408301525060608301356060820152608083013560808201525092915050565b600080604083850312156144d157600080fd5b82356144dc816133a7565b915060208301356001600160401b038111156144f757600080fd5b61392f8582860161441b565b60008060006060848603121561451857600080fd5b833561452381613adc565b925060208401356001600160401b0381111561453e57600080fd5b613a9486828701613e82565b60008060006060848603121561455f57600080fd5b833561456a81613620565b9250602084013561457a81613620565b9150604084013561367081613620565b6000806040838503121561459d57600080fd5b82356145a8816133a7565b915060208301356001600160401b038111156145c357600080fd5b61392f85828601613b18565b6000806000606084860312156145e457600080fd5b8335925060208401356001600160401b0381111561460157600080fd5b613a9486828701613cdb565b60008060006060848603121561462257600080fd5b833561462d816133a7565b9250602084013561457a81613afd565b60008060006060848603121561465257600080fd5b8335925060208401356001600160401b0381111561466f57600080fd5b613a94868287016140af565b60ff198116811461182857600080fd5b6000806040838503121561469e57600080fd5b82356146a981613620565b915060208301356139678161467b565b600080600061014084860312156146cf57600080fd5b83356146da816133a7565b92506146e9856020860161433a565b915061012084013561367081613620565b6000806040838503121561470d57600080fd5b8235614718816134da565b91506020830135613967816134da565b60008060006060848603121561473d57600080fd5b8335614748816133a7565b9250602084013561475881613afd565b915060408401356001600160401b0381111561477357600080fd5b613fef868287016141ba565b60008060006060848603121561479457600080fd5b833561479f816133a7565b925060208401356001600160401b038111156147ba57600080fd5b613a948682870161441b565b60008061016083850312156147da57600080fd5b82356147e5816133a7565b9150613ad3846020850161367b565b81516001600160601b031681526101e08101602083015161482060208401826001600160a01b03169052565b5060408301516040830152606083015161483e606084018215159052565b506080830151614852608084018215159052565b5060a083015161486660a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516148988285018280518252602090810151910152565b50506101208301516101406148b98185018380518252602090810151910152565b8401518051610180850152602001516101a0840152506101608301516001600160a01b0381166101c08401525b5092915050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b03169082015260608083015161014083019161493c908401826001600160601b03169052565b506080830151614959608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526148e6565b602081526149b46020820183516001600160601b03169052565b600060208301516149d2604084018280518252602090810151910152565b5060408301516101408060808501526149ef610160850183613996565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100614a298187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b600181811c90821680614a6a57607f821691505b602082108103614a8a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614aa257600080fd5b81516121df816134fa565b600060208284031215614abf57600080fd5b81516121df816133a7565b60208152614ae46020820183516001600160601b03169052565b60006020830151614b0060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100614b658185018364ffffffffff169052565b808501519150506102006101208181860152614b85610220860184613996565b9250808601519050610140601f198685030181870152614ba58483613996565b935080870151915050610160614bc08187018361ffff169052565b8601519050610180614bd78682018361ffff169052565b8601516101a08681019190915286015190506101c0614bfe8187018364ffffffffff169052565b86015190506101e0614a3f8682018364ffffffffff169052565b600060208284031215614c2a57600080fd5b5051919050565b6020815260008251610120806020850152614c50610140850183613996565b91506020850151604085015260408501516060850152606085015160808501526080850151614c8760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614cbd8187018315159052565b860151858403601f1901838701529050614cd78382613996565b9695505050505050565b601f821115610be557600081815260208120601f850160051c81016020861015614d085750805b601f850160051c820191505b8181101561252257828155600101614d14565b81516001600160401b03811115614d4057614d406133cc565b614d5481614d4e8454614a56565b84614ce1565b602080601f831160018114614d895760008415614d715750858301515b600019600386901b1c1916600185901b178555612522565b600085815260208120601f198616915b82811015614db857888601518255948401946001909101908401614d99565b5085821015614dd65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b03825116602082015260006020830151604080840152613a456060840182613996565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b905064ffffffffff60608501511660808401528091505092915050565b600060208284031215614e7757600080fd5b81516121df816134da565b602081526001600160601b0382511660208201526000602083015160e06040840152614eb2610100840182613996565b90506040840151606084015263ffffffff60608501511660808401526080840151614ee560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614f148282613996565b95945050505050565b6020815281516020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614fff60c0840182613996565b905060608401516080840152608084015160a08401528091505092915050565b60006020828403121561503157600080fd5b81516121df81613620565b6000808585111561504c57600080fd5b8386111561505957600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561508e5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516150e8818460208701613972565b9190910192915050565b6000806040838503121561510557600080fd5b8251615110816134fa565b602084015190925061396781613cbe565b60006020828403121561513357600080fd5b81516121df8161467b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122056dafd0b4ccfe206ab75e005e11ac1ca6c1a49c34d886e1faa3807eebaeb1f0c64736f6c63430008140033",
3025
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104a15760003560e01c8063675393bf1161026d578063b6d7cd6211610151578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610b3d578063fa145b6d14610b50578063fb4a8e3414610b63578063fbc1a3a014610b76578063fe1f18d614610b89578063fed3d63f14610b9c57600080fd5b8063e9e96c7014610ac6578063f21de1e8146107f1578063f48016ce14610b04578063f7b442d114610b17578063f7bc431c14610b2a57600080fd5b8063cde749f411610115578063cde749f414610a7d578063cf947d2014610a85578063d2f21a2914610a98578063dee3262314610aab578063e1033e7d14610abe57600080fd5b8063b6d7cd6214610a47578063bf1db3f914610a5a578063bf7e214f14610a6d578063c29948fc14610611578063ca600b1c14610a7557600080fd5b80639df0280b116101ea578063a76ee018116101ae578063a76ee018146109e6578063a8989675146109f9578063ada9652e14610a0c578063afa5e13014610798578063afcc743914610a21578063b3260e9314610a3457600080fd5b80639df0280b146105bb5780639e90178c146108fc578063a13df2ab1461090f578063a5961b4c14610922578063a671495e146109d357600080fd5b80637cef4842116102315780637cef48421461088d578063893d20e8146108a05780638eaa6ac0146108a85780638fb36037146108c8578063976b0a77146108e957600080fd5b8063675393bf146108445780636b9bf08b1461085757806375b238fc1461085f5780637a9e5e4b146108675780637b8c388f1461087a57600080fd5b80632f61088a11610394578063447fc48f116103115780635772b101116102d55780635772b101146107de5780635ab1bd53146107f15780635d4345cc146105bb5780635dfa73db1461080257806361f5f4201461080b578063644c45e01461081c57600080fd5b8063447fc48f14610772578063468a1867146107855780635378cd3c1461079857806354d747a8146107ab57806354f6127f146107be57600080fd5b80633ca7c02a116103585780633ca7c02a1461070b5780633e35aba81461073157806340529b0f14610744578063422c9d00146107575780634288121d1461076a57600080fd5b80632f61088a146106ad57806336fc697e146106c057806337f135d7146106c857806338a699a4146106e55780633c0d6a41146106f857600080fd5b80631204b553116104225780631eff4b22116103e65780631eff4b2214610645578063214cdb801461066c5780632781d4431461067f57806327953f481461068757806327bb7a331461069a57600080fd5b80631204b553146105e357806312aa0b2a146105f6578063138461e0146106095780631518afb9146106115780631b38d5f41461062457600080fd5b80630d358181116104695780630d3581811461056f5780630f03144a146105955780630f526f7d146105a85780630fad0eb1146105bb5780630fec111c146105ce57600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d57806309fb1d08146105475780630cbc6b891461055c575b600080fd5b6104d36104b4366004613364565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461338e565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b61055a61055536600461362f565b610ba4565b005b61055a61056a366004613724565b610bea565b61053561057d366004613765565b60ff9081166000908152600260205260409020541690565b61055a6105a33660046138ea565b610c12565b61055a6105b6366004613939565b610c50565b61055a6105c9366004613939565b610c6d565b6105d6610c82565b6040516104df91906139c2565b61055a6105f1366004613a4d565b610e31565b61055a610604366004613aa5565b610e57565b61055a610e7f565b61055a61061f366004613c5a565b611086565b610637610632366004613ca1565b6110ac565b6040519081526020016104df565b6106377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61055a61067a366004613364565b61114b565b610637600381565b61055a610695366004613dae565b611178565b61055a6106a8366004613dea565b611196565b61055a6106bb366004613edc565b611222565b61055a6112bd565b6106d0600081565b60405163ffffffff90911681526020016104df565b6104d36106f336600461338e565b611303565b61055a610706366004613f98565b611392565b6107196001600160401b0381565b6040516001600160401b0390911681526020016104df565b61063761073f366004613ca1565b6113b8565b61055a610752366004613939565b6113e5565b61055a610765366004613ff9565b6113fa565b6104f5611537565b61055a610780366004614016565b6115ca565b610637610793366004613ca1565b6115f6565b61055a6107a636600461408a565b611623565b61055a6107b936600461416b565b611636565b6107d16107cc36600461338e565b611654565b6040516104df91906141a7565b61055a6107ec3660046141fd565b6116f9565b6001546001600160a01b03166104f5565b61071961271081565b6007546001600160a01b03166104f5565b60008051602061518f833981519152546040516001600160601b0390911681526020016104df565b61055a610852366004613ff9565b61171f565b6104f561182b565b610719600081565b61055a610875366004613ff9565b611854565b610637610888366004613ca1565b6118d7565b61055a61089b366004614255565b611904565b6104f561198e565b6108bb6108b636600461338e565b611ac5565b6040516104df91906142bd565b6108d0611c06565b6040516001600160e01b031990911681526020016104df565b61055a6108f73660046142e9565b611c3e565b61055a61090a3660046143df565b611d7d565b61063761091d366004613ca1565b611da5565b6109c661093036600461338e565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df919061440d565b61055a6109e13660046144be565b611dd2565b61055a6109f4366004614503565b611df8565b61055a610a0736600461454a565b611e93565b61063760008051602061518f83398151915281565b61055a610a2f36600461458a565b611f84565b61055a610a423660046145cf565b611faa565b61055a610a5536600461460d565b611fc8565b6104d3610a68366004613765565b611fdd565b6104f561202a565b6104f5612046565b61053561206f565b61055a610a9336600461463d565b6120e6565b61055a610aa6366004613939565b612104565b61055a610ab9366004613939565b61211b565b6104f5612132565b6104d3610ad436600461454a565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610637610b1236600461468b565b61215b565b61055a610b253660046146b9565b6121e6565b61055a610b38366004613ff9565b61220e565b61055a610b4b3660046146fa565b6122fb565b61055a610b5e366004614728565b612372565b61055a610b7136600461477f565b612398565b61055a610b843660046147c6565b6123be565b61055a610b97366004613939565b6123e6565b6104f56123fb565b610bb1335b600036612424565b610be5610bbf84608c61252a565b83604051602001610bd091906147f4565b60405160208183030381529060405283612576565b505050565b610bf333610ba9565b610be5610c0184606e61252a565b83604051602001610bd091906148ed565b610c1b33610ba9565b610c4c610c2783611da5565b82604051602001610c38919061499a565b604051602081830303815290604052612581565b5050565b610c5933610ba9565b610c4c610c6783608c61252a565b8261258b565b610c7633610ba9565b610c4c610c67836115f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610d2d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5990614a56565b8015610da65780601f10610d7b57610100808354040283529160200191610da6565b820191906000526020600020905b815481529060010190602001808311610d8957829003601f168201915b50505050508152505090506040518060e00160405280610dc4600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e1561198e565b6001600160a01b03168152602001826060015181525091505090565b610e3a33610ba9565b610be5610e4684611da5565b83604051602001610bd0919061499a565b610e6033610ba9565b610c4c610e6e83608c61252a565b82604051602001610c3891906147f4565b600060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f129190614a90565b15610f435780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610f566001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc29190614a90565b610fea5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610f3a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190614aad565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61108f33610ba9565b610be561109b846115f6565b83604051602001610bd09190614aca565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614c18565b92915050565b611153612595565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61118133610ba9565b610c4c8282604051602001610c389190614c31565b61119e612595565b6111a882876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112188382614d27565b5050505050505050565b61122b33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ac9190614c18565b82604051602001610c389190614de6565b6112c5612595565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561136e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111459190614a90565b61139b33610ba9565b610be56113a7846115f6565b82604051602001610c389190614e14565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786110d5565b6113ee33610ba9565b610c4c610c67836118d7565b61140333610ba9565b6007546001600160a01b0316156114535760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610f3a565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561149b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bf9190614e65565b6001600160a01b0316146115155760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610f3a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061154b6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c59190614e65565b905090565b6115d333610ba9565b6115f06115df856115f6565b83604051602001610bd09190614e14565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d36110d5565b61162c33610ba9565b610c4c828261258b565b61163f33610ba9565b610c4c8282604051602001610c389190614e82565b600081815260046020526040902060010180546060919061167490614a56565b80601f01602080910402602001604051908101604052809291908181526020018280546116a090614a56565b80156116ed5780601f106116c2576101008083540402835291602001916116ed565b820191906000526020600020905b8154815290600101906020018083116116d057829003601f168201915b50505050509050919050565b61170233610ba9565b6115f061170e856115f6565b83604051602001610bd09190614f1d565b611727612595565b806001600160a01b03163b60000361175d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156117d7575060408051601f3d908101601f191682019092526117d491810190614a90565b60015b6117ff5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610f3a565b80610c4c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610f3a565b50565b600061183f6001546001600160a01b031690565b6001600160a01b031663d39e6043608c61155c565b3361185d61202a565b6001600160a01b0316816001600160a01b0316146118985760405162d1953b60e31b81526001600160a01b0382166004820152602401610f3a565b816001600160a01b03163b6000036118ce576040516361798f2f60e11b81526001600160a01b0383166004820152602401610f3a565b610c4c826125e0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6110d5565b61190d33610ba9565b6040516355ee627560e01b81526001600160c01b031983166004820152610c4c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561196a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c679190614c18565b60008060008051602061518f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a229190614a90565b15611aaf576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa99190614e65565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b7d90614a56565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba990614a56565b8015611bf65780601f10611bcb57610100808354040283529160200191611bf6565b820191906000526020600020905b815481529060010190602001808311611bd957829003601f168201915b5050505050815250509050919050565b6000805160206151af833981519152805460009190600160a01b900460ff16611c30576000611aa9565b638fb3603760e01b91505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611c835750825b90506000826001600160401b03166001148015611c9f5750303b155b905081158015611cad575080155b15611ccb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cf557845460ff60401b1916600160401b1785555b611cfe89612641565b611d1d8888604660008a60405180602001604052806000815250611196565b611d2c62e51dcd60e31b61114b565b8315611d7257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611d8633610ba9565b610c4c611d9483607861252a565b82604051602001610c389190614f4d565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6110d5565b611ddb33610ba9565b610c4c611de7836118d7565b82604051602001610c389190614fc1565b611e0133610ba9565b6040516355ee627560e01b81526001600160c01b031984166004820152610be59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e829190614c18565b83604051602001610bd09190614de6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1c9190614a90565b15611f2657505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610be557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610f3a565b611f8d33610ba9565b610c4c611f99836115f6565b82604051602001610c389190614aca565b611fb333610ba9565b610be58383604051602001610bd09190614c31565b611fd133610ba9565b610be5610c67846115f6565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611351565b6000805160206151af833981519152546001600160a01b031690565b600061205a6001546001600160a01b031690565b6001600160a01b031663d39e6043607861155c565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c5919061501f565b6120ef33610ba9565b610be58383604051602001610bd09190614e82565b61210d33610ba9565b610c4c610c6783607861252a565b61212433610ba9565b610c4c610c6783606e61252a565b60006121466001546001600160a01b031690565b6001600160a01b031663d39e604360d361155c565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190614c18565b9392505050565b6121ef33610ba9565b610be56121fd84607861252a565b83604051602001610bd09190614f4d565b61221733610ba9565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122839190614e65565b6001600160a01b0316146122d95760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610f3a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b612303612595565b61230c8161171f565b6123146112bd565b6001600160a01b03821661233b5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061518f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61237b33610ba9565b610be5612387846115f6565b82604051602001610c389190614f1d565b6123a133610ba9565b610be56123ad846118d7565b83604051602001610bd09190614fc1565b6123c733610ba9565b610c4c6123d583606e61252a565b82604051602001610c3891906148ed565b6123ef33610ba9565b610c4c610c6783611da5565b600061240f6001546001600160a01b031690565b6001600160a01b031663d39e604360dc61155c565b6000805160206151af83398151915260008061245f61244161202a565b8730612451600460008a8c61503c565b61245a91615066565b612652565b91509150816125225763ffffffff8116156124ff57825460ff60a01b1916600160a01b17835561248d61202a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124bc93929190615096565b600060405180830381600087803b1580156124d657600080fd5b505af11580156124ea573d6000803e3d6000fd5b5050845460ff60a01b19168555506125229050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610f3a565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161219e565b610be583838361275e565b610c4c8282612c06565b610c4c828261301f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166125de57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206151af83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612649612595565b61182881613353565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126c191906150d6565b600060405180830381855afa9150503d80600081146126fc576040519150601f19603f3d011682016040523d82523d6000602084013e612701565b606091505b50915091508115612753576040815110612733578080602001905181019061272991906150f2565b9094509250612753565b602081511061275357808060200190518101906127509190614a90565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d49190614a90565b6128205760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561288c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b09190614a90565b6128fc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b60008581526004602052604090206001016129178582614d27565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661295c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a12919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a869190615121565b8786863287604051612a9e979695949392919061513e565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612b18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3c919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb09190615121565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612c59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7d919061501f565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf69190614a90565b612d425760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610f3a565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd39190614a90565b612e1f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610f3a565b33436000612e2c85611fdd565b612e37576064612e4d565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612ed78782614d27565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f6e919061501f565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fe29190615121565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612bf5565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613071573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130959190614a90565b6130e15760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610f3a565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561314d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131719190614a90565b6131bd5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610f3a565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132014390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b7919061501f565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332b9190615121565b8786863287604051613343979695949392919061513e565b60405180910390a1505050505050565b61335b612595565b611828816125e0565b60006020828403121561337657600080fd5b81356001600160e01b0319811681146121df57600080fd5b6000602082840312156133a057600080fd5b5035919050565b6001600160601b038116811461182857600080fd5b80356133c7816133a7565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613404576134046133cc565b60405290565b60405161018081016001600160401b0381118282101715613404576134046133cc565b60405161010081016001600160401b0381118282101715613404576134046133cc565b60405161012081016001600160401b0381118282101715613404576134046133cc565b60405161020081016001600160401b0381118282101715613404576134046133cc565b604051608081016001600160401b0381118282101715613404576134046133cc565b60405160e081016001600160401b0381118282101715613404576134046133cc565b6001600160a01b038116811461182857600080fd5b80356133c7816134da565b801515811461182857600080fd5b80356133c7816134fa565b60006040828403121561352557600080fd5b61352d6133e2565b9050813581526020820135602082015292915050565b60006101e0828403121561355657600080fd5b61355e61340a565b9050613569826133bc565b8152613577602083016134ef565b60208201526040820135604082015261359260608301613508565b60608201526135a360808301613508565b60808201526135b460a08301613508565b60a082015260c082013560c082015260e082013560e08201526101006135dc84828501613513565b908201526101406135ef84848301613513565b610120830152613603846101808501613513565b908201526136146101c083016134ef565b61016082015292915050565b60ff8116811461182857600080fd5b6000806000610220848603121561364557600080fd5b8335613650816133a7565b925061365f8560208601613543565b915061020084013561367081613620565b809150509250925092565b6000610140828403121561368e57600080fd5b61369661342d565b90506136a1826134ef565b81526136af602083016134ef565b60208201526136c0604083016133bc565b60408201526136d1606083016133bc565b60608201526136e38360808401613513565b60808201526136f58360c08401613513565b60a08201526137076101008301613508565b60c082015261371961012083016134ef565b60e082015292915050565b6000806000610180848603121561373a57600080fd5b8335613745816133a7565b9250613754856020860161367b565b915061016084013561367081613620565b60006020828403121561377757600080fd5b81356121df81613620565b600082601f83011261379357600080fd5b81356001600160401b03808211156137ad576137ad6133cc565b604051601f8301601f19908116603f011681019082821181831017156137d5576137d56133cc565b816040528381528660208588010111156137ee57600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461182857600080fd5b80356133c78161380e565b6000610140828403121561383f57600080fd5b613847613450565b9050613852826133bc565b81526138618360208401613513565b602082015260608201356001600160401b0381111561387f57600080fd5b61388b84828501613782565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526138bb60e08301613821565b60c08201526101006138ce818401613821565b60e08301526138e06101208401613821565b9082015292915050565b600080604083850312156138fd57600080fd5b8235613908816133a7565b915060208301356001600160401b0381111561392357600080fd5b61392f8582860161382c565b9150509250929050565b6000806040838503121561394c57600080fd5b8235613957816133a7565b9150602083013561396781613620565b809150509250929050565b60005b8381101561398d578181015183820152602001613975565b50506000910152565b600081518084526139ae816020860160208601613972565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613a2b60c08401826001600160a01b03169052565b5060c083015160e080840152613a45610100840182613996565b949350505050565b600080600060608486031215613a6257600080fd5b8335613a6d816133a7565b925060208401356001600160401b03811115613a8857600080fd5b613a948682870161382c565b925050604084013561367081613620565b6000806102008385031215613ab957600080fd5b8235613ac4816133a7565b9150613ad38460208501613543565b90509250929050565b6001600160c01b03198116811461182857600080fd5b80356133c781613adc565b61ffff8116811461182857600080fd5b80356133c781613afd565b60006102008284031215613b2b57600080fd5b613b33613473565b9050613b3e826133bc565b8152613b4c602083016133bc565b6020820152613b5d60408301613af2565b6040820152613b6e60608301613af2565b60608201526080820135608082015260a082013560a082015260c082013560c0820152613b9d60e08301613821565b60e0820152610100808301356001600160401b0380821115613bbe57600080fd5b613bca86838701613782565b83850152610120925082850135915080821115613be657600080fd5b50613bf385828601613782565b828401525050610140613c07818401613b0d565b90820152610160613c19838201613b0d565b9082015261018082810135908201526101a0613c36818401613821565b908201526101c0613c48838201613821565b908201526101e06138e0838201613821565b600080600060608486031215613c6f57600080fd5b8335613c7a816133a7565b925060208401356001600160401b03811115613c9557600080fd5b613a9486828701613b18565b600060208284031215613cb357600080fd5b81356121df816133a7565b63ffffffff8116811461182857600080fd5b80356133c781613cbe565b60006101208284031215613cee57600080fd5b613cf6613450565b905081356001600160401b0380821115613d0f57600080fd5b613d1b85838601613782565b8352602084013560208401526040840135604084015260608401356060840152613d4760808501613cd0565b6080840152613d5860a08501613cd0565b60a0840152613d6960c08501613508565b60c0840152613d7a60e08501613508565b60e084015261010091508184013581811115613d9557600080fd5b613da186828701613782565b8385015250505092915050565b60008060408385031215613dc157600080fd5b8235915060208301356001600160401b03811115613dde57600080fd5b61392f85828601613cdb565b60008060008060008060c08789031215613e0357600080fd5b8635613e0e816134da565b95506020870135613e1e816133a7565b94506040870135613e2e81613620565b93506060870135613e3e816134fa565b92506080870135613e4e816134da565b915060a08701356001600160401b03811115613e6957600080fd5b613e7589828a01613782565b9150509295509295509295565b600060408284031215613e9457600080fd5b613e9c6133e2565b90508135613ea9816133a7565b815260208201356001600160401b03811115613ec457600080fd5b613ed084828501613782565b60208301525092915050565b60008060408385031215613eef57600080fd5b8235613efa81613adc565b915060208301356001600160401b03811115613f1557600080fd5b61392f85828601613e82565b600060808284031215613f3357600080fd5b613f3b613496565b90508135613f4881613afd565b81526020828101359082015260408201356001600160401b03811115613f6d57600080fd5b613f7984828501613782565b6040830152506060820135613f8d8161380e565b606082015292915050565b600080600060608486031215613fad57600080fd5b8335613fb8816133a7565b92506020840135613fc881613cbe565b915060408401356001600160401b03811115613fe357600080fd5b613fef86828701613f21565b9150509250925092565b60006020828403121561400b57600080fd5b81356121df816134da565b6000806000806080858703121561402c57600080fd5b8435614037816133a7565b9350602085013561404781613cbe565b925060408501356001600160401b0381111561406257600080fd5b61406e87828801613f21565b925050606085013561407f81613620565b939692955090935050565b6000806040838503121561409d57600080fd5b82359150602083013561396781613620565b600060e082840312156140c157600080fd5b6140c96134b8565b90506140d4826133bc565b815260208201356001600160401b03808211156140f057600080fd5b6140fc85838601613782565b60208401526040840135604084015261411760608501613cd0565b606084015261412860808501613cd0565b608084015261413960a08501613821565b60a084015260c084013591508082111561415257600080fd5b5061415f84828501613782565b60c08301525092915050565b6000806040838503121561417e57600080fd5b8235915060208301356001600160401b0381111561419b57600080fd5b61392f858286016140af565b6020815260006121df6020830184613996565b6000608082840312156141cc57600080fd5b6141d4613496565b9050813581526020820135602082015260408201356001600160401b03811115613f6d57600080fd5b6000806000806080858703121561421357600080fd5b843561421e816133a7565b9350602085013561422e81613afd565b925060408501356001600160401b0381111561424957600080fd5b61406e878288016141ba565b6000806040838503121561426857600080fd5b823561395781613adc565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526142cf602082018351614273565b6000602083015160c080840152613a4560e0840182613996565b600080600080608085870312156142ff57600080fd5b843561430a816134da565b9350602085013561431a816134da565b9250604085013561432a816133a7565b9150606085013561407f816134da565b6000610100828403121561434d57600080fd5b60405160c081018181106001600160401b038211171561436f5761436f6133cc565b6040529050808235614380816133a7565b81526020830135614390816134da565b60208201526143a28460408501613513565b60408201526143b48460808501613513565b606082015260c08301356143c7816134da565b8060808301525060e083013560a08201525092915050565b60008061012083850312156143f357600080fd5b82356143fe816133a7565b9150613ad3846020850161433a565b60a081016111458284614273565b600060a0828403121561442d57600080fd5b60405160a081016001600160401b038282108183111715614450576144506133cc565b816040528293508435915061446482613adc565b908252602084013590614476826134fa565b816020840152604085013591508082111561449057600080fd5b5061449d85828601613782565b60408301525060608301356060820152608083013560808201525092915050565b600080604083850312156144d157600080fd5b82356144dc816133a7565b915060208301356001600160401b038111156144f757600080fd5b61392f8582860161441b565b60008060006060848603121561451857600080fd5b833561452381613adc565b925060208401356001600160401b0381111561453e57600080fd5b613a9486828701613e82565b60008060006060848603121561455f57600080fd5b833561456a81613620565b9250602084013561457a81613620565b9150604084013561367081613620565b6000806040838503121561459d57600080fd5b82356145a8816133a7565b915060208301356001600160401b038111156145c357600080fd5b61392f85828601613b18565b6000806000606084860312156145e457600080fd5b8335925060208401356001600160401b0381111561460157600080fd5b613a9486828701613cdb565b60008060006060848603121561462257600080fd5b833561462d816133a7565b9250602084013561457a81613afd565b60008060006060848603121561465257600080fd5b8335925060208401356001600160401b0381111561466f57600080fd5b613a94868287016140af565b60ff198116811461182857600080fd5b6000806040838503121561469e57600080fd5b82356146a981613620565b915060208301356139678161467b565b600080600061014084860312156146cf57600080fd5b83356146da816133a7565b92506146e9856020860161433a565b915061012084013561367081613620565b6000806040838503121561470d57600080fd5b8235614718816134da565b91506020830135613967816134da565b60008060006060848603121561473d57600080fd5b8335614748816133a7565b9250602084013561475881613afd565b915060408401356001600160401b0381111561477357600080fd5b613fef868287016141ba565b60008060006060848603121561479457600080fd5b833561479f816133a7565b925060208401356001600160401b038111156147ba57600080fd5b613a948682870161441b565b60008061016083850312156147da57600080fd5b82356147e5816133a7565b9150613ad3846020850161367b565b81516001600160601b031681526101e08101602083015161482060208401826001600160a01b03169052565b5060408301516040830152606083015161483e606084018215159052565b506080830151614852608084018215159052565b5060a083015161486660a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516148988285018280518252602090810151910152565b50506101208301516101406148b98185018380518252602090810151910152565b8401518051610180850152602001516101a0840152506101608301516001600160a01b0381166101c08401525b5092915050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b03169082015260608083015161014083019161493c908401826001600160601b03169052565b506080830151614959608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401526148e6565b602081526149b46020820183516001600160601b03169052565b600060208301516149d2604084018280518252602090810151910152565b5060408301516101408060808501526149ef610160850183613996565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100614a298187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b600181811c90821680614a6a57607f821691505b602082108103614a8a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614aa257600080fd5b81516121df816134fa565b600060208284031215614abf57600080fd5b81516121df816133a7565b60208152614ae46020820183516001600160601b03169052565b60006020830151614b0060408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100614b658185018364ffffffffff169052565b808501519150506102006101208181860152614b85610220860184613996565b9250808601519050610140601f198685030181870152614ba58483613996565b935080870151915050610160614bc08187018361ffff169052565b8601519050610180614bd78682018361ffff169052565b8601516101a08681019190915286015190506101c0614bfe8187018364ffffffffff169052565b86015190506101e0614a3f8682018364ffffffffff169052565b600060208284031215614c2a57600080fd5b5051919050565b6020815260008251610120806020850152614c50610140850183613996565b91506020850151604085015260408501516060850152606085015160808501526080850151614c8760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614cbd8187018315159052565b860151858403601f1901838701529050614cd78382613996565b9695505050505050565b601f821115610be557600081815260208120601f850160051c81016020861015614d085750805b601f850160051c820191505b8181101561252257828155600101614d14565b81516001600160401b03811115614d4057614d406133cc565b614d5481614d4e8454614a56565b84614ce1565b602080601f831160018114614d895760008415614d715750858301515b600019600386901b1c1916600185901b178555612522565b600085815260208120601f198616915b82811015614db857888601518255948401946001909101908401614d99565b5085821015614dd65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b03825116602082015260006020830151604080840152613a456060840182613996565b6020815261ffff8251166020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b905064ffffffffff60608501511660808401528091505092915050565b600060208284031215614e7757600080fd5b81516121df816134da565b602081526001600160601b0382511660208201526000602083015160e06040840152614eb2610100840182613996565b90506040840151606084015263ffffffff60608501511660808401526080840151614ee560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614f148282613996565b95945050505050565b6020815281516020820152602082015160408201526000604083015160806060840152614e4860a0840182613996565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614fff60c0840182613996565b905060608401516080840152608084015160a08401528091505092915050565b60006020828403121561503157600080fd5b81516121df81613620565b6000808585111561504c57600080fd5b8386111561505957600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561508e5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516150e8818460208701613972565b9190910192915050565b6000806040838503121561510557600080fd5b8251615110816134fa565b602084015190925061396781613cbe565b60006020828403121561513357600080fd5b81516121df8161467b565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122056dafd0b4ccfe206ab75e005e11ac1ca6c1a49c34d886e1faa3807eebaeb1f0c64736f6c63430008140033",
1244
+ "bytecode": "0x6080604052348015600e575f80fd5b506135938061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612a9c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612aec565b6102ed6102e8366004612b94565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612baf565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612cc2565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612d2e565b6109db565b61027a6103ab366004612b94565b610bf4565b6102ed6103be366004612d77565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102ed6103f5366004612da6565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612dc1565b610e0b565b61036a61042c366004612ded565b610f28565b5f8051602061351e833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611022565b60405160ff9091168152602001610286565b6102ed610487366004612b94565b61108a565b6102ed61049a366004612da6565b611110565b6102ed6104ad366004612e39565b61118d565b61029c611273565b6104c26113a4565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612e55565b6113d9565b6103495f8051602061351e83398151915281565b6102ed610510366004612e70565b611446565b6102ed610523366004612e70565b611652565b61029c61185e565b6102ed611879565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612e9a565b611921565b6102f7610572366004612da6565b611fd2565b6102ed610585366004613010565b61208b565b6102ed610598366004613052565b612101565b6102ed6105ab366004612b94565b6121ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068091906130af565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611273565b6001600160a01b031681526020018260010180546106e5906130ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610711906130ca565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f36612269565b61077e611273565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e3061235f565b905090565b5f6009828154811061083757610837613102565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611273565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de90879087908790600401613116565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e919061314d565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a264818585856040516109559493929190613168565b60405180910390a19392505050565b5f61096d61185e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d591906131af565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c91906131af565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611273565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad69186918691016131ca565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1591906131af565b610b36578181604051631a94665f60e31b81526004016107ad9291906131ca565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906131af565b92915050565b610c733361076f565b610c7b611273565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131af565b610d633361076f565b610d6b611273565b6001600160a01b0316336001600160a01b031614610d9e5760405163086391f760e31b81523360048201526024016107ad565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505050565b5f610e153361076f565b610e1d611273565b6001600160a01b0316336001600160a01b031614610e505760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec591906130af565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f323361076f565b610f3a611273565b6001600160a01b0316336001600160a01b031614610f6d5760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f9f90869086906004016131ec565b6020604051808303815f875af1158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdf919061314d565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d8382846040516110149392919061320f565b60405180910390a192915050565b5f61102b61185e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611066573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e919061324a565b3361109361185e565b6001600160a01b0316816001600160a01b0316146110ce5760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611103576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b61110c826125b5565b5050565b6111193361076f565b611121611273565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b611195611273565b6001600160a01b0316336001600160a01b0316146111c85760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b158015611214575f80fd5b505af1158015611226573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130391906131af565b1561138e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190613265565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061353e83398151915280545f9190600160a01b900460ff166113cb575f611388565b638fb3603760e01b91505090565b6113e1611273565b6001600160a01b0316336001600160a01b0316146114145760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b61144f3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c791906131af565b6114ef57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b336114f8611273565b6001600160a01b0316816001600160a01b0316146115a1576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd1916115419186918691016131ca565b602060405180830381865afa15801561155c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158091906131af565b6115a1578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115d390879087906004016131ca565b5f604051808303815f87803b1580156115ea575f80fd5b505af11580156115fc573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b61165b3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d391906131af565b6116fb57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33611704611273565b6001600160a01b0316816001600160a01b0316146117ad576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161174d9186918691016131ca565b602060405180830381865afa158015611768573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178c91906131af565b6117ad578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117df90879087906004016131ca565b5f604051808303815f87803b1580156117f6575f80fd5b505af1158015611808573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f8051602061353e833981519152546001600160a01b031690565b6118823361076f565b61188a611273565b6001600160a01b0316336001600160a01b0316146118bd5760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611909575f80fd5b505af115801561191b573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119655750825b90505f826001600160401b031660011480156119805750303b155b90508115801561198e575080155b156119ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119d657845460ff60401b1916600160401b1785555b6001600160a01b038e166119fd576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611aff8e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a869190613265565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae791906130af565b600a5f8c60405180602001604052805f81525061260e565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611be3575f80fd5b505af1158015611bf5573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cc2575f80fd5b505af1158015611cd4573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5b9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611da1575f80fd5b505af1158015611db3573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e03575f80fd5b505af1158015611e15573d5f803e3d5ffd5b50505050611e2b6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea39190613265565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3b9190613265565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f7c6001622370f560e21b0319612755565b8315611fc257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611fdc3361076f565b611fe4611273565b6001600160a01b0316336001600160a01b0316146120175760405163086391f760e31b81523360048201526024016107ad565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015612067573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906130af565b6120943361076f565b61209c611273565b6001600160a01b0316336001600160a01b0316146120cf5760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f82490610dda90859085906004016132e4565b61210a3361076f565b612112611273565b6001600160a01b0316336001600160a01b0316146121455760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d9061217990869086908690600401613307565b5f604051808303815f87803b158015612190575f80fd5b505af11580156121a2573d5f803e3d5ffd5b50505050505050565b6121b43361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221e9190613265565b6001600160a01b031614612247576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8051602061353e8339815191525f806122a161228461185e565b873061229360045f8a8c613339565b61229c91613360565b612788565b9150915081610e035763ffffffff81161561233c57825460ff60a01b1916600160a01b1783556122cf61185e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016122fe93929190613398565b5f604051808303815f87803b158015612315575f80fd5b505af1158015612327573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e039050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123ef91906131af565b1561241b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061249191906131af565b6124b95760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561250b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252f91906130af565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061257b611273565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061353e83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001611267565b612616612890565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561266c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269091906131af565b6126b85760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b6126c1876128db565b6126cb86836128ec565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161273a8382613420565b5061274b634a531f3360e01b612755565b5050505050505050565b61275d612890565b612785816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127f691906134da565b5f60405180830381855afa9150503d805f811461282e576040519150601f19603f3d011682016040523d82523d5f602084013e612833565b606091505b50915091508115612885576040815110612865578080602001905181019061285b91906134f0565b9094509250612885565b6020815110612885578080602001905181019061288291906131af565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166128d957604051631afcd79f60e31b815260040160405180910390fd5b565b6128e3612890565b61278581612962565b6128f4612890565b6128fc612973565b612905826129bb565b6001600160a01b03811661292c5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061351e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61296a612890565b612785816125b5565b61297b612890565b6128d96301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129c3612890565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612a19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3d91906131af565b612a655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114612785575f80fd5b5f60208284031215612aac575f80fd5b8135612ab781612a87565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b34608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b78610100840182612abe565b949350505050565b6001600160a01b0381168114612785575f80fd5b5f60208284031215612ba4575f80fd5b8135612ab781612b80565b5f60208284031215612bbf575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612bfc57612bfc612bc6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612c2a57612c2a612bc6565b604052919050565b5f82601f830112612c41575f80fd5b81356001600160401b03811115612c5a57612c5a612bc6565b612c6d601f8201601f1916602001612c02565b818152846020838601011115612c81575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b0381168114612785575f80fd5b63ffffffff81168114612785575f80fd5b5f805f60608486031215612cd4575f80fd5b83356001600160401b03811115612ce9575f80fd5b612cf586828701612c32565b9350506020840135612d0681612c9d565b91506040840135612d1681612cb1565b809150509250925092565b8015158114612785575f80fd5b5f8060408385031215612d3f575f80fd5b8235612d4a81612c9d565b91506020830135612d5a81612d21565b809150509250929050565b64ffffffffff81168114612785575f80fd5b5f60208284031215612d87575f80fd5b8135612ab781612d65565b6001600160601b0381168114612785575f80fd5b5f60208284031215612db6575f80fd5b8135612ab781612d92565b5f8060408385031215612dd2575f80fd5b8235612ddd81612b80565b91506020830135612d5a81612b80565b5f8060408385031215612dfe575f80fd5b8235612e0981612b80565b915060208301356001600160401b03811115612e23575f80fd5b612e2f85828601612c32565b9150509250929050565b5f8060408385031215612e4a575f80fd5b8235612d4a81612b80565b5f60208284031215612e65575f80fd5b8135612ab781612d21565b5f8060408385031215612e81575f80fd5b8235612ddd81612c9d565b60ff81168114612785575f80fd5b5f805f805f805f805f6101208a8c031215612eb3575f80fd5b8935612ebe81612b80565b985060208a0135612ece81612b80565b975060408a0135612ede81612b80565b965060608a0135612eee81612b80565b955060808a0135612efe81612b80565b945060a08a0135612f0e81612b80565b935060c08a0135612f1e81612e8c565b925060e08a0135612f2e81612b80565b91506101008a0135612f3f81612d21565b809150509295985092959850929598565b5f82601f830112612f5f575f80fd5b81356001600160401b03811115612f7857612f78612bc6565b612f8760208260051b01612c02565b80828252602082019150602060608402860101925085831115612fa8575f80fd5b602085015b838110156130065760608188031215612fc4575f80fd5b612fcc612bda565b813581526020820135612fde81612a87565b60208201526040820135612ff181612d65565b60408201528352602090920191606001612fad565b5095945050505050565b5f8060408385031215613021575f80fd5b823561302c81612b80565b915060208301356001600160401b03811115613046575f80fd5b612e2f85828601612f50565b5f805f60608486031215613064575f80fd5b833561306f81612b80565b9250602084013561307f81612c9d565b915060408401356001600160401b03811115613099575f80fd5b6130a586828701612f50565b9150509250925092565b5f602082840312156130bf575f80fd5b8151612ab781612d92565b600181811c908216806130de57607f821691505b6020821081036130fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6131286060830186612abe565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561315d575f80fd5b8151612ab781612c9d565b6001600160401b0385168152608060208201525f6131896080830186612abe565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f602082840312156131bf575f80fd5b8151612ab781612d21565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612b7890830184612abe565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184612abe565b95945050505050565b5f6020828403121561325a575f80fd5b8151612ab781612e8c565b5f60208284031215613275575f80fd5b8151612ab781612b80565b5f8151808452602084019350602083015f5b828110156132da578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101613292565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612b7890830184613280565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184613280565b5f8085851115613347575f80fd5b83861115613353575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613391576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561341b57805f5260205f20601f840160051c810160208510156133fc5750805b601f840160051c820191505b8181101561080d575f8155600101613408565b505050565b81516001600160401b0381111561343957613439612bc6565b61344d8161344784546130ca565b846133d7565b6020601f82116001811461347f575f83156134685750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134ae578785015182556020948501946001909201910161348e565b50848210156134cb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613501575f80fd5b825161350c81612d21565b6020840151909250612d5a81612cb156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122012682c7aea1b33096a78e0ff7c38fa7c2c2f5f7896877671a5afda338fdab49d64736f6c634300081a0033",
1245
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061024a575f3560e01c8063644c45e011610140578063b428b0b0116100bf578063d4cda0d811610084578063d4cda0d814610540578063d6d0a65b14610551578063e52ba1cb14610564578063f153f82414610577578063f4b4ee4d1461058a578063f7bc431c1461059d575f80fd5b8063b428b0b014610502578063b7d2b16214610515578063bf7e214f14610528578063c265172514610530578063c71e261f14610538575f80fd5b80638689231311610105578063868923131461049f578063893d20e8146104b25780638fb36037146104ba57806396cdfa3f146104db578063ada9652e146104ee575f80fd5b8063644c45e0146104315780636dddada41461044e57806376b707b71461045f5780637a9e5e4b146104795780637de45f131461048c575f80fd5b806323dff792116101cc57806340acebd91161019157806340acebd9146103df5780634f8b8aba146103e75780635ab1bd53146103fa5780635d9662891461040b5780635fa8aad41461041e575f80fd5b806323dff7921461038a57806326decd401461039d5780632d764ef8146103b0578063311adb68146103c3578063398e3d4c146103d4575f80fd5b8063138461e011610212578063138461e0146102ef57806315b745321461030f5780631eff4b22146103225780631f481d641461035757806322f3e2d414610382575f80fd5b806301ffc9a71461024e57806302cd30711461028f5780630e0c586d146102b45780630fec111c146102c557806311f77843146102da575b5f80fd5b61027a61025c366004612a9c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6007546001600160a01b031661029c565b6102cd6105b0565b6040516102869190612aec565b6102ed6102e8366004612b94565b61076a565b005b6102f7610814565b6040516001600160601b039091168152602001610286565b6102f761031d366004612baf565b610823565b6103497f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b61036a610365366004612cc2565b610865565b6040516001600160401b039091168152602001610286565b61027a610964565b6102ed610398366004612d2e565b6109db565b61027a6103ab366004612b94565b610bf4565b6102ed6103be366004612d77565b610c6a565b6004546001600160a01b031661029c565b600a5460ff1661027a565b61027a610ce5565b6102ed6103f5366004612da6565b610d5a565b6001546001600160a01b031661029c565b6102f7610419366004612dc1565b610e0b565b61036a61042c366004612ded565b610f28565b5f8051602061351e833981519152546001600160601b03166102f7565b6006546001600160a01b031661029c565b610467611022565b60405160ff9091168152602001610286565b6102ed610487366004612b94565b61108a565b6102ed61049a366004612da6565b611110565b6102ed6104ad366004612e39565b61118d565b61029c611273565b6104c26113a4565b6040516001600160e01b03199091168152602001610286565b6102ed6104e9366004612e55565b6113d9565b6103495f8051602061351e83398151915281565b6102ed610510366004612e70565b611446565b6102ed610523366004612e70565b611652565b61029c61185e565b6102ed611879565b600954610349565b6008546001600160a01b031661029c565b6102ed61055f366004612e9a565b611921565b6102f7610572366004612da6565b611fd2565b6102ed610585366004613010565b61208b565b6102ed610598366004613052565b612101565b6102ed6105ab366004612b94565b6121ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561065c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061068091906130af565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8611273565b6001600160a01b031681526020018260010180546106e5906130ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610711906130ca565b801561075c5780601f106107335761010080835404028352916020019161075c565b820191905f5260205f20905b81548152906001019060200180831161073f57829003601f168201915b505050505081525091505090565b610776335b5f36612269565b61077e611273565b6001600160a01b0316336001600160a01b0316146107b65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6003546040516311f7784360e01b81526001600160a01b038381166004830152909116906311f77843906024015b5f604051808303815f87803b1580156107fb575f80fd5b505af115801561080d573d5f803e3d5ffd5b5050505050565b5f61081e3061235f565b905090565b5f6009828154811061083757610837613102565b905f5260205f209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b5f61086f3361076f565b610877611273565b6001600160a01b0316336001600160a01b0316146108aa5760405163086391f760e31b81523360048201526024016107ad565b6003546040516307d2075960e21b81526001600160a01b0390911690631f481d64906108de90879087908790600401613116565b6020604051808303815f875af11580156108fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091e919061314d565b90507f6c5b02802c41c82ddc743a2761e8741ad590fa0bb7870ba7dfe66aa84050a264818585856040516109559493929190613168565b60405180910390a19392505050565b5f61096d61185e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d591906131af565b15905090565b6109e43361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa158015610a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a5c91906131af565b610a8457604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33610a8d611273565b6001600160a01b0316816001600160a01b031614610b36576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd191610ad69186918691016131ca565b602060405180830381865afa158015610af1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1591906131af565b610b36578181604051631a94665f60e31b81526004016107ad9291906131ca565b6003546040516311effbc960e11b81526001600160401b038616600482015284151560248201526001600160a01b03909116906323dff792906044015f604051808303815f87803b158015610b89575f80fd5b505af1158015610b9b573d5f803e3d5ffd5b5050604080516001600160401b0388168152861515602082015233918101919091527ffb7c4cd23612bcc7ae3688074faa23835a443807c382c108d80ec75f8668db2f925060600190505b60405180910390a150505050565b60048054604051629b7b3560e61b81526001600160a01b03848116938201939093525f92909116906326decd4090602401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906131af565b92915050565b610c733361076f565b610c7b611273565b6001600160a01b0316336001600160a01b031614610cae5760405163086391f760e31b81523360048201526024016107ad565b6003546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024016107e4565b5f60045f9054906101000a90046001600160a01b03166001600160a01b031663a4e2d6346040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d36573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e91906131af565b610d633361076f565b610d6b611273565b6001600160a01b0316336001600160a01b031614610d9e5760405163086391f760e31b81523360048201526024016107ad565b60035460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505050565b5f610e153361076f565b610e1d611273565b6001600160a01b0316336001600160a01b031614610e505760405163086391f760e31b81523360048201526024016107ad565b600254604051635d96628960e01b81526001600160a01b038581166004830152848116602483015290911690635d966289906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec591906130af565b60098054600180820183555f929092527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6002820401805492909116600c026101000a6001600160601b0381810219909316928416029190911790559392505050565b5f610f323361076f565b610f3a611273565b6001600160a01b0316336001600160a01b031614610f6d5760405163086391f760e31b81523360048201526024016107ad565b6003546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f9f90869086906004016131ec565b6020604051808303815f875af1158015610fbb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdf919061314d565b90507f35040cf09b2f49908add8962a4116f3a23b1ce1e6ccc3b370a5205a3f128b86d8382846040516110149392919061320f565b60405180910390a192915050565b5f61102b61185e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611066573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081e919061324a565b3361109361185e565b6001600160a01b0316816001600160a01b0316146110ce5760405162d1953b60e31b81526001600160a01b03821660048201526024016107ad565b816001600160a01b03163b5f03611103576040516361798f2f60e11b81526001600160a01b03831660048201526024016107ad565b61110c826125b5565b5050565b6111193361076f565b611121611273565b6001600160a01b0316336001600160a01b0316146111545760405163086391f760e31b81523360048201526024016107ad565b600354604051637de45f1360e01b81526001600160601b03831660048201526001600160a01b0390911690637de45f13906024016107e4565b611195611273565b6001600160a01b0316336001600160a01b0316146111c85760405163086391f760e31b81523360048201526024016107ad565b600354604051638689231360e01b81526001600160a01b0384811660048301528315156024830152909116906386892313906044015f604051808303815f87803b158015611214575f80fd5b505af1158015611226573d5f803e3d5ffd5b5050604080516001600160a01b038616815284151560208201527fb3a503c4b7a90c1d036fcdec3757dc6b537f887a8c588606f78076e9fc3a78ca93500190505b60405180910390a15050565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156112df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130391906131af565b1561138e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611364573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113889190613265565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061353e83398151915280545f9190600160a01b900460ff166113cb575f611388565b638fb3603760e01b91505090565b6113e1611273565b6001600160a01b0316336001600160a01b0316146114145760405163086391f760e31b81523360048201526024016107ad565b6003546040516396cdfa3f60e01b815282151560048201526001600160a01b03909116906396cdfa3f906024016107e4565b61144f3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156114a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c791906131af565b6114ef57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b336114f8611273565b6001600160a01b0316816001600160a01b0316146115a1576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd1916115419186918691016131ca565b602060405180830381865afa15801561155c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158091906131af565b6115a1578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906115d390879087906004016131ca565b5f604051808303815f87803b1580156115ea575f80fd5b505af11580156115fc573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527f2a47cfa3950f5163af56e954433a359d9c481d14f90d8db827d859f5e8641e1a92506060019050610be6565b61165b3361076f565b600480546040516343e39f2d60e11b81526001600160401b0385169281019290925283916001600160a01b03909116906387c73e5a90602401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d391906131af565b6116fb57604051635579019560e01b81526001600160401b03821660048201526024016107ad565b33611704611273565b6001600160a01b0316816001600160a01b0316146117ad576004805460405163480cebd160e01b81526001600160a01b039091169163480cebd19161174d9186918691016131ca565b602060405180830381865afa158015611768573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061178c91906131af565b6117ad578181604051631a94665f60e31b81526004016107ad9291906131ca565b600354604051635be958b160e11b81526001600160a01b039091169063b7d2b162906117df90879087906004016131ca565b5f604051808303815f87803b1580156117f6575f80fd5b505af1158015611808573d5f803e3d5ffd5b5050604080516001600160401b03881681526001600160a01b038716602082015233918101919091527fbdd55b4d14c3bb8684d8b5a9a57d9e802f3da86c5cd871d4b868a77ef152d2b692506060019050610be6565b5f8051602061353e833981519152546001600160a01b031690565b6118823361076f565b61188a611273565b6001600160a01b0316336001600160a01b0316146118bd5760405163086391f760e31b81523360048201526024016107ad565b60035f9054906101000a90046001600160a01b03166001600160a01b031663c26517256040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611909575f80fd5b505af115801561191b573d5f803e3d5ffd5b50505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119655750825b90505f826001600160401b031660011480156119805750303b155b90508115801561198e575080155b156119ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156119d657845460ff60401b1916600160401b1785555b6001600160a01b038e166119fd576040516377dbcd1760e01b815260040160405180910390fd5b8d60045f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550611aff8e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a869190613265565b8a8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ac3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ae791906130af565b600a5f8c60405180602001604052805f81525061260e565b8c60085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508b60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508960055f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060085f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611be3575f80fd5b505af1158015611bf5573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7c9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611cc2575f80fd5b505af1158015611cd4573d5f803e3d5ffd5b5050505060075f9054906101000a90046001600160a01b03166001600160a01b031663485cc9558f6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5b9190613265565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152908c1660248201526044015f604051808303815f87803b158015611da1575f80fd5b505af1158015611db3573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611e03575f80fd5b505af1158015611e15573d5f803e3d5ffd5b50505050611e2b6001546001600160a01b031690565b6001600160a01b031663d39e6043600b6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea39190613265565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600a6040516001600160e01b031960e084901b16815260ff9182166004820152908b166024820152604401602060405180830381865afa158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3b9190613265565b600380546001600160a01b0319166001600160a01b0392909216919091179055600a805460ff1916871515179055611f7c6001622370f560e21b0319612755565b8315611fc257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b5f611fdc3361076f565b611fe4611273565b6001600160a01b0316336001600160a01b0316146120175760405163086391f760e31b81523360048201526024016107ad565b60035460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af1158015612067573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906130af565b6120943361076f565b61209c611273565b6001600160a01b0316336001600160a01b0316146120cf5760405163086391f760e31b81523360048201526024016107ad565b600354604051633c54fe0960e21b81526001600160a01b039091169063f153f82490610dda90859085906004016132e4565b61210a3361076f565b612112611273565b6001600160a01b0316336001600160a01b0316146121455760405163086391f760e31b81523360048201526024016107ad565b60035460405163f4b4ee4d60e01b81526001600160a01b039091169063f4b4ee4d9061217990869086908690600401613307565b5f604051808303815f87803b158015612190575f80fd5b505af11580156121a2573d5f803e3d5ffd5b50505050505050565b6121b43361076f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221e9190613265565b6001600160a01b031614612247576040516345789cf560e01b81523060048201526024016107ad565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b5f8051602061353e8339815191525f806122a161228461185e565b873061229360045f8a8c613339565b61229c91613360565b612788565b9150915081610e035763ffffffff81161561233c57825460ff60a01b1916600160a01b1783556122cf61185e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016122fe93929190613398565b5f604051808303815f87803b158015612315575f80fd5b505af1158015612327573d5f803e3d5ffd5b5050845460ff60a01b1916855550610e039050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107ad565b5f805f8051602061351e83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123ef91906131af565b1561241b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107ad565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061249191906131af565b6124b95760405163b9304b0d60e01b81526001600160a01b03841660048201526024016107ad565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561250b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252f91906130af565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061257b611273565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8051602061353e83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001611267565b612616612890565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561266c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269091906131af565b6126b85760405163cf6935e560e01b81526001600160a01b03881660048201526024016107ad565b6126c1876128db565b6126cb86836128ec565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161273a8382613420565b5061274b634a531f3360e01b612755565b5050505050505050565b61275d612890565b612785816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127f691906134da565b5f60405180830381855afa9150503d805f811461282e576040519150601f19603f3d011682016040523d82523d5f602084013e612833565b606091505b50915091508115612885576040815110612865578080602001905181019061285b91906134f0565b9094509250612885565b6020815110612885578080602001905181019061288291906131af565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166128d957604051631afcd79f60e31b815260040160405180910390fd5b565b6128e3612890565b61278581612962565b6128f4612890565b6128fc612973565b612905826129bb565b6001600160a01b03811661292c5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061351e83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61296a612890565b612785816125b5565b61297b612890565b6128d96301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129c3612890565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612a19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3d91906131af565b612a655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107ad565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114612785575f80fd5b5f60208284031215612aac575f80fd5b8135612ab781612a87565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b34608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b78610100840182612abe565b949350505050565b6001600160a01b0381168114612785575f80fd5b5f60208284031215612ba4575f80fd5b8135612ab781612b80565b5f60208284031215612bbf575f80fd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715612bfc57612bfc612bc6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612c2a57612c2a612bc6565b604052919050565b5f82601f830112612c41575f80fd5b81356001600160401b03811115612c5a57612c5a612bc6565b612c6d601f8201601f1916602001612c02565b818152846020838601011115612c81575f80fd5b816020850160208301375f918101602001919091529392505050565b6001600160401b0381168114612785575f80fd5b63ffffffff81168114612785575f80fd5b5f805f60608486031215612cd4575f80fd5b83356001600160401b03811115612ce9575f80fd5b612cf586828701612c32565b9350506020840135612d0681612c9d565b91506040840135612d1681612cb1565b809150509250925092565b8015158114612785575f80fd5b5f8060408385031215612d3f575f80fd5b8235612d4a81612c9d565b91506020830135612d5a81612d21565b809150509250929050565b64ffffffffff81168114612785575f80fd5b5f60208284031215612d87575f80fd5b8135612ab781612d65565b6001600160601b0381168114612785575f80fd5b5f60208284031215612db6575f80fd5b8135612ab781612d92565b5f8060408385031215612dd2575f80fd5b8235612ddd81612b80565b91506020830135612d5a81612b80565b5f8060408385031215612dfe575f80fd5b8235612e0981612b80565b915060208301356001600160401b03811115612e23575f80fd5b612e2f85828601612c32565b9150509250929050565b5f8060408385031215612e4a575f80fd5b8235612d4a81612b80565b5f60208284031215612e65575f80fd5b8135612ab781612d21565b5f8060408385031215612e81575f80fd5b8235612ddd81612c9d565b60ff81168114612785575f80fd5b5f805f805f805f805f6101208a8c031215612eb3575f80fd5b8935612ebe81612b80565b985060208a0135612ece81612b80565b975060408a0135612ede81612b80565b965060608a0135612eee81612b80565b955060808a0135612efe81612b80565b945060a08a0135612f0e81612b80565b935060c08a0135612f1e81612e8c565b925060e08a0135612f2e81612b80565b91506101008a0135612f3f81612d21565b809150509295985092959850929598565b5f82601f830112612f5f575f80fd5b81356001600160401b03811115612f7857612f78612bc6565b612f8760208260051b01612c02565b80828252602082019150602060608402860101925085831115612fa8575f80fd5b602085015b838110156130065760608188031215612fc4575f80fd5b612fcc612bda565b813581526020820135612fde81612a87565b60208201526040820135612ff181612d65565b60408201528352602090920191606001612fad565b5095945050505050565b5f8060408385031215613021575f80fd5b823561302c81612b80565b915060208301356001600160401b03811115613046575f80fd5b612e2f85828601612f50565b5f805f60608486031215613064575f80fd5b833561306f81612b80565b9250602084013561307f81612c9d565b915060408401356001600160401b03811115613099575f80fd5b6130a586828701612f50565b9150509250925092565b5f602082840312156130bf575f80fd5b8151612ab781612d92565b600181811c908216806130de57607f821691505b6020821081036130fc57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b606081525f6131286060830186612abe565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f6020828403121561315d575f80fd5b8151612ab781612c9d565b6001600160401b0385168152608060208201525f6131896080830186612abe565b90506001600160401b038416604083015263ffffffff8316606083015295945050505050565b5f602082840312156131bf575f80fd5b8151612ab781612d21565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6001600160a01b03831681526040602082018190525f90612b7890830184612abe565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184612abe565b95945050505050565b5f6020828403121561325a575f80fd5b8151612ab781612e8c565b5f60208284031215613275575f80fd5b8151612ab781612b80565b5f8151808452602084019350602083015f5b828110156132da578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff169188019190915260609096019590910190600101613292565b5093949350505050565b6001600160a01b03831681526040602082018190525f90612b7890830184613280565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f9061324190830184613280565b5f8085851115613347575f80fd5b83861115613353575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613391576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f82111561341b57805f5260205f20601f840160051c810160208510156133fc5750805b601f840160051c820191505b8181101561080d575f8155600101613408565b505050565b81516001600160401b0381111561343957613439612bc6565b61344d8161344784546130ca565b846133d7565b6020601f82116001811461347f575f83156134685750848201515b5f19600385901b1c1916600184901b17845561080d565b5f84815260208120601f198516915b828110156134ae578785015182556020948501946001909201910161348e565b50848210156134cb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613501575f80fd5b825161350c81612d21565b6020840151909250612d5a81612cb156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122012682c7aea1b33096a78e0ff7c38fa7c2c2f5f7896877671a5afda338fdab49d64736f6c634300081a0033",
3026
1246
  "linkReferences": {
3027
- "contracts/types/Key32.sol": {
3028
- "Key32Lib": [
3029
- {
3030
- "length": 20,
3031
- "start": 10407
3032
- },
3033
- {
3034
- "length": 20,
3035
- "start": 12507
3036
- },
3037
- {
3038
- "length": 20,
3039
- "start": 12623
3040
- },
3041
- {
3042
- "length": 20,
3043
- "start": 12805
3044
- },
1247
+ "contracts/shared/ContractLib.sol": {
1248
+ "ContractLib": [
3045
1249
  {
3046
1250
  "length": 20,
3047
- "start": 12921
1251
+ "start": 9808
3048
1252
  },
3049
1253
  {
3050
1254
  "length": 20,
3051
- "start": 13126
3052
- },
3053
- {
3054
- "length": 20,
3055
- "start": 13879
3056
- },
3057
- {
3058
- "length": 20,
3059
- "start": 13995
3060
- },
3061
- {
3062
- "length": 20,
3063
- "start": 14720
3064
- },
3065
- {
3066
- "length": 20,
3067
- "start": 14836
1255
+ "start": 10749
3068
1256
  }
3069
1257
  ]
3070
1258
  },
3071
- "contracts/types/NftId.sol": {
1259
+ "contracts/type/NftId.sol": {
3072
1260
  "NftIdLib": [
3073
1261
  {
3074
1262
  "length": 20,
3075
- "start": 5595
3076
- },
3077
- {
3078
- "length": 20,
3079
- "start": 6103
3080
- },
3081
- {
3082
- "length": 20,
3083
- "start": 6883
3084
- },
3085
- {
3086
- "length": 20,
3087
- "start": 7457
3088
- },
3089
- {
3090
- "length": 20,
3091
- "start": 8194
3092
- },
3093
- {
3094
- "length": 20,
3095
- "start": 8427
3096
- },
3097
- {
3098
- "length": 20,
3099
- "start": 9424
3100
- },
3101
- {
3102
- "length": 20,
3103
- "start": 11387
3104
- }
3105
- ]
3106
- },
3107
- "contracts/types/ObjectType.sol": {
3108
- "ObjectTypeLib": [
3109
- {
3110
- "length": 20,
3111
- "start": 13247
3112
- }
3113
- ]
3114
- },
3115
- "contracts/types/RiskId.sol": {
3116
- "RiskIdLib": [
3117
- {
3118
- "length": 20,
3119
- "start": 6517
3120
- },
3121
- {
3122
- "length": 20,
3123
- "start": 8279
3124
- },
3125
- {
3126
- "length": 20,
3127
- "start": 9547
3128
- }
3129
- ]
3130
- },
3131
- "contracts/types/StateId.sol": {
3132
- "StateIdLib": [
3133
- {
3134
- "length": 20,
3135
- "start": 6746
3136
- },
3137
- {
3138
- "length": 20,
3139
- "start": 9701
3140
- },
3141
- {
3142
- "length": 20,
3143
- "start": 10031
3144
- },
3145
- {
3146
- "length": 20,
3147
- "start": 11933
3148
- },
3149
- {
3150
- "length": 20,
3151
- "start": 12153
3152
- },
3153
- {
3154
- "length": 20,
3155
- "start": 13468
1263
+ "start": 1587
3156
1264
  },
3157
1265
  {
3158
1266
  "length": 20,
3159
- "start": 14174
1267
+ "start": 4803
3160
1268
  },
3161
1269
  {
3162
1270
  "length": 20,
3163
- "start": 14394
3164
- }
3165
- ]
3166
- },
3167
- "contracts/types/Version.sol": {
3168
- "VersionPartLib": [
3169
- {
3170
- "length": 20,
3171
- "start": 10159
1271
+ "start": 9135
3172
1272
  }
3173
1273
  ]
3174
1274
  }
3175
1275
  },
3176
1276
  "deployedLinkReferences": {
3177
- "contracts/types/Key32.sol": {
3178
- "Key32Lib": [
3179
- {
3180
- "length": 20,
3181
- "start": 8576
3182
- },
3183
- {
3184
- "length": 20,
3185
- "start": 10676
3186
- },
3187
- {
3188
- "length": 20,
3189
- "start": 10792
3190
- },
3191
- {
3192
- "length": 20,
3193
- "start": 10974
3194
- },
3195
- {
3196
- "length": 20,
3197
- "start": 11090
3198
- },
3199
- {
3200
- "length": 20,
3201
- "start": 11295
3202
- },
3203
- {
3204
- "length": 20,
3205
- "start": 12048
3206
- },
3207
- {
3208
- "length": 20,
3209
- "start": 12164
3210
- },
1277
+ "contracts/shared/ContractLib.sol": {
1278
+ "ContractLib": [
3211
1279
  {
3212
1280
  "length": 20,
3213
- "start": 12889
1281
+ "start": 9780
3214
1282
  },
3215
1283
  {
3216
1284
  "length": 20,
3217
- "start": 13005
1285
+ "start": 10721
3218
1286
  }
3219
1287
  ]
3220
1288
  },
3221
- "contracts/types/NftId.sol": {
1289
+ "contracts/type/NftId.sol": {
3222
1290
  "NftIdLib": [
3223
1291
  {
3224
1292
  "length": 20,
3225
- "start": 3764
3226
- },
3227
- {
3228
- "length": 20,
3229
- "start": 4272
3230
- },
3231
- {
3232
- "length": 20,
3233
- "start": 5052
3234
- },
3235
- {
3236
- "length": 20,
3237
- "start": 5626
3238
- },
3239
- {
3240
- "length": 20,
3241
- "start": 6363
3242
- },
3243
- {
3244
- "length": 20,
3245
- "start": 6596
3246
- },
3247
- {
3248
- "length": 20,
3249
- "start": 7593
3250
- },
3251
- {
3252
- "length": 20,
3253
- "start": 9556
3254
- }
3255
- ]
3256
- },
3257
- "contracts/types/ObjectType.sol": {
3258
- "ObjectTypeLib": [
3259
- {
3260
- "length": 20,
3261
- "start": 11416
3262
- }
3263
- ]
3264
- },
3265
- "contracts/types/RiskId.sol": {
3266
- "RiskIdLib": [
3267
- {
3268
- "length": 20,
3269
- "start": 4686
3270
- },
3271
- {
3272
- "length": 20,
3273
- "start": 6448
3274
- },
3275
- {
3276
- "length": 20,
3277
- "start": 7716
3278
- }
3279
- ]
3280
- },
3281
- "contracts/types/StateId.sol": {
3282
- "StateIdLib": [
3283
- {
3284
- "length": 20,
3285
- "start": 4915
3286
- },
3287
- {
3288
- "length": 20,
3289
- "start": 7870
3290
- },
3291
- {
3292
- "length": 20,
3293
- "start": 8200
3294
- },
3295
- {
3296
- "length": 20,
3297
- "start": 10102
3298
- },
3299
- {
3300
- "length": 20,
3301
- "start": 10322
1293
+ "start": 1559
3302
1294
  },
3303
1295
  {
3304
1296
  "length": 20,
3305
- "start": 11637
1297
+ "start": 4775
3306
1298
  },
3307
1299
  {
3308
1300
  "length": 20,
3309
- "start": 12343
3310
- },
3311
- {
3312
- "length": 20,
3313
- "start": 12563
3314
- }
3315
- ]
3316
- },
3317
- "contracts/types/Version.sol": {
3318
- "VersionPartLib": [
3319
- {
3320
- "length": 20,
3321
- "start": 8328
1301
+ "start": 9107
3322
1302
  }
3323
1303
  ]
3324
1304
  }