@etherisc/gif-next 0.0.2-e545d2c-624 → 0.0.2-e586bbf-616

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