@etherisc/gif-next 0.0.2-cff6256-424 → 0.0.2-cff7366-494

Sign up to get free protection for your applications and to get access to all the features.
Files changed (708) hide show
  1. package/README.md +146 -22
  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/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  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/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json} +125 -11
  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 +1310 -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 +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1004 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1494 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +862 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +903 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +984 -0
  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 +1415 -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 +1965 -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 +1429 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1163 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2267 -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 +585 -309
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +400 -171
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +399 -3011
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1684 -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 +1541 -538
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +487 -296
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +370 -92
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3668 -0
  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 +4 -0
  79. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  80. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  81. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  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 +30 -112
  90. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  92. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  93. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  96. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  97. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  98. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  100. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  102. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  103. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  104. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  105. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +382 -371
  106. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  108. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +863 -0
  110. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  112. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  114. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1240 -0
  116. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  118. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  119. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1360 -0
  120. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  121. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  122. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +922 -0
  124. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  125. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +895 -0
  126. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1285 -0
  128. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/Pool.sol/Pool.json +1015 -0
  130. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1619 -0
  132. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +794 -0
  134. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  135. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +806 -0
  136. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  138. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  139. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1134 -0
  140. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  141. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  142. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  143. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1439 -0
  144. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +858 -0
  146. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +268 -256
  148. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  149. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  150. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  151. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +944 -0
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  153. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  155. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +991 -0
  156. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  157. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +150 -187
  158. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  159. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1313 -0
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +810 -0
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  163. package/artifacts/contracts/product/PricingService.sol/PricingService.json +923 -0
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  165. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  166. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  167. package/artifacts/contracts/product/Product.sol/Product.json +1092 -0
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  169. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  171. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  173. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  175. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +606 -173
  176. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  177. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +371 -205
  178. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  179. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  180. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/Registry.sol/Registry.json +938 -206
  182. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  183. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +347 -322
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  187. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -128
  188. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  190. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  191. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  192. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  193. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  194. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  196. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  197. package/artifacts/contracts/shared/Component.sol/Component.json +695 -0
  198. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1908 -0
  200. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +850 -0
  202. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  203. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +182 -189
  204. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  205. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  206. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  207. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  208. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  209. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  210. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +346 -172
  212. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  213. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1467 -0
  214. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  215. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  216. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  217. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  218. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  220. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  222. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  223. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  224. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +40 -31
  226. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  227. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  228. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IService.sol/IService.json +119 -165
  230. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  231. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  232. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  233. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +785 -0
  234. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  235. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  236. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  237. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  238. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  239. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  240. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  242. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  244. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +96 -48
  246. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  248. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  249. package/artifacts/contracts/shared/Service.sol/Service.json +150 -176
  250. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  251. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +734 -8
  252. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  253. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  254. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  255. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  256. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  257. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1435 -0
  258. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  259. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  260. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  262. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  263. package/artifacts/contracts/staking/Staking.sol/Staking.json +1816 -0
  264. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  266. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +780 -0
  268. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  270. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  271. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1265 -0
  272. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  273. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +734 -0
  274. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  275. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  276. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  277. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  278. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  279. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  280. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  282. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  284. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  286. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  288. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  290. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  292. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  293. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  294. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  296. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  297. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  298. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  300. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  302. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  304. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  306. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +180 -0
  308. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  310. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  312. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  314. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  316. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  318. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  320. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  322. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  324. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  326. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  328. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  330. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  331. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  332. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  333. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  334. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  335. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  336. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  337. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  338. package/contracts/authorization/AccessAdmin.sol +616 -0
  339. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  340. package/contracts/authorization/Authorization.sol +289 -0
  341. package/contracts/authorization/IAccess.sol +49 -0
  342. package/contracts/authorization/IAccessAdmin.sol +137 -0
  343. package/contracts/authorization/IAuthorization.sol +60 -0
  344. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  345. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  346. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  347. package/contracts/distribution/BasicDistribution.sol +139 -0
  348. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  349. package/contracts/distribution/Distribution.sol +284 -0
  350. package/contracts/distribution/DistributionService.sol +354 -0
  351. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  352. package/contracts/distribution/IDistributionComponent.sol +52 -0
  353. package/contracts/distribution/IDistributionService.sol +100 -0
  354. package/contracts/examples/fire/DamageLevel.sol +59 -0
  355. package/contracts/examples/fire/FirePool.sol +86 -0
  356. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  357. package/contracts/examples/fire/FireProduct.sol +431 -0
  358. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  359. package/contracts/examples/fire/FireUSD.sol +26 -0
  360. package/contracts/examples/unpermissioned/SimpleDistribution.sol +65 -0
  361. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  362. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  363. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  364. package/contracts/instance/BundleSet.sol +130 -0
  365. package/contracts/instance/IInstance.sol +57 -19
  366. package/contracts/instance/IInstanceService.sol +57 -17
  367. package/contracts/instance/Instance.sol +169 -373
  368. package/contracts/instance/InstanceAdmin.sol +285 -0
  369. package/contracts/instance/InstanceAuthorizationV3.sol +218 -0
  370. package/contracts/instance/InstanceReader.sol +362 -73
  371. package/contracts/instance/InstanceService.sol +336 -103
  372. package/contracts/instance/InstanceServiceManager.sol +14 -31
  373. package/contracts/instance/InstanceStore.sol +287 -0
  374. package/contracts/instance/RiskSet.sol +119 -0
  375. package/contracts/instance/base/BalanceStore.sol +123 -0
  376. package/contracts/instance/base/Cloneable.sol +28 -0
  377. package/contracts/instance/base/ObjectCounter.sol +21 -0
  378. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  379. package/contracts/instance/base/ObjectSet.sol +78 -0
  380. package/contracts/instance/module/IAccess.sol +29 -21
  381. package/contracts/instance/module/IBundle.sol +8 -7
  382. package/contracts/instance/module/IComponents.sol +50 -0
  383. package/contracts/instance/module/IDistribution.sol +6 -4
  384. package/contracts/instance/module/IPolicy.sol +59 -19
  385. package/contracts/instance/module/IRisk.sol +2 -1
  386. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  387. package/contracts/oracle/BasicOracle.sol +47 -0
  388. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  389. package/contracts/oracle/IOracle.sol +36 -0
  390. package/contracts/oracle/IOracleComponent.sol +33 -0
  391. package/contracts/oracle/IOracleService.sol +66 -0
  392. package/contracts/oracle/Oracle.sol +156 -0
  393. package/contracts/oracle/OracleService.sol +309 -0
  394. package/contracts/oracle/OracleServiceManager.sol +39 -0
  395. package/contracts/pool/BasicPool.sol +175 -0
  396. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  397. package/contracts/pool/BundleService.sol +423 -0
  398. package/contracts/pool/BundleServiceManager.sol +39 -0
  399. package/contracts/pool/IBundleService.sol +122 -0
  400. package/contracts/pool/IPoolComponent.sol +62 -0
  401. package/contracts/pool/IPoolService.sol +153 -0
  402. package/contracts/pool/Pool.sol +345 -0
  403. package/contracts/pool/PoolService.sol +612 -0
  404. package/contracts/pool/PoolServiceManager.sol +39 -0
  405. package/contracts/product/ApplicationService.sol +259 -0
  406. package/contracts/product/ApplicationServiceManager.sol +38 -0
  407. package/contracts/product/BasicProduct.sol +49 -0
  408. package/contracts/product/BasicProductAuthorization.sol +42 -0
  409. package/contracts/product/ClaimService.sol +614 -0
  410. package/contracts/product/ClaimServiceManager.sol +38 -0
  411. package/contracts/product/IApplicationService.sol +66 -0
  412. package/contracts/product/IClaimService.sol +123 -0
  413. package/contracts/product/IPolicyService.sol +90 -0
  414. package/contracts/product/IPricingService.sol +39 -0
  415. package/contracts/product/IProductComponent.sol +59 -0
  416. package/contracts/product/IRiskService.sol +33 -0
  417. package/contracts/product/PolicyService.sol +733 -0
  418. package/contracts/product/PolicyServiceManager.sol +39 -0
  419. package/contracts/product/PricingService.sol +300 -0
  420. package/contracts/product/PricingServiceManager.sol +39 -0
  421. package/contracts/product/Product.sol +427 -0
  422. package/contracts/product/RiskService.sol +107 -0
  423. package/contracts/product/RiskServiceManager.sol +39 -0
  424. package/contracts/registry/ChainNft.sol +78 -33
  425. package/contracts/registry/IRegistry.sol +127 -48
  426. package/contracts/registry/IRegistryService.sol +45 -16
  427. package/contracts/registry/ITransferInterceptor.sol +1 -1
  428. package/contracts/registry/Registry.sol +540 -304
  429. package/contracts/registry/RegistryAdmin.sol +451 -0
  430. package/contracts/registry/RegistryService.sol +126 -284
  431. package/contracts/registry/RegistryServiceManager.sol +26 -53
  432. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  433. package/contracts/registry/ReleaseRegistry.sol +485 -0
  434. package/contracts/registry/ServiceAuthorizationV3.sol +176 -0
  435. package/contracts/registry/TokenRegistry.sol +261 -57
  436. package/contracts/shared/Component.sol +222 -0
  437. package/contracts/shared/ComponentService.sol +866 -0
  438. package/contracts/shared/ComponentServiceManager.sol +38 -0
  439. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  440. package/contracts/shared/ContractLib.sol +224 -0
  441. package/contracts/shared/IComponent.sol +67 -0
  442. package/contracts/shared/IComponentService.sol +134 -0
  443. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  444. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  445. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  446. package/contracts/shared/INftOwnable.sol +15 -12
  447. package/contracts/shared/IPolicyHolder.sol +35 -0
  448. package/contracts/shared/IRegisterable.sol +15 -6
  449. package/contracts/shared/IRegistryLinked.sol +11 -0
  450. package/contracts/shared/IService.sol +16 -6
  451. package/contracts/shared/InitializableERC165.sol +27 -0
  452. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  453. package/contracts/shared/KeyValueStore.sol +131 -0
  454. package/contracts/shared/Lifecycle.sol +88 -0
  455. package/contracts/shared/NftIdSet.sol +65 -0
  456. package/contracts/shared/NftOwnable.sol +75 -84
  457. package/contracts/shared/PolicyHolder.sol +62 -0
  458. package/contracts/shared/Registerable.sol +34 -41
  459. package/contracts/shared/RegistryLinked.sol +38 -0
  460. package/contracts/shared/Service.sol +61 -31
  461. package/contracts/shared/TokenHandler.sol +374 -12
  462. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  463. package/contracts/staking/IStaking.sol +173 -0
  464. package/contracts/staking/IStakingService.sol +157 -0
  465. package/contracts/staking/StakeManagerLib.sol +224 -0
  466. package/contracts/staking/Staking.sol +505 -0
  467. package/contracts/staking/StakingLifecycle.sol +23 -0
  468. package/contracts/staking/StakingManager.sol +52 -0
  469. package/contracts/staking/StakingReader.sol +190 -0
  470. package/contracts/staking/StakingService.sol +440 -0
  471. package/contracts/staking/StakingServiceManager.sol +44 -0
  472. package/contracts/staking/StakingStore.sol +605 -0
  473. package/contracts/staking/TargetManagerLib.sol +211 -0
  474. package/contracts/{types → type}/AddressSet.sol +1 -1
  475. package/contracts/type/Amount.sol +150 -0
  476. package/contracts/{types → type}/Blocknumber.sol +27 -3
  477. package/contracts/type/ClaimId.sol +80 -0
  478. package/contracts/{types → type}/DistributorType.sol +2 -2
  479. package/contracts/{types → type}/Fee.sol +33 -23
  480. package/contracts/{types → type}/Key32.sol +2 -2
  481. package/contracts/type/Key32Set.sol +62 -0
  482. package/contracts/{types → type}/NftId.sol +28 -15
  483. package/contracts/type/NftIdSet.sol +62 -0
  484. package/contracts/type/ObjectType.sol +278 -0
  485. package/contracts/type/PayoutId.sol +82 -0
  486. package/contracts/{types → type}/Referral.sol +6 -1
  487. package/contracts/type/RequestId.sol +75 -0
  488. package/contracts/{types → type}/RiskId.sol +31 -5
  489. package/contracts/type/RoleId.sol +162 -0
  490. package/contracts/type/Seconds.sol +101 -0
  491. package/contracts/type/Selector.sol +102 -0
  492. package/contracts/{types → type}/StateId.sol +48 -4
  493. package/contracts/type/String.sol +53 -0
  494. package/contracts/{types → type}/Timestamp.sol +34 -15
  495. package/contracts/{types → type}/UFixed.sol +39 -9
  496. package/contracts/{types → type}/Version.sol +5 -2
  497. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  498. package/contracts/upgradeability/ProxyManager.sol +232 -0
  499. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  500. package/contracts/upgradeability/Versionable.sol +59 -0
  501. package/package.json +11 -7
  502. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  503. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  504. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  505. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  506. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  507. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  508. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  509. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  510. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  511. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  512. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  513. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  514. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  515. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
  516. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  517. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  518. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  520. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  522. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  524. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  526. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  528. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  529. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  530. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  531. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  532. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  533. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  534. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  536. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  538. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  540. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  541. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  542. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  543. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  544. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  545. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  547. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  549. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  551. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  553. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  555. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  557. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  558. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  559. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  560. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  561. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  562. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  563. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  564. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  565. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  566. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  567. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  568. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  569. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  570. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  571. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  572. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  573. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  576. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -641
  578. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  580. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  584. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  585. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  586. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  587. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  588. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  589. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  590. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  591. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  592. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  593. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  594. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  595. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  596. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  597. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  598. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  599. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  600. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  601. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  602. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  603. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  604. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  605. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  606. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  607. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  608. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  610. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  611. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  612. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  613. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  614. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  615. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  616. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  617. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  618. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  619. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  620. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  621. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  622. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  623. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  624. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  625. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  626. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  628. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  629. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  630. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  632. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  634. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  636. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  638. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  640. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  642. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  644. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  646. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  648. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  649. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  650. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  652. package/contracts/components/BaseComponent.sol +0 -91
  653. package/contracts/components/Distribution.sol +0 -166
  654. package/contracts/components/IBaseComponent.sol +0 -25
  655. package/contracts/components/IDistributionComponent.sol +0 -46
  656. package/contracts/components/IPoolComponent.sol +0 -62
  657. package/contracts/components/IProductComponent.sol +0 -35
  658. package/contracts/components/Pool.sol +0 -258
  659. package/contracts/components/Product.sol +0 -297
  660. package/contracts/experiment/cloning/Cloner.sol +0 -47
  661. package/contracts/experiment/errors/Require.sol +0 -38
  662. package/contracts/experiment/errors/Revert.sol +0 -44
  663. package/contracts/experiment/inheritance/A.sol +0 -53
  664. package/contracts/experiment/inheritance/B.sol +0 -28
  665. package/contracts/experiment/inheritance/C.sol +0 -34
  666. package/contracts/experiment/inheritance/IA.sol +0 -13
  667. package/contracts/experiment/inheritance/IB.sol +0 -10
  668. package/contracts/experiment/inheritance/IC.sol +0 -12
  669. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  670. package/contracts/experiment/statemachine/ISM.sol +0 -25
  671. package/contracts/experiment/statemachine/SM.sol +0 -57
  672. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  673. package/contracts/experiment/types/TypeA.sol +0 -47
  674. package/contracts/experiment/types/TypeB.sol +0 -29
  675. package/contracts/instance/AccessManagedSimple.sol +0 -115
  676. package/contracts/instance/AccessManagerSimple.sol +0 -692
  677. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  678. package/contracts/instance/InstanceAccessManager.sol +0 -288
  679. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  680. package/contracts/instance/base/IInstanceBase.sol +0 -23
  681. package/contracts/instance/base/KeyValueStore.sol +0 -172
  682. package/contracts/instance/base/Lifecycle.sol +0 -100
  683. package/contracts/instance/module/ISetup.sol +0 -43
  684. package/contracts/instance/module/ITreasury.sol +0 -23
  685. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  686. package/contracts/instance/service/DistributionService.sol +0 -96
  687. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  688. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  689. package/contracts/instance/service/IDistributionService.sol +0 -12
  690. package/contracts/instance/service/IPoolService.sol +0 -37
  691. package/contracts/instance/service/IProductService.sol +0 -107
  692. package/contracts/shared/ContractDeployerLib.sol +0 -72
  693. package/contracts/shared/ERC165.sol +0 -25
  694. package/contracts/shared/ProxyManager.sol +0 -94
  695. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  696. package/contracts/shared/Versionable.sol +0 -147
  697. package/contracts/test/TestFee.sol +0 -25
  698. package/contracts/test/TestRegisterable.sol +0 -18
  699. package/contracts/test/TestRoleId.sol +0 -14
  700. package/contracts/test/TestService.sol +0 -24
  701. package/contracts/test/TestToken.sol +0 -26
  702. package/contracts/test/TestVersion.sol +0 -44
  703. package/contracts/test/TestVersionable.sol +0 -17
  704. package/contracts/types/ChainId.sol +0 -38
  705. package/contracts/types/NftIdSet.sol +0 -60
  706. package/contracts/types/NumberId.sol +0 -52
  707. package/contracts/types/ObjectType.sol +0 -152
  708. package/contracts/types/RoleId.sol +0 -88
