@etherisc/gif-next 0.0.2-d64ea51-772 → 0.0.2-d6609af-567

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