@etherisc/gif-next 0.0.2-f824182-503 → 0.0.2-f8e07c7-917

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