@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-eba4d8b-925

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