@etherisc/gif-next 0.0.2-e0ff180-766 → 0.0.2-e14821a-976

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