@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fc0563c-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (783) hide show
  1. package/README.md +141 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +658 -1236
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +733 -142
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +575 -2838
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +766 -483
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +382 -162
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1552 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +340 -357
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +292 -291
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +689 -113
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +351 -226
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1027 -149
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +327 -322
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +375 -119
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/Component.sol/Component.json} +350 -98
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +292 -183
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +136 -51
  390. package/contracts/instance/IInstanceService.sol +103 -19
  391. package/contracts/instance/Instance.sol +246 -365
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +447 -209
  396. package/contracts/instance/InstanceServiceManager.sol +14 -32
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +126 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +108 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +162 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  421. package/contracts/pool/BundleService.sol +386 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +116 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +333 -0
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +641 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +48 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +483 -0
  448. package/contracts/product/RiskService.sol +190 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +82 -35
  451. package/contracts/registry/IRegistry.sol +126 -32
  452. package/contracts/registry/IRegistryService.sol +40 -28
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +561 -273
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +116 -233
  459. package/contracts/registry/RegistryServiceManager.sol +26 -53
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +263 -60
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +679 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +111 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +17 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +13 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +77 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +45 -33
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/{types → type}/NftIdSet.sol +2 -2
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  586. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  587. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  588. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  589. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  590. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  591. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  593. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -940
  594. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  595. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  596. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  597. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  598. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  601. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  607. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  609. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -923
  613. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -440
  615. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  617. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  619. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  621. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  624. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  625. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  626. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  629. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -536
  631. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  633. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  635. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -718
  637. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -428
  639. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  640. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -768
  641. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  642. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  643. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  644. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  645. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  646. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  647. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  648. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  649. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  650. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  651. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  652. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  653. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  654. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  655. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  656. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  657. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  659. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  660. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  661. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  663. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  665. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  667. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  669. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  671. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  672. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  673. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  674. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  675. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  677. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  679. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  681. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  683. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  685. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  687. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  688. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  689. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  691. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  693. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  695. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  697. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  699. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  701. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  703. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  705. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  707. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  709. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  711. package/contracts/components/BaseComponent.sol +0 -132
  712. package/contracts/components/Distribution.sol +0 -163
  713. package/contracts/components/IBaseComponent.sol +0 -31
  714. package/contracts/components/IDistributionComponent.sol +0 -44
  715. package/contracts/components/IPoolComponent.sol +0 -66
  716. package/contracts/components/IProductComponent.sol +0 -35
  717. package/contracts/components/Pool.sol +0 -271
  718. package/contracts/components/Product.sol +0 -292
  719. package/contracts/experiment/cloning/Cloner.sol +0 -47
  720. package/contracts/experiment/errors/Require.sol +0 -38
  721. package/contracts/experiment/errors/Revert.sol +0 -44
  722. package/contracts/experiment/inheritance/A.sol +0 -53
  723. package/contracts/experiment/inheritance/B.sol +0 -28
  724. package/contracts/experiment/inheritance/C.sol +0 -34
  725. package/contracts/experiment/inheritance/IA.sol +0 -13
  726. package/contracts/experiment/inheritance/IB.sol +0 -10
  727. package/contracts/experiment/inheritance/IC.sol +0 -12
  728. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  729. package/contracts/experiment/statemachine/ISM.sol +0 -25
  730. package/contracts/experiment/statemachine/SM.sol +0 -57
  731. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  732. package/contracts/experiment/types/TypeA.sol +0 -47
  733. package/contracts/experiment/types/TypeB.sol +0 -29
  734. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  735. package/contracts/instance/BundleManager.sol +0 -129
  736. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  737. package/contracts/instance/IInstanceBase.sol +0 -26
  738. package/contracts/instance/InstanceAccessManager.sol +0 -288
  739. package/contracts/instance/InstanceBase.sol +0 -41
  740. package/contracts/instance/ObjectManager.sol +0 -101
  741. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  742. package/contracts/instance/base/IInstanceBase.sol +0 -23
  743. package/contracts/instance/base/KeyValueStore.sol +0 -172
  744. package/contracts/instance/base/Lifecycle.sol +0 -100
  745. package/contracts/instance/module/IAccess.sol +0 -38
  746. package/contracts/instance/module/ISetup.sol +0 -46
  747. package/contracts/instance/module/ITreasury.sol +0 -23
  748. package/contracts/instance/service/BundleService.sol +0 -260
  749. package/contracts/instance/service/BundleServiceManager.sol +0 -54
  750. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  751. package/contracts/instance/service/DistributionService.sol +0 -118
  752. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  753. package/contracts/instance/service/IBundleService.sol +0 -45
  754. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  755. package/contracts/instance/service/IDistributionService.sol +0 -12
  756. package/contracts/instance/service/IPolicyService.sol +0 -87
  757. package/contracts/instance/service/IPoolService.sol +0 -20
  758. package/contracts/instance/service/IProductService.sol +0 -40
  759. package/contracts/instance/service/PolicyService.sol +0 -508
  760. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  761. package/contracts/instance/service/PoolService.sol +0 -124
  762. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  763. package/contracts/instance/service/ProductService.sol +0 -173
  764. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  765. package/contracts/shared/ContractDeployerLib.sol +0 -72
  766. package/contracts/shared/ERC165.sol +0 -25
  767. package/contracts/shared/ProxyManager.sol +0 -94
  768. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  769. package/contracts/shared/Versionable.sol +0 -147
  770. package/contracts/test/TestFee.sol +0 -25
  771. package/contracts/test/TestRegisterable.sol +0 -18
  772. package/contracts/test/TestRoleId.sol +0 -14
  773. package/contracts/test/TestService.sol +0 -24
  774. package/contracts/test/TestToken.sol +0 -26
  775. package/contracts/test/TestVersion.sol +0 -44
  776. package/contracts/test/TestVersionable.sol +0 -17
  777. package/contracts/types/ChainId.sol +0 -38
  778. package/contracts/types/Fee.sol +0 -56
  779. package/contracts/types/NumberId.sol +0 -52
  780. package/contracts/types/ObjectType.sol +0 -152
  781. package/contracts/types/RiskId.sol +0 -43
  782. package/contracts/types/RoleId.sol +0 -92
  783. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,1438 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleService",
