@etherisc/gif-next 0.0.2-e2d8c7d-942 → 0.0.2-e31e2fd-778

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