@etherisc/gif-next 0.0.2-bc11089-132 → 0.0.2-bc7a257-709

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