@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-d9bed37-033

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