@etherisc/gif-next 0.0.2-c8cedfe-604 → 0.0.2-c9577b6-545

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