@etherisc/gif-next 0.0.2-efef0ea-320 → 0.0.2-f00a368-815

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