@etherisc/gif-next 0.0.2-be8b3db-650 → 0.0.2-bf018c6-898

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