@etherisc/gif-next 0.0.2-d02cb80-460 → 0.0.2-d0b1ffb-653

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