@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d43ca2d-657

Sign up to get free protection for your applications and to get access to all the features.
Files changed (795) hide show
  1. package/README.md +312 -46
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1341 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1092 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1501 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +860 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1008 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2025 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2379 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +287 -1573
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +759 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +526 -1999
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1800 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2291 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1025 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +744 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -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/base/Cloneable.sol/Cloneable.json +137 -0
  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 +181 -0
  98. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  99. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +820 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +946 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1309 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1626 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +792 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1146 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1538 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +860 -0
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  161. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +290 -323
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1082 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +968 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  169. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1003 -0
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +241 -228
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1320 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1104 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1005 -119
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  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 +4 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1432 -220
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1325 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1581 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  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/shared/IComponent.sol/IComponent.json +632 -0
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1221 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  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 +4 -0
  241. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  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 +229 -21
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  249. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  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 +275 -18
  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 +4 -0
  269. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +233 -156
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +822 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1067 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1272 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +199 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +659 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +289 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +140 -0
  364. package/contracts/authorization/IAuthorization.sol +60 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +139 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  369. package/contracts/distribution/Distribution.sol +287 -0
  370. package/contracts/distribution/DistributionService.sol +357 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +100 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +436 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +366 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +60 -47
  389. package/contracts/instance/IInstanceService.sol +72 -0
  390. package/contracts/instance/Instance.sol +223 -62
  391. package/contracts/instance/InstanceAdmin.sol +326 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +223 -0
  393. package/contracts/instance/InstanceReader.sol +581 -0
  394. package/contracts/instance/InstanceService.sol +404 -0
  395. package/contracts/instance/InstanceServiceManager.sol +39 -0
  396. package/contracts/instance/InstanceStore.sol +287 -0
  397. package/contracts/instance/RiskSet.sol +117 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +112 -0
  402. package/contracts/instance/base/ObjectSet.sol +78 -0
  403. package/contracts/instance/module/IAccess.sol +46 -0
  404. package/contracts/instance/module/IBundle.sol +20 -0
  405. package/contracts/instance/module/IComponents.sol +50 -0
  406. package/contracts/instance/module/IDistribution.sol +41 -0
  407. package/contracts/instance/module/IPolicy.sol +85 -0
  408. package/contracts/instance/module/IRisk.sol +14 -0
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +309 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  420. package/contracts/pool/BundleService.sol +425 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +121 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +153 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolService.sol +615 -0
  427. package/contracts/pool/PoolServiceManager.sol +39 -0
  428. package/contracts/product/ApplicationService.sol +259 -0
  429. package/contracts/product/ApplicationServiceManager.sol +38 -0
  430. package/contracts/product/BasicProduct.sol +49 -0
  431. package/contracts/product/BasicProductAuthorization.sol +41 -0
  432. package/contracts/product/ClaimService.sol +708 -0
  433. package/contracts/product/ClaimServiceManager.sol +38 -0
  434. package/contracts/product/IApplicationService.sol +66 -0
  435. package/contracts/product/IClaimService.sol +136 -0
  436. package/contracts/product/IPolicyService.sol +90 -0
  437. package/contracts/product/IPricingService.sol +39 -0
  438. package/contracts/product/IProductComponent.sol +59 -0
  439. package/contracts/product/IRiskService.sol +33 -0
  440. package/contracts/product/PolicyService.sol +736 -0
  441. package/contracts/product/PolicyServiceManager.sol +39 -0
  442. package/contracts/product/PricingService.sol +301 -0
  443. package/contracts/product/PricingServiceManager.sol +39 -0
  444. package/contracts/product/Product.sol +451 -0
  445. package/contracts/product/RiskService.sol +151 -0
  446. package/contracts/product/RiskServiceManager.sol +39 -0
  447. package/contracts/registry/ChainNft.sol +130 -40
  448. package/contracts/registry/IRegistry.sol +136 -29
  449. package/contracts/registry/IRegistryService.sol +62 -0
  450. package/contracts/registry/IRelease.sol +26 -0
  451. package/contracts/registry/ITransferInterceptor.sol +6 -0
  452. package/contracts/registry/Registry.sol +627 -283
  453. package/contracts/registry/RegistryAdmin.sol +344 -0
  454. package/contracts/registry/RegistryService.sol +241 -0
  455. package/contracts/registry/RegistryServiceManager.sol +53 -0
  456. package/contracts/registry/ReleaseAdmin.sol +245 -0
  457. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  458. package/contracts/registry/ReleaseRegistry.sol +511 -0
  459. package/contracts/registry/ServiceAuthorizationV3.sol +242 -0
  460. package/contracts/registry/TokenRegistry.sol +313 -0
  461. package/contracts/shared/Component.sol +226 -0
  462. package/contracts/shared/ComponentService.sol +690 -0
  463. package/contracts/shared/ComponentServiceManager.sol +38 -0
  464. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  465. package/contracts/shared/ContractLib.sol +252 -0
  466. package/contracts/shared/IComponent.sol +61 -0
  467. package/contracts/shared/IComponentService.sol +116 -0
  468. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  469. package/contracts/shared/IKeyValueStore.sol +54 -0
  470. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  471. package/contracts/shared/INftOwnable.sol +25 -0
  472. package/contracts/shared/IPolicyHolder.sol +35 -0
  473. package/contracts/shared/IRegisterable.sol +33 -20
  474. package/contracts/shared/IRegistryLinked.sol +11 -0
  475. package/contracts/shared/IService.sol +23 -0
  476. package/contracts/shared/InitializableERC165.sol +27 -0
  477. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  478. package/contracts/shared/KeyValueStore.sol +131 -0
  479. package/contracts/shared/Lifecycle.sol +88 -0
  480. package/contracts/shared/NftIdSet.sol +65 -0
  481. package/contracts/shared/NftOwnable.sol +127 -0
  482. package/contracts/shared/PolicyHolder.sol +62 -0
  483. package/contracts/shared/Registerable.sol +83 -60
  484. package/contracts/shared/RegistryLinked.sol +38 -0
  485. package/contracts/shared/Service.sol +65 -0
  486. package/contracts/shared/TokenHandler.sol +389 -0
  487. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  488. package/contracts/staking/IStaking.sol +173 -0
  489. package/contracts/staking/IStakingService.sol +157 -0
  490. package/contracts/staking/StakeManagerLib.sol +224 -0
  491. package/contracts/staking/Staking.sol +526 -0
  492. package/contracts/staking/StakingLifecycle.sol +23 -0
  493. package/contracts/staking/StakingManager.sol +52 -0
  494. package/contracts/staking/StakingReader.sol +190 -0
  495. package/contracts/staking/StakingService.sol +439 -0
  496. package/contracts/staking/StakingServiceManager.sol +44 -0
  497. package/contracts/staking/StakingStore.sol +605 -0
  498. package/contracts/staking/TargetManagerLib.sol +211 -0
  499. package/contracts/{types → type}/AddressSet.sol +1 -1
  500. package/contracts/type/Amount.sol +150 -0
  501. package/contracts/{types → type}/Blocknumber.sol +27 -3
  502. package/contracts/type/ClaimId.sol +80 -0
  503. package/contracts/type/DistributorType.sol +55 -0
  504. package/contracts/type/Fee.sol +66 -0
  505. package/contracts/{types → type}/Key32.sol +10 -5
  506. package/contracts/type/Key32Set.sol +62 -0
  507. package/contracts/{types → type}/NftId.sol +28 -15
  508. package/contracts/type/NftIdSet.sol +62 -0
  509. package/contracts/type/ObjectType.sol +286 -0
  510. package/contracts/type/PayoutId.sol +82 -0
  511. package/contracts/type/Referral.sol +90 -0
  512. package/contracts/type/RequestId.sol +75 -0
  513. package/contracts/type/RiskId.sol +74 -0
  514. package/contracts/type/RoleId.sol +165 -0
  515. package/contracts/type/Seconds.sol +101 -0
  516. package/contracts/type/Selector.sol +102 -0
  517. package/contracts/{types → type}/StateId.sol +53 -5
  518. package/contracts/type/String.sol +53 -0
  519. package/contracts/{types → type}/Timestamp.sol +37 -19
  520. package/contracts/{types → type}/UFixed.sol +48 -12
  521. package/contracts/{types → type}/Version.sol +31 -6
  522. package/contracts/upgradeability/IVersionable.sol +53 -0
  523. package/contracts/upgradeability/ProxyManager.sol +232 -0
  524. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  525. package/contracts/upgradeability/Versionable.sol +59 -0
  526. package/package.json +12 -7
  527. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  528. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  531. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  534. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  536. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  538. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  539. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  540. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  541. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  542. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  544. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  545. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  546. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  548. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  550. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  552. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  554. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  556. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  558. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  560. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  562. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  564. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  566. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  568. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  570. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  572. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  574. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  576. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  577. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  578. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  579. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  580. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  581. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  582. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  583. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  585. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  588. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  590. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  593. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  594. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  595. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  596. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  598. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  599. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  600. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  603. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  605. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  607. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  609. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  611. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  614. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  617. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  619. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  621. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  622. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  623. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  625. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  628. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  630. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  632. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  633. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  634. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  635. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  636. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  638. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  639. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
  640. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -420
  642. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  644. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -325
  645. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  646. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  648. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -543
  649. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  650. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -858
  651. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  652. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  653. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  654. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  655. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  656. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  657. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  658. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  659. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  660. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  661. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  663. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  665. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  667. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  669. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  671. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  672. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  673. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  674. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  675. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  676. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  677. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  679. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  681. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  682. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  683. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  684. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  685. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  687. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  689. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  691. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  692. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  693. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  695. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  696. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  697. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  699. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  701. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  709. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  711. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  712. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  713. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  715. package/contracts/components/BaseComponent.sol +0 -94
  716. package/contracts/components/Distribution.sol +0 -132
  717. package/contracts/components/IBaseComponent.sol +0 -19
  718. package/contracts/components/IDistributionComponent.sol +0 -48
  719. package/contracts/components/IPoolComponent.sol +0 -71
  720. package/contracts/components/IProductComponent.sol +0 -38
  721. package/contracts/components/Pool.sol +0 -235
  722. package/contracts/components/Product.sol +0 -227
  723. package/contracts/experiment/errors/Require.sol +0 -38
  724. package/contracts/experiment/errors/Revert.sol +0 -44
  725. package/contracts/experiment/inheritance/A.sol +0 -53
  726. package/contracts/experiment/inheritance/B.sol +0 -28
  727. package/contracts/experiment/inheritance/C.sol +0 -34
  728. package/contracts/experiment/inheritance/IA.sol +0 -13
  729. package/contracts/experiment/inheritance/IB.sol +0 -10
  730. package/contracts/experiment/inheritance/IC.sol +0 -12
  731. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  732. package/contracts/experiment/statemachine/ISM.sol +0 -25
  733. package/contracts/experiment/statemachine/README.md +0 -112
  734. package/contracts/experiment/statemachine/SM.sol +0 -57
  735. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  736. package/contracts/experiment/types/TypeA.sol +0 -47
  737. package/contracts/experiment/types/TypeB.sol +0 -29
  738. package/contracts/instance/IInstanceLinked.sol +0 -8
  739. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  740. package/contracts/instance/base/IInstanceBase.sol +0 -22
  741. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  742. package/contracts/instance/base/IService.sol +0 -15
  743. package/contracts/instance/base/InstanceBase.sol +0 -91
  744. package/contracts/instance/base/KeyValueStore.sol +0 -161
  745. package/contracts/instance/base/Lifecycle.sol +0 -100
  746. package/contracts/instance/base/ModuleBase.sol +0 -57
  747. package/contracts/instance/base/ServiceBase.sol +0 -37
  748. package/contracts/instance/module/access/Access.sol +0 -149
  749. package/contracts/instance/module/access/IAccess.sol +0 -53
  750. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  751. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  752. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  753. package/contracts/instance/module/component/IComponent.sol +0 -28
  754. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  755. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  756. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  757. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  758. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  759. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  760. package/contracts/instance/module/risk/IRisk.sol +0 -26
  761. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  762. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  763. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  764. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  765. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  766. package/contracts/instance/service/DistributionService.sol +0 -59
  767. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  768. package/contracts/instance/service/IDistributionService.sol +0 -12
  769. package/contracts/instance/service/IPoolService.sol +0 -37
  770. package/contracts/instance/service/IProductService.sol +0 -107
  771. package/contracts/instance/service/PoolService.sol +0 -149
  772. package/contracts/instance/service/ProductService.sol +0 -509
  773. package/contracts/registry/IChainNft.sol +0 -21
  774. package/contracts/registry/IRegistryLinked.sol +0 -8
  775. package/contracts/shared/ERC165.sol +0 -21
  776. package/contracts/shared/IOwnable.sol +0 -6
  777. package/contracts/shared/IVersionable.sol +0 -52
  778. package/contracts/shared/Versionable.sol +0 -89
  779. package/contracts/test/TestDistribution.sol +0 -21
  780. package/contracts/test/TestFee.sol +0 -25
  781. package/contracts/test/TestPool.sol +0 -25
  782. package/contracts/test/TestProduct.sol +0 -72
  783. package/contracts/test/TestRegisterable.sol +0 -19
  784. package/contracts/test/TestRoleId.sol +0 -14
  785. package/contracts/test/TestService.sol +0 -32
  786. package/contracts/test/TestToken.sol +0 -26
  787. package/contracts/test/TestVersion.sol +0 -44
  788. package/contracts/test/TestVersionable.sol +0 -17
  789. package/contracts/types/ChainId.sol +0 -38
  790. package/contracts/types/Fee.sol +0 -56
  791. package/contracts/types/NftIdSet.sol +0 -60
  792. package/contracts/types/ObjectType.sol +0 -131
  793. package/contracts/types/ReferralId.sol +0 -48
  794. package/contracts/types/RiskId.sol +0 -43
  795. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1626 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/pool/PoolService.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": "nftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableAlreadyLinked",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorNftOwnableContractNotRegistered",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "ErrorNftOwnableInitialOwnerZero",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "expectedObjectType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableInvalidType",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "account",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorNftOwnableNotOwner",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "registryAddress",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorNotRegistry",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "NftId",
