@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e79d227-681

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