@@ -0,0 +1,1429 @@
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
+ {
1100
+ "internalType": "address",
1101
+ "name": "from",
1102
+ "type": "address"
1103
+ },
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "to",
1107
+ "type": "address"
1108
+ },
1109
+ {
1110
+ "internalType": "uint256",
1111
+ "name": "tokenId",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "address",
1116
+ "name": "operator",
1117
+ "type": "address"
1118
+ }
1119
+ ],
1120
+ "name": "nftTransferFrom",
1121
+ "outputs": [],
1122
+ "stateMutability": "nonpayable",
1123
+ "type": "function"
1124
+ },
1125
+ {
1126
+ "inputs": [
1127
+ {
1128
+ "internalType": "ReferralId",
1129
+ "name": "referralId",
1130
+ "type": "bytes8"
1131
+ },
1132
+ {
1133
+ "internalType": "uint256",
1134
+ "name": "feeAmount",
1135
+ "type": "uint256"
1136
+ }
1137
+ ],
1138
+ "name": "processRenewal",
1139
+ "outputs": [],
1140
+ "stateMutability": "nonpayable",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "inputs": [
1145
+ {
1146
+ "internalType": "address",
1147
+ "name": "newAuthority",
1148
+ "type": "address"
1149
+ }
1150
+ ],
1151
+ "name": "setAuthority",
1152
+ "outputs": [],
1153
+ "stateMutability": "nonpayable",
1154
+ "type": "function"
1155
+ },
1156
+ {
1157
+ "inputs": [
1158
+ {
1159
+ "components": [
1160
+ {
1161
+ "internalType": "UFixed",
1162
+ "name": "fractionalFee",
1163
+ "type": "uint256"
1164
+ },
1165
+ {
1166
+ "internalType": "uint256",
1167
+ "name": "fixedFee",
1168
+ "type": "uint256"
1169
+ }
1170
+ ],
1171
+ "internalType": "struct Fee",
1172
+ "name": "distributionFee",
1173
+ "type": "tuple"
1174
+ },
1175
+ {
1176
+ "components": [
1177
+ {
1178
+ "internalType": "UFixed",
1179
+ "name": "fractionalFee",
1180
+ "type": "uint256"
1181
+ },
1182
+ {
1183
+ "internalType": "uint256",
1184
+ "name": "fixedFee",
1185
+ "type": "uint256"
1186
+ }
1187
+ ],
1188
+ "internalType": "struct Fee",
1189
+ "name": "minDistributionOwnerFee",
1190
+ "type": "tuple"
1191
+ }
1192
+ ],
1193
+ "name": "setFees",
1194
+ "outputs": [],
1195
+ "stateMutability": "nonpayable",
1196
+ "type": "function"
1197
+ },
1198
+ {
1199
+ "inputs": [
1200
+ {
1201
+ "internalType": "bool",
1202
+ "name": "locked",
1203
+ "type": "bool"
1204
+ }
1205
+ ],
1206
+ "name": "setLocked",
1207
+ "outputs": [],
1208
+ "stateMutability": "nonpayable",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "address",
1215
+ "name": "newWallet",
1216
+ "type": "address"
1217
+ }
1218
+ ],
1219
+ "name": "setWallet",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "bytes4",
1228
+ "name": "interfaceId",
1229
+ "type": "bytes4"
1230
+ }
1231
+ ],
1232
+ "name": "supportsInterface",
1233
+ "outputs": [
1234
+ {
1235
+ "internalType": "bool",
1236
+ "name": "",
1237
+ "type": "bool"
1238
+ }
1239
+ ],
1240
+ "stateMutability": "view",
1241
+ "type": "function"
1242
+ },
1243
+ {
1244
+ "inputs": [
1245
+ {
1246
+ "internalType": "NftId",
1247
+ "name": "distributorNftId",
1248
+ "type": "uint96"
1249
+ },
1250
+ {
1251
+ "internalType": "Amount",
1252
+ "name": "amount",
1253
+ "type": "uint96"
1254
+ }
1255
+ ],
1256
+ "name": "withdrawCommission",
1257
+ "outputs": [
1258
+ {
1259
+ "internalType": "Amount",
1260
+ "name": "withdrawnAmount",
1261
+ "type": "uint96"
1262
+ }
1263
+ ],
1264
+ "stateMutability": "nonpayable",
1265
+ "type": "function"
1266
+ },
1267
+ {
1268
+ "inputs": [
1269
+ {
1270
+ "internalType": "Amount",
1271
+ "name": "amount",
1272
+ "type": "uint96"
1273
+ }
1274
+ ],
1275
+ "name": "withdrawFees",
1276
+ "outputs": [
1277
+ {
1278
+ "internalType": "Amount",
1279
+ "name": "withdrawnAmount",
1280
+ "type": "uint96"
1281
+ }
1282
+ ],
1283
+ "stateMutability": "nonpayable",
1284
+ "type": "function"
1285
+ }
1286
+ ],
1287
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051614c26380380614c2683398101604081905261002e91610be6565b61006c858585856040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b8152508661007660201b60201c565b5050505050610f9d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bf5750825b90505f826001600160401b031660011480156100da5750303b155b9050811580156100e8575080155b156101065760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013457845460ff60401b1916680100000000000000001785555b6101428b8b8b8b8b8b610195565b831561018857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b61019d6101c8565b6101c086868686868660405180602001604052805f81525061021860201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021657604051631afcd79f60e31b815260040160405180910390fd5b565b6102206101c8565b61023387878585600e8a60018b896102c5565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900610263600e6104fa565b6104fa565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029061025e600b90565b81546001600160a01b0319166001600160a01b03919091161781556102bb6301a39f4760e01b610591565b5050505050505050565b6102cd6101c8565b5f6102d98a8a886105bd565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561034b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036f9190610c53565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b8152905161040f929163bf7e214f9160048083019260209291908290030181865afa1580156103c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ed9190610c53565b8c8c8c8c8c8b8b60405180602001604052805f8152508c61066e60201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047a9190610c53565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104b861025e600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104ea634a531f3360e01b610591565b61018863a9c1bc6f60e01b610591565b5f61050d6001546001600160a01b031690565b6001600160a01b031663d39e604383610524610786565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610567573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058b9190610c53565b92915050565b6105996101c8565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c036105de576105d58484600a6107ff565b50829050610667565b5f6105eb8585600c6107ff565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015610638573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261065f9190810190610d5b565b602001519150505b9392505050565b6106766101c8565b6001600160a01b03861661069d576040516327eab2e360e11b815260040160405180910390fd5b86515f036106be5760405163591eebf360e11b815260040160405180910390fd5b6106cc8989878787876108c9565b6106d58a610971565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806107018982610eaf565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a1617179055600281016107398382610eaf565b50610744600b6104fa565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610776634a531f3360e01b610591565b610188633b6f5c0360e11b610591565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fa9190610f69565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561084d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108749190810190610d5b565b905061088b81604001518460ff9081169116141590565b156108c157604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108d16101c8565b6108db8683610985565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016102bb8382610eaf565b6109796101c8565b61098281610a17565b50565b61098d6101c8565b61099682610a28565b61099e610af4565b6001600160a01b0381166109c55760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a1f6101c8565b61098281610b39565b610a306101c8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aaa9190610f84565b610ad25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b8565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610afc6101c8565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610982575f80fd5b8051610bcb81610bac565b919050565b80516001600160601b0381168114610bcb575f80fd5b5f805f805f60a08688031215610bfa575f80fd5b8551610c0581610bac565b9450610c1360208701610bd0565b93506040860151610c2381610bac565b6060870151909350610c3481610bac565b6080870151909250610c4581610bac565b809150509295509295909350565b5f60208284031215610c63575f80fd5b815161066781610bac565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610ca457610ca4610c6e565b60405290565b60ff81168114610982575f80fd5b8051610bcb81610caa565b80518015158114610bcb575f80fd5b5f82601f830112610ce1575f80fd5b81516001600160401b03811115610cfa57610cfa610c6e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2857610d28610c6e565b604052818152838201602001851015610d3f575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610d6b575f80fd5b81516001600160401b03811115610d80575f80fd5b820160e08185031215610d91575f80fd5b610d99610c82565b610da282610bd0565b8152610db060208301610bd0565b6020820152610dc160408301610cb8565b6040820152610dd260608301610cc3565b6060820152610de360808301610bc0565b6080820152610df460a08301610bc0565b60a082015260c08201516001600160401b03811115610e11575f80fd5b610e1d86828501610cd2565b60c083015250949350505050565b600181811c90821680610e3f57607f821691505b602082108103610e5d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610eaa57805f5260205f20601f840160051c81016020851015610e885750805b601f840160051c820191505b81811015610ea7575f8155600101610e94565b50505b505050565b81516001600160401b03811115610ec857610ec8610c6e565b610edc81610ed68454610e2b565b84610e63565b6020601f821160018114610f0e575f8315610ef75750848201515b5f19600385901b1c1916600184901b178455610ea7565b5f84815260208120601f198516915b82811015610f3d5787850151825560209485019460019092019101610f1d565b5084821015610f5a57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610f79575f80fd5b815161066781610caa565b5f60208284031215610f94575f80fd5b61066782610cc3565b613c7c80610faa5f395ff3fe608060405234801561000f575f80fd5b5060043610610276575f3560e01c806376b707b711610156578063b2a6b42d116100ca578063deaa59df11610084578063deaa59df146105b7578063e145d46c146105ca578063ea15869f146105f4578063f5860e1a1461061b578063f80e20721461062f578063f86664d214610642575f80fd5b8063b2a6b42d14610551578063b423086c14610564578063b6b412ba1461056c578063bf7e214f1461057f578063d16d0fe814610587578063de7b5d141461059a575f80fd5b80638f0c86fa1161011b5780638f0c86fa146104ce5780638fb36037146104e157806390edbd3514610502578063ab3fc75f14610517578063ad12ad601461052a578063ada9652e1461053d575f80fd5b806376b707b71461048a5780637a9e5e4b146104a457806387ef9ba0146104b75780638899278a146104be578063893d20e8146104c6575f80fd5b80632b5198b1116101ed57806359660bea116101b257806359660bea146104085780635ab1bd531461041b5780635dcb3bae1461042c578063644c45e01461043f5780636bd1c0eb146104475780637427d7a814610477575f80fd5b80632b5198b1146103a55780632eb3e6f4146103d1578063419197fe146103e557806343d752d3146103f85780635741e5e914610400575f80fd5b806317d7de7c1161023e57806317d7de7c146103235780631c6b2190146103385780631eff4b221461034b578063211e28b61461038057806321df0da714610395578063223668441461039d575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630fec111c146102e657806313299604146102fb578063138461e01461031b575b5f80fd5b6102a6610288366004612e28565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612e63565b610655565b6040516001600160601b0390911681526020016102b2565b6102ee610759565b6040516102b29190612ec8565b610303610917565b6040516001600160a01b0390911681526020016102b2565b6102ce610984565b61032b61098e565b6040516102b29190612f5c565b6102ce610346366004612f6e565b61099e565b6103727f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b61039361038e366004612fa1565b6109f4565b005b610303610a3b565b6102a6610a4d565b6103b86103b33660046130e0565b610b43565b6040516001600160c01b031990911681526020016102b2565b6103725f80516020613c2783398151915281565b6103936103f33660046131b5565b610ba7565b610303610bf0565b6102a6610c02565b6103b86104163660046131d1565b610cbf565b6001546001600160a01b0316610303565b6102ce61043a36600461327f565b610d16565b6102ce610d70565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610303565b6103b86104853660046132dc565b610d8b565b610492610e0b565b60405160ff90911681526020016102b2565b6103936104b236600461330d565b610e7f565b60016102a6565b610372600381565b610303610f01565b6102a66104dc36600461330d565b611032565b6104e96110f7565b6040516001600160e01b031990911681526020016102b2565b61050a61112c565b6040516102b29190613328565b61039361052536600461338e565b611151565b6103936105383660046133ab565b6111b4565b6103725f80516020613bc783398151915281565b6102ce61055f36600461330d565b611263565b61050a6112a5565b61039361057a366004613447565b6112b5565b610303611303565b61037261059536600461347a565b61131e565b5f80516020613c27833981519152546001600160a01b0316610303565b6103936105c536600461330d565b611332565b6105dd6105d83660046132dc565b611376565b6040805192835260ff9091166020830152016102b2565b6103727fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103725f80516020613c0783398151915281565b61039361063d36600461347a565b611430565b6103936106503660046134a4565b611439565b5f610662335b5f3661154f565b61066b33611032565b61068f5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d61069c828261164d565b846106af6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa158015610702573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107269190613544565b6107455760405163086391f760e31b8152336004820152602401610686565b61074f8686611704565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610809573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082d919061356a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610875610f01565b6001600160a01b0316815260200182600101805461089290613585565b80601f01602080910402602001604051908101604052809291908181526020018280546108be90613585565b80156109095780601f106108e057610100808354040283529160200191610909565b820191905f5260205f20905b8154815290600101906020018083116108ec57829003601f168201915b505050505081525091505090565b5f610920610bf0565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f91906135c8565b905090565b5f61097f30611790565b606061099861112c565b51919050565b5f6109a7610f01565b6001600160a01b0316336001600160a01b0316146109da5760405163086391f760e31b8152336004820152602401610686565b6109e33361065b565b6109ec82611984565b90505b919050565b6109fc610f01565b6001600160a01b0316336001600160a01b031614610a2f5760405163086391f760e31b8152336004820152602401610686565b610a3881611a08565b50565b5f610a4461112c565b60200151905090565b5f610a606001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610aa4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac8919061356a565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b1f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190613544565b5f610b4c610f01565b6001600160a01b0316336001600160a01b031614610b7f5760405163086391f760e31b8152336004820152602401610686565b610b883361065b565b610b998a8a8a8a8a8a8a8a8a611a84565b9a9950505050505050505050565b610baf610f01565b6001600160a01b0316336001600160a01b031614610be25760405163086391f760e31b8152336004820152602401610686565b610bec8282611b43565b5050565b5f610bf961112c565b60400151905090565b5f610c0b610a4d565b15610c8f576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c5f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c869190810190613650565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610cc933611032565b610ce85760405163637c41bb60e01b8152336004820152602401610686565b610cf13361065b565b5f610cfb33611263565b9050610d0b818888888888611bc8565b979650505050505050565b5f610d1f610f01565b6001600160a01b0316336001600160a01b031614610d525760405163086391f760e31b8152336004820152602401610686565b610d5b3361065b565b610d66848484611c7e565b90505b9392505050565b5f80516020613bc7833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610dae610d70565b846040518363ffffffff1660e01b8152600401610dcc929190613720565b602060405180830381865af4158015610de7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec9190613741565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e5b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f919061375c565b33610e88611303565b6001600160a01b0316816001600160a01b031614610ec35760405162d1953b60e31b81526001600160a01b0382166004820152602401610686565b816001600160a01b03163b5f03610ef8576040516361798f2f60e11b81526001600160a01b0383166004820152602401610686565b610bec82611e42565b5f805f80516020613bc783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f919190613544565b1561101c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ff2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101691906135c8565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613c078339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156110d3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d699190613544565b5f80516020613be783398151915280545f9190600160a01b900460ff1661111e575f611016565b638fb3603760e01b91505090565b611134612df0565b61113c610a4d565b156111495761097f611ea2565b61097f6112a5565b611159610f01565b6001600160a01b0316336001600160a01b03161461118c5760405163086391f760e31b8152336004820152602401610686565b82601d611199828261164d565b6111a23361065b565b6111ad858585612069565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121f91906135c8565b6001600160a01b0316336001600160a01b0316146112515760405162f0630960e01b8152336004820152602401610686565b61125d848484846120fc565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6112ad612df0565b61097f611ea2565b6112bd610f01565b6001600160a01b0316336001600160a01b0316146112f05760405163086391f760e31b8152336004820152602401610686565b6112f93361065b565b610bec82826122a5565b5f80516020613be7833981519152546001600160a01b031690565b5f6113298282613777565b90505b92915050565b61133a610f01565b6001600160a01b0316336001600160a01b03161461136d5760405163086391f760e31b8152336004820152602401610686565b610a38816122e3565b5f805f61138284610d8b565b90506113b57fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611402573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611426919061379a565b9250925050915091565b610bec3361065b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561147d5750825b90505f826001600160401b031660011480156114985750303b155b9050811580156114a6575080155b156114c45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114ee57845460ff60401b1916600160401b1785555b6114fc8b8b8b8b8b8b612358565b831561154257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f80516020613be78339815191525f8061158761156a611303565b873061157960045f8a8c6137bd565b611582916137e4565b61237d565b91509150816116455763ffffffff81161561162257825460ff60a01b1916600160a01b1783556115b5611303565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016115e49392919061381c565b5f604051808303815f87803b1580156115fb575f80fd5b505af115801561160d573d5f803e3d5ffd5b5050845460ff60a01b19168555506116459050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610686565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d39190613544565b610bec5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610686565b5f5f80516020613c07833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af115801561176c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611329919061356a565b5f805f80516020613bc783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118209190613544565b1561184c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610686565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561189e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c29190613544565b6118ea5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610686565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561193c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611960919061356a565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f80516020613c27833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156119e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec919061356a565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163570fd2f360e11b815230600482015282151560248201526001600160a01b039091169063ae1fa5e6906044015b5f604051808303815f87803b158015611a72575f80fd5b505af11580156111ad573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613c07833981519152916001600160a01b0390911690632b5198b190611af4908e908e908e908e908e908e908e908e908e9060040161385b565b6020604051808303815f875af1158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b349190613741565b9b9a5050505050505050505050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611bb6575f80fd5b505af1158015611645573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613c07833981519152916001600160a01b0390911690638dd2b78190611c32908b908b908b908b908b908b906004016138cc565b6020604051808303815f875af1158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c729190613741565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613c078339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611d1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d439190613544565b15611d8e576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610686565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611dc49088908890889060040161392b565b6020604051808303815f875af1158015611de0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e04919061356a565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613be783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611eaa612df0565b5f611ebd6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f25919061356a565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa29190613544565b15612061577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611fdf610d70565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612020573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612047919081019061395e565b60408101519092506001600160a01b031615612061575090565b611016612485565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020613c07833981519152916001600160a01b03169063ab3fc75f906120c990879087908790600401613a27565b5f604051808303815f87803b1580156120e0575f80fd5b505af11580156120f2573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613c07833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612197573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121bb919061356a565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612241573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612265919061356a565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020613c0783398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90611b9f9085908590600401613a5a565b6122eb610f01565b6001600160a01b0316336001600160a01b03161461231e5760405163086391f760e31b8152336004820152602401610686565b612328600b612577565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611a5b565b612360612608565b61164586868686868660405180602001604052805f815250612653565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516123eb9190613a80565b5f60405180830381855afa9150503d805f8114612423576040519150601f19603f3d011682016040523d82523d5f602084013e612428565b606091505b5091509150811561247a57604081511061245a57808060200190518101906124509190613a96565b909450925061247a565b602081511061247a57808060200190518101906124779190613544565b93505b505094509492505050565b61248d612df0565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546124ca90613585565b80601f01602080910402602001604051908101604052809291908181526020018280546124f690613585565b80156125415780601f1061251857610100808354040283529160200191612541565b820191905f5260205f20905b81548152906001019060200180831161252457829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161089290613585565b5f61258a6001546001600160a01b031690565b6001600160a01b031663d39e6043836125a1610e0b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec91906135c8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661265157604051631afcd79f60e31b815260040160405180910390fd5b565b61265b612608565b61266e87878585600e8a60018b896126dd565b5f80516020613c07833981519152612686600e612577565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556126b2600b612577565b81546001600160a01b0319166001600160a01b03919091161781556120f26301a39f4760e01b6128f4565b6126e5612608565b5f6126f18a8a88612920565b90505f5f80516020613c2783398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277491906135c8565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b8152905161280e929163bf7e214f9160048083019260209291908290030181865afa1580156127ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127f291906135c8565b8c8c8c8c8c8b8b60405180602001604052805f8152508c6129cf565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612855573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287991906135c8565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556128b6600b612577565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556128e8634a531f3360e01b6128f4565b61154263a9c1bc6f60e01b5b6128fc612608565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03612941576129388484600a612ae7565b50829050610d69565b5f61294e8585600c612ae7565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa15801561299b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129c29190810190613650565b6020015195945050505050565b6129d7612608565b6001600160a01b0386166129fe576040516327eab2e360e11b815260040160405180910390fd5b86515f03612a1f5760405163591eebf360e11b815260040160405180910390fd5b612a2d898987878787612bac565b612a368a612c47565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080612a628982613b0c565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a161717905560028101612a9a8382613b0c565b50612aa5600b612577565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612ad7634a531f3360e01b6128f4565b611542633b6f5c0360e11b6128f4565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612b35573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b5c9190810190613650565b9050612b7381604001518460ff9081169116141590565b15612ba457604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610686565b509392505050565b612bb4612608565b612bbe8683612c58565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016120f28382613b0c565b612c4f612608565b610a3881612cce565b612c60612608565b612c6982612cdf565b612c71612dab565b6001600160a01b038116612c985760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613bc783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612cd6612608565b610a3881611e42565b612ce7612608565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612d3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d619190613544565b612d895760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610686565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612db3612608565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612e38575f80fd5b81356001600160e01b031981168114610d69575f80fd5b6001600160601b0381168114610a38575f80fd5b5f8060408385031215612e74575f80fd5b8235612e7f81612e4f565b91506020830135612e8f81612e4f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612f10608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612f54610100840182612e9a565b949350505050565b602081525f6113296020830184612e9a565b5f60208284031215612f7e575f80fd5b8135610d6981612e4f565b8015158114610a38575f80fd5b80356109ef81612f89565b5f60208284031215612fb1575f80fd5b8135610d6981612f89565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ff257612ff2612fbc565b60405290565b604051608081016001600160401b0381118282101715612ff257612ff2612fbc565b604051601f8201601f191681016001600160401b038111828210171561304257613042612fbc565b604052919050565b5f6001600160401b0382111561306257613062612fbc565b50601f01601f191660200190565b5f82601f83011261307f575f80fd5b8135602083015f6130976130928461304a565b61301a565b90508281528583830111156130aa575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114610a38575f80fd5b80356109ef816130c4565b5f805f805f805f805f6101208a8c0312156130f9575f80fd5b89356001600160401b0381111561310e575f80fd5b61311a8c828d01613070565b99505060208a0135975060408a0135965060608a0135955060808a0135613140816130c4565b945061314e60a08b016130d5565b935061315c60c08b01612f96565b925061316a60e08b01612f96565b91506101008a01356001600160401b03811115613185575f80fd5b6131918c828d01613070565b9150509295985092959850929598565b6001600160a01b0381168114610a38575f80fd5b5f80604083850312156131c6575f80fd5b8235612e7f816131a1565b5f805f805f60a086880312156131e5575f80fd5b85356001600160401b038111156131fa575f80fd5b61320688828901613070565b95505060208601359350604086013561321e816130c4565b9250606086013564ffffffffff81168114613237575f80fd5b915060808601356001600160401b03811115613251575f80fd5b61325d88828901613070565b9150509295509295909350565b6001600160c01b031981168114610a38575f80fd5b5f805f60608486031215613291575f80fd5b833561329c816131a1565b925060208401356132ac8161326a565b915060408401356001600160401b038111156132c6575f80fd5b6132d286828701613070565b9150509250925092565b5f602082840312156132ec575f80fd5b81356001600160401b03811115613301575f80fd5b612f5484828501613070565b5f6020828403121561331d575f80fd5b8135610d69816131a1565b602081525f82516080602084015261334360a0840182612e9a565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506133858282612e9a565b95945050505050565b5f805f606084860312156133a0575f80fd5b833561329c81612e4f565b5f805f80608085870312156133be575f80fd5b84356133c9816131a1565b935060208501356133d9816131a1565b92506040850135915060608501356133f0816131a1565b939692955090935050565b5f6040828403121561340b575f80fd5b604080519081016001600160401b038111828210171561342d5761342d612fbc565b604052823581526020928301359281019290925250919050565b5f8060808385031215613458575f80fd5b61346284846133fb565b915061347184604085016133fb565b90509250929050565b5f806040838503121561348b575f80fd5b82356134968161326a565b946020939093013593505050565b5f805f805f8060c087890312156134b9575f80fd5b86356134c4816131a1565b955060208701356134d481612e4f565b945060408701356134e4816131a1565b935060608701356134f4816131a1565b925060808701356001600160401b0381111561350e575f80fd5b61351a89828a01613070565b92505060a087013561352b816131a1565b809150509295509295509295565b80516109ef81612f89565b5f60208284031215613554575f80fd5b8151610d6981612f89565b80516109ef81612e4f565b5f6020828403121561357a575f80fd5b8151610d6981612e4f565b600181811c9082168061359957607f821691505b6020821081036135b757634e487b7160e01b5f52602260045260245ffd5b50919050565b80516109ef816131a1565b5f602082840312156135d8575f80fd5b8151610d69816131a1565b60ff81168114610a38575f80fd5b80516109ef816135e3565b5f6136096130928461304a565b905082815283838301111561361c575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613641575f80fd5b611329838351602085016135fc565b5f60208284031215613660575f80fd5b81516001600160401b03811115613675575f80fd5b820160e08185031215613686575f80fd5b61368e612fd0565b6136978261355f565b81526136a56020830161355f565b60208201526136b6604083016135f1565b60408201526136c760608301613539565b60608201526136d8608083016135bd565b60808201526136e960a083016135bd565b60a082015260c08201516001600160401b03811115613706575f80fd5b61371286828501613632565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d666040830184612e9a565b5f60208284031215613751575f80fd5b8151610d698161326a565b5f6020828403121561376c575f80fd5b8151610d69816135e3565b808202811582820484141761132c57634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156137ab575f80fd5b825191506020830151612e8f816135e3565b5f80858511156137cb575f80fd5b838611156137d7575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613815576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61386f61012083018c612e9a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526138bc8185612e9a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f6138ed60c0830188612e9a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a084015261391e8185612e9a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061338590830184612e9a565b5f6020828403121561396e575f80fd5b81516001600160401b03811115613983575f80fd5b820160808185031215613994575f80fd5b61399c612ff8565b81516001600160401b038111156139b1575f80fd5b8201601f810186136139c1575f80fd5b6139d0868251602084016135fc565b8252506139df602083016135bd565b60208201526139f0604083016135bd565b604082015260608201516001600160401b03811115613a0d575f80fd5b613a1986828501613632565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6133856060830184612e9a565b825181526020808401518183015282516040830152820151606082015260808101610d69565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613aa7575f80fd5b8251613ab281612f89565b6020840151909250612e8f816130c4565b601f821115613b0757805f5260205f20601f840160051c81016020851015613ae85750805b601f840160051c820191505b818110156111ad575f8155600101613af4565b505050565b81516001600160401b03811115613b2557613b25612fbc565b613b3981613b338454613585565b84613ac3565b6020601f821160018114613b6b575f8315613b545750848201515b5f19600385901b1c1916600184901b1784556111ad565b5f84815260208120601f198516915b82811015613b9a5787850151825560209485019460019092019101613b7a565b5084821015613bb757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220c2d2e9fe9b839aa68ad1da53697a73b3fa858c77a212238502097433b79ad56c64736f6c634300081a0033",
1288
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610276575f3560e01c806376b707b711610156578063b2a6b42d116100ca578063deaa59df11610084578063deaa59df146105b7578063e145d46c146105ca578063ea15869f146105f4578063f5860e1a1461061b578063f80e20721461062f578063f86664d214610642575f80fd5b8063b2a6b42d14610551578063b423086c14610564578063b6b412ba1461056c578063bf7e214f1461057f578063d16d0fe814610587578063de7b5d141461059a575f80fd5b80638f0c86fa1161011b5780638f0c86fa146104ce5780638fb36037146104e157806390edbd3514610502578063ab3fc75f14610517578063ad12ad601461052a578063ada9652e1461053d575f80fd5b806376b707b71461048a5780637a9e5e4b146104a457806387ef9ba0146104b75780638899278a146104be578063893d20e8146104c6575f80fd5b80632b5198b1116101ed57806359660bea116101b257806359660bea146104085780635ab1bd531461041b5780635dcb3bae1461042c578063644c45e01461043f5780636bd1c0eb146104475780637427d7a814610477575f80fd5b80632b5198b1146103a55780632eb3e6f4146103d1578063419197fe146103e557806343d752d3146103f85780635741e5e914610400575f80fd5b806317d7de7c1161023e57806317d7de7c146103235780631c6b2190146103385780631eff4b221461034b578063211e28b61461038057806321df0da714610395578063223668441461039d575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630fec111c146102e657806313299604146102fb578063138461e01461031b575b5f80fd5b6102a6610288366004612e28565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612e63565b610655565b6040516001600160601b0390911681526020016102b2565b6102ee610759565b6040516102b29190612ec8565b610303610917565b6040516001600160a01b0390911681526020016102b2565b6102ce610984565b61032b61098e565b6040516102b29190612f5c565b6102ce610346366004612f6e565b61099e565b6103727f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b61039361038e366004612fa1565b6109f4565b005b610303610a3b565b6102a6610a4d565b6103b86103b33660046130e0565b610b43565b6040516001600160c01b031990911681526020016102b2565b6103725f80516020613c2783398151915281565b6103936103f33660046131b5565b610ba7565b610303610bf0565b6102a6610c02565b6103b86104163660046131d1565b610cbf565b6001546001600160a01b0316610303565b6102ce61043a36600461327f565b610d16565b6102ce610d70565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610303565b6103b86104853660046132dc565b610d8b565b610492610e0b565b60405160ff90911681526020016102b2565b6103936104b236600461330d565b610e7f565b60016102a6565b610372600381565b610303610f01565b6102a66104dc36600461330d565b611032565b6104e96110f7565b6040516001600160e01b031990911681526020016102b2565b61050a61112c565b6040516102b29190613328565b61039361052536600461338e565b611151565b6103936105383660046133ab565b6111b4565b6103725f80516020613bc783398151915281565b6102ce61055f36600461330d565b611263565b61050a6112a5565b61039361057a366004613447565b6112b5565b610303611303565b61037261059536600461347a565b61131e565b5f80516020613c27833981519152546001600160a01b0316610303565b6103936105c536600461330d565b611332565b6105dd6105d83660046132dc565b611376565b6040805192835260ff9091166020830152016102b2565b6103727fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103725f80516020613c0783398151915281565b61039361063d36600461347a565b611430565b6103936106503660046134a4565b611439565b5f610662335b5f3661154f565b61066b33611032565b61068f5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d61069c828261164d565b846106af6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa158015610702573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107269190613544565b6107455760405163086391f760e31b8152336004820152602401610686565b61074f8686611704565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610809573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082d919061356a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610875610f01565b6001600160a01b0316815260200182600101805461089290613585565b80601f01602080910402602001604051908101604052809291908181526020018280546108be90613585565b80156109095780601f106108e057610100808354040283529160200191610909565b820191905f5260205f20905b8154815290600101906020018083116108ec57829003601f168201915b505050505081525091505090565b5f610920610bf0565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f91906135c8565b905090565b5f61097f30611790565b606061099861112c565b51919050565b5f6109a7610f01565b6001600160a01b0316336001600160a01b0316146109da5760405163086391f760e31b8152336004820152602401610686565b6109e33361065b565b6109ec82611984565b90505b919050565b6109fc610f01565b6001600160a01b0316336001600160a01b031614610a2f5760405163086391f760e31b8152336004820152602401610686565b610a3881611a08565b50565b5f610a4461112c565b60200151905090565b5f610a606001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610aa4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac8919061356a565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b1f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190613544565b5f610b4c610f01565b6001600160a01b0316336001600160a01b031614610b7f5760405163086391f760e31b8152336004820152602401610686565b610b883361065b565b610b998a8a8a8a8a8a8a8a8a611a84565b9a9950505050505050505050565b610baf610f01565b6001600160a01b0316336001600160a01b031614610be25760405163086391f760e31b8152336004820152602401610686565b610bec8282611b43565b5050565b5f610bf961112c565b60400151905090565b5f610c0b610a4d565b15610c8f576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c5f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c869190810190613650565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f610cc933611032565b610ce85760405163637c41bb60e01b8152336004820152602401610686565b610cf13361065b565b5f610cfb33611263565b9050610d0b818888888888611bc8565b979650505050505050565b5f610d1f610f01565b6001600160a01b0316336001600160a01b031614610d525760405163086391f760e31b8152336004820152602401610686565b610d5b3361065b565b610d66848484611c7e565b90505b9392505050565b5f80516020613bc7833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610dae610d70565b846040518363ffffffff1660e01b8152600401610dcc929190613720565b602060405180830381865af4158015610de7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec9190613741565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e5b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f919061375c565b33610e88611303565b6001600160a01b0316816001600160a01b031614610ec35760405162d1953b60e31b81526001600160a01b0382166004820152602401610686565b816001600160a01b03163b5f03610ef8576040516361798f2f60e11b81526001600160a01b0383166004820152602401610686565b610bec82611e42565b5f805f80516020613bc783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f919190613544565b1561101c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ff2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101691906135c8565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613c078339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156110d3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d699190613544565b5f80516020613be783398151915280545f9190600160a01b900460ff1661111e575f611016565b638fb3603760e01b91505090565b611134612df0565b61113c610a4d565b156111495761097f611ea2565b61097f6112a5565b611159610f01565b6001600160a01b0316336001600160a01b03161461118c5760405163086391f760e31b8152336004820152602401610686565b82601d611199828261164d565b6111a23361065b565b6111ad858585612069565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061121f91906135c8565b6001600160a01b0316336001600160a01b0316146112515760405162f0630960e01b8152336004820152602401610686565b61125d848484846120fc565b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6112ad612df0565b61097f611ea2565b6112bd610f01565b6001600160a01b0316336001600160a01b0316146112f05760405163086391f760e31b8152336004820152602401610686565b6112f93361065b565b610bec82826122a5565b5f80516020613be7833981519152546001600160a01b031690565b5f6113298282613777565b90505b92915050565b61133a610f01565b6001600160a01b0316336001600160a01b03161461136d5760405163086391f760e31b8152336004820152602401610686565b610a38816122e3565b5f805f61138284610d8b565b90506113b57fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611402573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611426919061379a565b9250925050915091565b610bec3361065b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f8115801561147d5750825b90505f826001600160401b031660011480156114985750303b155b9050811580156114a6575080155b156114c45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114ee57845460ff60401b1916600160401b1785555b6114fc8b8b8b8b8b8b612358565b831561154257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f80516020613be78339815191525f8061158761156a611303565b873061157960045f8a8c6137bd565b611582916137e4565b61237d565b91509150816116455763ffffffff81161561162257825460ff60a01b1916600160a01b1783556115b5611303565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016115e49392919061381c565b5f604051808303815f87803b1580156115fb575f80fd5b505af115801561160d573d5f803e3d5ffd5b5050845460ff60a01b19168555506116459050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610686565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156116af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d39190613544565b610bec5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610686565b5f5f80516020613c07833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af115801561176c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611329919061356a565b5f805f80516020613bc783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118209190613544565b1561184c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610686565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561189e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c29190613544565b6118ea5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610686565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561193c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611960919061356a565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f80516020613c27833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af11580156119e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec919061356a565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163570fd2f360e11b815230600482015282151560248201526001600160a01b039091169063ae1fa5e6906044015b5f604051808303815f87803b158015611a72575f80fd5b505af11580156111ad573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613c07833981519152916001600160a01b0390911690632b5198b190611af4908e908e908e908e908e908e908e908e908e9060040161385b565b6020604051808303815f875af1158015611b10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b349190613741565b9b9a5050505050505050505050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611bb6575f80fd5b505af1158015611645573d5f803e3d5ffd5b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613c07833981519152916001600160a01b0390911690638dd2b78190611c32908b908b908b908b908b908b906004016138cc565b6020604051808303815f875af1158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c729190613741565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f80516020613c078339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611d1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d439190613544565b15611d8e576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b03166024820152604401610686565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae90611dc49088908890889060040161392b565b6020604051808303815f875af1158015611de0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e04919061356a565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f80516020613be783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611eaa612df0565b5f611ebd6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f25919061356a565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fa29190613544565b15612061577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611fdf610d70565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612020573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612047919081019061395e565b60408101519092506001600160a01b031615612061575090565b611016612485565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f9015460405163ab3fc75f60e01b81525f80516020613c07833981519152916001600160a01b03169063ab3fc75f906120c990879087908790600401613a27565b5f604051808303815f87803b1580156120e0575f80fd5b505af11580156120f2573d5f803e3d5ffd5b5050505050505050565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613c07833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612197573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121bb919061356a565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af4158015612241573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612265919061356a565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f80516020613c0783398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee90611b9f9085908590600401613a5a565b6122eb610f01565b6001600160a01b0316336001600160a01b03161461231e5760405163086391f760e31b8152336004820152602401610686565b612328600b612577565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611a5b565b612360612608565b61164586868686868660405180602001604052805f815250612653565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516123eb9190613a80565b5f60405180830381855afa9150503d805f8114612423576040519150601f19603f3d011682016040523d82523d5f602084013e612428565b606091505b5091509150811561247a57604081511061245a57808060200190518101906124509190613a96565b909450925061247a565b602081511061247a57808060200190518101906124779190613544565b93505b505094509492505050565b61248d612df0565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546124ca90613585565b80601f01602080910402602001604051908101604052809291908181526020018280546124f690613585565b80156125415780601f1061251857610100808354040283529160200191612541565b820191905f5260205f20905b81548152906001019060200180831161252457829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161089290613585565b5f61258a6001546001600160a01b031690565b6001600160a01b031663d39e6043836125a1610e0b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec91906135c8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661265157604051631afcd79f60e31b815260040160405180910390fd5b565b61265b612608565b61266e87878585600e8a60018b896126dd565b5f80516020613c07833981519152612686600e612577565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556126b2600b612577565b81546001600160a01b0319166001600160a01b03919091161781556120f26301a39f4760e01b6128f4565b6126e5612608565b5f6126f18a8a88612920565b90505f5f80516020613c2783398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612750573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277491906135c8565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b8152905161280e929163bf7e214f9160048083019260209291908290030181865afa1580156127ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127f291906135c8565b8c8c8c8c8c8b8b60405180602001604052805f8152508c6129cf565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612855573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287991906135c8565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556128b6600b612577565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556128e8634a531f3360e01b6128f4565b61154263a9c1bc6f60e01b5b6128fc612608565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03612941576129388484600a612ae7565b50829050610d69565b5f61294e8585600c612ae7565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa15801561299b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129c29190810190613650565b6020015195945050505050565b6129d7612608565b6001600160a01b0386166129fe576040516327eab2e360e11b815260040160405180910390fd5b86515f03612a1f5760405163591eebf360e11b815260040160405180910390fd5b612a2d898987878787612bac565b612a368a612c47565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080612a628982613b0c565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a161717905560028101612a9a8382613b0c565b50612aa5600b612577565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612ad7634a531f3360e01b6128f4565b611542633b6f5c0360e11b6128f4565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612b35573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b5c9190810190613650565b9050612b7381604001518460ff9081169116141590565b15612ba457604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610686565b509392505050565b612bb4612608565b612bbe8683612c58565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016120f28382613b0c565b612c4f612608565b610a3881612cce565b612c60612608565b612c6982612cdf565b612c71612dab565b6001600160a01b038116612c985760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613bc783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612cd6612608565b610a3881611e42565b612ce7612608565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612d3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d619190613544565b612d895760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610686565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612db3612608565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612e38575f80fd5b81356001600160e01b031981168114610d69575f80fd5b6001600160601b0381168114610a38575f80fd5b5f8060408385031215612e74575f80fd5b8235612e7f81612e4f565b91506020830135612e8f81612e4f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612f10608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612f54610100840182612e9a565b949350505050565b602081525f6113296020830184612e9a565b5f60208284031215612f7e575f80fd5b8135610d6981612e4f565b8015158114610a38575f80fd5b80356109ef81612f89565b5f60208284031215612fb1575f80fd5b8135610d6981612f89565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ff257612ff2612fbc565b60405290565b604051608081016001600160401b0381118282101715612ff257612ff2612fbc565b604051601f8201601f191681016001600160401b038111828210171561304257613042612fbc565b604052919050565b5f6001600160401b0382111561306257613062612fbc565b50601f01601f191660200190565b5f82601f83011261307f575f80fd5b8135602083015f6130976130928461304a565b61301a565b90508281528583830111156130aa575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114610a38575f80fd5b80356109ef816130c4565b5f805f805f805f805f6101208a8c0312156130f9575f80fd5b89356001600160401b0381111561310e575f80fd5b61311a8c828d01613070565b99505060208a0135975060408a0135965060608a0135955060808a0135613140816130c4565b945061314e60a08b016130d5565b935061315c60c08b01612f96565b925061316a60e08b01612f96565b91506101008a01356001600160401b03811115613185575f80fd5b6131918c828d01613070565b9150509295985092959850929598565b6001600160a01b0381168114610a38575f80fd5b5f80604083850312156131c6575f80fd5b8235612e7f816131a1565b5f805f805f60a086880312156131e5575f80fd5b85356001600160401b038111156131fa575f80fd5b61320688828901613070565b95505060208601359350604086013561321e816130c4565b9250606086013564ffffffffff81168114613237575f80fd5b915060808601356001600160401b03811115613251575f80fd5b61325d88828901613070565b9150509295509295909350565b6001600160c01b031981168114610a38575f80fd5b5f805f60608486031215613291575f80fd5b833561329c816131a1565b925060208401356132ac8161326a565b915060408401356001600160401b038111156132c6575f80fd5b6132d286828701613070565b9150509250925092565b5f602082840312156132ec575f80fd5b81356001600160401b03811115613301575f80fd5b612f5484828501613070565b5f6020828403121561331d575f80fd5b8135610d69816131a1565b602081525f82516080602084015261334360a0840182612e9a565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506133858282612e9a565b95945050505050565b5f805f606084860312156133a0575f80fd5b833561329c81612e4f565b5f805f80608085870312156133be575f80fd5b84356133c9816131a1565b935060208501356133d9816131a1565b92506040850135915060608501356133f0816131a1565b939692955090935050565b5f6040828403121561340b575f80fd5b604080519081016001600160401b038111828210171561342d5761342d612fbc565b604052823581526020928301359281019290925250919050565b5f8060808385031215613458575f80fd5b61346284846133fb565b915061347184604085016133fb565b90509250929050565b5f806040838503121561348b575f80fd5b82356134968161326a565b946020939093013593505050565b5f805f805f8060c087890312156134b9575f80fd5b86356134c4816131a1565b955060208701356134d481612e4f565b945060408701356134e4816131a1565b935060608701356134f4816131a1565b925060808701356001600160401b0381111561350e575f80fd5b61351a89828a01613070565b92505060a087013561352b816131a1565b809150509295509295509295565b80516109ef81612f89565b5f60208284031215613554575f80fd5b8151610d6981612f89565b80516109ef81612e4f565b5f6020828403121561357a575f80fd5b8151610d6981612e4f565b600181811c9082168061359957607f821691505b6020821081036135b757634e487b7160e01b5f52602260045260245ffd5b50919050565b80516109ef816131a1565b5f602082840312156135d8575f80fd5b8151610d69816131a1565b60ff81168114610a38575f80fd5b80516109ef816135e3565b5f6136096130928461304a565b905082815283838301111561361c575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613641575f80fd5b611329838351602085016135fc565b5f60208284031215613660575f80fd5b81516001600160401b03811115613675575f80fd5b820160e08185031215613686575f80fd5b61368e612fd0565b6136978261355f565b81526136a56020830161355f565b60208201526136b6604083016135f1565b60408201526136c760608301613539565b60608201526136d8608083016135bd565b60808201526136e960a083016135bd565b60a082015260c08201516001600160401b03811115613706575f80fd5b61371286828501613632565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d666040830184612e9a565b5f60208284031215613751575f80fd5b8151610d698161326a565b5f6020828403121561376c575f80fd5b8151610d69816135e3565b808202811582820484141761132c57634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156137ab575f80fd5b825191506020830151612e8f816135e3565b5f80858511156137cb575f80fd5b838611156137d7575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613815576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61386f61012083018c612e9a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526138bc8185612e9a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f6138ed60c0830188612e9a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a084015261391e8185612e9a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f9061338590830184612e9a565b5f6020828403121561396e575f80fd5b81516001600160401b03811115613983575f80fd5b820160808185031215613994575f80fd5b61399c612ff8565b81516001600160401b038111156139b1575f80fd5b8201601f810186136139c1575f80fd5b6139d0868251602084016135fc565b8252506139df602083016135bd565b60208201526139f0604083016135bd565b604082015260608201516001600160401b03811115613a0d575f80fd5b613a1986828501613632565b606083015250949350505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f6133856060830184612e9a565b825181526020808401518183015282516040830152820151606082015260808101610d69565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613aa7575f80fd5b8251613ab281612f89565b6020840151909250612e8f816130c4565b601f821115613b0757805f5260205f20601f840160051c81016020851015613ae85750805b601f840160051c820191505b818110156111ad575f8155600101613af4565b505050565b81516001600160401b03811115613b2557613b25612fbc565b613b3981613b338454613585565b84613ac3565b6020601f821160018114613b6b575f8315613b545750848201515b5f19600385901b1c1916600184901b1784556111ad565b5f84815260208120601f198516915b82811015613b9a5787850151825560209485019460019092019101613b7a565b5084821015613bb757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220c2d2e9fe9b839aa68ad1da53697a73b3fa858c77a212238502097433b79ad56c64736f6c634300081a0033",
1289
+ "linkReferences": {
1290
+ "contracts/shared/ContractLib.sol": {
1291
+ "ContractLib": [
1292
+ {
1293
+ "length": 20,
1294
+ "start": 2638
1295
+ },
1296
+ {
1297
+ "length": 20,
1298
+ "start": 15535
1299
+ }
1300
+ ]
1301
+ },
1302
+ "contracts/type/NftId.sol": {
1303
+ "NftIdLib": [
1304
+ {
1305
+ "length": 20,
1306
+ "start": 5998
1307
+ },
1308
+ {
1309
+ "length": 20,
1310
+ "start": 6801
1311
+ },
1312
+ {
1313
+ "length": 20,
1314
+ "start": 7903
1315
+ },
1316
+ {
1317
+ "length": 20,
1318
+ "start": 8261
1319
+ },
1320
+ {
1321
+ "length": 20,
1322
+ "start": 10094
1323
+ },
1324
+ {
1325
+ "length": 20,
1326
+ "start": 11409
1327
+ },
1328
+ {
1329
+ "length": 20,
1330
+ "start": 12016
1331
+ },
1332
+ {
1333
+ "length": 20,
1334
+ "start": 12540
1335
+ },
1336
+ {
1337
+ "length": 20,
1338
+ "start": 12723
1339
+ }
1340
+ ]
1341
+ },
1342
+ "contracts/type/Referral.sol": {
1343
+ "ReferralLib": [
1344
+ {
1345
+ "length": 20,
1346
+ "start": 7480
1347
+ }
1348
+ ]
1349
+ },
1350
+ "contracts/type/Version.sol": {
1351
+ "VersionPartLib": [
1352
+ {
1353
+ "length": 20,
1354
+ "start": 1950
1355
+ },
1356
+ {
1357
+ "length": 20,
1358
+ "start": 7629
1359
+ }
1360
+ ]
1361
+ }
1362
+ },
1363
+ "deployedLinkReferences": {
1364
+ "contracts/shared/ContractLib.sol": {
1365
+ "ContractLib": [
1366
+ {
1367
+ "length": 20,
1368
+ "start": 11525
1369
+ }
1370
+ ]
1371
+ },
1372
+ "contracts/type/NftId.sol": {
1373
+ "NftIdLib": [
1374
+ {
1375
+ "length": 20,
1376
+ "start": 1988
1377
+ },
1378
+ {
1379
+ "length": 20,
1380
+ "start": 2791
1381
+ },
1382
+ {
1383
+ "length": 20,
1384
+ "start": 3893
1385
+ },
1386
+ {
1387
+ "length": 20,
1388
+ "start": 4251
1389
+ },
1390
+ {
1391
+ "length": 20,
1392
+ "start": 6084
1393
+ },
1394
+ {
1395
+ "length": 20,
1396
+ "start": 7399
1397
+ },
1398
+ {
1399
+ "length": 20,
1400
+ "start": 8006
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 8530
1405
+ },
1406
+ {
1407
+ "length": 20,
1408
+ "start": 8713
1409
+ }
1410
+ ]
1411
+ },
1412
+ "contracts/type/Referral.sol": {
1413
+ "ReferralLib": [
1414
+ {
1415
+ "length": 20,
1416
+ "start": 3470
1417
+ }
1418
+ ]
1419
+ },
1420
+ "contracts/type/Version.sol": {
1421
+ "VersionPartLib": [
1422
+ {
1423
+ "length": 20,
1424
+ "start": 3619
1425
+ }
1426
+ ]
1427
+ }
1428
+ }
1429
+ }