@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-de9ede4-391

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