@etherisc/gif-next 0.0.2-ef2f083-203 → 0.0.2-ef82317-831

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