124
+ "name": "poolNftId",
125
+ "type": "uint96"
126
+ }
127
+ ],
128
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "NftId",
135
+ "name": "bundleNftId",
136
+ "type": "uint96"
137
+ },
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "poolNftId",
141
+ "type": "uint96"
142
+ }
143
+ ],
144
+ "name": "ErrorPoolServiceBundlePoolMismatch",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "Amount",
151
+ "name": "expectedAmount",
152
+ "type": "uint96"
153
+ },
154
+ {
155
+ "internalType": "Amount",
156
+ "name": "actualAmount",
157
+ "type": "uint96"
158
+ }
159
+ ],
160
+ "name": "ErrorPoolServiceInvalidTransferAmount",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "NftId",
167
+ "name": "poolNftId",
168
+ "type": "uint96"
169
+ },
170
+ {
171
+ "internalType": "Amount",
172
+ "name": "maxBalanceAmount",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "Amount",
177
+ "name": "currentBalanceAmount",
178
+ "type": "uint96"
179
+ },
180
+ {
181
+ "internalType": "Amount",
182
+ "name": "transferAmount",
183
+ "type": "uint96"
184
+ }
185
+ ],
186
+ "name": "ErrorPoolServiceMaxBalanceAmountExceeded",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "NftId",
193
+ "name": "policyNftId",
194
+ "type": "uint96"
195
+ },
196
+ {
197
+ "internalType": "NftId",
198
+ "name": "productNftId",
199
+ "type": "uint96"
200
+ },
201
+ {
202
+ "internalType": "NftId",
203
+ "name": "expectedProductNftId",
204
+ "type": "uint96"
205
+ }
206
+ ],
207
+ "name": "ErrorPoolServicePolicyPoolMismatch",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "NftId",
214
+ "name": "poolNftId",
215
+ "type": "uint96"
216
+ }
217
+ ],
218
+ "name": "ErrorPoolServicePoolNotExternallyManaged",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [],
223
+ "name": "ErrorRegisterableNotActive",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [],
228
+ "name": "InvalidInitialization",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "MathOverflowedMulDiv",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "NotInitializing",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "ReentrancyGuardReentrantCall",
244
+ "type": "error"
245
+ },
246
+ {
247
+ "anonymous": false,
248
+ "inputs": [
249
+ {
250
+ "indexed": false,
251
+ "internalType": "address",
252
+ "name": "authority",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "name": "AuthorityUpdated",
257
+ "type": "event"
258
+ },
259
+ {
260
+ "anonymous": false,
261
+ "inputs": [
262
+ {
263
+ "indexed": false,
264
+ "internalType": "uint64",
265
+ "name": "version",
266
+ "type": "uint64"
267
+ }
268
+ ],
269
+ "name": "Initialized",
270
+ "type": "event"
271
+ },
272
+ {
273
+ "anonymous": false,
274
+ "inputs": [
275
+ {
276
+ "indexed": false,
277
+ "internalType": "NftId",
278
+ "name": "instanceNftId",
279
+ "type": "uint96"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "NftId",
284
+ "name": "poolNftId",
285
+ "type": "uint96"
286
+ },
287
+ {
288
+ "indexed": false,
289
+ "internalType": "NftId",
290
+ "name": "bundleNftId",
291
+ "type": "uint96"
292
+ }
293
+ ],
294
+ "name": "LogPoolServiceBundleClosed",
295
+ "type": "event"
296
+ },
297
+ {
298
+ "anonymous": false,
299
+ "inputs": [
300
+ {
301
+ "indexed": false,
302
+ "internalType": "NftId",
303
+ "name": "instanceNftId",
304
+ "type": "uint96"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "NftId",
309
+ "name": "poolNftId",
310
+ "type": "uint96"
311
+ },
312
+ {
313
+ "indexed": false,
314
+ "internalType": "NftId",
315
+ "name": "bundleNftId",
316
+ "type": "uint96"
317
+ }
318
+ ],
319
+ "name": "LogPoolServiceBundleCreated",
320
+ "type": "event"
321
+ },
322
+ {
323
+ "anonymous": false,
324
+ "inputs": [
325
+ {
326
+ "indexed": false,
327
+ "internalType": "NftId",
328
+ "name": "instanceNftId",
329
+ "type": "uint96"
330
+ },
331
+ {
332
+ "indexed": false,
333
+ "internalType": "NftId",
334
+ "name": "poolNftId",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "NftId",
340
+ "name": "bundleNftId",
341
+ "type": "uint96"
342
+ },
343
+ {
344
+ "indexed": false,
345
+ "internalType": "Amount",
346
+ "name": "amount",
347
+ "type": "uint96"
348
+ },
349
+ {
350
+ "indexed": false,
351
+ "internalType": "Amount",
352
+ "name": "netAmount",
353
+ "type": "uint96"
354
+ }
355
+ ],
356
+ "name": "LogPoolServiceBundleStaked",
357
+ "type": "event"
358
+ },
359
+ {
360
+ "anonymous": false,
361
+ "inputs": [
362
+ {
363
+ "indexed": false,
364
+ "internalType": "NftId",
365
+ "name": "instanceNftId",
366
+ "type": "uint96"
367
+ },
368
+ {
369
+ "indexed": false,
370
+ "internalType": "NftId",
371
+ "name": "poolNftId",
372
+ "type": "uint96"
373
+ },
374
+ {
375
+ "indexed": false,
376
+ "internalType": "NftId",
377
+ "name": "bundleNftId",
378
+ "type": "uint96"
379
+ },
380
+ {
381
+ "indexed": false,
382
+ "internalType": "Amount",
383
+ "name": "amount",
384
+ "type": "uint96"
385
+ },
386
+ {
387
+ "indexed": false,
388
+ "internalType": "Amount",
389
+ "name": "netAmount",
390
+ "type": "uint96"
391
+ }
392
+ ],
393
+ "name": "LogPoolServiceBundleUnstaked",
394
+ "type": "event"
395
+ },
396
+ {
397
+ "anonymous": false,
398
+ "inputs": [
399
+ {
400
+ "indexed": false,
401
+ "internalType": "NftId",
402
+ "name": "poolNftId",
403
+ "type": "uint96"
404
+ },
405
+ {
406
+ "indexed": false,
407
+ "internalType": "Amount",
408
+ "name": "previousMaxCapitalAmount",
409
+ "type": "uint96"
410
+ },
411
+ {
412
+ "indexed": false,
413
+ "internalType": "Amount",
414
+ "name": "currentMaxCapitalAmount",
415
+ "type": "uint96"
416
+ }
417
+ ],
418
+ "name": "LogPoolServiceMaxBalanceAmountUpdated",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": false,
426
+ "internalType": "NftId",
427
+ "name": "policyNftId",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "indexed": false,
432
+ "internalType": "ClaimId",
433
+ "name": "claimId",
434
+ "type": "uint16"
435
+ },
436
+ {
437
+ "indexed": false,
438
+ "internalType": "Amount",
439
+ "name": "availableAmount",
440
+ "type": "uint96"
441
+ }
442
+ ],
443
+ "name": "LogPoolServiceProcessFundedClaim",
444
+ "type": "event"
445
+ },
446
+ {
447
+ "anonymous": false,
448
+ "inputs": [
449
+ {
450
+ "indexed": false,
451
+ "internalType": "NftId",
452
+ "name": "poolNftId",
453
+ "type": "uint96"
454
+ },
455
+ {
456
+ "indexed": false,
457
+ "internalType": "address",
458
+ "name": "poolOwner",
459
+ "type": "address"
460
+ },
461
+ {
462
+ "indexed": false,
463
+ "internalType": "Amount",
464
+ "name": "amount",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "LogPoolServiceWalletDefunded",
469
+ "type": "event"
470
+ },
471
+ {
472
+ "anonymous": false,
473
+ "inputs": [
474
+ {
475
+ "indexed": false,
476
+ "internalType": "NftId",
477
+ "name": "poolNftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "indexed": false,
482
+ "internalType": "address",
483
+ "name": "poolOwner",
484
+ "type": "address"
485
+ },
486
+ {
487
+ "indexed": false,
488
+ "internalType": "Amount",
489
+ "name": "amount",
490
+ "type": "uint96"
491
+ }
492
+ ],
493
+ "name": "LogPoolServiceWalletFunded",
494
+ "type": "event"
495
+ },
496
+ {
497
+ "inputs": [],
498
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
499
+ "outputs": [
500
+ {
501
+ "internalType": "bytes32",
502
+ "name": "",
503
+ "type": "bytes32"
504
+ }
505
+ ],
506
+ "stateMutability": "view",
507
+ "type": "function"
508
+ },
509
+ {
510
+ "inputs": [],
511
+ "name": "REGISTERABLE_LOCATION_V1",
512
+ "outputs": [
513
+ {
514
+ "internalType": "bytes32",
515
+ "name": "",
516
+ "type": "bytes32"
517
+ }
518
+ ],
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [],
524
+ "name": "authority",
525
+ "outputs": [
526
+ {
527
+ "internalType": "address",
528
+ "name": "",
529
+ "type": "address"
530
+ }
531
+ ],
532
+ "stateMutability": "view",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "UFixed",
539
+ "name": "collateralizationLevel",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "internalType": "UFixed",
544
+ "name": "retentionLevel",
545
+ "type": "uint256"
546
+ },
547
+ {
548
+ "internalType": "Amount",
549
+ "name": "sumInsuredAmount",
550
+ "type": "uint96"
551
+ }
552
+ ],
553
+ "name": "calculateRequiredCollateral",
554
+ "outputs": [
555
+ {
556
+ "internalType": "Amount",
557
+ "name": "totalCollateralAmount",
558
+ "type": "uint96"
559
+ },
560
+ {
561
+ "internalType": "Amount",
562
+ "name": "localCollateralAmount",
563
+ "type": "uint96"
564
+ }
565
+ ],
566
+ "stateMutability": "pure",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [
571
+ {
572
+ "internalType": "contract InstanceReader",
573
+ "name": "instanceReader",
574
+ "type": "address"
575
+ },
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "productNftId",
579
+ "type": "uint96"
580
+ },
581
+ {
582
+ "internalType": "Amount",
583
+ "name": "sumInsuredAmount",
584
+ "type": "uint96"
585
+ }
586
+ ],
587
+ "name": "calculateRequiredCollateral",
588
+ "outputs": [
589
+ {
590
+ "internalType": "NftId",
591
+ "name": "poolNftId",
592
+ "type": "uint96"
593
+ },
594
+ {
595
+ "internalType": "Amount",
596
+ "name": "totalCollateralAmount",
597
+ "type": "uint96"
598
+ },
599
+ {
600
+ "internalType": "Amount",
601
+ "name": "localCollateralAmount",
602
+ "type": "uint96"
603
+ },
604
+ {
605
+ "internalType": "bool",
606
+ "name": "poolIsVerifyingApplications",
607
+ "type": "bool"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "NftId",
617
+ "name": "bundleNftId",
618
+ "type": "uint96"
619
+ }
620
+ ],
621
+ "name": "closeBundle",
622
+ "outputs": [],
623
+ "stateMutability": "nonpayable",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [
628
+ {
629
+ "internalType": "Amount",
630
+ "name": "amount",
631
+ "type": "uint96"
632
+ }
633
+ ],
634
+ "name": "defundPoolWallet",
635
+ "outputs": [],
636
+ "stateMutability": "nonpayable",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [
641
+ {
642
+ "internalType": "Amount",
643
+ "name": "amount",
644
+ "type": "uint96"
645
+ }
646
+ ],
647
+ "name": "fundPoolWallet",
648
+ "outputs": [],
649
+ "stateMutability": "nonpayable",
650
+ "type": "function"
651
+ },
652
+ {
653
+ "inputs": [],
654
+ "name": "getDomain",
655
+ "outputs": [
656
+ {
657
+ "internalType": "ObjectType",
658
+ "name": "serviceDomain",
659
+ "type": "uint8"
660
+ }
661
+ ],
662
+ "stateMutability": "pure",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [],
667
+ "name": "getInitialInfo",
668
+ "outputs": [
669
+ {
670
+ "components": [
671
+ {
672
+ "internalType": "NftId",
673
+ "name": "nftId",
674
+ "type": "uint96"
675
+ },
676
+ {
677
+ "internalType": "NftId",
678
+ "name": "parentNftId",
679
+ "type": "uint96"
680
+ },
681
+ {
682
+ "internalType": "ObjectType",
683
+ "name": "objectType",
684
+ "type": "uint8"
685
+ },
686
+ {
687
+ "internalType": "bool",
688
+ "name": "isInterceptor",
689
+ "type": "bool"
690
+ },
691
+ {
692
+ "internalType": "address",
693
+ "name": "objectAddress",
694
+ "type": "address"
695
+ },
696
+ {
697
+ "internalType": "address",
698
+ "name": "initialOwner",
699
+ "type": "address"
700
+ },
701
+ {
702
+ "internalType": "bytes",
703
+ "name": "data",
704
+ "type": "bytes"
705
+ }
706
+ ],
707
+ "internalType": "struct IRegistry.ObjectInfo",
708
+ "name": "info",
709
+ "type": "tuple"
710
+ }
711
+ ],
712
+ "stateMutability": "view",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [],
717
+ "name": "getNftId",
718
+ "outputs": [
719
+ {
720
+ "internalType": "NftId",
721
+ "name": "",
722
+ "type": "uint96"
723
+ }
724
+ ],
725
+ "stateMutability": "view",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [],
730
+ "name": "getOwner",
731
+ "outputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "",
735
+ "type": "address"
736
+ }
737
+ ],
738
+ "stateMutability": "view",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "inputs": [],
743
+ "name": "getRegistry",
744
+ "outputs": [
745
+ {
746
+ "internalType": "contract IRegistry",
747
+ "name": "",
748
+ "type": "address"
749
+ }
750
+ ],
751
+ "stateMutability": "view",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [],
756
+ "name": "getRelease",
757
+ "outputs": [
758
+ {
759
+ "internalType": "VersionPart",
760
+ "name": "release",
761
+ "type": "uint8"
762
+ }
763
+ ],
764
+ "stateMutability": "view",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [],
769
+ "name": "getRoleId",
770
+ "outputs": [
771
+ {
772
+ "internalType": "RoleId",
773
+ "name": "serviceRoleId",
774
+ "type": "uint64"
775
+ }
776
+ ],
777
+ "stateMutability": "view",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [],
782
+ "name": "getVersion",
783
+ "outputs": [
784
+ {
785
+ "internalType": "Version",
786
+ "name": "",
787
+ "type": "uint24"
788
+ }
789
+ ],
790
+ "stateMutability": "pure",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "inputs": [
795
+ {
796
+ "internalType": "address",
797
+ "name": "activatedBy",
798
+ "type": "address"
799
+ },
800
+ {
801
+ "internalType": "bytes",
802
+ "name": "data",
803
+ "type": "bytes"
804
+ }
805
+ ],
806
+ "name": "initializeVersionable",
807
+ "outputs": [],
808
+ "stateMutability": "nonpayable",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [],
813
+ "name": "isActive",
814
+ "outputs": [
815
+ {
816
+ "internalType": "bool",
817
+ "name": "active",
818
+ "type": "bool"
819
+ }
820
+ ],
821
+ "stateMutability": "view",
822
+ "type": "function"
823
+ },
824
+ {
825
+ "inputs": [],
826
+ "name": "isConsumingScheduledOp",
827
+ "outputs": [
828
+ {
829
+ "internalType": "bytes4",
830
+ "name": "",
831
+ "type": "bytes4"
832
+ }
833
+ ],
834
+ "stateMutability": "view",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [],
839
+ "name": "linkToRegisteredNftId",
840
+ "outputs": [
841
+ {
842
+ "internalType": "NftId",
843
+ "name": "nftId",
844
+ "type": "uint96"
845
+ }
846
+ ],
847
+ "stateMutability": "nonpayable",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [
852
+ {
853
+ "internalType": "contract IInstance",
854
+ "name": "instance",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "internalType": "address",
859
+ "name": "token",
860
+ "type": "address"
861
+ },
862
+ {
863
+ "internalType": "NftId",
864
+ "name": "productNftId",
865
+ "type": "uint96"
866
+ },
867
+ {
868
+ "internalType": "NftId",
869
+ "name": "applicationNftId",
870
+ "type": "uint96"
871
+ },
872
+ {
873
+ "internalType": "NftId",
874
+ "name": "bundleNftId",
875
+ "type": "uint96"
876
+ },
877
+ {
878
+ "internalType": "Amount",
879
+ "name": "sumInsuredAmount",
880
+ "type": "uint96"
881
+ }
882
+ ],
883
+ "name": "lockCollateral",
884
+ "outputs": [
885
+ {
886
+ "internalType": "Amount",
887
+ "name": "totalCollateralAmount",
888
+ "type": "uint96"
889
+ },
890
+ {
891
+ "internalType": "Amount",
892
+ "name": "localCollateralAmount",
893
+ "type": "uint96"
894
+ }
895
+ ],
896
+ "stateMutability": "nonpayable",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "policyNftId",
904
+ "type": "uint96"
905
+ },
906
+ {
907
+ "internalType": "ClaimId",
908
+ "name": "claimId",
909
+ "type": "uint16"
910
+ },
911
+ {
912
+ "internalType": "Amount",
913
+ "name": "availableAmount",
914
+ "type": "uint96"
915
+ }
916
+ ],
917
+ "name": "processFundedClaim",
918
+ "outputs": [],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "contract IInstance",
926
+ "name": "instance",
927
+ "type": "address"
928
+ },
929
+ {
930
+ "internalType": "address",
931
+ "name": "token",
932
+ "type": "address"
933
+ },
934
+ {
935
+ "internalType": "NftId",
936
+ "name": "policyNftId",
937
+ "type": "uint96"
938
+ },
939
+ {
940
+ "components": [
941
+ {
942
+ "internalType": "NftId",
943
+ "name": "productNftId",
944
+ "type": "uint96"
945
+ },
946
+ {
947
+ "internalType": "NftId",
948
+ "name": "bundleNftId",
949
+ "type": "uint96"
950
+ },
951
+ {
952
+ "internalType": "ReferralId",
953
+ "name": "referralId",
954
+ "type": "bytes8"
955
+ },
956
+ {
957
+ "internalType": "RiskId",
958
+ "name": "riskId",
959
+ "type": "bytes8"
960
+ },
961
+ {
962
+ "internalType": "Amount",
963
+ "name": "sumInsuredAmount",
964
+ "type": "uint96"
965
+ },
966
+ {
967
+ "internalType": "Amount",
968
+ "name": "premiumAmount",
969
+ "type": "uint96"
970
+ },
971
+ {
972
+ "internalType": "Seconds",
973
+ "name": "lifetime",
974
+ "type": "uint40"
975
+ },
976
+ {
977
+ "internalType": "bytes",
978
+ "name": "applicationData",
979
+ "type": "bytes"
980
+ },
981
+ {
982
+ "internalType": "bytes",
983
+ "name": "processData",
984
+ "type": "bytes"
985
+ },
986
+ {
987
+ "internalType": "uint16",
988
+ "name": "claimsCount",
989
+ "type": "uint16"
990
+ },
991
+ {
992
+ "internalType": "uint16",
993
+ "name": "openClaimsCount",
994
+ "type": "uint16"
995
+ },
996
+ {
997
+ "internalType": "Amount",
998
+ "name": "claimAmount",
999
+ "type": "uint96"
1000
+ },
1001
+ {
1002
+ "internalType": "Amount",
1003
+ "name": "payoutAmount",
1004
+ "type": "uint96"
1005
+ },
1006
+ {
1007
+ "internalType": "Timestamp",
1008
+ "name": "activatedAt",
1009
+ "type": "uint40"
1010
+ },
1011
+ {
1012
+ "internalType": "Timestamp",
1013
+ "name": "expiredAt",
1014
+ "type": "uint40"
1015
+ },
1016
+ {
1017
+ "internalType": "Timestamp",
1018
+ "name": "closedAt",
1019
+ "type": "uint40"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct IPolicy.PolicyInfo",
1023
+ "name": "policyInfo",
1024
+ "type": "tuple"
1025
+ },
1026
+ {
1027
+ "internalType": "Amount",
1028
+ "name": "payoutAmount",
1029
+ "type": "uint96"
1030
+ }
1031
+ ],
1032
+ "name": "processPayout",
1033
+ "outputs": [],
1034
+ "stateMutability": "nonpayable",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [
1039
+ {
1040
+ "internalType": "NftId",
1041
+ "name": "bundleNftId",
1042
+ "type": "uint96"
1043
+ },
1044
+ {
1045
+ "components": [
1046
+ {
1047
+ "internalType": "Amount",
1048
+ "name": "productFeeAmount",
1049
+ "type": "uint96"
1050
+ },
1051
+ {
1052
+ "internalType": "Amount",
1053
+ "name": "distributionFeeAndCommissionAmount",
1054
+ "type": "uint96"
1055
+ },
1056
+ {
1057
+ "internalType": "Amount",
1058
+ "name": "poolPremiumAndFeeAmount",
1059
+ "type": "uint96"
1060
+ },
1061
+ {
1062
+ "internalType": "Amount",
1063
+ "name": "netPremiumAmount",
1064
+ "type": "uint96"
1065
+ },
1066
+ {
1067
+ "internalType": "Amount",
1068
+ "name": "fullPremiumAmount",
1069
+ "type": "uint96"
1070
+ },
1071
+ {
1072
+ "internalType": "Amount",
1073
+ "name": "premiumAmount",
1074
+ "type": "uint96"
1075
+ },
1076
+ {
1077
+ "internalType": "Amount",
1078
+ "name": "productFeeFixAmount",
1079
+ "type": "uint96"
1080
+ },
1081
+ {
1082
+ "internalType": "Amount",
1083
+ "name": "poolFeeFixAmount",
1084
+ "type": "uint96"
1085
+ },
1086
+ {
1087
+ "internalType": "Amount",
1088
+ "name": "bundleFeeFixAmount",
1089
+ "type": "uint96"
1090
+ },
1091
+ {
1092
+ "internalType": "Amount",
1093
+ "name": "distributionFeeFixAmount",
1094
+ "type": "uint96"
1095
+ },
1096
+ {
1097
+ "internalType": "Amount",
1098
+ "name": "productFeeVarAmount",
1099
+ "type": "uint96"
1100
+ },
1101
+ {
1102
+ "internalType": "Amount",
1103
+ "name": "poolFeeVarAmount",
1104
+ "type": "uint96"
1105
+ },
1106
+ {
1107
+ "internalType": "Amount",
1108
+ "name": "bundleFeeVarAmount",
1109
+ "type": "uint96"
1110
+ },
1111
+ {
1112
+ "internalType": "Amount",
1113
+ "name": "distributionFeeVarAmount",
1114
+ "type": "uint96"
1115
+ },
1116
+ {
1117
+ "internalType": "Amount",
1118
+ "name": "distributionOwnerFeeFixAmount",
1119
+ "type": "uint96"
1120
+ },
1121
+ {
1122
+ "internalType": "Amount",
1123
+ "name": "distributionOwnerFeeVarAmount",
1124
+ "type": "uint96"
1125
+ },
1126
+ {
1127
+ "internalType": "Amount",
1128
+ "name": "commissionAmount",
1129
+ "type": "uint96"
1130
+ },
1131
+ {
1132
+ "internalType": "Amount",
1133
+ "name": "discountAmount",
1134
+ "type": "uint96"
1135
+ }
1136
+ ],
1137
+ "internalType": "struct IPolicy.PremiumInfo",
1138
+ "name": "premium",
1139
+ "type": "tuple"
1140
+ }
1141
+ ],
1142
+ "name": "processSale",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [
1149
+ {
1150
+ "internalType": "contract IInstance",
1151
+ "name": "instance",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "address",
1156
+ "name": "token",
1157
+ "type": "address"
1158
+ },
1159
+ {
1160
+ "internalType": "NftId",
1161
+ "name": "policyNftId",
1162
+ "type": "uint96"
1163
+ },
1164
+ {
1165
+ "components": [
1166
+ {
1167
+ "internalType": "NftId",
1168
+ "name": "productNftId",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "NftId",
1173
+ "name": "bundleNftId",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "ReferralId",
1178
+ "name": "referralId",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "RiskId",
1183
+ "name": "riskId",
1184
+ "type": "bytes8"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "sumInsuredAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "premiumAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Seconds",
1198
+ "name": "lifetime",
1199
+ "type": "uint40"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes",
1203
+ "name": "applicationData",
1204
+ "type": "bytes"
1205
+ },
1206
+ {
1207
+ "internalType": "bytes",
1208
+ "name": "processData",
1209
+ "type": "bytes"
1210
+ },
1211
+ {
1212
+ "internalType": "uint16",
1213
+ "name": "claimsCount",
1214
+ "type": "uint16"
1215
+ },
1216
+ {
1217
+ "internalType": "uint16",
1218
+ "name": "openClaimsCount",
1219
+ "type": "uint16"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "claimAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "payoutAmount",
1229
+ "type": "uint96"
1230
+ },
1231
+ {
1232
+ "internalType": "Timestamp",
1233
+ "name": "activatedAt",
1234
+ "type": "uint40"
1235
+ },
1236
+ {
1237
+ "internalType": "Timestamp",
1238
+ "name": "expiredAt",
1239
+ "type": "uint40"
1240
+ },
1241
+ {
1242
+ "internalType": "Timestamp",
1243
+ "name": "closedAt",
1244
+ "type": "uint40"
1245
+ }
1246
+ ],
1247
+ "internalType": "struct IPolicy.PolicyInfo",
1248
+ "name": "policyInfo",
1249
+ "type": "tuple"
1250
+ }
1251
+ ],
1252
+ "name": "releaseCollateral",
1253
+ "outputs": [],
1254
+ "stateMutability": "nonpayable",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "newAuthority",
1262
+ "type": "address"
1263
+ }
1264
+ ],
1265
+ "name": "setAuthority",
1266
+ "outputs": [],
1267
+ "stateMutability": "nonpayable",
1268
+ "type": "function"
1269
+ },
1270
+ {
1271
+ "inputs": [
1272
+ {
1273
+ "internalType": "Amount",
1274
+ "name": "maxBalanceAmount",
1275
+ "type": "uint96"
1276
+ }
1277
+ ],
1278
+ "name": "setMaxBalanceAmount",
1279
+ "outputs": [],
1280
+ "stateMutability": "nonpayable",
1281
+ "type": "function"
1282
+ },
1283
+ {
1284
+ "inputs": [
1285
+ {
1286
+ "internalType": "NftId",
1287
+ "name": "bundleNftId",
1288
+ "type": "uint96"
1289
+ },
1290
+ {
1291
+ "internalType": "Amount",
1292
+ "name": "amount",
1293
+ "type": "uint96"
1294
+ }
1295
+ ],
1296
+ "name": "stake",
1297
+ "outputs": [
1298
+ {
1299
+ "internalType": "Amount",
1300
+ "name": "netAmount",
1301
+ "type": "uint96"
1302
+ }
1303
+ ],
1304
+ "stateMutability": "nonpayable",
1305
+ "type": "function"
1306
+ },
1307
+ {
1308
+ "inputs": [
1309
+ {
1310
+ "internalType": "bytes4",
1311
+ "name": "interfaceId",
1312
+ "type": "bytes4"
1313
+ }
1314
+ ],
1315
+ "name": "supportsInterface",
1316
+ "outputs": [
1317
+ {
1318
+ "internalType": "bool",
1319
+ "name": "",
1320
+ "type": "bool"
1321
+ }
1322
+ ],
1323
+ "stateMutability": "view",
1324
+ "type": "function"
1325
+ },
1326
+ {
1327
+ "inputs": [
1328
+ {
1329
+ "internalType": "NftId",
1330
+ "name": "bundleNftId",
1331
+ "type": "uint96"
1332
+ },
1333
+ {
1334
+ "internalType": "Amount",
1335
+ "name": "amount",
1336
+ "type": "uint96"
1337
+ }
1338
+ ],
1339
+ "name": "unstake",
1340
+ "outputs": [
1341
+ {
1342
+ "internalType": "Amount",
1343
+ "name": "netAmount",
1344
+ "type": "uint96"
1345
+ }
1346
+ ],
1347
+ "stateMutability": "nonpayable",
1348
+ "type": "function"
1349
+ },
1350
+ {
1351
+ "inputs": [
1352
+ {
1353
+ "internalType": "bytes",
1354
+ "name": "data",
1355
+ "type": "bytes"
1356
+ }
1357
+ ],
1358
+ "name": "upgradeVersionable",
1359
+ "outputs": [],
1360
+ "stateMutability": "nonpayable",
1361
+ "type": "function"
1362
+ }
1363
+ ],
1364
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615ceb806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637225ed0111610109578063ada9652e1161009e578063d0d63b091161006e578063d0d63b091461049f578063db02f7d3146104b2578063e1f216fa146104c5578063fb3bcd1f146104d8575f80fd5b8063ada9652e14610469578063b68d18091461047d578063bca99e3914610484578063bf7e214f14610497575f80fd5b806384d1f7cf116100d957806384d1f7cf1461041a578063893d20e81461042d5780638e4a508e146104355780638fb3603714610448575f80fd5b80637225ed011461037257806376b707b7146103a55780637a9e5e4b146103bf57806384a710fa146103d2575f80fd5b8063329c71c01161017f5780635ab1bd531161014f5780635ab1bd53146102fd578063644c45e0146103225780636c1e9dff1461033f5780636c741e7814610352575f80fd5b8063329c71c0146102af578063329d6e74146102c457806332f9f3df146102d757806349bb9e4b146102ea575f80fd5b8063138461e0116101ba578063138461e0146102525780631eff4b221461027257806322f3e2d41461029457806326889b091461029c575f80fd5b806301ffc9a7146101e05780630d8e6e2c146102215780630fec111c1461023d575b5f80fd5b61020c6101ee36600461474c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296104eb565b60405162ffffff9091168152602001610218565b610245610572565b60405161021891906147a1565b61025a610719565b6040516001600160601b039091168152602001610218565b6102865f80516020615c7683398151915281565b604051908152602001610218565b61020c610723565b61025a6102aa366004614859565b61079a565b6102c26102bd366004614890565b610c6b565b005b6102c26102d2366004614a3c565b610e4c565b6102c26102e5366004614c45565b610f96565b6102c26102f8366004614cb5565b611115565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f80516020615c36833981519152546001600160601b031661025a565b61025a61034d366004614859565b611211565b61035a6118ce565b6040516001600160401b039091168152602001610218565b610385610380366004614d01565b61195a565b604080516001600160601b03938416815292909116602083015201610218565b6103ad611bd4565b60405160ff9091168152602001610218565b6102c26103cd366004614d37565b611bf0565b6103e56103e0366004614d52565b611c76565b60405161021894939291906001600160601b039485168152928416602084015292166040820152901515606082015260800190565b610385610428366004614d8f565b611d9a565b61030a61208e565b6102c2610443366004614890565b6121bf565b610450612399565b6040516001600160e01b03199091168152602001610218565b6102865f80516020615c3683398151915281565b600f6103ad565b6102c2610492366004614890565b6123ce565b61030a6125dc565b6102c26104ad366004614890565b6125f7565b6102c26104c0366004614e0d565b612b56565b6102c26104d3366004614e91565b612f6c565b6102c26104e6366004614ebe565b6132f9565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610549573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056d9190615048565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f80516020615c7683398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561060b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061062f9190615075565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a00161067761208e565b6001600160a01b0316815260200182600101805461069490615090565b80601f01602080910402602001604051908101604052809291908181526020018280546106c090615090565b801561070b5780601f106106e25761010080835404028352916020019161070b565b820191905f5260205f20905b8154815290600101906020018083116106ee57829003601f168201915b505050505081525091505090565b5f61056d306135aa565b5f61072c6125dc565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610770573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079491906150d7565b15905090565b5f6107a683601f6137a3565b5f806107b061385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081591906150f0565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610854573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087891906150f0565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa1580156108c7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108ee91908101906151b6565b90506108fd815f015186613919565b1561093357604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600354604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af1158015610993573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b79190615075565b905080965060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4d9190615075565b6040518563ffffffff1660e01b8152600401610a6c949392919061527a565b5f604051808303815f87803b158015610a83575f80fd5b505af1158015610a95573d5f803e3d5ffd5b505050507f1486849121d5ae771349472444bdddfe08862a6644665b5fd7ed4cf14a51db78856001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1a9190615075565b604080516001600160601b03928316815289831660208201528c8316818301528483166060820152918a166080830152519081900360a00190a16040516357f80bbf60e01b81526001600160601b03871660048201526001600160a01b038516906357f80bbf9060240160e060405180830381865afa158015610b9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc391906152ac565b60600151610c5f575f610bde6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4f91906150f0565b9050610c5d8588838b6139a5565b505b50505050505092915050565b5f80610c7561385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cda91906150f0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa158015610d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4c91906152ac565b60600151610d785760405163664958ad60e01b81526001600160601b038416600482015260240161092a565b5f610d8b6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dfc91906150f0565b90507ff93784364e35bd9d02fb31e12793254279ee0381ed65b4fa39ee297b22fdd79a848287604051610e319392919061533f565b60405180910390a1610e45828583886139a5565b5050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e6e6104eb565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed0919061537f565b5f80516020615c968339815191528054600160401b900460ff1680610f02575080546001600160401b03808416911610155b15610f205760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f4a83613af9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610fa2335b5f36613b01565b610fad8260156137a3565b5f610fc18260800151836101600151613bf7565b600354602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610ffd9189918891879060040161527a565b5f604051808303815f87803b158015611014575f80fd5b505af1158015611026573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611089573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ad9190615075565b86846040518463ffffffff1660e01b81526004016110cd9392919061533f565b6020604051808303815f875af11580156110e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110d9190615075565b505050505050565b5f80516020615c968339815191528054600160401b810460ff1615906001600160401b03165f811580156111465750825b90505f826001600160401b031660011480156111615750303b155b90508115801561116f575080155b1561118d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111b757845460ff60401b1916600160401b1785555b6111c18787613c7c565b831561120857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f61121d83601f6137a3565b5f8061122761385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128c91906150f0565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156112db573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261130291908101906151b6565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240160e060405180830381865afa158015611352573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137691906152ac565b9050611385825f015186613919565b156113b657604051630a49ea2360e01b81526001600160601b03808a1660048301528616602482015260440161092a565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611403573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114279190615075565b905061143d611436828a613e94565b8351613ede565b1561148157815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908916606482015260840161092a565b505f6114956001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f9081906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156114e6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261150d919081019061545d565b602001516040516302d764c760e21b81526001600160601b03821660048201529091505f906001600160a01b03881690630b5d931c906024015f60405180830381865afa158015611560573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115879190810190615516565b6101a00151604051634f69237560e11b815281516004820152602082015160248201526001600160601b038d16604482015290915073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af41580156115f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116199190615684565b60025460408051631a99b41b60e31b81529051929d509295506001600160a01b03908116945063d56cd3d593508a169163d4cda0d89160048083019260209291908290030181865afa158015611671573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169591906150f0565b898b856040518563ffffffff1660e01b81526004016116b7949392919061527a565b5f604051808303815f87803b1580156116ce575f80fd5b505af11580156116e0573d5f803e3d5ffd5b50506003546040516325fa796b60e01b81526001600160a01b0390911692506325fa796b915061173d9089908e908d906004016001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f604051808303815f87803b158015611754575f80fd5b505af1158015611766573d5f803e3d5ffd5b505050507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117eb9190615075565b604080516001600160601b0392831681528a831660208201528d8316818301528c83166060820152918b166080830152519081900360a00190a18260600151610c5d575f6118416001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561188e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118b291906150f0565b90506118c08689838d613f28565b505050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f6118f3611bd4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611936573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056d919061537f565b6040516355205f0f60e01b81526001600160601b03821660048201525f90819081906119e590879073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156119bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e091906156b1565b613fe0565b604051632255341b60e11b81526004810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611a52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7691906156b1565b6040518263ffffffff1660e01b8152600401611a9491815260200190565b602060405180830381865af4158015611aaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ad39190615075565b925073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96611af98784613fe0565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611b48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6c91906156b1565b6040518263ffffffff1660e01b8152600401611b8a91815260200190565b602060405180830381865af4158015611ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc99190615075565b915050935093915050565b5f80516020615c7683398151915254600160681b900460ff1690565b33611bf96125dc565b6001600160a01b0316816001600160a01b031614611c345760405162d1953b60e31b81526001600160a01b038216600482015260240161092a565b816001600160a01b03163b5f03611c69576040516361798f2f60e11b81526001600160a01b038316600482015260240161092a565b611c7282613ff4565b5050565b5f808080611c8586600c6137a3565b6040516302d764c760e21b81526001600160601b03871660048201526001600160a01b03881690630b5d931c906024015f60405180830381865afa158015611ccf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cf69190810190615516565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529094505f906001600160a01b038916906357f80bbf9060240160e060405180830381865afa158015611d4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6e91906152ac565b905080608001519150611d8a8160a001518260c001518861195a565b9599909850949650909450505050565b5f80611da533610f9b565b611db086600c6137a3565b611dbb8560156137a3565b611dc684601f6137a3565b5f80611e328a6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2b91906150f0565b8987611c76565b600354604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf90990611e74908d908b908b90899060040161527a565b5f604051808303815f87803b158015611e8b575f80fd5b505af1158015611e9d573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f249190615075565b8b876040518463ffffffff1660e01b8152600401611f449392919061533f565b6020604051808303815f875af1158015611f60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f849190615075565b508015612081575f611f9e6001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015611feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200f91906150f0565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b158015612069575f80fd5b505af115801561207b573d5f803e3d5ffd5b50505050505b5050965096945050505050565b5f805f80516020615c3683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156120fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061211e91906150d7565b156121a9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561217f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a391906150f0565b91505090565b54600160601b90046001600160a01b0316919050565b5f806121c961385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561220a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061222e91906150f0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa15801561227c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a091906152ac565b606001516122cc5760405163664958ad60e01b81526001600160601b038416600482015260240161092a565b5f6122df6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561232c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235091906150f0565b90507f67e4007a2396f32c2c58b0546d5dc80e8097a965b3de4127c33f3610864416bd8482876040516123859392919061533f565b60405180910390a1610e4582858388613f28565b5f80516020615c5683398151915280545f9190600160a01b900460ff166123c0575f6121a3565b638fb3603760e01b91505090565b5f806123d861385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243d91906150f0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa15801561248d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b191906152ac565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612507573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252b91906150f0565b6001600160a01b03166328802681868460ff6040518463ffffffff1660e01b815260040161255b939291906156c8565b5f604051808303815f87803b158015612572575f80fd5b505af1158015612584573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615c56833981519152546001600160a01b031690565b61260281601f6137a3565b5f8061260c61385a565b600354604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03881660248301529395509193505f92839291169063aa9acb2c9060440160408051808303815f875af115801561266c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126909190615684565b9150915060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271791906150f0565b866127228686613e94565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612769573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061278d9190615075565b6040518563ffffffff1660e01b81526004016127ac949392919061527a565b5f604051808303815f87803b1580156127c3575f80fd5b505af11580156127d5573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061285a9190615075565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a161288f8282613e94565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156128e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061290a91906150d7565b15610e45575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561294c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297091906150f0565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156129bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129e39190810190615740565b905080604001516001600160a01b03166354f0d84c82604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5c91906150f0565b6001546001600160a01b0316604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612ab5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad991906150f0565b612ae38787613e94565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015612b38575f80fd5b505af1158015612b4a573d5f803e3d5ffd5b50505050505050505050565b612b5f33610f9b565b612b6a8360156137a3565b60208201515f612b826001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612bce573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612bf5919081019061545d565b6020015190505f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c5c91906150f0565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282848773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ccb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cef9190615075565b6040518563ffffffff1660e01b8152600401612d0e949392919061527a565b5f604051808303815f87803b158015612d25575f80fd5b505af1158015612d37573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c82858773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612da8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dcc9190615075565b6040518563ffffffff1660e01b8152600401612deb949392919061527a565b5f604051808303815f87803b158015612e02575f80fd5b505af1158015612e14573d5f803e3d5ffd5b5050600354602088015160405163ad328d9f60e01b81526001600160a01b03909216935063ad328d9f9250612e51918c918b918a9060040161527a565b5f604051808303815f87803b158015612e68575f80fd5b505af1158015612e7a573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612edd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f019190615075565b89876040518463ffffffff1660e01b8152600401612f219392919061533f565b6020604051808303815f875af1158015612f3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f619190615075565b505050505050505050565b612f778360156137a3565b5f80612f8161385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fe691906150f0565b90505f612ffb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613047573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261306e919081019061545d565b6020015160405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa1580156130c1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130e8919081019061581f565b90506130f7815f015183613919565b15613133578051604051636083e75360e01b81526001600160601b03808b1660048301529182166024820152908316604482015260640161092a565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa1580156131ca573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131f19190810190615516565b51156132ef575f61320a6001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061327b91906150f0565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b1580156132d7575f80fd5b505af11580156132e9573d5f803e3d5ffd5b50505050505b5050505050505050565b61330233610f9b565b61330d82601f6137a3565b5f6133206001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561336f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613396919081019061545d565b6020015160405163c52721a360e01b81526001600160a01b03841660048201526001600160601b0382166024820152600160448201529091505f9073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063c52721a3906064015f60405180830381865af415801561340a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261343191908101906159b2565b9150505f8190505f61344c8660e00151876101600151613e94565b90505f613463876101000151886101800151613e94565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134ce91906150f0565b6002549091506001600160a01b031663d56cd3d582896134ee8688613e94565b886040518563ffffffff1660e01b815260040161350e949392919061527a565b5f604051808303815f87803b158015613525575f80fd5b505af1158015613537573d5f803e3d5ffd5b50506002546040516317bb009960e21b81526001600160a01b039091169250635eec026491506135719084908e908790899060040161527a565b5f604051808303815f87803b158015613588575f80fd5b505af115801561359a573d5f803e3d5ffd5b5050505050505050505050505050565b5f805f80516020615c3683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061363a91906150d7565b156136665780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161092a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156136b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136dc91906150d7565b6137045760405163b9304b0d60e01b81526001600160a01b038416600482015260240161092a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613756573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061377a9190615075565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015613805573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061382991906150d7565b611c725760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161092a565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed361388a6001546001600160a01b031690565b33600f6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af41580156138e6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261390d91908101906159b2565b90519590945092505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561397a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061399e91906150d7565b9392505050565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa1580156139f1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a189190810190615740565b905080604001516001600160a01b03166354f0d84c82604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a9191906150f0565b6040516001600160e01b031960e084901b1681526001600160a01b03918216600482015290861660248201526001600160601b03851660448201526064015b5f604051808303815f87803b158015613ae7575f80fd5b505af1158015612f61573d5f803e3d5ffd5b6101dc614054565b5f80516020615c568339815191525f80613b39613b1c6125dc565b8730613b2b60045f8a8c6159f5565b613b3491615a1c565b61408c565b915091508161110d5763ffffffff811615613bd457825460ff60a01b1916600160a01b178355613b676125dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401613b9693929190615a54565b5f604051808303815f87803b158015613bad575f80fd5b505af1158015613bbf573d5f803e3d5ffd5b5050845460ff60a01b191685555061110d9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161092a565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af4158015613c58573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061399e9190615075565b5f80516020615c968339815191528054600160401b810460ff1615906001600160401b03165f81158015613cad5750825b90505f826001600160401b03166001148015613cc85750303b155b905081158015613cd6575080155b15613cf45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613d1e57845460ff60401b1916600160401b1785555b5f8087806020019051810190613d349190615a93565b91509150613d4382828b614194565b613d4d6022614236565b600280546001600160a01b0319166001600160a01b0392909216919091179055613d77601f614236565b600380546001600160a01b0319166001600160a01b0392909216919091179055613da1600b614236565b600480546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613dfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e2091906150f0565b600580546001600160a01b0319166001600160a01b0392909216919091179055613e50631b5e575560e01b6142cd565b5050831561120857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016111ff565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401613c3d565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c9060440161395f565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613f74573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f9b9190810190615740565b60408082015190516340cda00760e11b81526001600160a01b0386811660048301526001600160601b038616602483015292935091169063819b400e90604401613ad0565b5f61399e8383670de0b6b3a76400006142f9565b5f80516020615c5683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80516020615c9683398151915254600160401b900460ff1661408a57604051631afcd79f60e31b815260040160405180910390fd5b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516140fa9190615ac0565b5f60405180830381855afa9150503d805f8114614132576040519150601f19603f3d011682016040523d82523d5f602084013e614137565b606091505b50915091508115614189576040815110614169578080602001905181019061415f9190615ad6565b9094509250614189565b6020815110614189578080602001905181019061418691906150d7565b93505b505094509492505050565b61419c614054565b6141a46143b8565b6142218383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142099190615075565b60085f8660405180602001604052805f8152506143c8565b61423163daf9067160e01b6142cd565b505050565b5f6142496001546001600160a01b031690565b6001600160a01b031663d39e604383614260611bd4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156142a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142c791906150f0565b92915050565b6142d5614054565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f838302815f1985870982811083820303915050805f0361432d5783828161432357614323615b08565b049250505061399e565b80841161434d5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6143c0614054565b61408a614572565b6143d0614054565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614426573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061444a91906150d7565b6144725760405163cf6935e560e01b81526001600160a01b038816600482015260240161092a565b61447b876145a0565b61448586836145b4565b5f80516020615c7683398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015614502573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906145269190615b1c565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016145618382615b7b565b506132ef634a531f3360e01b6142cd565b61457a614054565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6145a8614054565b6145b18161462a565b50565b6145bc614054565b6145c58261463b565b6145cd614707565b6001600160a01b0381166145f45760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615c3683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614632614054565b6145b181613ff4565b614643614054565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146bd91906150d7565b6146e55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161092a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61470f614054565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f6020828403121561475c575f80fd5b81356001600160e01b03198116811461399e575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516147e9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261482d610100840182614773565b949350505050565b6001600160601b03811681146145b1575f80fd5b803561485481614835565b919050565b5f806040838503121561486a575f80fd5b823561487581614835565b9150602083013561488581614835565b809150509250929050565b5f602082840312156148a0575f80fd5b813561399e81614835565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b03811182821017156148e2576148e26148ab565b60405290565b60405161024081016001600160401b03811182821017156148e2576148e26148ab565b60405160c081016001600160401b03811182821017156148e2576148e26148ab565b60405160e081016001600160401b03811182821017156148e2576148e26148ab565b6040516101e081016001600160401b03811182821017156148e2576148e26148ab565b604051608081016001600160401b03811182821017156148e2576148e26148ab565b604051601f8201601f191681016001600160401b03811182821017156149bc576149bc6148ab565b604052919050565b5f6001600160401b038211156149dc576149dc6148ab565b50601f01601f191660200190565b5f82601f8301126149f9575f80fd5b8135614a0c614a07826149c4565b614994565b818152846020838601011115614a20575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614a4c575f80fd5b81356001600160401b03811115614a61575f80fd5b61482d848285016149ea565b6001600160a01b03811681146145b1575f80fd5b6001600160c01b0319811681146145b1575f80fd5b803561485481614a81565b64ffffffffff811681146145b1575f80fd5b803561485481614aa1565b61ffff811681146145b1575f80fd5b803561485481614abe565b5f6102008284031215614ae9575f80fd5b614af16148bf565b9050614afc82614849565b8152614b0a60208301614849565b6020820152614b1b60408301614a96565b6040820152614b2c60608301614a96565b6060820152614b3d60808301614849565b6080820152614b4e60a08301614849565b60a0820152614b5f60c08301614ab3565b60c082015260e08201356001600160401b03811115614b7c575f80fd5b614b88848285016149ea565b60e0830152506101008201356001600160401b03811115614ba7575f80fd5b614bb3848285016149ea565b61010083015250614bc76101208301614acd565b610120820152614bda6101408301614acd565b610140820152614bed6101608301614849565b610160820152614c006101808301614849565b610180820152614c136101a08301614ab3565b6101a0820152614c266101c08301614ab3565b6101c0820152614c396101e08301614ab3565b6101e082015292915050565b5f805f8060808587031215614c58575f80fd5b8435614c6381614a6d565b93506020850135614c7381614a6d565b92506040850135614c8381614835565b915060608501356001600160401b03811115614c9d575f80fd5b614ca987828801614ad8565b91505092959194509250565b5f8060408385031215614cc6575f80fd5b8235614cd181614a6d565b915060208301356001600160401b03811115614ceb575f80fd5b614cf7858286016149ea565b9150509250929050565b5f805f60608486031215614d13575f80fd5b83359250602084013591506040840135614d2c81614835565b809150509250925092565b5f60208284031215614d47575f80fd5b813561399e81614a6d565b5f805f60608486031215614d64575f80fd5b8335614d6f81614a6d565b92506020840135614d7f81614835565b91506040840135614d2c81614835565b5f805f805f8060c08789031215614da4575f80fd5b8635614daf81614a6d565b95506020870135614dbf81614a6d565b94506040870135614dcf81614835565b93506060870135614ddf81614835565b92506080870135614def81614835565b915060a0870135614dff81614835565b809150509295509295509295565b5f805f805f60a08688031215614e21575f80fd5b8535614e2c81614a6d565b94506020860135614e3c81614a6d565b93506040860135614e4c81614835565b925060608601356001600160401b03811115614e66575f80fd5b614e7288828901614ad8565b9250506080860135614e8381614835565b809150509295509295909350565b5f805f60608486031215614ea3575f80fd5b8335614eae81614835565b92506020840135614d7f81614abe565b5f80828403610260811215614ed1575f80fd5b8335614edc81614835565b9250610240601f1982011215614ef0575f80fd5b50614ef96148e8565b614f0560208501614849565b8152614f1360408501614849565b6020820152614f2460608501614849565b6040820152614f3560808501614849565b6060820152614f4660a08501614849565b6080820152614f5760c08501614849565b60a0820152614f6860e08501614849565b60c0820152614f7a6101008501614849565b60e0820152614f8c6101208501614849565b610100820152614f9f6101408501614849565b610120820152614fb26101608501614849565b610140820152614fc56101808501614849565b610160820152614fd86101a08501614849565b610180820152614feb6101c08501614849565b6101a0820152614ffe6101e08501614849565b6101c08201526150116102008501614849565b6101e08201526150246102208501614849565b6102008201526150376102408501614849565b610220820152809150509250929050565b5f60208284031215615058575f80fd5b815162ffffff8116811461399e575f80fd5b805161485481614835565b5f60208284031215615085575f80fd5b815161399e81614835565b600181811c908216806150a457607f821691505b6020821081036150c257634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114614854575f80fd5b5f602082840312156150e7575f80fd5b61399e826150c8565b5f60208284031215615100575f80fd5b815161399e81614a6d565b5f6040828403121561511b575f80fd5b604080519081016001600160401b038111828210171561513d5761513d6148ab565b604052825181526020928301519281019290925250919050565b5f615164614a07846149c4565b9050828152838383011115615177575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f83011261519c575f80fd5b61399e83835160208501615157565b805161485481614aa1565b5f602082840312156151c6575f80fd5b81516001600160401b038111156151db575f80fd5b820160e081850312156151ec575f80fd5b6151f461490b565b81516151ff81614835565b815261520e856020840161510b565b602082015260608201516001600160401b0381111561522b575f80fd5b6152378682850161518d565b604083015250608082015161524b81614aa1565b606082015261525c60a083016151ab565b608082015261526d60c083016151ab565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f60e08284031280156152bd575f80fd5b506152c661492d565b82516152d181614835565b81526152df602084016150c8565b60208201526152f0604084016150c8565b6040820152615301606084016150c8565b6060820152615312608084016150c8565b608082015260a0838101519082015260c0928301519281019290925250919050565b805161485481614a6d565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b6001600160401b03811681146145b1575f80fd5b5f6020828403121561538f575f80fd5b815161399e8161536b565b60ff811681146145b1575f80fd5b80516148548161539a565b5f60e082840312156153c3575f80fd5b6153cb61492d565b90506153d68261506a565b81526153e46020830161506a565b60208201526153f5604083016153a8565b6040820152615406606083016150c8565b606082015261541760808301615334565b608082015261542860a08301615334565b60a082015260c08201516001600160401b03811115615445575f80fd5b6154518482850161518d565b60c08301525092915050565b5f6020828403121561546d575f80fd5b81516001600160401b03811115615482575f80fd5b61482d848285016153b3565b5f82601f83011261549d575f80fd5b81516001600160401b038111156154b6576154b66148ab565b8060051b6154c660208201614994565b918252602081850181019290810190868411156154e1575f80fd5b6020860192505b8383101561550c5782516154fb81614835565b8252602092830192909101906154e8565b9695505050505050565b5f60208284031215615526575f80fd5b81516001600160401b0381111561553b575f80fd5b82016102c0818503121561554d575f80fd5b61555561494f565b61555e826150c8565b815261556c602083016150c8565b602082015261557d604083016150c8565b604082015261558e606083016153a8565b606082015261559f608083016153a8565b60808201526155b060a0830161506a565b60a08201526155c160c0830161506a565b60c082015260e08201516001600160401b038111156155de575f80fd5b6155ea8682850161548e565b60e0830152506155fe85610100840161510b565b61010082015261561285610140840161510b565b61012082015261562685610180840161510b565b61014082015261563a856101c0840161510b565b61016082015261564e85610200840161510b565b61018082015261566285610240840161510b565b6101a082015261567685610280840161510b565b6101c0820152949350505050565b5f8060408385031215615695575f80fd5b82516156a081614835565b602084015190925061488581614835565b5f602082840312156156c1575f80fd5b5051919050565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526020840151151560408301526040840151151560608301526060840151151560808301526080840151151560a083015260a084015160c083015260c084015160e083015261482d61010083018460ff169052565b5f60208284031215615750575f80fd5b81516001600160401b03811115615765575f80fd5b820160808185031215615776575f80fd5b61577e614972565b81516001600160401b03811115615793575f80fd5b8201601f810186136157a3575f80fd5b6157b286825160208401615157565b8252506157c160208301615334565b60208201526157d260408301615334565b604082015260608201516001600160401b038111156157ef575f80fd5b6157fb8682850161518d565b606083015250949350505050565b805161485481614a81565b805161485481614abe565b5f6020828403121561582f575f80fd5b81516001600160401b03811115615844575f80fd5b82016102008185031215615856575f80fd5b61585e6148bf565b6158678261506a565b81526158756020830161506a565b602082015261588660408301615809565b604082015261589760608301615809565b60608201526158a86080830161506a565b60808201526158b960a0830161506a565b60a08201526158ca60c083016151ab565b60c082015260e08201516001600160401b038111156158e7575f80fd5b6158f38682850161518d565b60e0830152506101008201516001600160401b03811115615912575f80fd5b61591e8682850161518d565b610100830152506159326101208301615814565b6101208201526159456101408301615814565b610140820152615958610160830161506a565b61016082015261596b610180830161506a565b61018082015261597e6101a083016151ab565b6101a08201526159916101c083016151ab565b6101c08201526159a46101e083016151ab565b6101e0820152949350505050565b5f80604083850312156159c3575f80fd5b82516001600160401b038111156159d8575f80fd5b6159e4858286016153b3565b925050602083015161488581614a6d565b5f8085851115615a03575f80fd5b83861115615a0f575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615a4d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215615aa4575f80fd5b8251615aaf81614a6d565b602084015190925061488581614a6d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615ae7575f80fd5b615af0836150c8565b9150602083015163ffffffff81168114614885575f80fd5b634e487b7160e01b5f52601260045260245ffd5b5f60208284031215615b2c575f80fd5b815161399e8161539a565b601f82111561423157805f5260205f20601f840160051c81016020851015615b5c5750805b601f840160051c820191505b81811015610e45575f8155600101615b68565b81516001600160401b03811115615b9457615b946148ab565b615ba881615ba28454615090565b84615b37565b6020601f821160018114615bda575f8315615bc35750848201515b5f19600385901b1c1916600184901b178455610e45565b5f84815260208120601f198516915b82811015615c095787850151825560209485019460019092019101615be9565b5084821015615c2657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220daa33c58d10d6505491b8599ec1a97abe5b9bc324d20c09af3e3e86d034ea08b64736f6c634300081a0033",
1365
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c80637225ed0111610109578063ada9652e1161009e578063d0d63b091161006e578063d0d63b091461049f578063db02f7d3146104b2578063e1f216fa146104c5578063fb3bcd1f146104d8575f80fd5b8063ada9652e14610469578063b68d18091461047d578063bca99e3914610484578063bf7e214f14610497575f80fd5b806384d1f7cf116100d957806384d1f7cf1461041a578063893d20e81461042d5780638e4a508e146104355780638fb3603714610448575f80fd5b80637225ed011461037257806376b707b7146103a55780637a9e5e4b146103bf57806384a710fa146103d2575f80fd5b8063329c71c01161017f5780635ab1bd531161014f5780635ab1bd53146102fd578063644c45e0146103225780636c1e9dff1461033f5780636c741e7814610352575f80fd5b8063329c71c0146102af578063329d6e74146102c457806332f9f3df146102d757806349bb9e4b146102ea575f80fd5b8063138461e0116101ba578063138461e0146102525780631eff4b221461027257806322f3e2d41461029457806326889b091461029c575f80fd5b806301ffc9a7146101e05780630d8e6e2c146102215780630fec111c1461023d575b5f80fd5b61020c6101ee36600461474c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296104eb565b60405162ffffff9091168152602001610218565b610245610572565b60405161021891906147a1565b61025a610719565b6040516001600160601b039091168152602001610218565b6102865f80516020615c7683398151915281565b604051908152602001610218565b61020c610723565b61025a6102aa366004614859565b61079a565b6102c26102bd366004614890565b610c6b565b005b6102c26102d2366004614a3c565b610e4c565b6102c26102e5366004614c45565b610f96565b6102c26102f8366004614cb5565b611115565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b5f80516020615c36833981519152546001600160601b031661025a565b61025a61034d366004614859565b611211565b61035a6118ce565b6040516001600160401b039091168152602001610218565b610385610380366004614d01565b61195a565b604080516001600160601b03938416815292909116602083015201610218565b6103ad611bd4565b60405160ff9091168152602001610218565b6102c26103cd366004614d37565b611bf0565b6103e56103e0366004614d52565b611c76565b60405161021894939291906001600160601b039485168152928416602084015292166040820152901515606082015260800190565b610385610428366004614d8f565b611d9a565b61030a61208e565b6102c2610443366004614890565b6121bf565b610450612399565b6040516001600160e01b03199091168152602001610218565b6102865f80516020615c3683398151915281565b600f6103ad565b6102c2610492366004614890565b6123ce565b61030a6125dc565b6102c26104ad366004614890565b6125f7565b6102c26104c0366004614e0d565b612b56565b6102c26104d3366004614e91565b612f6c565b6102c26104e6366004614ebe565b6132f9565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610549573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056d9190615048565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152905f80516020615c7683398151915290506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561060b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061062f9190615075565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160701b909104161515606082015230608082015260a00161067761208e565b6001600160a01b0316815260200182600101805461069490615090565b80601f01602080910402602001604051908101604052809291908181526020018280546106c090615090565b801561070b5780601f106106e25761010080835404028352916020019161070b565b820191905f5260205f20905b8154815290600101906020018083116106ee57829003601f168201915b505050505081525091505090565b5f61056d306135aa565b5f61072c6125dc565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610770573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079491906150d7565b15905090565b5f6107a683601f6137a3565b5f806107b061385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081591906150f0565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610854573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087891906150f0565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa1580156108c7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108ee91908101906151b6565b90506108fd815f015186613919565b1561093357604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600354604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af1158015610993573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b79190615075565b905080965060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4d9190615075565b6040518563ffffffff1660e01b8152600401610a6c949392919061527a565b5f604051808303815f87803b158015610a83575f80fd5b505af1158015610a95573d5f803e3d5ffd5b505050507f1486849121d5ae771349472444bdddfe08862a6644665b5fd7ed4cf14a51db78856001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1a9190615075565b604080516001600160601b03928316815289831660208201528c8316818301528483166060820152918a166080830152519081900360a00190a16040516357f80bbf60e01b81526001600160601b03871660048201526001600160a01b038516906357f80bbf9060240160e060405180830381865afa158015610b9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc391906152ac565b60600151610c5f575f610bde6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4f91906150f0565b9050610c5d8588838b6139a5565b505b50505050505092915050565b5f80610c7561385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cda91906150f0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa158015610d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4c91906152ac565b60600151610d785760405163664958ad60e01b81526001600160601b038416600482015260240161092a565b5f610d8b6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610dd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dfc91906150f0565b90507ff93784364e35bd9d02fb31e12793254279ee0381ed65b4fa39ee297b22fdd79a848287604051610e319392919061533f565b60405180910390a1610e45828583886139a5565b5050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e6e6104eb565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610eac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed0919061537f565b5f80516020615c968339815191528054600160401b900460ff1680610f02575080546001600160401b03808416911610155b15610f205760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f4a83613af9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610fa2335b5f36613b01565b610fad8260156137a3565b5f610fc18260800151836101600151613bf7565b600354602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610ffd9189918891879060040161527a565b5f604051808303815f87803b158015611014575f80fd5b505af1158015611026573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611089573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ad9190615075565b86846040518463ffffffff1660e01b81526004016110cd9392919061533f565b6020604051808303815f875af11580156110e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110d9190615075565b505050505050565b5f80516020615c968339815191528054600160401b810460ff1615906001600160401b03165f811580156111465750825b90505f826001600160401b031660011480156111615750303b155b90508115801561116f575080155b1561118d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111b757845460ff60401b1916600160401b1785555b6111c18787613c7c565b831561120857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f61121d83601f6137a3565b5f8061122761385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128c91906150f0565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156112db573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261130291908101906151b6565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240160e060405180830381865afa158015611352573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137691906152ac565b9050611385825f015186613919565b156113b657604051630a49ea2360e01b81526001600160601b03808a1660048301528616602482015260440161092a565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611403573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114279190615075565b905061143d611436828a613e94565b8351613ede565b1561148157815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908916606482015260840161092a565b505f6114956001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091505f9081906001600160a01b0384169063a48f42e0906024015f60405180830381865afa1580156114e6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261150d919081019061545d565b602001516040516302d764c760e21b81526001600160601b03821660048201529091505f906001600160a01b03881690630b5d931c906024015f60405180830381865afa158015611560573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115879190810190615516565b6101a00151604051634f69237560e11b815281516004820152602082015160248201526001600160601b038d16604482015290915073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af41580156115f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116199190615684565b60025460408051631a99b41b60e31b81529051929d509295506001600160a01b03908116945063d56cd3d593508a169163d4cda0d89160048083019260209291908290030181865afa158015611671573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169591906150f0565b898b856040518563ffffffff1660e01b81526004016116b7949392919061527a565b5f604051808303815f87803b1580156116ce575f80fd5b505af11580156116e0573d5f803e3d5ffd5b50506003546040516325fa796b60e01b81526001600160a01b0390911692506325fa796b915061173d9089908e908d906004016001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f604051808303815f87803b158015611754575f80fd5b505af1158015611766573d5f803e3d5ffd5b505050507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117eb9190615075565b604080516001600160601b0392831681528a831660208201528d8316818301528c83166060820152918b166080830152519081900360a00190a18260600151610c5d575f6118416001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561188e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118b291906150f0565b90506118c08689838d613f28565b505050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f6118f3611bd4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611936573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061056d919061537f565b6040516355205f0f60e01b81526001600160601b03821660048201525f90819081906119e590879073__$3bac17678db7ae928afa209f2f44deec9c$__906355205f0f90602401602060405180830381865af41580156119bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e091906156b1565b613fe0565b604051632255341b60e11b81526004810182905290915073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd969073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611a52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7691906156b1565b6040518263ffffffff1660e01b8152600401611a9491815260200190565b602060405180830381865af4158015611aaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ad39190615075565b925073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96611af98784613fe0565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611b48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6c91906156b1565b6040518263ffffffff1660e01b8152600401611b8a91815260200190565b602060405180830381865af4158015611ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc99190615075565b915050935093915050565b5f80516020615c7683398151915254600160681b900460ff1690565b33611bf96125dc565b6001600160a01b0316816001600160a01b031614611c345760405162d1953b60e31b81526001600160a01b038216600482015260240161092a565b816001600160a01b03163b5f03611c69576040516361798f2f60e11b81526001600160a01b038316600482015260240161092a565b611c7282613ff4565b5050565b5f808080611c8586600c6137a3565b6040516302d764c760e21b81526001600160601b03871660048201526001600160a01b03881690630b5d931c906024015f60405180830381865afa158015611ccf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cf69190810190615516565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529094505f906001600160a01b038916906357f80bbf9060240160e060405180830381865afa158015611d4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6e91906152ac565b905080608001519150611d8a8160a001518260c001518861195a565b9599909850949650909450505050565b5f80611da533610f9b565b611db086600c6137a3565b611dbb8560156137a3565b611dc684601f6137a3565b5f80611e328a6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2b91906150f0565b8987611c76565b600354604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf90990611e74908d908b908b90899060040161527a565b5f604051808303815f87803b158015611e8b575f80fd5b505af1158015611e9d573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f249190615075565b8b876040518463ffffffff1660e01b8152600401611f449392919061533f565b6020604051808303815f875af1158015611f60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f849190615075565b508015612081575f611f9e6001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015611feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200f91906150f0565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b158015612069575f80fd5b505af115801561207b573d5f803e3d5ffd5b50505050505b5050965096945050505050565b5f805f80516020615c3683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156120fa573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061211e91906150d7565b156121a9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561217f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a391906150f0565b91505090565b54600160601b90046001600160a01b0316919050565b5f806121c961385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561220a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061222e91906150f0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa15801561227c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a091906152ac565b606001516122cc5760405163664958ad60e01b81526001600160601b038416600482015260240161092a565b5f6122df6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561232c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235091906150f0565b90507f67e4007a2396f32c2c58b0546d5dc80e8097a965b3de4127c33f3610864416bd8482876040516123859392919061533f565b60405180910390a1610e4582858388613f28565b5f80516020615c5683398151915280545f9190600160a01b900460ff166123c0575f6121a3565b638fb3603760e01b91505090565b5f806123d861385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612419573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243d91906150f0565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa15801561248d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b191906152ac565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612507573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061252b91906150f0565b6001600160a01b03166328802681868460ff6040518463ffffffff1660e01b815260040161255b939291906156c8565b5f604051808303815f87803b158015612572575f80fd5b505af1158015612584573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615c56833981519152546001600160a01b031690565b61260281601f6137a3565b5f8061260c61385a565b600354604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03881660248301529395509193505f92839291169063aa9acb2c9060440160408051808303815f875af115801561266c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126909190615684565b9150915060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271791906150f0565b866127228686613e94565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612769573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061278d9190615075565b6040518563ffffffff1660e01b81526004016127ac949392919061527a565b5f604051808303815f87803b1580156127c3575f80fd5b505af11580156127d5573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061285a9190615075565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a161288f8282613e94565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156128e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061290a91906150d7565b15610e45575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561294c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297091906150f0565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156129bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129e39190810190615740565b905080604001516001600160a01b03166354f0d84c82604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5c91906150f0565b6001546001600160a01b0316604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612ab5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad991906150f0565b612ae38787613e94565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015612b38575f80fd5b505af1158015612b4a573d5f803e3d5ffd5b50505050505050505050565b612b5f33610f9b565b612b6a8360156137a3565b60208201515f612b826001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015612bce573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612bf5919081019061545d565b6020015190505f876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c5c91906150f0565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282848773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ccb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cef9190615075565b6040518563ffffffff1660e01b8152600401612d0e949392919061527a565b5f604051808303815f87803b158015612d25575f80fd5b505af1158015612d37573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c82858773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612da8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dcc9190615075565b6040518563ffffffff1660e01b8152600401612deb949392919061527a565b5f604051808303815f87803b158015612e02575f80fd5b505af1158015612e14573d5f803e3d5ffd5b5050600354602088015160405163ad328d9f60e01b81526001600160a01b03909216935063ad328d9f9250612e51918c918b918a9060040161527a565b5f604051808303815f87803b158015612e68575f80fd5b505af1158015612e7a573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612edd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f019190615075565b89876040518463ffffffff1660e01b8152600401612f219392919061533f565b6020604051808303815f875af1158015612f3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f619190615075565b505050505050505050565b612f778360156137a3565b5f80612f8161385a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fe691906150f0565b90505f612ffb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613047573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261306e919081019061545d565b6020015160405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa1580156130c1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130e8919081019061581f565b90506130f7815f015183613919565b15613133578051604051636083e75360e01b81526001600160601b03808b1660048301529182166024820152908316604482015260640161092a565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa1580156131ca573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131f19190810190615516565b51156132ef575f61320a6001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613257573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061327b91906150f0565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b1580156132d7575f80fd5b505af11580156132e9573d5f803e3d5ffd5b50505050505b5050505050505050565b61330233610f9b565b61330d82601f6137a3565b5f6133206001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561336f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613396919081019061545d565b6020015160405163c52721a360e01b81526001600160a01b03841660048201526001600160601b0382166024820152600160448201529091505f9073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063c52721a3906064015f60405180830381865af415801561340a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261343191908101906159b2565b9150505f8190505f61344c8660e00151876101600151613e94565b90505f613463876101000151886101800151613e94565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134ce91906150f0565b6002549091506001600160a01b031663d56cd3d582896134ee8688613e94565b886040518563ffffffff1660e01b815260040161350e949392919061527a565b5f604051808303815f87803b158015613525575f80fd5b505af1158015613537573d5f803e3d5ffd5b50506002546040516317bb009960e21b81526001600160a01b039091169250635eec026491506135719084908e908790899060040161527a565b5f604051808303815f87803b158015613588575f80fd5b505af115801561359a573d5f803e3d5ffd5b5050505050505050505050505050565b5f805f80516020615c3683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061363a91906150d7565b156136665780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161092a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156136b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136dc91906150d7565b6137045760405163b9304b0d60e01b81526001600160a01b038416600482015260240161092a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613756573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061377a9190615075565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015613805573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061382991906150d7565b611c725760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161092a565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed361388a6001546001600160a01b031690565b33600f6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af41580156138e6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261390d91908101906159b2565b90519590945092505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561397a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061399e91906150d7565b9392505050565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa1580156139f1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a189190810190615740565b905080604001516001600160a01b03166354f0d84c82604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a9191906150f0565b6040516001600160e01b031960e084901b1681526001600160a01b03918216600482015290861660248201526001600160601b03851660448201526064015b5f604051808303815f87803b158015613ae7575f80fd5b505af1158015612f61573d5f803e3d5ffd5b6101dc614054565b5f80516020615c568339815191525f80613b39613b1c6125dc565b8730613b2b60045f8a8c6159f5565b613b3491615a1c565b61408c565b915091508161110d5763ffffffff811615613bd457825460ff60a01b1916600160a01b178355613b676125dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401613b9693929190615a54565b5f604051808303815f87803b158015613bad575f80fd5b505af1158015613bbf573d5f803e3d5ffd5b5050845460ff60a01b191685555061110d9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161092a565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af4158015613c58573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061399e9190615075565b5f80516020615c968339815191528054600160401b810460ff1615906001600160401b03165f81158015613cad5750825b90505f826001600160401b03166001148015613cc85750303b155b905081158015613cd6575080155b15613cf45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613d1e57845460ff60401b1916600160401b1785555b5f8087806020019051810190613d349190615a93565b91509150613d4382828b614194565b613d4d6022614236565b600280546001600160a01b0319166001600160a01b0392909216919091179055613d77601f614236565b600380546001600160a01b0319166001600160a01b0392909216919091179055613da1600b614236565b600480546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613dfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e2091906150f0565b600580546001600160a01b0319166001600160a01b0392909216919091179055613e50631b5e575560e01b6142cd565b5050831561120857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016111ff565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401613c3d565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c9060440161395f565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613f74573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f9b9190810190615740565b60408082015190516340cda00760e11b81526001600160a01b0386811660048301526001600160601b038616602483015292935091169063819b400e90604401613ad0565b5f61399e8383670de0b6b3a76400006142f9565b5f80516020615c5683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80516020615c9683398151915254600160401b900460ff1661408a57604051631afcd79f60e31b815260040160405180910390fd5b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516140fa9190615ac0565b5f60405180830381855afa9150503d805f8114614132576040519150601f19603f3d011682016040523d82523d5f602084013e614137565b606091505b50915091508115614189576040815110614169578080602001905181019061415f9190615ad6565b9094509250614189565b6020815110614189578080602001905181019061418691906150d7565b93505b505094509492505050565b61419c614054565b6141a46143b8565b6142218383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142099190615075565b60085f8660405180602001604052805f8152506143c8565b61423163daf9067160e01b6142cd565b505050565b5f6142496001546001600160a01b031690565b6001600160a01b031663d39e604383614260611bd4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156142a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142c791906150f0565b92915050565b6142d5614054565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f838302815f1985870982811083820303915050805f0361432d5783828161432357614323615b08565b049250505061399e565b80841161434d5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6143c0614054565b61408a614572565b6143d0614054565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614426573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061444a91906150d7565b6144725760405163cf6935e560e01b81526001600160a01b038816600482015260240161092a565b61447b876145a0565b61448586836145b4565b5f80516020615c7683398151915280546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff871602178155604080516376b707b760e01b815290516001600160a01b038a16916376b707b79160048083019260209291908290030181865afa158015614502573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906145269190615b1c565b815461ffff60681b1916600160681b60ff929092169190910260ff60701b191617600160701b85151502178155600181016145618382615b7b565b506132ef634a531f3360e01b6142cd565b61457a614054565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6145a8614054565b6145b18161462a565b50565b6145bc614054565b6145c58261463b565b6145cd614707565b6001600160a01b0381166145f45760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615c3683398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614632614054565b6145b181613ff4565b614643614054565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146bd91906150d7565b6146e55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161092a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61470f614054565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f6020828403121561475c575f80fd5b81356001600160e01b03198116811461399e575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516147e9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261482d610100840182614773565b949350505050565b6001600160601b03811681146145b1575f80fd5b803561485481614835565b919050565b5f806040838503121561486a575f80fd5b823561487581614835565b9150602083013561488581614835565b809150509250929050565b5f602082840312156148a0575f80fd5b813561399e81614835565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b03811182821017156148e2576148e26148ab565b60405290565b60405161024081016001600160401b03811182821017156148e2576148e26148ab565b60405160c081016001600160401b03811182821017156148e2576148e26148ab565b60405160e081016001600160401b03811182821017156148e2576148e26148ab565b6040516101e081016001600160401b03811182821017156148e2576148e26148ab565b604051608081016001600160401b03811182821017156148e2576148e26148ab565b604051601f8201601f191681016001600160401b03811182821017156149bc576149bc6148ab565b604052919050565b5f6001600160401b038211156149dc576149dc6148ab565b50601f01601f191660200190565b5f82601f8301126149f9575f80fd5b8135614a0c614a07826149c4565b614994565b818152846020838601011115614a20575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614a4c575f80fd5b81356001600160401b03811115614a61575f80fd5b61482d848285016149ea565b6001600160a01b03811681146145b1575f80fd5b6001600160c01b0319811681146145b1575f80fd5b803561485481614a81565b64ffffffffff811681146145b1575f80fd5b803561485481614aa1565b61ffff811681146145b1575f80fd5b803561485481614abe565b5f6102008284031215614ae9575f80fd5b614af16148bf565b9050614afc82614849565b8152614b0a60208301614849565b6020820152614b1b60408301614a96565b6040820152614b2c60608301614a96565b6060820152614b3d60808301614849565b6080820152614b4e60a08301614849565b60a0820152614b5f60c08301614ab3565b60c082015260e08201356001600160401b03811115614b7c575f80fd5b614b88848285016149ea565b60e0830152506101008201356001600160401b03811115614ba7575f80fd5b614bb3848285016149ea565b61010083015250614bc76101208301614acd565b610120820152614bda6101408301614acd565b610140820152614bed6101608301614849565b610160820152614c006101808301614849565b610180820152614c136101a08301614ab3565b6101a0820152614c266101c08301614ab3565b6101c0820152614c396101e08301614ab3565b6101e082015292915050565b5f805f8060808587031215614c58575f80fd5b8435614c6381614a6d565b93506020850135614c7381614a6d565b92506040850135614c8381614835565b915060608501356001600160401b03811115614c9d575f80fd5b614ca987828801614ad8565b91505092959194509250565b5f8060408385031215614cc6575f80fd5b8235614cd181614a6d565b915060208301356001600160401b03811115614ceb575f80fd5b614cf7858286016149ea565b9150509250929050565b5f805f60608486031215614d13575f80fd5b83359250602084013591506040840135614d2c81614835565b809150509250925092565b5f60208284031215614d47575f80fd5b813561399e81614a6d565b5f805f60608486031215614d64575f80fd5b8335614d6f81614a6d565b92506020840135614d7f81614835565b91506040840135614d2c81614835565b5f805f805f8060c08789031215614da4575f80fd5b8635614daf81614a6d565b95506020870135614dbf81614a6d565b94506040870135614dcf81614835565b93506060870135614ddf81614835565b92506080870135614def81614835565b915060a0870135614dff81614835565b809150509295509295509295565b5f805f805f60a08688031215614e21575f80fd5b8535614e2c81614a6d565b94506020860135614e3c81614a6d565b93506040860135614e4c81614835565b925060608601356001600160401b03811115614e66575f80fd5b614e7288828901614ad8565b9250506080860135614e8381614835565b809150509295509295909350565b5f805f60608486031215614ea3575f80fd5b8335614eae81614835565b92506020840135614d7f81614abe565b5f80828403610260811215614ed1575f80fd5b8335614edc81614835565b9250610240601f1982011215614ef0575f80fd5b50614ef96148e8565b614f0560208501614849565b8152614f1360408501614849565b6020820152614f2460608501614849565b6040820152614f3560808501614849565b6060820152614f4660a08501614849565b6080820152614f5760c08501614849565b60a0820152614f6860e08501614849565b60c0820152614f7a6101008501614849565b60e0820152614f8c6101208501614849565b610100820152614f9f6101408501614849565b610120820152614fb26101608501614849565b610140820152614fc56101808501614849565b610160820152614fd86101a08501614849565b610180820152614feb6101c08501614849565b6101a0820152614ffe6101e08501614849565b6101c08201526150116102008501614849565b6101e08201526150246102208501614849565b6102008201526150376102408501614849565b610220820152809150509250929050565b5f60208284031215615058575f80fd5b815162ffffff8116811461399e575f80fd5b805161485481614835565b5f60208284031215615085575f80fd5b815161399e81614835565b600181811c908216806150a457607f821691505b6020821081036150c257634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114614854575f80fd5b5f602082840312156150e7575f80fd5b61399e826150c8565b5f60208284031215615100575f80fd5b815161399e81614a6d565b5f6040828403121561511b575f80fd5b604080519081016001600160401b038111828210171561513d5761513d6148ab565b604052825181526020928301519281019290925250919050565b5f615164614a07846149c4565b9050828152838383011115615177575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f83011261519c575f80fd5b61399e83835160208501615157565b805161485481614aa1565b5f602082840312156151c6575f80fd5b81516001600160401b038111156151db575f80fd5b820160e081850312156151ec575f80fd5b6151f461490b565b81516151ff81614835565b815261520e856020840161510b565b602082015260608201516001600160401b0381111561522b575f80fd5b6152378682850161518d565b604083015250608082015161524b81614aa1565b606082015261525c60a083016151ab565b608082015261526d60c083016151ab565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f60e08284031280156152bd575f80fd5b506152c661492d565b82516152d181614835565b81526152df602084016150c8565b60208201526152f0604084016150c8565b6040820152615301606084016150c8565b6060820152615312608084016150c8565b608082015260a0838101519082015260c0928301519281019290925250919050565b805161485481614a6d565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b6001600160401b03811681146145b1575f80fd5b5f6020828403121561538f575f80fd5b815161399e8161536b565b60ff811681146145b1575f80fd5b80516148548161539a565b5f60e082840312156153c3575f80fd5b6153cb61492d565b90506153d68261506a565b81526153e46020830161506a565b60208201526153f5604083016153a8565b6040820152615406606083016150c8565b606082015261541760808301615334565b608082015261542860a08301615334565b60a082015260c08201516001600160401b03811115615445575f80fd5b6154518482850161518d565b60c08301525092915050565b5f6020828403121561546d575f80fd5b81516001600160401b03811115615482575f80fd5b61482d848285016153b3565b5f82601f83011261549d575f80fd5b81516001600160401b038111156154b6576154b66148ab565b8060051b6154c660208201614994565b918252602081850181019290810190868411156154e1575f80fd5b6020860192505b8383101561550c5782516154fb81614835565b8252602092830192909101906154e8565b9695505050505050565b5f60208284031215615526575f80fd5b81516001600160401b0381111561553b575f80fd5b82016102c0818503121561554d575f80fd5b61555561494f565b61555e826150c8565b815261556c602083016150c8565b602082015261557d604083016150c8565b604082015261558e606083016153a8565b606082015261559f608083016153a8565b60808201526155b060a0830161506a565b60a08201526155c160c0830161506a565b60c082015260e08201516001600160401b038111156155de575f80fd5b6155ea8682850161548e565b60e0830152506155fe85610100840161510b565b61010082015261561285610140840161510b565b61012082015261562685610180840161510b565b61014082015261563a856101c0840161510b565b61016082015261564e85610200840161510b565b61018082015261566285610240840161510b565b6101a082015261567685610280840161510b565b6101c0820152949350505050565b5f8060408385031215615695575f80fd5b82516156a081614835565b602084015190925061488581614835565b5f602082840312156156c1575f80fd5b5051919050565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526020840151151560408301526040840151151560608301526060840151151560808301526080840151151560a083015260a084015160c083015260c084015160e083015261482d61010083018460ff169052565b5f60208284031215615750575f80fd5b81516001600160401b03811115615765575f80fd5b820160808185031215615776575f80fd5b61577e614972565b81516001600160401b03811115615793575f80fd5b8201601f810186136157a3575f80fd5b6157b286825160208401615157565b8252506157c160208301615334565b60208201526157d260408301615334565b604082015260608201516001600160401b038111156157ef575f80fd5b6157fb8682850161518d565b606083015250949350505050565b805161485481614a81565b805161485481614abe565b5f6020828403121561582f575f80fd5b81516001600160401b03811115615844575f80fd5b82016102008185031215615856575f80fd5b61585e6148bf565b6158678261506a565b81526158756020830161506a565b602082015261588660408301615809565b604082015261589760608301615809565b60608201526158a86080830161506a565b60808201526158b960a0830161506a565b60a08201526158ca60c083016151ab565b60c082015260e08201516001600160401b038111156158e7575f80fd5b6158f38682850161518d565b60e0830152506101008201516001600160401b03811115615912575f80fd5b61591e8682850161518d565b610100830152506159326101208301615814565b6101208201526159456101408301615814565b610140820152615958610160830161506a565b61016082015261596b610180830161506a565b61018082015261597e6101a083016151ab565b6101a08201526159916101c083016151ab565b6101c08201526159a46101e083016151ab565b6101e0820152949350505050565b5f80604083850312156159c3575f80fd5b82516001600160401b038111156159d8575f80fd5b6159e4858286016153b3565b925050602083015161488581614a6d565b5f8085851115615a03575f80fd5b83861115615a0f575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615a4d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215615aa4575f80fd5b8251615aaf81614a6d565b602084015190925061488581614a6d565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615ae7575f80fd5b615af0836150c8565b9150602083015163ffffffff81168114614885575f80fd5b634e487b7160e01b5f52601260045260245ffd5b5f60208284031215615b2c575f80fd5b815161399e8161539a565b601f82111561423157805f5260205f20601f840160051c81016020851015615b5c5750805b601f840160051c820191505b81811015610e45575f8155600101615b68565b81516001600160401b03811115615b9457615b946148ab565b615ba881615ba28454615090565b84615b37565b6020601f821160018114615bda575f8315615bc35750848201515b5f19600385901b1c1916600184901b178455610e45565b5f84815260208120601f198516915b82811015615c095787850151825560209485019460019092019101615be9565b5084821015615c2657868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220daa33c58d10d6505491b8599ec1a97abe5b9bc324d20c09af3e3e86d034ea08b64736f6c634300081a0033",
1366
+ "linkReferences": {
1367
+ "contracts/shared/ContractLib.sol": {
1368
+ "ContractLib": [
1369
+ {
1370
+ "length": 20,
1371
+ "start": 13481
1372
+ },
1373
+ {
1374
+ "length": 20,
1375
+ "start": 14646
1376
+ },
1377
+ {
1378
+ "length": 20,
1379
+ "start": 17604
1380
+ },
1381
+ {
1382
+ "length": 20,
1383
+ "start": 18231
1384
+ }
1385
+ ]
1386
+ },
1387
+ "contracts/type/Amount.sol": {
1388
+ "AmountLib": [
1389
+ {
1390
+ "length": 20,
1391
+ "start": 2746
1392
+ },
1393
+ {
1394
+ "length": 20,
1395
+ "start": 6746
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 6868
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 7085
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 10234
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 10628
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 11612
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 11833
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 15605
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 16274
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 16348
1432
+ }
1433
+ ]
1434
+ },
1435
+ "contracts/type/Fee.sol": {
1436
+ "FeeLib": [
1437
+ {
1438
+ "length": 20,
1439
+ "start": 5780
1440
+ }
1441
+ ]
1442
+ },
1443
+ "contracts/type/NftId.sol": {
1444
+ "NftIdLib": [
1445
+ {
1446
+ "length": 20,
1447
+ "start": 1692
1448
+ },
1449
+ {
1450
+ "length": 20,
1451
+ "start": 8600
1452
+ },
1453
+ {
1454
+ "length": 20,
1455
+ "start": 14004
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 14871
1460
+ }
1461
+ ]
1462
+ },
1463
+ "contracts/type/RoleId.sol": {
1464
+ "RoleIdLib": [
1465
+ {
1466
+ "length": 20,
1467
+ "start": 6567
1468
+ }
1469
+ ]
1470
+ },
1471
+ "contracts/type/UFixed.sol": {
1472
+ "UFixedLib": [
1473
+ {
1474
+ "length": 20,
1475
+ "start": 6896
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 7142
1480
+ }
1481
+ ]
1482
+ },
1483
+ "contracts/type/Version.sol": {
1484
+ "VersionLib": [
1485
+ {
1486
+ "length": 20,
1487
+ "start": 1511
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 3876
1492
+ }
1493
+ ]
1494
+ }
1495
+ },
1496
+ "deployedLinkReferences": {
1497
+ "contracts/shared/ContractLib.sol": {
1498
+ "ContractLib": [
1499
+ {
1500
+ "length": 20,
1501
+ "start": 13267
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 14432
1506
+ },
1507
+ {
1508
+ "length": 20,
1509
+ "start": 17390
1510
+ },
1511
+ {
1512
+ "length": 20,
1513
+ "start": 18017
1514
+ }
1515
+ ]
1516
+ },
1517
+ "contracts/type/Amount.sol": {
1518
+ "AmountLib": [
1519
+ {
1520
+ "length": 20,
1521
+ "start": 2532
1522
+ },
1523
+ {
1524
+ "length": 20,
1525
+ "start": 6532
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 6654
1530
+ },
1531
+ {
1532
+ "length": 20,
1533
+ "start": 6871
1534
+ },
1535
+ {
1536
+ "length": 20,
1537
+ "start": 10020
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 10414
1542
+ },
1543
+ {
1544
+ "length": 20,
1545
+ "start": 11398
1546
+ },
1547
+ {
1548
+ "length": 20,
1549
+ "start": 11619
1550
+ },
1551
+ {
1552
+ "length": 20,
1553
+ "start": 15391
1554
+ },
1555
+ {
1556
+ "length": 20,
1557
+ "start": 16060
1558
+ },
1559
+ {
1560
+ "length": 20,
1561
+ "start": 16134
1562
+ }
1563
+ ]
1564
+ },
1565
+ "contracts/type/Fee.sol": {
1566
+ "FeeLib": [
1567
+ {
1568
+ "length": 20,
1569
+ "start": 5566
1570
+ }
1571
+ ]
1572
+ },
1573
+ "contracts/type/NftId.sol": {
1574
+ "NftIdLib": [
1575
+ {
1576
+ "length": 20,
1577
+ "start": 1478
1578
+ },
1579
+ {
1580
+ "length": 20,
1581
+ "start": 8386
1582
+ },
1583
+ {
1584
+ "length": 20,
1585
+ "start": 13790
1586
+ },
1587
+ {
1588
+ "length": 20,
1589
+ "start": 14657
1590
+ }
1591
+ ]
1592
+ },
1593
+ "contracts/type/RoleId.sol": {
1594
+ "RoleIdLib": [
1595
+ {
1596
+ "length": 20,
1597
+ "start": 6353
1598
+ }
1599
+ ]
1600
+ },
1601
+ "contracts/type/UFixed.sol": {
1602
+ "UFixedLib": [
1603
+ {
1604
+ "length": 20,
1605
+ "start": 6682
1606
+ },
1607
+ {
1608
+ "length": 20,
1609
+ "start": 6928
1610
+ }
1611
+ ]
1612
+ },
1613
+ "contracts/type/Version.sol": {
1614
+ "VersionLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 1297
1618
+ },
1619
+ {
1620
+ "length": 20,
1621
+ "start": 3662
1622
+ }
1623
+ ]
1624
+ }
1625
+ }
1626
+ }