@etherisc/gif-next 0.0.2-e026265-044 → 0.0.2-e04dbfc-031

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