@etherisc/gif-next 0.0.2-ff8087d-237 → 0.0.2-ffa91a6-022

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