@etherisc/gif-next 0.0.2-f752d2a-551 → 0.0.2-f78c672-338

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