4
+ "sourceName": "contracts/pool/BundleService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "bundleNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "StateId",
64
+ "name": "state",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "Timestamp",
69
+ "name": "expiredAt",
70
+ "type": "uint40"
71
+ }
72
+ ],
73
+ "name": "ErrorBundleServiceBundleNotOpen",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "bundleNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "expectedPool",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "actualPool",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorBundleServiceBundlePoolMismatch",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "bundleNftId",
102
+ "type": "uint96"
103
+ }
104
+ ],
105
+ "name": "ErrorBundleServiceBundleUnknown",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "NftId",
112
+ "name": "bundleNftId",
113
+ "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "openPoliciesCount",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "ErrorBundleServiceBundleWithOpenPolicies",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "bundleNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "Amount",
133
+ "name": "capacityAmount",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "Amount",
138
+ "name": "collateralAmount",
139
+ "type": "uint96"
140
+ }
141
+ ],
142
+ "name": "ErrorBundleServiceCapacityInsufficient",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "ErrorBundleServiceExtensionLifetimeIsZero",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "bundleOwner",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "address",
159
+ "name": "tokenHandlerAddress",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "Amount",
164
+ "name": "amount",
165
+ "type": "uint96"
166
+ }
167
+ ],
168
+ "name": "ErrorBundleServiceInsufficientAllowance",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "NftId",
175
+ "name": "policyNftId",
176
+ "type": "uint96"
177
+ }
178
+ ],
179
+ "name": "ErrorBundleServicePolicyNotCloseable",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "Amount",
186
+ "name": "amount",
187
+ "type": "uint96"
188
+ },
189
+ {
190
+ "internalType": "Amount",
191
+ "name": "limit",
192
+ "type": "uint96"
193
+ }
194
+ ],
195
+ "name": "ErrorBundleServiceUnstakeAmountExceedsLimit",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "nftId",
203
+ "type": "uint96"
204
+ }
205
+ ],
206
+ "name": "ErrorNftOwnableAlreadyLinked",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "contractAddress",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableContractNotRegistered",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorNftOwnableInitialOwnerZero",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "NftId",
229
+ "name": "nftId",
230
+ "type": "uint96"
231
+ },
232
+ {
233
+ "internalType": "ObjectType",
234
+ "name": "expectedObjectType",
235
+ "type": "uint8"
236
+ }
237
+ ],
238
+ "name": "ErrorNftOwnableInvalidType",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [
243
+ {
244
+ "internalType": "address",
245
+ "name": "account",
246
+ "type": "address"
247
+ }
248
+ ],
249
+ "name": "ErrorNftOwnableNotOwner",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "registryAddress",
257
+ "type": "address"
258
+ }
259
+ ],
260
+ "name": "ErrorNotRegistry",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "ErrorRegisterableNotActive",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "ErrorVersionableInitializeNotImplemented",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorVersionableUpgradeNotImplemented",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "InvalidInitialization",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "NotInitializing",
286
+ "type": "error"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "ReentrancyGuardReentrantCall",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "anonymous": false,
295
+ "inputs": [
296
+ {
297
+ "indexed": false,
298
+ "internalType": "address",
299
+ "name": "authority",
300
+ "type": "address"
301
+ }
302
+ ],
303
+ "name": "AuthorityUpdated",
304
+ "type": "event"
305
+ },
306
+ {
307
+ "anonymous": false,
308
+ "inputs": [
309
+ {
310
+ "indexed": false,
311
+ "internalType": "uint64",
312
+ "name": "version",
313
+ "type": "uint64"
314
+ }
315
+ ],
316
+ "name": "Initialized",
317
+ "type": "event"
318
+ },
319
+ {
320
+ "anonymous": false,
321
+ "inputs": [
322
+ {
323
+ "indexed": false,
324
+ "internalType": "NftId",
325
+ "name": "bundleNftId",
326
+ "type": "uint96"
327
+ }
328
+ ],
329
+ "name": "LogBundleServiceBundleClosed",
330
+ "type": "event"
331
+ },
332
+ {
333
+ "anonymous": false,
334
+ "inputs": [
335
+ {
336
+ "indexed": false,
337
+ "internalType": "NftId",
338
+ "name": "bundleNftId",
339
+ "type": "uint96"
340
+ },
341
+ {
342
+ "indexed": false,
343
+ "internalType": "NftId",
344
+ "name": "poolNftId",
345
+ "type": "uint96"
346
+ },
347
+ {
348
+ "indexed": false,
349
+ "internalType": "Seconds",
350
+ "name": "lifetime",
351
+ "type": "uint40"
352
+ }
353
+ ],
354
+ "name": "LogBundleServiceBundleCreated",
355
+ "type": "event"
356
+ },
357
+ {
358
+ "anonymous": false,
359
+ "inputs": [
360
+ {
361
+ "indexed": false,
362
+ "internalType": "NftId",
363
+ "name": "bundleNftId",
364
+ "type": "uint96"
365
+ },
366
+ {
367
+ "indexed": false,
368
+ "internalType": "Seconds",
369
+ "name": "lifetimeExtension",
370
+ "type": "uint40"
371
+ },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "Timestamp",
375
+ "name": "extendedExpiredAt",
376
+ "type": "uint40"
377
+ }
378
+ ],
379
+ "name": "LogBundleServiceBundleExtended",
380
+ "type": "event"
381
+ },
382
+ {
383
+ "anonymous": false,
384
+ "inputs": [
385
+ {
386
+ "indexed": false,
387
+ "internalType": "NftId",
388
+ "name": "bundleNftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "indexed": false,
393
+ "internalType": "Amount",
394
+ "name": "fixedFee",
395
+ "type": "uint96"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "UFixed",
400
+ "name": "fractionalFee",
401
+ "type": "uint160"
402
+ }
403
+ ],
404
+ "name": "LogBundleServiceBundleFeeUpdated",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "NftId",
413
+ "name": "bundleNftId",
414
+ "type": "uint96"
415
+ }
416
+ ],
417
+ "name": "LogBundleServiceBundleLocked",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": false,
425
+ "internalType": "NftId",
426
+ "name": "bundleNftId",
427
+ "type": "uint96"
428
+ },
429
+ {
430
+ "indexed": false,
431
+ "internalType": "Amount",
432
+ "name": "amount",
433
+ "type": "uint96"
434
+ }
435
+ ],
436
+ "name": "LogBundleServiceBundleStaked",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
442
+ {
443
+ "indexed": false,
444
+ "internalType": "NftId",
445
+ "name": "bundleNftId",
446
+ "type": "uint96"
447
+ }
448
+ ],
449
+ "name": "LogBundleServiceBundleUnlocked",
450
+ "type": "event"
451
+ },
452
+ {
453
+ "anonymous": false,
454
+ "inputs": [
455
+ {
456
+ "indexed": false,
457
+ "internalType": "NftId",
458
+ "name": "bundleNftId",
459
+ "type": "uint96"
460
+ },
461
+ {
462
+ "indexed": false,
463
+ "internalType": "Amount",
464
+ "name": "amount",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "LogBundleServiceBundleUnstaked",
469
+ "type": "event"
470
+ },
471
+ {
472
+ "anonymous": false,
473
+ "inputs": [
474
+ {
475
+ "indexed": false,
476
+ "internalType": "NftId",
477
+ "name": "bundleNftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "indexed": false,
482
+ "internalType": "NftId",
483
+ "name": "policyNftId",
484
+ "type": "uint96"
485
+ },
486
+ {
487
+ "indexed": false,
488
+ "internalType": "Amount",
489
+ "name": "collateralAmount",
490
+ "type": "uint96"
491
+ }
492
+ ],
493
+ "name": "LogBundleServiceCollateralLocked",
494
+ "type": "event"
495
+ },
496
+ {
497
+ "anonymous": false,
498
+ "inputs": [
499
+ {
500
+ "indexed": false,
501
+ "internalType": "NftId",
502
+ "name": "bundleNftId",
503
+ "type": "uint96"
504
+ },
505
+ {
506
+ "indexed": false,
507
+ "internalType": "NftId",
508
+ "name": "policyNftId",
509
+ "type": "uint96"
510
+ },
511
+ {
512
+ "indexed": false,
513
+ "internalType": "Amount",
514
+ "name": "collateralAmount",
515
+ "type": "uint96"
516
+ }
517
+ ],
518
+ "name": "LogBundleServiceCollateralReleased",
519
+ "type": "event"
520
+ },
521
+ {
522
+ "anonymous": false,
523
+ "inputs": [
524
+ {
525
+ "indexed": false,
526
+ "internalType": "NftId",
527
+ "name": "nftId",
528
+ "type": "uint96"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "address",
533
+ "name": "owner",
534
+ "type": "address"
535
+ }
536
+ ],
537
+ "name": "LogNftOwnableNftLinkedToAddress",
538
+ "type": "event"
539
+ },
540
+ {
541
+ "inputs": [],
542
+ "name": "NAME",
543
+ "outputs": [
544
+ {
545
+ "internalType": "string",
546
+ "name": "",
547
+ "type": "string"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [],
555
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
556
+ "outputs": [
557
+ {
558
+ "internalType": "bytes32",
559
+ "name": "",
560
+ "type": "bytes32"
561
+ }
562
+ ],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "REGISTERABLE_LOCATION_V1",
569
+ "outputs": [
570
+ {
571
+ "internalType": "bytes32",
572
+ "name": "",
573
+ "type": "bytes32"
574
+ }
575
+ ],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [],
581
+ "name": "authority",
582
+ "outputs": [
583
+ {
584
+ "internalType": "address",
585
+ "name": "",
586
+ "type": "address"
587
+ }
588
+ ],
589
+ "stateMutability": "view",
590
+ "type": "function"
591
+ },
592
+ {
593
+ "inputs": [
594
+ {
595
+ "internalType": "contract IInstance",
596
+ "name": "instance",
597
+ "type": "address"
598
+ },
599
+ {
600
+ "internalType": "NftId",
601
+ "name": "bundleNftId",
602
+ "type": "uint96"
603
+ }
604
+ ],
605
+ "name": "close",
606
+ "outputs": [
607
+ {
608
+ "internalType": "Amount",
609
+ "name": "unstakedAmount",
610
+ "type": "uint96"
611
+ },
612
+ {
613
+ "internalType": "Amount",
614
+ "name": "feeAmount",
615
+ "type": "uint96"
616
+ }
617
+ ],
618
+ "stateMutability": "nonpayable",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
623
+ {
624
+ "internalType": "address",
625
+ "name": "owner",
626
+ "type": "address"
627
+ },
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "UFixed",
632
+ "name": "fractionalFee",
633
+ "type": "uint160"
634
+ },
635
+ {
636
+ "internalType": "Amount",
637
+ "name": "fixedFee",
638
+ "type": "uint96"
639
+ }
640
+ ],
641
+ "internalType": "struct Fee",
642
+ "name": "bundleFee",
643
+ "type": "tuple"
644
+ },
645
+ {
646
+ "internalType": "Seconds",
647
+ "name": "lifetime",
648
+ "type": "uint40"
649
+ },
650
+ {
651
+ "internalType": "bytes",
652
+ "name": "filter",
653
+ "type": "bytes"
654
+ }
655
+ ],
656
+ "name": "create",
657
+ "outputs": [
658
+ {
659
+ "internalType": "NftId",
660
+ "name": "bundleNftId",
661
+ "type": "uint96"
662
+ }
663
+ ],
664
+ "stateMutability": "nonpayable",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [
669
+ {
670
+ "internalType": "NftId",
671
+ "name": "bundleNftId",
672
+ "type": "uint96"
673
+ },
674
+ {
675
+ "internalType": "Seconds",
676
+ "name": "lifetimeExtension",
677
+ "type": "uint40"
678
+ }
679
+ ],
680
+ "name": "extend",
681
+ "outputs": [
682
+ {
683
+ "internalType": "Timestamp",
684
+ "name": "extendedExpiredAt",
685
+ "type": "uint40"
686
+ }
687
+ ],
688
+ "stateMutability": "nonpayable",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [],
693
+ "name": "getDomain",
694
+ "outputs": [
695
+ {
696
+ "internalType": "ObjectType",
697
+ "name": "serviceDomain",
698
+ "type": "uint8"
699
+ }
700
+ ],
701
+ "stateMutability": "pure",
702
+ "type": "function"
703
+ },
704
+ {
705
+ "inputs": [],
706
+ "name": "getInitialInfo",
707
+ "outputs": [
708
+ {
709
+ "components": [
710
+ {
711
+ "internalType": "NftId",
712
+ "name": "nftId",
713
+ "type": "uint96"
714
+ },
715
+ {
716
+ "internalType": "NftId",
717
+ "name": "parentNftId",
718
+ "type": "uint96"
719
+ },
720
+ {
721
+ "internalType": "ObjectType",
722
+ "name": "objectType",
723
+ "type": "uint8"
724
+ },
725
+ {
726
+ "internalType": "bool",
727
+ "name": "isInterceptor",
728
+ "type": "bool"
729
+ },
730
+ {
731
+ "internalType": "address",
732
+ "name": "objectAddress",
733
+ "type": "address"
734
+ },
735
+ {
736
+ "internalType": "address",
737
+ "name": "initialOwner",
738
+ "type": "address"
739
+ },
740
+ {
741
+ "internalType": "bytes",
742
+ "name": "data",
743
+ "type": "bytes"
744
+ }
745
+ ],
746
+ "internalType": "struct IRegistry.ObjectInfo",
747
+ "name": "info",
748
+ "type": "tuple"
749
+ }
750
+ ],
751
+ "stateMutability": "view",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [],
756
+ "name": "getNftId",
757
+ "outputs": [
758
+ {
759
+ "internalType": "NftId",
760
+ "name": "",
761
+ "type": "uint96"
762
+ }
763
+ ],
764
+ "stateMutability": "view",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [],
769
+ "name": "getOwner",
770
+ "outputs": [
771
+ {
772
+ "internalType": "address",
773
+ "name": "",
774
+ "type": "address"
775
+ }
776
+ ],
777
+ "stateMutability": "view",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [],
782
+ "name": "getRegistry",
783
+ "outputs": [
784
+ {
785
+ "internalType": "contract IRegistry",
786
+ "name": "",
787
+ "type": "address"
788
+ }
789
+ ],
790
+ "stateMutability": "view",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [],
795
+ "name": "getRelease",
796
+ "outputs": [
797
+ {
798
+ "internalType": "VersionPart",
799
+ "name": "release",
800
+ "type": "uint8"
801
+ }
802
+ ],
803
+ "stateMutability": "view",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [],
808
+ "name": "getRoleId",
809
+ "outputs": [
810
+ {
811
+ "internalType": "RoleId",
812
+ "name": "serviceRoleId",
813
+ "type": "uint64"
814
+ }
815
+ ],
816
+ "stateMutability": "view",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [],
821
+ "name": "getVersion",
822
+ "outputs": [
823
+ {
824
+ "internalType": "Version",
825
+ "name": "",
826
+ "type": "uint24"
827
+ }
828
+ ],
829
+ "stateMutability": "pure",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "activatedBy",
837
+ "type": "address"
838
+ },
839
+ {
840
+ "internalType": "bytes",
841
+ "name": "data",
842
+ "type": "bytes"
843
+ }
844
+ ],
845
+ "name": "initializeVersionable",
846
+ "outputs": [],
847
+ "stateMutability": "nonpayable",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [],
852
+ "name": "isActive",
853
+ "outputs": [
854
+ {
855
+ "internalType": "bool",
856
+ "name": "active",
857
+ "type": "bool"
858
+ }
859
+ ],
860
+ "stateMutability": "view",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "isConsumingScheduledOp",
866
+ "outputs": [
867
+ {
868
+ "internalType": "bytes4",
869
+ "name": "",
870
+ "type": "bytes4"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "linkToRegisteredNftId",
879
+ "outputs": [
880
+ {
881
+ "internalType": "NftId",
882
+ "name": "nftId",
883
+ "type": "uint96"
884
+ }
885
+ ],
886
+ "stateMutability": "nonpayable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "contract IInstance",
893
+ "name": "instance",
894
+ "type": "address"
895
+ },
896
+ {
897
+ "internalType": "NftId",
898
+ "name": "policyNftId",
899
+ "type": "uint96"
900
+ },
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "bundleNftId",
904
+ "type": "uint96"
905
+ },
906
+ {
907
+ "internalType": "Amount",
908
+ "name": "collateralAmount",
909
+ "type": "uint96"
910
+ }
911
+ ],
912
+ "name": "lockCollateral",
913
+ "outputs": [],
914
+ "stateMutability": "nonpayable",
915
+ "type": "function"
916
+ },
917
+ {
918
+ "inputs": [
919
+ {
920
+ "internalType": "contract InstanceStore",
921
+ "name": "instanceStore",
922
+ "type": "address"
923
+ },
924
+ {
925
+ "internalType": "NftId",
926
+ "name": "policyNftId",
927
+ "type": "uint96"
928
+ },
929
+ {
930
+ "internalType": "NftId",
931
+ "name": "bundleNftId",
932
+ "type": "uint96"
933
+ },
934
+ {
935
+ "internalType": "Amount",
936
+ "name": "collateralAmount",
937
+ "type": "uint96"
938
+ }
939
+ ],
940
+ "name": "releaseCollateral",
941
+ "outputs": [],
942
+ "stateMutability": "nonpayable",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [
947
+ {
948
+ "internalType": "address",
949
+ "name": "newAuthority",
950
+ "type": "address"
951
+ }
952
+ ],
953
+ "name": "setAuthority",
954
+ "outputs": [],
955
+ "stateMutability": "nonpayable",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [
960
+ {
961
+ "internalType": "NftId",
962
+ "name": "bundleNftId",
963
+ "type": "uint96"
964
+ },
965
+ {
966
+ "components": [
967
+ {
968
+ "internalType": "UFixed",
969
+ "name": "fractionalFee",
970
+ "type": "uint160"
971
+ },
972
+ {
973
+ "internalType": "Amount",
974
+ "name": "fixedFee",
975
+ "type": "uint96"
976
+ }
977
+ ],
978
+ "internalType": "struct Fee",
979
+ "name": "fee",
980
+ "type": "tuple"
981
+ }
982
+ ],
983
+ "name": "setFee",
984
+ "outputs": [],
985
+ "stateMutability": "nonpayable",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "NftId",
992
+ "name": "bundleNftId",
993
+ "type": "uint96"
994
+ },
995
+ {
996
+ "internalType": "bool",
997
+ "name": "locked",
998
+ "type": "bool"
999
+ }
1000
+ ],
1001
+ "name": "setLocked",
1002
+ "outputs": [],
1003
+ "stateMutability": "nonpayable",
1004
+ "type": "function"
1005
+ },
1006
+ {
1007
+ "inputs": [
1008
+ {
1009
+ "internalType": "contract InstanceReader",
1010
+ "name": "instanceReader",
1011
+ "type": "address"
1012
+ },
1013
+ {
1014
+ "internalType": "contract InstanceStore",
1015
+ "name": "instanceStore",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "NftId",
1020
+ "name": "bundleNftId",
1021
+ "type": "uint96"
1022
+ },
1023
+ {
1024
+ "internalType": "Amount",
1025
+ "name": "amount",
1026
+ "type": "uint96"
1027
+ }
1028
+ ],
1029
+ "name": "stake",
1030
+ "outputs": [],
1031
+ "stateMutability": "nonpayable",
1032
+ "type": "function"
1033
+ },
1034
+ {
1035
+ "inputs": [
1036
+ {
1037
+ "internalType": "bytes4",
1038
+ "name": "interfaceId",
1039
+ "type": "bytes4"
1040
+ }
1041
+ ],
1042
+ "name": "supportsInterface",
1043
+ "outputs": [
1044
+ {
1045
+ "internalType": "bool",
1046
+ "name": "",
1047
+ "type": "bool"
1048
+ }
1049
+ ],
1050
+ "stateMutability": "view",
1051
+ "type": "function"
1052
+ },
1053
+ {
1054
+ "inputs": [
1055
+ {
1056
+ "internalType": "contract InstanceStore",
1057
+ "name": "instanceStore",
1058
+ "type": "address"
1059
+ },
1060
+ {
1061
+ "internalType": "NftId",
1062
+ "name": "bundleNftId",
1063
+ "type": "uint96"
1064
+ },
1065
+ {
1066
+ "internalType": "Amount",
1067
+ "name": "amount",
1068
+ "type": "uint96"
1069
+ }
1070
+ ],
1071
+ "name": "unstake",
1072
+ "outputs": [
1073
+ {
1074
+ "internalType": "Amount",
1075
+ "name": "unstakedAmount",
1076
+ "type": "uint96"
1077
+ }
1078
+ ],
1079
+ "stateMutability": "nonpayable",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [
1084
+ {
1085
+ "internalType": "bytes",
1086
+ "name": "data",
1087
+ "type": "bytes"
1088
+ }
1089
+ ],
1090
+ "name": "upgradeVersionable",
1091
+ "outputs": [],
1092
+ "stateMutability": "nonpayable",
1093
+ "type": "function"
1094
+ }
1095
+ ],
1096
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6148ca806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101bb575f3560e01c80637a9e5e4b116100f3578063ada9652e11610093578063c548949d1161006e578063c548949d14610449578063d42a24b11461045c578063f3d0e5d21461046f578063fdbb929614610498575f80fd5b8063ada9652e14610426578063b68d18091461043a578063bf7e214f14610441575f80fd5b8063a3f4df7e116100ce578063a3f4df7e14610394578063a5fbe479146103cd578063aa9acb2c146103e0578063ad328d9f14610413575f80fd5b80637a9e5e4b14610358578063893d20e81461036b5780638fb3603714610373575f80fd5b8063329d6e741161015e5780635ab1bd53116101395780635ab1bd53146102dc578063644c45e0146103015780636c741e781461031e57806376b707b71461033e575f80fd5b8063329d6e74146102a157806349bb9e4b146102b65780634adcf909146102c9575f80fd5b8063138461e011610199578063138461e0146102315780631eff4b221461025157806322f3e2d4146102865780632d2cf2221461028e575f80fd5b806301ffc9a7146101bf5780630d8e6e2c146102005780630fec111c1461021c575b5f80fd5b6101eb6101cd366004613ccc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102086104ab565b60405162ffffff90911681526020016101f7565b610224610532565b6040516101f79190613d21565b6102396106ec565b6040516001600160601b0390911681526020016101f7565b6102787f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101f7565b6101eb6106f6565b61023961029c366004613ddd565b61076d565b6102b46102af366004613f2b565b610a8b565b005b6102b46102c4366004613f5c565b610bd5565b6102b46102d7366004613fa8565b610cd1565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101f7565b5f80516020614835833981519152546001600160601b0316610239565b610326611187565b6040516001600160401b0390911681526020016101f7565b610346611213565b60405160ff90911681526020016101f7565b6102b4610366366004614001565b61127b565b6102e9611301565b61037b611432565b6040516001600160e01b031990911681526020016101f7565b6103c06040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516101f7919061401c565b6102b46103db36600461406e565b611467565b6103f36103ee3660046140a2565b61180b565b604080516001600160601b039384168152929091166020830152016101f7565b6102b4610421366004613fa8565b611c5b565b6102785f8051602061483583398151915281565b6016610346565b6102e9611d49565b6102b46104573660046140d9565b611d64565b6102b461046a366004614114565b6120ba565b61048261047d366004614152565b61230e565b60405164ffffffffff90911681526020016101f7565b6102396104a636600461417e565b6128a7565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d919061421d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610602919061424f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161064a611301565b6001600160a01b031681526020018260010180546106679061426a565b80601f01602080910402602001604051908101604052809291908181526020018280546106939061426a565b80156106de5780601f106106b5576101008083540402835291602001916106de565b820191905f5260205f20905b8154815290600101906020018083116106c157829003601f168201915b505050505081525091505090565b5f61052d30612e5e565b5f6106ff611d49565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610743573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076791906142a2565b15905090565b5f61077a335b5f366130b4565b6107858360166131b2565b6040516317bb785d60e21b81526001600160601b03841660048201525f90819081906001600160a01b03881690635eede17490602401606060405180830381865afa1580156107d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fa91906142bd565b9250925092508493505f6108178461081285856132e6565b613372565b9050856001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108aa919061424f565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156108f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091791906142a2565b15610920578094505b61092a85826133bc565b1561095f5760405162f808ef60e61b81526001600160601b038088166004830152821660248201526044015b60405180910390fd5b60045f9054906101000a90046001600160a01b03166001600160a01b031663e618053f89898873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f0919061424f565b6040518563ffffffff1660e01b8152600401610a0f94939291906142fc565b5f604051808303815f87803b158015610a26575f80fd5b505af1158015610a38573d5f803e3d5ffd5b5050604080516001600160601b03808c168252891660208201527f880218d69bf84dcbfcc344ac7a33e4855f791f14a1297cc12b011329032dd4e4935001905060405180910390a1505050509392505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610aad6104ab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610aeb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f9190614342565b5f805160206148758339815191528054600160401b900460ff1680610b41575080546001600160401b03808416911610155b15610b5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b8983613441565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206148758339815191528054600160401b810460ff1615906001600160401b03165f81158015610c065750825b90505f826001600160401b03166001148015610c215750303b155b905081158015610c2f575080155b15610c4d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c7757845460ff60401b1916600160401b1785555b610c818787613462565b8315610cc857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610cda33610773565b610ce58360156131b2565b610cf08260166131b2565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d51919061435d565b90505f856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db4919061435d565b604051637d8f1e8160e01b81526001600160601b03861660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa158015610e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e259190614386565b604051634793b4ab60e01b81526001600160601b03861660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa158015610e74573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e9b919081019061442e565b9050610eb08260055b60ff9081169116141590565b80610f385750610f38816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2991906144f2565b64ffffffffff90811691161090565b15610f7d57602081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610956565b50505f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe0919061435d565b6040516317bb785d60e21b81526001600160601b03861660048201529091505f90819081906001600160a01b03851690635eede17490602401606060405180830381865afa158015611034573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105891906142bd565b9250925092505f61106d8461081285856132e6565b905061107981886135fb565b156110b25760405163826a5ff960e01b81526001600160601b03808a166004830152808316602483015288166044820152606401610956565b505060405163248a77dd60e01b81526001600160601b038088166004830152861660248201526001600160a01b038416925063248a77dd91506044016020604051808303815f875af115801561110a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112e919061424f565b50604080516001600160601b03808716825280881660208301528516918101919091527f33e52c65ac538b657291335d8a7d5bc3ac977bb87bb0220bb94bc3c889761db5906060015b60405180910390a1505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe60166111ac611213565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156111ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190614342565b5f61121c611d49565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190614386565b33611284611d49565b6001600160a01b0316816001600160a01b0316146112bf5760405162d1953b60e31b81526001600160a01b0382166004820152602401610956565b816001600160a01b03163b5f036112f4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610956565b6112fd82613645565b5050565b5f805f8051602061483583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561136d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139191906142a2565b1561141c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156113f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611416919061435d565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061485583398151915280545f9190600160a01b900460ff16611459575f611416565b638fb3603760e01b91505090565b61147033610773565b61147b8260166131b2565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86114a96001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af41580156114f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611514919061450d565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611555573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611579919061435d565b604051634793b4ab60e01b81526001600160601b03871660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156115c8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115ef919081019061442e565b6060810151604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561164e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167291906142a2565b1561169b576040516349e9f38360e01b81526001600160601b0387166004820152602401610956565b6116a98160600151856136a5565b156116e857606081015160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610956565b848160800181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611751919061435d565b6001600160a01b03166308077cd9878360ff6040518463ffffffff1660e01b8152600401611781939291906145be565b5f604051808303815f87803b158015611798575f80fd5b505af11580156117aa573d5f803e3d5ffd5b505050506020858101518651604080516001600160601b03808c168252909316938301939093526001600160a01b0316918101919091527f99ad3408b4d3b9cc1730a03c40ed8bb2296d6b60a84877f887fd1a0c03bae88090606001611177565b5f8061181633610773565b6118218360166131b2565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561185e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611882919061435d565b90505f856001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e5919061435d565b6040516322cc1d4560e11b81526001600160601b03871660048201529091505f906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611935573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195991906145f2565b9050801561198c576040516356a410b760e01b81526001600160601b038716600482015260248101829052604401610956565b5f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ed919061435d565b90506001600160a01b03811663fe1f18d68860c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611a47575f80fd5b505af1158015611a59573d5f803e3d5ffd5b505060405163b5346af560e01b81526001600160601b038a1660048201526001600160a01b038616925063b5346af591506024015f604051808303815f87803b158015611aa4575f80fd5b505af1158015611ab6573d5f803e3d5ffd5b50506040516308a390bb60e21b81526001600160601b038a1660048201525f92506001600160a01b038716915063228e42ec90602401602060405180830381865afa158015611b07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2b919061424f565b604051630232ca4960e01b81526001600160601b038a1660048201529091506001600160a01b03861690630232ca4990602401602060405180830381865afa158015611b79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9d919061424f565b9550611ba98187613372565b6004805460405163e618053f60e01b81529299506001600160a01b03169163e618053f91611bdf9186918d918d918d91016142fc565b5f604051808303815f87803b158015611bf6575f80fd5b505af1158015611c08573d5f803e3d5ffd5b50506040516001600160601b038b1681527f3a12bd8160a5ced8b160505cad1dedc4066b23192a8769aa61df7cc0048e7e7f94506020019250611c49915050565b60405180910390a15050509250929050565b611c6433610773565b611c6f8360156131b2565b611c7a8260166131b2565b6040516353ebe12960e01b81526001600160601b038084166004830152821660248201526001600160a01b038516906353ebe129906044016020604051808303815f875af1158015611cce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf2919061424f565b50604080516001600160601b03808516825280861660208301528316918101919091527f754583c2f5c9141a2573d05c9393b224e6cdb41e95ff925387ca636b44dd6969906060015b60405180910390a150505050565b5f80516020614855833981519152546001600160a01b031690565b611d6d33610773565b611d788260166131b2565b604051634793b4ab60e01b81526001600160601b03831660048201525f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015611dc4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611deb919081019061442e565b604051637d8f1e8160e01b81526001600160601b03851660048201529091505f906001600160a01b03871690637d8f1e8190602401602060405180830381865afa158015611e3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e5f9190614386565b9050611e6c816005610ea4565b8015611e7e5750611e7e81606e610ea4565b80611ed35750611ed3826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f05573d5f803e3d5ffd5b80611f5757506040828101519051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611f33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5791906142a2565b15611f9c57602082015160405163bf5b8f0960e01b81526001600160601b038616600482015260ff8316602482015264ffffffffff9091166044820152606401610956565b60045f9054906101000a90046001600160a01b03166001600160a01b03166325e451d386868673__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612009573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202d919061424f565b6040518563ffffffff1660e01b815260040161204c94939291906142fc565b5f604051808303815f87803b158015612063575f80fd5b505af1158015612075573d5f803e3d5ffd5b5050604080516001600160601b038089168252871660208201527fa28e59e09413d1a65be1e647628258b4c56a9b39bec520a56addf90098fad1b39350019050611177565b6120c333610773565b6120ce8260166131b2565b5f73__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86120fb6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612142573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612166919061450d565b9150505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ca919061435d565b905082156122715760405163b5346af560e01b81526001600160601b03851660048201526001600160a01b0382169063b5346af5906024015f604051808303815f87803b158015612219575f80fd5b505af115801561222b573d5f803e3d5ffd5b50506040516001600160601b03871681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f49250602001905060405180910390a1612308565b6040516306fa456560e01b81526001600160601b03851660048201526001600160a01b038216906306fa4565906024015f604051808303815f87803b1580156122b8575f80fd5b505af11580156122ca573d5f803e3d5ffd5b50506040516001600160601b03871681527fd25855e82e25fff079ef5da5f5dd1bf7911edfda08359f5b968e972504dc492b92506020019050611d3b565b50505050565b5f61231833610773565b6123238360166131b2565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86123516001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123bc919061450d565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612421919061435d565b604051634793b4ab60e01b81526001600160601b03881660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612494919081019061442e565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f7919061435d565b604051637d8f1e8160e01b81526001600160601b03891660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa158015612544573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125689190614386565b90506125788260600151856136a5565b156125b757606082015160405163dab86e4560e01b81526001600160601b03808a16600483015291821660248201529085166044820152606401610956565b6125c2816005610ea4565b806126175750612617826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f05573d5f803e3d5ffd5b1561265c57602082015160405163bf5b8f0960e01b81526001600160601b038916600482015260ff8316602482015264ffffffffff9091166044820152606401610956565b60405163790a38ad60e01b815264ffffffffff8716600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063790a38ad90602401602060405180830381865af41580156126b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d491906142a2565b156126f2576040516307f6a6ab60e31b815260040160405180910390fd5b60208201516040516352bcc5a760e11b815264ffffffffff9182166004820152908716602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612754573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277891906144f2565b64ffffffffff16602080840182905260408051631a99b41b60e31b815290519297506001600160a01b0386169263d4cda0d8926004808401939192918290030181865afa1580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef919061435d565b6001600160a01b03166308077cd9888460ff6040518463ffffffff1660e01b815260040161281f939291906145be565b5f604051808303815f87803b158015612836575f80fd5b505af1158015612848573d5f803e3d5ffd5b5050604080516001600160601b038b16815264ffffffffff8a8116602083015289168183015290517f47dde095fac4cfe7361ede303a6499020b475037d805fa37784e682c423ddc929350908190036060019150a15050505092915050565b5f6128b133610773565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86128df6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294a919061450d565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156129c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129e7919061424f565b6001600160601b03168152602001856001600160601b03168152602001612a0c601690565b60ff1681526020015f151581526020015f6001600160a01b031681526020018b6001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401612a689190613d21565b6020604051808303815f875af1158015612a84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa8919061424f565b92505f816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ae7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b0b919061435d565b9050806001600160a01b031663d7719f46856040518060c0016040528073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b9391906144f2565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c0a91906144f2565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908d16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612c67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c8b91906144f2565b64ffffffffff1681526020015f64ffffffffff168152602001876001600160601b031681526020018c81526020018a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509152506040516001600160e01b031960e085901b168152612d12929190600401614609565b5f604051808303815f87803b158015612d29575f80fd5b505af1158015612d3b573d5f803e3d5ffd5b505050505f826001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612da0919061435d565b6040516346f0e8a760e11b81526001600160601b03871660048201529091506001600160a01b03821690638de1d14e906024015f604051808303815f87803b158015612dea575f80fd5b505af1158015612dfc573d5f803e3d5ffd5b5050604080516001600160601b0389811682528816602082015264ffffffffff8c168183015290517f363f6af8f27940ba02562ed8833fbff90cf71ffdce52d284d109943a01260e539350908190036060019150a15050505095945050505050565b5f805f8051602061483583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612eca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eee91906142a2565b15612f1a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610956565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612f6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9091906142a2565b612fb85760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610956565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561300a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061302e919061424f565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061307a611301565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f805160206148558339815191525f806130ec6130cf611d49565b87306130de60045f8a8c61462a565b6130e791614651565b6136ef565b91509150816131aa5763ffffffff81161561318757825460ff60a01b1916600160a01b17835561311a611d49565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161314993929190614689565b5f604051808303815f87803b158015613160575f80fd5b505af1158015613172573d5f803e3d5ffd5b5050845460ff60a01b19168555506131aa9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610956565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613202573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061322691906142a2565b806132b457506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561328e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132b291906142a2565b155b156112fd5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610956565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613347573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061336b919061424f565b9392505050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161332c565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af415801561341d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061336b91906142a2565b6134496137f7565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206148758339815191528054600160401b810460ff1615906001600160401b03165f811580156134935750825b90505f826001600160401b031660011480156134ae5750303b155b9050811580156134bc575080155b156134da5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561350457845460ff60401b1916600160401b1785555b5f808780602001905181019061351a91906146c8565b9150915061352982828b61382f565b61353360026138d1565b600380546001600160a01b0319166001600160a01b039290921691909117905561355d60286138d1565b600480546001600160a01b0319166001600160a01b0392909216919091179055613587600b6138d1565b600580546001600160a01b0319166001600160a01b03929092169190911790556135b763daaa6e8960e01b613968565b50508315610cc857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610cbf565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401613402565b5f8051602061485583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401613402565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161375d91906146e4565b5f60405180830381855afa9150503d805f8114613795576040519150601f19603f3d011682016040523d82523d5f602084013e61379a565b606091505b509150915081156137ec5760408151106137cc57808060200190518101906137c291906146fa565b90945092506137ec565b60208151106137ec57808060200190518101906137e991906142a2565b93505b505094509492505050565b5f8051602061487583398151915254600160401b900460ff1661382d57604051631afcd79f60e31b815260040160405180910390fd5b565b6138376137f7565b61383f61399b565b6138bc8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138a4919061424f565b60085f8660405180602001604052805f8152506139ab565b6138cc63daf9067160e01b613968565b505050565b5f6138e46001546001600160a01b031690565b6001600160a01b031663d39e6043836138fb611213565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561393e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613962919061435d565b92915050565b6139706137f7565b613998816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6139a36137f7565b61382d613af2565b6139b36137f7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613a09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a2d91906142a2565b613a555760405163cf6935e560e01b81526001600160a01b0388166004820152602401610956565b613a5e87613b20565b613a688683613b31565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613ad7838261477a565b50613ae8634a531f3360e01b613968565b5050505050505050565b613afa6137f7565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613b286137f7565b61399881613ba7565b613b396137f7565b613b41613bb8565b613b4a82613c00565b6001600160a01b038116613b715760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061483583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613baf6137f7565b61399881613645565b613bc06137f7565b61382d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613c086137f7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613c5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c8291906142a2565b613caa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610956565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613cdc575f80fd5b81356001600160e01b03198116811461336b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613d69608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613dad610100840182613cf3565b949350505050565b6001600160a01b0381168114613998575f80fd5b6001600160601b0381168114613998575f80fd5b5f805f60608486031215613def575f80fd5b8335613dfa81613db5565b92506020840135613e0a81613dc9565b91506040840135613e1a81613dc9565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715613e5b57613e5b613e25565b60405290565b60405160c081016001600160401b0381118282101715613e5b57613e5b613e25565b604051601f8201601f191681016001600160401b0381118282101715613eab57613eab613e25565b604052919050565b5f6001600160401b03821115613ecb57613ecb613e25565b50601f01601f191660200190565b5f82601f830112613ee8575f80fd5b8135613efb613ef682613eb3565b613e83565b818152846020838601011115613f0f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613f3b575f80fd5b81356001600160401b03811115613f50575f80fd5b613dad84828501613ed9565b5f8060408385031215613f6d575f80fd5b8235613f7881613db5565b915060208301356001600160401b03811115613f92575f80fd5b613f9e85828601613ed9565b9150509250929050565b5f805f8060808587031215613fbb575f80fd5b8435613fc681613db5565b93506020850135613fd681613dc9565b92506040850135613fe681613dc9565b91506060850135613ff681613dc9565b939692955090935050565b5f60208284031215614011575f80fd5b813561336b81613db5565b602081525f61336b6020830184613cf3565b5f6040828403121561403e575f80fd5b614046613e39565b9050813561405381613db5565b8152602082013561406381613dc9565b602082015292915050565b5f806060838503121561407f575f80fd5b823561408a81613dc9565b9150614099846020850161402e565b90509250929050565b5f80604083850312156140b3575f80fd5b82356140be81613db5565b915060208301356140ce81613dc9565b809150509250929050565b5f805f80608085870312156140ec575f80fd5b84356140f781613db5565b93506020850135613fd681613db5565b8015158114613998575f80fd5b5f8060408385031215614125575f80fd5b823561413081613dc9565b915060208301356140ce81614107565b64ffffffffff81168114613998575f80fd5b5f8060408385031215614163575f80fd5b823561416e81613dc9565b915060208301356140ce81614140565b5f805f805f60a08688031215614192575f80fd5b853561419d81613db5565b94506141ac876020880161402e565b935060608601356141bc81614140565b925060808601356001600160401b038111156141d6575f80fd5b8601601f810188136141e6575f80fd5b80356001600160401b038111156141fb575f80fd5b88602082840101111561420c575f80fd5b959894975092955050506020019190565b5f6020828403121561422d575f80fd5b815162ffffff8116811461336b575f80fd5b805161424a81613dc9565b919050565b5f6020828403121561425f575f80fd5b815161336b81613dc9565b600181811c9082168061427e57607f821691505b60208210810361429c57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156142b2575f80fd5b815161336b81614107565b5f805f606084860312156142cf575f80fd5b83516142da81613dc9565b60208501519093506142eb81613dc9565b6040850151909250613e1a81613dc9565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b6001600160401b0381168114613998575f80fd5b5f60208284031215614352575f80fd5b815161336b8161432e565b5f6020828403121561436d575f80fd5b815161336b81613db5565b60ff81168114613998575f80fd5b5f60208284031215614396575f80fd5b815161336b81614378565b805161424a81614140565b5f604082840312156143bc575f80fd5b6143c4613e39565b905081516143d181613db5565b8152602082015161406381613dc9565b5f82601f8301126143f0575f80fd5b81516143fe613ef682613eb3565b818152846020838601011115614412575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561443e575f80fd5b81516001600160401b03811115614453575f80fd5b820160e08185031215614464575f80fd5b61446c613e61565b815161447781614140565b8152602082015161448781614140565b6020820152614498604083016143a1565b60408201526144a96060830161423f565b60608201526144bb85608084016143ac565b608082015260c08201516001600160401b038111156144d8575f80fd5b6144e4868285016143e1565b60a083015250949350505050565b5f60208284031215614502575f80fd5b815161336b81614140565b5f806040838503121561451e575f80fd5b825161452981613dc9565b60208401519092506140ce81613db5565b64ffffffffff815116825264ffffffffff602082015116602083015264ffffffffff60408201511660408301526001600160601b0360608201511660608301525f60808201516080840160018060a01b0382511681526001600160601b036020830151166020820152505060a082015160e060c0850152613dad60e0850182613cf3565b6001600160601b0384168152606060208201525f6145df606083018561453a565b905060ff83166040830152949350505050565b5f60208284031215614602575f80fd5b5051919050565b6001600160601b0383168152604060208201525f613dad604083018461453a565b5f8085851115614638575f80fd5b83861115614644575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614682576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156146d9575f80fd5b825161452981613db5565b5f82518060208501845e5f920191825250919050565b5f806040838503121561470b575f80fd5b825161471681614107565b602084015190925063ffffffff811681146140ce575f80fd5b601f8211156138cc57805f5260205f20601f840160051c810160208510156147545750805b601f840160051c820191505b81811015614773575f8155600101614760565b5050505050565b81516001600160401b0381111561479357614793613e25565b6147a7816147a1845461426a565b8461472f565b6020601f8211600181146147d9575f83156147c25750848201515b5f19600385901b1c1916600184901b178455614773565b5f84815260208120601f198516915b8281101561480857878501518255602094850194600190920191016147e8565b508482101561482557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208c33c7699a0464ebc1dcf8ee778630158602d179b2a37b5e2087573349b970e664736f6c634300081a0033",
1097
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101bb575f3560e01c80637a9e5e4b116100f3578063ada9652e11610093578063c548949d1161006e578063c548949d14610449578063d42a24b11461045c578063f3d0e5d21461046f578063fdbb929614610498575f80fd5b8063ada9652e14610426578063b68d18091461043a578063bf7e214f14610441575f80fd5b8063a3f4df7e116100ce578063a3f4df7e14610394578063a5fbe479146103cd578063aa9acb2c146103e0578063ad328d9f14610413575f80fd5b80637a9e5e4b14610358578063893d20e81461036b5780638fb3603714610373575f80fd5b8063329d6e741161015e5780635ab1bd53116101395780635ab1bd53146102dc578063644c45e0146103015780636c741e781461031e57806376b707b71461033e575f80fd5b8063329d6e74146102a157806349bb9e4b146102b65780634adcf909146102c9575f80fd5b8063138461e011610199578063138461e0146102315780631eff4b221461025157806322f3e2d4146102865780632d2cf2221461028e575f80fd5b806301ffc9a7146101bf5780630d8e6e2c146102005780630fec111c1461021c575b5f80fd5b6101eb6101cd366004613ccc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102086104ab565b60405162ffffff90911681526020016101f7565b610224610532565b6040516101f79190613d21565b6102396106ec565b6040516001600160601b0390911681526020016101f7565b6102787f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101f7565b6101eb6106f6565b61023961029c366004613ddd565b61076d565b6102b46102af366004613f2b565b610a8b565b005b6102b46102c4366004613f5c565b610bd5565b6102b46102d7366004613fa8565b610cd1565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101f7565b5f80516020614835833981519152546001600160601b0316610239565b610326611187565b6040516001600160401b0390911681526020016101f7565b610346611213565b60405160ff90911681526020016101f7565b6102b4610366366004614001565b61127b565b6102e9611301565b61037b611432565b6040516001600160e01b031990911681526020016101f7565b6103c06040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516101f7919061401c565b6102b46103db36600461406e565b611467565b6103f36103ee3660046140a2565b61180b565b604080516001600160601b039384168152929091166020830152016101f7565b6102b4610421366004613fa8565b611c5b565b6102785f8051602061483583398151915281565b6016610346565b6102e9611d49565b6102b46104573660046140d9565b611d64565b6102b461046a366004614114565b6120ba565b61048261047d366004614152565b61230e565b60405164ffffffffff90911681526020016101f7565b6102396104a636600461417e565b6128a7565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d919061421d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105de573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610602919061424f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161064a611301565b6001600160a01b031681526020018260010180546106679061426a565b80601f01602080910402602001604051908101604052809291908181526020018280546106939061426a565b80156106de5780601f106106b5576101008083540402835291602001916106de565b820191905f5260205f20905b8154815290600101906020018083116106c157829003601f168201915b505050505081525091505090565b5f61052d30612e5e565b5f6106ff611d49565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610743573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076791906142a2565b15905090565b5f61077a335b5f366130b4565b6107858360166131b2565b6040516317bb785d60e21b81526001600160601b03841660048201525f90819081906001600160a01b03881690635eede17490602401606060405180830381865afa1580156107d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fa91906142bd565b9250925092508493505f6108178461081285856132e6565b613372565b9050856001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610886573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108aa919061424f565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156108f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091791906142a2565b15610920578094505b61092a85826133bc565b1561095f5760405162f808ef60e61b81526001600160601b038088166004830152821660248201526044015b60405180910390fd5b60045f9054906101000a90046001600160a01b03166001600160a01b031663e618053f89898873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f0919061424f565b6040518563ffffffff1660e01b8152600401610a0f94939291906142fc565b5f604051808303815f87803b158015610a26575f80fd5b505af1158015610a38573d5f803e3d5ffd5b5050604080516001600160601b03808c168252891660208201527f880218d69bf84dcbfcc344ac7a33e4855f791f14a1297cc12b011329032dd4e4935001905060405180910390a1505050509392505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610aad6104ab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610aeb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0f9190614342565b5f805160206148758339815191528054600160401b900460ff1680610b41575080546001600160401b03808416911610155b15610b5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b8983613441565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206148758339815191528054600160401b810460ff1615906001600160401b03165f81158015610c065750825b90505f826001600160401b03166001148015610c215750303b155b905081158015610c2f575080155b15610c4d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c7757845460ff60401b1916600160401b1785555b610c818787613462565b8315610cc857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610cda33610773565b610ce58360156131b2565b610cf08260166131b2565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d51919061435d565b90505f856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db4919061435d565b604051637d8f1e8160e01b81526001600160601b03861660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa158015610e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e259190614386565b604051634793b4ab60e01b81526001600160601b03861660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa158015610e74573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e9b919081019061442e565b9050610eb08260055b60ff9081169116141590565b80610f385750610f38816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2991906144f2565b64ffffffffff90811691161090565b15610f7d57602081015160405163bf5b8f0960e01b81526001600160601b038716600482015260ff8416602482015264ffffffffff9091166044820152606401610956565b50505f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe0919061435d565b6040516317bb785d60e21b81526001600160601b03861660048201529091505f90819081906001600160a01b03851690635eede17490602401606060405180830381865afa158015611034573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105891906142bd565b9250925092505f61106d8461081285856132e6565b905061107981886135fb565b156110b25760405163826a5ff960e01b81526001600160601b03808a166004830152808316602483015288166044820152606401610956565b505060405163248a77dd60e01b81526001600160601b038088166004830152861660248201526001600160a01b038416925063248a77dd91506044016020604051808303815f875af115801561110a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112e919061424f565b50604080516001600160601b03808716825280881660208301528516918101919091527f33e52c65ac538b657291335d8a7d5bc3ac977bb87bb0220bb94bc3c889761db5906060015b60405180910390a1505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe60166111ac611213565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156111ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190614342565b5f61121c611d49565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190614386565b33611284611d49565b6001600160a01b0316816001600160a01b0316146112bf5760405162d1953b60e31b81526001600160a01b0382166004820152602401610956565b816001600160a01b03163b5f036112f4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610956565b6112fd82613645565b5050565b5f805f8051602061483583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561136d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139191906142a2565b1561141c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156113f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611416919061435d565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061485583398151915280545f9190600160a01b900460ff16611459575f611416565b638fb3603760e01b91505090565b61147033610773565b61147b8260166131b2565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86114a96001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af41580156114f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611514919061450d565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611555573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611579919061435d565b604051634793b4ab60e01b81526001600160601b03871660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156115c8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115ef919081019061442e565b6060810151604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561164e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167291906142a2565b1561169b576040516349e9f38360e01b81526001600160601b0387166004820152602401610956565b6116a98160600151856136a5565b156116e857606081015160405163dab86e4560e01b81526001600160601b03808916600483015291821660248201529085166044820152606401610956565b848160800181905250826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611751919061435d565b6001600160a01b03166308077cd9878360ff6040518463ffffffff1660e01b8152600401611781939291906145be565b5f604051808303815f87803b158015611798575f80fd5b505af11580156117aa573d5f803e3d5ffd5b505050506020858101518651604080516001600160601b03808c168252909316938301939093526001600160a01b0316918101919091527f99ad3408b4d3b9cc1730a03c40ed8bb2296d6b60a84877f887fd1a0c03bae88090606001611177565b5f8061181633610773565b6118218360166131b2565b5f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561185e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611882919061435d565b90505f856001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e5919061435d565b6040516322cc1d4560e11b81526001600160601b03871660048201529091505f906001600160a01b038316906345983a8a90602401602060405180830381865afa158015611935573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195991906145f2565b9050801561198c576040516356a410b760e01b81526001600160601b038716600482015260248101829052604401610956565b5f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ed919061435d565b90506001600160a01b03811663fe1f18d68860c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015611a47575f80fd5b505af1158015611a59573d5f803e3d5ffd5b505060405163b5346af560e01b81526001600160601b038a1660048201526001600160a01b038616925063b5346af591506024015f604051808303815f87803b158015611aa4575f80fd5b505af1158015611ab6573d5f803e3d5ffd5b50506040516308a390bb60e21b81526001600160601b038a1660048201525f92506001600160a01b038716915063228e42ec90602401602060405180830381865afa158015611b07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2b919061424f565b604051630232ca4960e01b81526001600160601b038a1660048201529091506001600160a01b03861690630232ca4990602401602060405180830381865afa158015611b79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9d919061424f565b9550611ba98187613372565b6004805460405163e618053f60e01b81529299506001600160a01b03169163e618053f91611bdf9186918d918d918d91016142fc565b5f604051808303815f87803b158015611bf6575f80fd5b505af1158015611c08573d5f803e3d5ffd5b50506040516001600160601b038b1681527f3a12bd8160a5ced8b160505cad1dedc4066b23192a8769aa61df7cc0048e7e7f94506020019250611c49915050565b60405180910390a15050509250929050565b611c6433610773565b611c6f8360156131b2565b611c7a8260166131b2565b6040516353ebe12960e01b81526001600160601b038084166004830152821660248201526001600160a01b038516906353ebe129906044016020604051808303815f875af1158015611cce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf2919061424f565b50604080516001600160601b03808516825280861660208301528316918101919091527f754583c2f5c9141a2573d05c9393b224e6cdb41e95ff925387ca636b44dd6969906060015b60405180910390a150505050565b5f80516020614855833981519152546001600160a01b031690565b611d6d33610773565b611d788260166131b2565b604051634793b4ab60e01b81526001600160601b03831660048201525f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015611dc4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611deb919081019061442e565b604051637d8f1e8160e01b81526001600160601b03851660048201529091505f906001600160a01b03871690637d8f1e8190602401602060405180830381865afa158015611e3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e5f9190614386565b9050611e6c816005610ea4565b8015611e7e5750611e7e81606e610ea4565b80611ed35750611ed3826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f05573d5f803e3d5ffd5b80611f5757506040828101519051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611f33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5791906142a2565b15611f9c57602082015160405163bf5b8f0960e01b81526001600160601b038616600482015260ff8316602482015264ffffffffff9091166044820152606401610956565b60045f9054906101000a90046001600160a01b03166001600160a01b03166325e451d386868673__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612009573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202d919061424f565b6040518563ffffffff1660e01b815260040161204c94939291906142fc565b5f604051808303815f87803b158015612063575f80fd5b505af1158015612075573d5f803e3d5ffd5b5050604080516001600160601b038089168252871660208201527fa28e59e09413d1a65be1e647628258b4c56a9b39bec520a56addf90098fad1b39350019050611177565b6120c333610773565b6120ce8260166131b2565b5f73__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86120fb6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612142573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612166919061450d565b9150505f816001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ca919061435d565b905082156122715760405163b5346af560e01b81526001600160601b03851660048201526001600160a01b0382169063b5346af5906024015f604051808303815f87803b158015612219575f80fd5b505af115801561222b573d5f803e3d5ffd5b50506040516001600160601b03871681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f49250602001905060405180910390a1612308565b6040516306fa456560e01b81526001600160601b03851660048201526001600160a01b038216906306fa4565906024015f604051808303815f87803b1580156122b8575f80fd5b505af11580156122ca573d5f803e3d5ffd5b50506040516001600160601b03871681527fd25855e82e25fff079ef5da5f5dd1bf7911edfda08359f5b968e972504dc492b92506020019050611d3b565b50505050565b5f61231833610773565b6123238360166131b2565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86123516001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123bc919061450d565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612421919061435d565b604051634793b4ab60e01b81526001600160601b03881660048201526001600160a01b039190911690634793b4ab906024015f60405180830381865afa15801561246d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612494919081019061442e565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f7919061435d565b604051637d8f1e8160e01b81526001600160601b03891660048201526001600160a01b039190911690637d8f1e8190602401602060405180830381865afa158015612544573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125689190614386565b90506125788260600151856136a5565b156125b757606082015160405163dab86e4560e01b81526001600160601b03808a16600483015291821660248201529085166044820152606401610956565b6125c2816005610ea4565b806126175750612617826020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f05573d5f803e3d5ffd5b1561265c57602082015160405163bf5b8f0960e01b81526001600160601b038916600482015260ff8316602482015264ffffffffff9091166044820152606401610956565b60405163790a38ad60e01b815264ffffffffff8716600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063790a38ad90602401602060405180830381865af41580156126b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d491906142a2565b156126f2576040516307f6a6ab60e31b815260040160405180910390fd5b60208201516040516352bcc5a760e11b815264ffffffffff9182166004820152908716602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612754573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277891906144f2565b64ffffffffff16602080840182905260408051631a99b41b60e31b815290519297506001600160a01b0386169263d4cda0d8926004808401939192918290030181865afa1580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef919061435d565b6001600160a01b03166308077cd9888460ff6040518463ffffffff1660e01b815260040161281f939291906145be565b5f604051808303815f87803b158015612836575f80fd5b505af1158015612848573d5f803e3d5ffd5b5050604080516001600160601b038b16815264ffffffffff8a8116602083015289168183015290517f47dde095fac4cfe7361ede303a6499020b475037d805fa37784e682c423ddc929350908190036060019150a15050505092915050565b5f6128b133610773565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86128df6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015612926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061294a919061450d565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b031663c2bf08c86040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156129c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129e7919061424f565b6001600160601b03168152602001856001600160601b03168152602001612a0c601690565b60ff1681526020015f151581526020015f6001600160a01b031681526020018b6001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401612a689190613d21565b6020604051808303815f875af1158015612a84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aa8919061424f565b92505f816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ae7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b0b919061435d565b9050806001600160a01b031663d7719f46856040518060c0016040528073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b9391906144f2565b64ffffffffff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612be6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c0a91906144f2565b6040516352bcc5a760e11b815264ffffffffff9182166004820152908d16602482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063a5798b4e90604401602060405180830381865af4158015612c67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c8b91906144f2565b64ffffffffff1681526020015f64ffffffffff168152602001876001600160601b031681526020018c81526020018a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050509152506040516001600160e01b031960e085901b168152612d12929190600401614609565b5f604051808303815f87803b158015612d29575f80fd5b505af1158015612d3b573d5f803e3d5ffd5b505050505f826001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612da0919061435d565b6040516346f0e8a760e11b81526001600160601b03871660048201529091506001600160a01b03821690638de1d14e906024015f604051808303815f87803b158015612dea575f80fd5b505af1158015612dfc573d5f803e3d5ffd5b5050604080516001600160601b0389811682528816602082015264ffffffffff8c168183015290517f363f6af8f27940ba02562ed8833fbff90cf71ffdce52d284d109943a01260e539350908190036060019150a15050505095945050505050565b5f805f8051602061483583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612eca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eee91906142a2565b15612f1a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610956565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612f6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9091906142a2565b612fb85760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610956565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561300a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061302e919061424f565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061307a611301565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f805160206148558339815191525f806130ec6130cf611d49565b87306130de60045f8a8c61462a565b6130e791614651565b6136ef565b91509150816131aa5763ffffffff81161561318757825460ff60a01b1916600160a01b17835561311a611d49565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161314993929190614689565b5f604051808303815f87803b158015613160575f80fd5b505af1158015613172573d5f803e3d5ffd5b5050845460ff60a01b19168555506131aa9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610956565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613202573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061322691906142a2565b806132b457506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561328e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132b291906142a2565b155b156112fd5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610956565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015613347573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061336b919061424f565b9392505050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161332c565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af415801561341d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061336b91906142a2565b6134496137f7565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206148758339815191528054600160401b810460ff1615906001600160401b03165f811580156134935750825b90505f826001600160401b031660011480156134ae5750303b155b9050811580156134bc575080155b156134da5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561350457845460ff60401b1916600160401b1785555b5f808780602001905181019061351a91906146c8565b9150915061352982828b61382f565b61353360026138d1565b600380546001600160a01b0319166001600160a01b039290921691909117905561355d60286138d1565b600480546001600160a01b0319166001600160a01b0392909216919091179055613587600b6138d1565b600580546001600160a01b0319166001600160a01b03929092169190911790556135b763daaa6e8960e01b613968565b50508315610cc857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610cbf565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d6290604401613402565b5f8051602061485583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401613402565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161375d91906146e4565b5f60405180830381855afa9150503d805f8114613795576040519150601f19603f3d011682016040523d82523d5f602084013e61379a565b606091505b509150915081156137ec5760408151106137cc57808060200190518101906137c291906146fa565b90945092506137ec565b60208151106137ec57808060200190518101906137e991906142a2565b93505b505094509492505050565b5f8051602061487583398151915254600160401b900460ff1661382d57604051631afcd79f60e31b815260040160405180910390fd5b565b6138376137f7565b61383f61399b565b6138bc8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138a4919061424f565b60085f8660405180602001604052805f8152506139ab565b6138cc63daf9067160e01b613968565b505050565b5f6138e46001546001600160a01b031690565b6001600160a01b031663d39e6043836138fb611213565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561393e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613962919061435d565b92915050565b6139706137f7565b613998816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6139a36137f7565b61382d613af2565b6139b36137f7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613a09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a2d91906142a2565b613a555760405163cf6935e560e01b81526001600160a01b0388166004820152602401610956565b613a5e87613b20565b613a688683613b31565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613ad7838261477a565b50613ae8634a531f3360e01b613968565b5050505050505050565b613afa6137f7565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613b286137f7565b61399881613ba7565b613b396137f7565b613b41613bb8565b613b4a82613c00565b6001600160a01b038116613b715760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061483583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613baf6137f7565b61399881613645565b613bc06137f7565b61382d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613c086137f7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613c5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c8291906142a2565b613caa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610956565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613cdc575f80fd5b81356001600160e01b03198116811461336b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613d69608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613dad610100840182613cf3565b949350505050565b6001600160a01b0381168114613998575f80fd5b6001600160601b0381168114613998575f80fd5b5f805f60608486031215613def575f80fd5b8335613dfa81613db5565b92506020840135613e0a81613dc9565b91506040840135613e1a81613dc9565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715613e5b57613e5b613e25565b60405290565b60405160c081016001600160401b0381118282101715613e5b57613e5b613e25565b604051601f8201601f191681016001600160401b0381118282101715613eab57613eab613e25565b604052919050565b5f6001600160401b03821115613ecb57613ecb613e25565b50601f01601f191660200190565b5f82601f830112613ee8575f80fd5b8135613efb613ef682613eb3565b613e83565b818152846020838601011115613f0f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613f3b575f80fd5b81356001600160401b03811115613f50575f80fd5b613dad84828501613ed9565b5f8060408385031215613f6d575f80fd5b8235613f7881613db5565b915060208301356001600160401b03811115613f92575f80fd5b613f9e85828601613ed9565b9150509250929050565b5f805f8060808587031215613fbb575f80fd5b8435613fc681613db5565b93506020850135613fd681613dc9565b92506040850135613fe681613dc9565b91506060850135613ff681613dc9565b939692955090935050565b5f60208284031215614011575f80fd5b813561336b81613db5565b602081525f61336b6020830184613cf3565b5f6040828403121561403e575f80fd5b614046613e39565b9050813561405381613db5565b8152602082013561406381613dc9565b602082015292915050565b5f806060838503121561407f575f80fd5b823561408a81613dc9565b9150614099846020850161402e565b90509250929050565b5f80604083850312156140b3575f80fd5b82356140be81613db5565b915060208301356140ce81613dc9565b809150509250929050565b5f805f80608085870312156140ec575f80fd5b84356140f781613db5565b93506020850135613fd681613db5565b8015158114613998575f80fd5b5f8060408385031215614125575f80fd5b823561413081613dc9565b915060208301356140ce81614107565b64ffffffffff81168114613998575f80fd5b5f8060408385031215614163575f80fd5b823561416e81613dc9565b915060208301356140ce81614140565b5f805f805f60a08688031215614192575f80fd5b853561419d81613db5565b94506141ac876020880161402e565b935060608601356141bc81614140565b925060808601356001600160401b038111156141d6575f80fd5b8601601f810188136141e6575f80fd5b80356001600160401b038111156141fb575f80fd5b88602082840101111561420c575f80fd5b959894975092955050506020019190565b5f6020828403121561422d575f80fd5b815162ffffff8116811461336b575f80fd5b805161424a81613dc9565b919050565b5f6020828403121561425f575f80fd5b815161336b81613dc9565b600181811c9082168061427e57607f821691505b60208210810361429c57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156142b2575f80fd5b815161336b81614107565b5f805f606084860312156142cf575f80fd5b83516142da81613dc9565b60208501519093506142eb81613dc9565b6040850151909250613e1a81613dc9565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b6001600160401b0381168114613998575f80fd5b5f60208284031215614352575f80fd5b815161336b8161432e565b5f6020828403121561436d575f80fd5b815161336b81613db5565b60ff81168114613998575f80fd5b5f60208284031215614396575f80fd5b815161336b81614378565b805161424a81614140565b5f604082840312156143bc575f80fd5b6143c4613e39565b905081516143d181613db5565b8152602082015161406381613dc9565b5f82601f8301126143f0575f80fd5b81516143fe613ef682613eb3565b818152846020838601011115614412575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561443e575f80fd5b81516001600160401b03811115614453575f80fd5b820160e08185031215614464575f80fd5b61446c613e61565b815161447781614140565b8152602082015161448781614140565b6020820152614498604083016143a1565b60408201526144a96060830161423f565b60608201526144bb85608084016143ac565b608082015260c08201516001600160401b038111156144d8575f80fd5b6144e4868285016143e1565b60a083015250949350505050565b5f60208284031215614502575f80fd5b815161336b81614140565b5f806040838503121561451e575f80fd5b825161452981613dc9565b60208401519092506140ce81613db5565b64ffffffffff815116825264ffffffffff602082015116602083015264ffffffffff60408201511660408301526001600160601b0360608201511660608301525f60808201516080840160018060a01b0382511681526001600160601b036020830151166020820152505060a082015160e060c0850152613dad60e0850182613cf3565b6001600160601b0384168152606060208201525f6145df606083018561453a565b905060ff83166040830152949350505050565b5f60208284031215614602575f80fd5b5051919050565b6001600160601b0383168152604060208201525f613dad604083018461453a565b5f8085851115614638575f80fd5b83861115614644575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614682576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156146d9575f80fd5b825161452981613db5565b5f82518060208501845e5f920191825250919050565b5f806040838503121561470b575f80fd5b825161471681614107565b602084015190925063ffffffff811681146140ce575f80fd5b601f8211156138cc57805f5260205f20601f840160051c810160208510156147545750805b601f840160051c820191505b81811015614773575f8155600101614760565b5050505050565b81516001600160401b0381111561479357614793613e25565b6147a7816147a1845461426a565b8461472f565b6020601f8211600181146147d9575f83156147c25750848201515b5f19600385901b1c1916600184901b178455614773565b5f84815260208120601f198516915b8281101561480857878501518255602094850194600190920191016147e8565b508482101561482557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208c33c7699a0464ebc1dcf8ee778630158602d179b2a37b5e2087573349b970e664736f6c634300081a0033",
1098
+ "linkReferences": {
1099
+ "contracts/pool/PoolLib.sol": {
1100
+ "PoolLib": [
1101
+ {
1102
+ "length": 20,
1103
+ "start": 5461
1104
+ },
1105
+ {
1106
+ "length": 20,
1107
+ "start": 8615
1108
+ },
1109
+ {
1110
+ "length": 20,
1111
+ "start": 9213
1112
+ },
1113
+ {
1114
+ "length": 20,
1115
+ "start": 10635
1116
+ }
1117
+ ]
1118
+ },
1119
+ "contracts/shared/ContractLib.sol": {
1120
+ "ContractLib": [
1121
+ {
1122
+ "length": 20,
1123
+ "start": 15015
1124
+ },
1125
+ {
1126
+ "length": 20,
1127
+ "start": 15612
1128
+ }
1129
+ ]
1130
+ },
1131
+ "contracts/type/Amount.sol": {
1132
+ "AmountLib": [
1133
+ {
1134
+ "length": 20,
1135
+ "start": 2299
1136
+ },
1137
+ {
1138
+ "length": 20,
1139
+ "start": 2327
1140
+ },
1141
+ {
1142
+ "length": 20,
1143
+ "start": 2653
1144
+ },
1145
+ {
1146
+ "length": 20,
1147
+ "start": 8346
1148
+ },
1149
+ {
1150
+ "length": 20,
1151
+ "start": 13284
1152
+ },
1153
+ {
1154
+ "length": 20,
1155
+ "start": 13424
1156
+ },
1157
+ {
1158
+ "length": 20,
1159
+ "start": 13498
1160
+ },
1161
+ {
1162
+ "length": 20,
1163
+ "start": 14073
1164
+ }
1165
+ ]
1166
+ },
1167
+ "contracts/type/NftId.sol": {
1168
+ "NftIdLib": [
1169
+ {
1170
+ "length": 20,
1171
+ "start": 1647
1172
+ },
1173
+ {
1174
+ "length": 20,
1175
+ "start": 5131
1176
+ },
1177
+ {
1178
+ "length": 20,
1179
+ "start": 5868
1180
+ },
1181
+ {
1182
+ "length": 20,
1183
+ "start": 10836
1184
+ },
1185
+ {
1186
+ "length": 20,
1187
+ "start": 12136
1188
+ },
1189
+ {
1190
+ "length": 20,
1191
+ "start": 14243
1192
+ }
1193
+ ]
1194
+ },
1195
+ "contracts/type/ObjectType.sol": {
1196
+ "ObjectTypeLib": [
1197
+ {
1198
+ "length": 20,
1199
+ "start": 12960
1200
+ }
1201
+ ]
1202
+ },
1203
+ "contracts/type/RoleId.sol": {
1204
+ "RoleIdLib": [
1205
+ {
1206
+ "length": 20,
1207
+ "start": 4704
1208
+ }
1209
+ ]
1210
+ },
1211
+ "contracts/type/Seconds.sol": {
1212
+ "SecondsLib": [
1213
+ {
1214
+ "length": 20,
1215
+ "start": 10062
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/Timestamp.sol": {
1220
+ "TimestampLib": [
1221
+ {
1222
+ "length": 20,
1223
+ "start": 3990
1224
+ },
1225
+ {
1226
+ "length": 20,
1227
+ "start": 8036
1228
+ },
1229
+ {
1230
+ "length": 20,
1231
+ "start": 8145
1232
+ },
1233
+ {
1234
+ "length": 20,
1235
+ "start": 9896
1236
+ },
1237
+ {
1238
+ "length": 20,
1239
+ "start": 10226
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 11264
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 11383
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 11525
1252
+ }
1253
+ ]
1254
+ },
1255
+ "contracts/type/Version.sol": {
1256
+ "VersionLib": [
1257
+ {
1258
+ "length": 20,
1259
+ "start": 1447
1260
+ },
1261
+ {
1262
+ "length": 20,
1263
+ "start": 2915
1264
+ }
1265
+ ]
1266
+ }
1267
+ },
1268
+ "deployedLinkReferences": {
1269
+ "contracts/pool/PoolLib.sol": {
1270
+ "PoolLib": [
1271
+ {
1272
+ "length": 20,
1273
+ "start": 5247
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 8401
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 8999
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 10421
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/shared/ContractLib.sol": {
1290
+ "ContractLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 14801
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 15398
1298
+ }
1299
+ ]
1300
+ },
1301
+ "contracts/type/Amount.sol": {
1302
+ "AmountLib": [
1303
+ {
1304
+ "length": 20,
1305
+ "start": 2085
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 2113
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 2439
1314
+ },
1315
+ {
1316
+ "length": 20,
1317
+ "start": 8132
1318
+ },
1319
+ {
1320
+ "length": 20,
1321
+ "start": 13070
1322
+ },
1323
+ {
1324
+ "length": 20,
1325
+ "start": 13210
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 13284
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 13859
1334
+ }
1335
+ ]
1336
+ },
1337
+ "contracts/type/NftId.sol": {
1338
+ "NftIdLib": [
1339
+ {
1340
+ "length": 20,
1341
+ "start": 1433
1342
+ },
1343
+ {
1344
+ "length": 20,
1345
+ "start": 4917
1346
+ },
1347
+ {
1348
+ "length": 20,
1349
+ "start": 5654
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 10622
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 11922
1358
+ },
1359
+ {
1360
+ "length": 20,
1361
+ "start": 14029
1362
+ }
1363
+ ]
1364
+ },
1365
+ "contracts/type/ObjectType.sol": {
1366
+ "ObjectTypeLib": [
1367
+ {
1368
+ "length": 20,
1369
+ "start": 12746
1370
+ }
1371
+ ]
1372
+ },
1373
+ "contracts/type/RoleId.sol": {
1374
+ "RoleIdLib": [
1375
+ {
1376
+ "length": 20,
1377
+ "start": 4490
1378
+ }
1379
+ ]
1380
+ },
1381
+ "contracts/type/Seconds.sol": {
1382
+ "SecondsLib": [
1383
+ {
1384
+ "length": 20,
1385
+ "start": 9848
1386
+ }
1387
+ ]
1388
+ },
1389
+ "contracts/type/Timestamp.sol": {
1390
+ "TimestampLib": [
1391
+ {
1392
+ "length": 20,
1393
+ "start": 3776
1394
+ },
1395
+ {
1396
+ "length": 20,
1397
+ "start": 7822
1398
+ },
1399
+ {
1400
+ "length": 20,
1401
+ "start": 7931
1402
+ },
1403
+ {
1404
+ "length": 20,
1405
+ "start": 9682
1406
+ },
1407
+ {
1408
+ "length": 20,
1409
+ "start": 10012
1410
+ },
1411
+ {
1412
+ "length": 20,
1413
+ "start": 11050
1414
+ },
1415
+ {
1416
+ "length": 20,
1417
+ "start": 11169
1418
+ },
1419
+ {
1420
+ "length": 20,
1421
+ "start": 11311
1422
+ }
1423
+ ]
1424
+ },
1425
+ "contracts/type/Version.sol": {
1426
+ "VersionLib": [
1427
+ {
1428
+ "length": 20,
1429
+ "start": 1233
1430
+ },
1431
+ {
1432
+ "length": 20,
1433
+ "start": 2701
1434
+ }
1435
+ ]
1436
+ }
1437
+ }
1438
+ }