@etherisc/gif-next 0.0.2-f7c17b4-970 → 0.0.2-f7d1200-068

Sign up to get free protection for your applications and to get access to all the features.
Files changed (634) hide show
  1. package/README.md +54 -88
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1518 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +264 -378
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1557 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +854 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +314 -248
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +945 -0
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +290 -2132
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +328 -69
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +402 -2896
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +673 -371
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +387 -262
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +115 -74
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3469 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +802 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +337 -284
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1055 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -339
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  95. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1521 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +830 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +938 -0
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +297 -380
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1213 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1218 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1700 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +798 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1280 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1339 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +137 -87
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +788 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +816 -0
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IPricingService.sol/IPricingService.json} +203 -226
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +418 -173
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +90 -63
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1335 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +794 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1017 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/{components → product}/Product.sol/Product.json +381 -310
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +191 -18
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -138
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  158. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.json +453 -34
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -86
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +199 -115
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1712 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +100 -102
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +236 -52
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +737 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.json +106 -18
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +977 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  212. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  213. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  217. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  222. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Service.sol/Service.json +113 -20
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +107 -6
  226. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  227. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  228. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  229. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  230. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  231. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +470 -0
  232. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  233. package/artifacts/contracts/staking/Staking.sol/Staking.json +1991 -0
  234. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  236. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +773 -0
  238. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  240. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  242. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  244. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  246. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  247. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  248. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  249. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  250. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  252. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  254. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  256. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  258. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  260. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  262. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  264. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  266. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  268. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  270. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  272. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  274. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  276. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  278. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +222 -0
  280. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  282. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  286. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  294. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  296. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  298. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  299. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  300. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  301. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  302. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  303. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  304. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  305. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  306. package/contracts/authorization/AccessAdmin.sol +591 -0
  307. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  308. package/contracts/authorization/Authorization.sol +218 -0
  309. package/contracts/authorization/IAccess.sol +48 -0
  310. package/contracts/authorization/IAccessAdmin.sol +136 -0
  311. package/contracts/authorization/IAuthorization.sol +54 -0
  312. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  313. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  314. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  316. package/contracts/distribution/BasicDistribution.sol +138 -0
  317. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  318. package/contracts/{components → distribution}/Distribution.sol +179 -192
  319. package/contracts/distribution/DistributionService.sol +336 -0
  320. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  321. package/contracts/distribution/IDistributionComponent.sol +52 -0
  322. package/contracts/distribution/IDistributionService.sol +97 -0
  323. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +32 -31
  324. package/contracts/instance/IInstance.sol +60 -66
  325. package/contracts/instance/IInstanceService.sol +57 -24
  326. package/contracts/instance/Instance.sol +176 -213
  327. package/contracts/instance/InstanceAdmin.sol +266 -0
  328. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  329. package/contracts/instance/InstanceReader.sol +180 -65
  330. package/contracts/instance/InstanceService.sol +310 -357
  331. package/contracts/instance/InstanceServiceManager.sol +12 -26
  332. package/contracts/instance/InstanceStore.sol +277 -0
  333. package/contracts/instance/base/BalanceStore.sol +123 -0
  334. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  335. package/contracts/instance/base/ObjectCounter.sol +21 -0
  336. package/contracts/instance/base/ObjectLifecycle.sol +104 -0
  337. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
  338. package/contracts/instance/module/IAccess.sol +19 -20
  339. package/contracts/instance/module/IBundle.sol +8 -9
  340. package/contracts/instance/module/{ISetup.sol → IComponents.sol} +21 -23
  341. package/contracts/instance/module/IDistribution.sol +6 -4
  342. package/contracts/instance/module/IPolicy.sol +52 -16
  343. package/contracts/instance/module/IRisk.sol +1 -1
  344. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  345. package/contracts/oracle/BasicOracle.sol +48 -0
  346. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  347. package/contracts/oracle/IOracle.sol +36 -0
  348. package/contracts/oracle/IOracleComponent.sol +33 -0
  349. package/contracts/oracle/IOracleService.sol +65 -0
  350. package/contracts/oracle/Oracle.sol +166 -0
  351. package/contracts/oracle/OracleService.sol +278 -0
  352. package/contracts/oracle/OracleServiceManager.sol +39 -0
  353. package/contracts/pool/BasicPool.sol +166 -0
  354. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  355. package/contracts/pool/BundleService.sol +450 -0
  356. package/contracts/pool/BundleServiceManager.sol +39 -0
  357. package/contracts/pool/IBundleService.sol +135 -0
  358. package/contracts/pool/IPoolComponent.sol +58 -0
  359. package/contracts/pool/IPoolService.sol +149 -0
  360. package/contracts/pool/Pool.sol +328 -0
  361. package/contracts/pool/PoolService.sol +559 -0
  362. package/contracts/pool/PoolServiceManager.sol +39 -0
  363. package/contracts/product/ApplicationService.sol +230 -0
  364. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  365. package/contracts/product/BasicProduct.sol +52 -0
  366. package/contracts/product/BasicProductAuthorization.sol +43 -0
  367. package/contracts/product/ClaimService.sol +424 -0
  368. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  369. package/contracts/{instance/service → product}/IApplicationService.sol +15 -36
  370. package/contracts/product/IClaimService.sol +100 -0
  371. package/contracts/product/IPolicyService.sol +85 -0
  372. package/contracts/product/IPricingService.sol +39 -0
  373. package/contracts/product/IProductComponent.sol +40 -0
  374. package/contracts/product/IProductService.sol +33 -0
  375. package/contracts/product/PolicyService.sol +556 -0
  376. package/contracts/product/PolicyServiceManager.sol +39 -0
  377. package/contracts/product/PricingService.sol +300 -0
  378. package/contracts/product/PricingServiceManager.sol +39 -0
  379. package/contracts/product/Product.sol +411 -0
  380. package/contracts/product/ProductService.sol +99 -0
  381. package/contracts/product/ProductServiceManager.sol +39 -0
  382. package/contracts/registry/ChainNft.sol +16 -1
  383. package/contracts/registry/IRegistry.sol +61 -26
  384. package/contracts/registry/IRegistryService.sol +44 -42
  385. package/contracts/registry/ITransferInterceptor.sol +1 -0
  386. package/contracts/registry/Registry.sol +251 -139
  387. package/contracts/registry/RegistryAdmin.sol +365 -0
  388. package/contracts/registry/RegistryService.sol +70 -101
  389. package/contracts/registry/RegistryServiceManager.sol +23 -32
  390. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  391. package/contracts/registry/ReleaseRegistry.sol +485 -0
  392. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  393. package/contracts/registry/TokenRegistry.sol +261 -62
  394. package/contracts/shared/Component.sol +281 -0
  395. package/contracts/shared/ComponentService.sol +650 -0
  396. package/contracts/shared/ComponentServiceManager.sol +35 -0
  397. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  398. package/contracts/{components → shared}/IComponent.sol +30 -27
  399. package/contracts/shared/IComponentService.sol +108 -0
  400. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  401. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  402. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  403. package/contracts/shared/INftOwnable.sol +2 -2
  404. package/contracts/shared/IPolicyHolder.sol +29 -10
  405. package/contracts/shared/IRegistryLinked.sol +0 -1
  406. package/contracts/shared/IService.sol +15 -6
  407. package/contracts/shared/InitializableCustom.sol +177 -0
  408. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +2 -2
  409. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  410. package/contracts/shared/KeyValueStore.sol +131 -0
  411. package/contracts/shared/Lifecycle.sol +77 -0
  412. package/contracts/shared/NftIdSet.sol +65 -0
  413. package/contracts/shared/NftOwnable.sol +5 -18
  414. package/contracts/shared/PolicyHolder.sol +41 -23
  415. package/contracts/shared/Registerable.sol +13 -12
  416. package/contracts/shared/RegistryLinked.sol +0 -5
  417. package/contracts/shared/Service.sol +47 -23
  418. package/contracts/shared/TokenHandler.sol +41 -6
  419. package/contracts/staking/IStaking.sol +167 -0
  420. package/contracts/staking/IStakingService.sol +160 -0
  421. package/contracts/staking/StakeManagerLib.sol +231 -0
  422. package/contracts/staking/Staking.sol +516 -0
  423. package/contracts/staking/StakingLifecycle.sol +23 -0
  424. package/contracts/staking/StakingManager.sol +50 -0
  425. package/contracts/staking/StakingReader.sol +183 -0
  426. package/contracts/staking/StakingService.sol +407 -0
  427. package/contracts/staking/StakingServiceManager.sol +44 -0
  428. package/contracts/staking/StakingStore.sol +605 -0
  429. package/contracts/staking/TargetManagerLib.sol +207 -0
  430. package/contracts/{types → type}/AddressSet.sol +1 -1
  431. package/contracts/type/Amount.sol +135 -0
  432. package/contracts/{types → type}/Blocknumber.sol +27 -3
  433. package/contracts/{types → type}/ClaimId.sol +25 -2
  434. package/contracts/{types → type}/Fee.sol +33 -23
  435. package/contracts/{types → type}/NftId.sol +21 -15
  436. package/contracts/{types → type}/NftIdSet.sol +2 -2
  437. package/contracts/type/ObjectType.sol +271 -0
  438. package/contracts/{types → type}/PayoutId.sol +33 -5
  439. package/contracts/{types → type}/Referral.sol +6 -1
  440. package/contracts/type/RequestId.sol +75 -0
  441. package/contracts/{types → type}/RiskId.sol +1 -1
  442. package/contracts/type/RoleId.sol +174 -0
  443. package/contracts/{types → type}/Seconds.sol +40 -1
  444. package/contracts/type/Selector.sol +102 -0
  445. package/contracts/{types → type}/StateId.sol +34 -4
  446. package/contracts/type/String.sol +53 -0
  447. package/contracts/{types → type}/Timestamp.sol +22 -2
  448. package/contracts/{types → type}/UFixed.sol +35 -9
  449. package/contracts/{types → type}/Version.sol +5 -2
  450. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  451. package/contracts/{shared → upgradeability}/ProxyManager.sol +36 -7
  452. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  453. package/contracts/{shared → upgradeability}/Versionable.sol +1 -1
  454. package/package.json +8 -5
  455. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  456. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  457. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  458. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  459. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  460. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  461. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  462. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  463. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  465. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  466. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  467. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  468. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  469. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  470. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  472. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  473. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  474. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  475. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  476. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  477. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  478. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  480. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -858
  481. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
  483. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1085
  485. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  487. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  488. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -743
  489. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  490. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  491. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -935
  493. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  494. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -677
  495. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -398
  499. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -480
  501. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  503. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -336
  504. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  505. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1109
  507. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
  509. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -716
  511. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  513. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -766
  515. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  516. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  517. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  518. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  519. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  520. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  521. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  522. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  523. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  524. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  525. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  526. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  527. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  528. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  529. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  530. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  531. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  532. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  533. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  534. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  535. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  536. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  537. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  538. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -510
  539. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  540. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  541. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  542. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  543. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  544. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  545. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  546. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  547. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  548. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  549. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  550. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  551. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  553. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  555. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  557. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  559. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  561. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  562. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  563. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  564. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  565. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  567. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  568. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  569. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  571. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  572. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  573. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  574. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  575. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  576. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  577. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  578. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  579. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  580. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  582. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  584. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  586. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  588. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  590. package/contracts/components/Component.sol +0 -221
  591. package/contracts/components/IDistributionComponent.sol +0 -100
  592. package/contracts/components/IPoolComponent.sol +0 -151
  593. package/contracts/components/IProductComponent.sol +0 -40
  594. package/contracts/components/Pool.sol +0 -378
  595. package/contracts/components/Product.sol +0 -293
  596. package/contracts/instance/InstanceAccessManager.sol +0 -297
  597. package/contracts/instance/base/ComponentService.sol +0 -134
  598. package/contracts/instance/base/KeyValueStore.sol +0 -172
  599. package/contracts/instance/base/Lifecycle.sol +0 -100
  600. package/contracts/instance/module/ITreasury.sol +0 -23
  601. package/contracts/instance/service/ApplicationService.sol +0 -269
  602. package/contracts/instance/service/BundleService.sol +0 -299
  603. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  604. package/contracts/instance/service/ClaimService.sol +0 -151
  605. package/contracts/instance/service/DistributionService.sol +0 -277
  606. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  607. package/contracts/instance/service/IBundleService.sol +0 -55
  608. package/contracts/instance/service/IClaimService.sol +0 -61
  609. package/contracts/instance/service/IDistributionService.sol +0 -65
  610. package/contracts/instance/service/IPolicyService.sol +0 -90
  611. package/contracts/instance/service/IPoolService.sol +0 -20
  612. package/contracts/instance/service/IProductService.sol +0 -40
  613. package/contracts/instance/service/PolicyService.sol +0 -476
  614. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  615. package/contracts/instance/service/PoolService.sol +0 -109
  616. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  617. package/contracts/instance/service/ProductService.sol +0 -233
  618. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  619. package/contracts/registry/RegistryAccessManager.sol +0 -216
  620. package/contracts/registry/ReleaseManager.sol +0 -322
  621. package/contracts/shared/ContractDeployerLib.sol +0 -72
  622. package/contracts/test/TestFee.sol +0 -25
  623. package/contracts/test/TestRegisterable.sol +0 -18
  624. package/contracts/test/TestRoleId.sol +0 -14
  625. package/contracts/test/TestService.sol +0 -25
  626. package/contracts/test/TestToken.sol +0 -26
  627. package/contracts/test/TestVersion.sol +0 -44
  628. package/contracts/test/TestVersionable.sol +0 -17
  629. package/contracts/types/ChainId.sol +0 -38
  630. package/contracts/types/NumberId.sol +0 -52
  631. package/contracts/types/ObjectType.sol +0 -156
  632. package/contracts/types/RoleId.sol +0 -95
  633. /package/contracts/{types → type}/DistributorType.sol +0 -0
  634. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,935 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "DistributionService",
4
- "sourceName": "contracts/instance/service/DistributionService.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "component",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "name": "ErrorComponentServiceAlreadyRegistered",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [
24
- {
25
- "internalType": "address",
26
- "name": "component",
27
- "type": "address"
28
- }
29
- ],
30
- "name": "ErrorComponentServiceComponentLocked",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "NftId",
37
- "name": "instanceNftId",
38
- "type": "uint96"
39
- },
40
- {
41
- "internalType": "RoleId",
42
- "name": "requiredRole",
43
- "type": "uint64"
44
- },
45
- {
46
- "internalType": "address",
47
- "name": "sender",
48
- "type": "address"
49
- }
50
- ],
51
- "name": "ErrorComponentServiceExpectedRoleMissing",
52
- "type": "error"
53
- },
54
- {
55
- "inputs": [
56
- {
57
- "internalType": "address",
58
- "name": "component",
59
- "type": "address"
60
- },
61
- {
62
- "internalType": "ObjectType",
63
- "name": "requiredType",
64
- "type": "uint8"
65
- },
66
- {
67
- "internalType": "ObjectType",
68
- "name": "componentType",
69
- "type": "uint8"
70
- }
71
- ],
72
- "name": "ErrorComponentServiceInvalidType",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [
77
- {
78
- "internalType": "address",
79
- "name": "component",
80
- "type": "address"
81
- }
82
- ],
83
- "name": "ErrorComponentServiceNotComponent",
84
- "type": "error"
85
- },
86
- {
87
- "inputs": [
88
- {
89
- "internalType": "address",
90
- "name": "component",
91
- "type": "address"
92
- },
93
- {
94
- "internalType": "address",
95
- "name": "initialOwner",
96
- "type": "address"
97
- },
98
- {
99
- "internalType": "address",
100
- "name": "sender",
101
- "type": "address"
102
- }
103
- ],
104
- "name": "ErrorComponentServiceSenderNotOwner",
105
- "type": "error"
106
- },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "address",
111
- "name": "target",
112
- "type": "address"
113
- }
114
- ],
115
- "name": "ErrorIAccessTargetLocked",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "NftId",
122
- "name": "nftId",
123
- "type": "uint96"
124
- }
125
- ],
126
- "name": "ErrorNftOwnableAlreadyLinked",
127
- "type": "error"
128
- },
129
- {
130
- "inputs": [
131
- {
132
- "internalType": "address",
133
- "name": "contractAddress",
134
- "type": "address"
135
- }
136
- ],
137
- "name": "ErrorNftOwnableContractNotRegistered",
138
- "type": "error"
139
- },
140
- {
141
- "inputs": [],
142
- "name": "ErrorNftOwnableInitialOwnerZero",
143
- "type": "error"
144
- },
145
- {
146
- "inputs": [
147
- {
148
- "internalType": "address",
149
- "name": "account",
150
- "type": "address"
151
- }
152
- ],
153
- "name": "ErrorNftOwnableNotOwner",
154
- "type": "error"
155
- },
156
- {
157
- "inputs": [
158
- {
159
- "internalType": "address",
160
- "name": "registryAddress",
161
- "type": "address"
162
- }
163
- ],
164
- "name": "ErrorNotRegistry",
165
- "type": "error"
166
- },
167
- {
168
- "inputs": [],
169
- "name": "InvalidInitialization",
170
- "type": "error"
171
- },
172
- {
173
- "inputs": [],
174
- "name": "NotInitializing",
175
- "type": "error"
176
- },
177
- {
178
- "anonymous": false,
179
- "inputs": [
180
- {
181
- "indexed": false,
182
- "internalType": "uint64",
183
- "name": "version",
184
- "type": "uint64"
185
- }
186
- ],
187
- "name": "Initialized",
188
- "type": "event"
189
- },
190
- {
191
- "inputs": [],
192
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
193
- "outputs": [
194
- {
195
- "internalType": "bytes32",
196
- "name": "",
197
- "type": "bytes32"
198
- }
199
- ],
200
- "stateMutability": "view",
201
- "type": "function"
202
- },
203
- {
204
- "inputs": [],
205
- "name": "REGISTERABLE_LOCATION_V1",
206
- "outputs": [
207
- {
208
- "internalType": "bytes32",
209
- "name": "",
210
- "type": "bytes32"
211
- }
212
- ],
213
- "stateMutability": "view",
214
- "type": "function"
215
- },
216
- {
217
- "inputs": [
218
- {
219
- "internalType": "ReferralId",
220
- "name": "referralId",
221
- "type": "bytes8"
222
- },
223
- {
224
- "internalType": "uint256",
225
- "name": "premiumAmount",
226
- "type": "uint256"
227
- }
228
- ],
229
- "name": "calculateFeeAmount",
230
- "outputs": [
231
- {
232
- "internalType": "uint256",
233
- "name": "feeAmount",
234
- "type": "uint256"
235
- }
236
- ],
237
- "stateMutability": "view",
238
- "type": "function"
239
- },
240
- {
241
- "inputs": [
242
- {
243
- "internalType": "address",
244
- "name": "distributor",
245
- "type": "address"
246
- },
247
- {
248
- "internalType": "DistributorType",
249
- "name": "distributorType",
250
- "type": "bytes8"
251
- },
252
- {
253
- "internalType": "bytes",
254
- "name": "data",
255
- "type": "bytes"
256
- }
257
- ],
258
- "name": "createDistributor",
259
- "outputs": [
260
- {
261
- "internalType": "NftId",
262
- "name": "distributorNftId",
263
- "type": "uint96"
264
- }
265
- ],
266
- "stateMutability": "nonpayable",
267
- "type": "function"
268
- },
269
- {
270
- "inputs": [
271
- {
272
- "internalType": "string",
273
- "name": "name",
274
- "type": "string"
275
- },
276
- {
277
- "internalType": "UFixed",
278
- "name": "minDiscountPercentage",
279
- "type": "uint256"
280
- },
281
- {
282
- "internalType": "UFixed",
283
- "name": "maxDiscountPercentage",
284
- "type": "uint256"
285
- },
286
- {
287
- "internalType": "UFixed",
288
- "name": "commissionPercentage",
289
- "type": "uint256"
290
- },
291
- {
292
- "internalType": "uint32",
293
- "name": "maxReferralCount",
294
- "type": "uint32"
295
- },
296
- {
297
- "internalType": "uint32",
298
- "name": "maxReferralLifetime",
299
- "type": "uint32"
300
- },
301
- {
302
- "internalType": "bool",
303
- "name": "allowSelfReferrals",
304
- "type": "bool"
305
- },
306
- {
307
- "internalType": "bool",
308
- "name": "allowRenewals",
309
- "type": "bool"
310
- },
311
- {
312
- "internalType": "bytes",
313
- "name": "data",
314
- "type": "bytes"
315
- }
316
- ],
317
- "name": "createDistributorType",
318
- "outputs": [
319
- {
320
- "internalType": "DistributorType",
321
- "name": "distributorType",
322
- "type": "bytes8"
323
- }
324
- ],
325
- "stateMutability": "nonpayable",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [
330
- {
331
- "internalType": "NftId",
332
- "name": "distributorNftId",
333
- "type": "uint96"
334
- },
335
- {
336
- "internalType": "string",
337
- "name": "code",
338
- "type": "string"
339
- },
340
- {
341
- "internalType": "UFixed",
342
- "name": "discountPercentage",
343
- "type": "uint256"
344
- },
345
- {
346
- "internalType": "uint32",
347
- "name": "maxReferrals",
348
- "type": "uint32"
349
- },
350
- {
351
- "internalType": "Timestamp",
352
- "name": "expiryAt",
353
- "type": "uint40"
354
- },
355
- {
356
- "internalType": "bytes",
357
- "name": "data",
358
- "type": "bytes"
359
- }
360
- ],
361
- "name": "createReferral",
362
- "outputs": [
363
- {
364
- "internalType": "ReferralId",
365
- "name": "referralId",
366
- "type": "bytes8"
367
- }
368
- ],
369
- "stateMutability": "nonpayable",
370
- "type": "function"
371
- },
372
- {
373
- "inputs": [],
374
- "name": "getDomain",
375
- "outputs": [
376
- {
377
- "internalType": "ObjectType",
378
- "name": "",
379
- "type": "uint8"
380
- }
381
- ],
382
- "stateMutability": "pure",
383
- "type": "function"
384
- },
385
- {
386
- "inputs": [],
387
- "name": "getInitialInfo",
388
- "outputs": [
389
- {
390
- "components": [
391
- {
392
- "internalType": "NftId",
393
- "name": "nftId",
394
- "type": "uint96"
395
- },
396
- {
397
- "internalType": "NftId",
398
- "name": "parentNftId",
399
- "type": "uint96"
400
- },
401
- {
402
- "internalType": "ObjectType",
403
- "name": "objectType",
404
- "type": "uint8"
405
- },
406
- {
407
- "internalType": "bool",
408
- "name": "isInterceptor",
409
- "type": "bool"
410
- },
411
- {
412
- "internalType": "address",
413
- "name": "objectAddress",
414
- "type": "address"
415
- },
416
- {
417
- "internalType": "address",
418
- "name": "initialOwner",
419
- "type": "address"
420
- },
421
- {
422
- "internalType": "bytes",
423
- "name": "data",
424
- "type": "bytes"
425
- }
426
- ],
427
- "internalType": "struct IRegistry.ObjectInfo",
428
- "name": "info",
429
- "type": "tuple"
430
- }
431
- ],
432
- "stateMutability": "view",
433
- "type": "function"
434
- },
435
- {
436
- "inputs": [],
437
- "name": "getInstanceService",
438
- "outputs": [
439
- {
440
- "internalType": "contract InstanceService",
441
- "name": "",
442
- "type": "address"
443
- }
444
- ],
445
- "stateMutability": "view",
446
- "type": "function"
447
- },
448
- {
449
- "inputs": [],
450
- "name": "getMajorVersion",
451
- "outputs": [
452
- {
453
- "internalType": "VersionPart",
454
- "name": "majorVersion",
455
- "type": "uint8"
456
- }
457
- ],
458
- "stateMutability": "view",
459
- "type": "function"
460
- },
461
- {
462
- "inputs": [],
463
- "name": "getNftId",
464
- "outputs": [
465
- {
466
- "internalType": "NftId",
467
- "name": "",
468
- "type": "uint96"
469
- }
470
- ],
471
- "stateMutability": "view",
472
- "type": "function"
473
- },
474
- {
475
- "inputs": [],
476
- "name": "getOwner",
477
- "outputs": [
478
- {
479
- "internalType": "address",
480
- "name": "",
481
- "type": "address"
482
- }
483
- ],
484
- "stateMutability": "view",
485
- "type": "function"
486
- },
487
- {
488
- "inputs": [],
489
- "name": "getRegistry",
490
- "outputs": [
491
- {
492
- "internalType": "contract IRegistry",
493
- "name": "",
494
- "type": "address"
495
- }
496
- ],
497
- "stateMutability": "view",
498
- "type": "function"
499
- },
500
- {
501
- "inputs": [],
502
- "name": "getRegistryAddress",
503
- "outputs": [
504
- {
505
- "internalType": "address",
506
- "name": "",
507
- "type": "address"
508
- }
509
- ],
510
- "stateMutability": "view",
511
- "type": "function"
512
- },
513
- {
514
- "inputs": [],
515
- "name": "getRegistryService",
516
- "outputs": [
517
- {
518
- "internalType": "contract IRegistryService",
519
- "name": "",
520
- "type": "address"
521
- }
522
- ],
523
- "stateMutability": "view",
524
- "type": "function"
525
- },
526
- {
527
- "inputs": [],
528
- "name": "getVersion",
529
- "outputs": [
530
- {
531
- "internalType": "Version",
532
- "name": "",
533
- "type": "uint24"
534
- }
535
- ],
536
- "stateMutability": "pure",
537
- "type": "function"
538
- },
539
- {
540
- "inputs": [],
541
- "name": "initializeERC165",
542
- "outputs": [],
543
- "stateMutability": "nonpayable",
544
- "type": "function"
545
- },
546
- {
547
- "inputs": [
548
- {
549
- "internalType": "address",
550
- "name": "initialOwner",
551
- "type": "address"
552
- },
553
- {
554
- "internalType": "address",
555
- "name": "registryAddress",
556
- "type": "address"
557
- }
558
- ],
559
- "name": "initializeNftOwnable",
560
- "outputs": [],
561
- "stateMutability": "nonpayable",
562
- "type": "function"
563
- },
564
- {
565
- "inputs": [
566
- {
567
- "internalType": "address",
568
- "name": "registryAddress",
569
- "type": "address"
570
- },
571
- {
572
- "internalType": "NftId",
573
- "name": "parentNftId",
574
- "type": "uint96"
575
- },
576
- {
577
- "internalType": "ObjectType",
578
- "name": "objectType",
579
- "type": "uint8"
580
- },
581
- {
582
- "internalType": "bool",
583
- "name": "isInterceptor",
584
- "type": "bool"
585
- },
586
- {
587
- "internalType": "address",
588
- "name": "initialOwner",
589
- "type": "address"
590
- },
591
- {
592
- "internalType": "bytes",
593
- "name": "registryData",
594
- "type": "bytes"
595
- }
596
- ],
597
- "name": "initializeRegisterable",
598
- "outputs": [],
599
- "stateMutability": "nonpayable",
600
- "type": "function"
601
- },
602
- {
603
- "inputs": [
604
- {
605
- "internalType": "address",
606
- "name": "registryAddress",
607
- "type": "address"
608
- }
609
- ],
610
- "name": "initializeRegistryLinked",
611
- "outputs": [],
612
- "stateMutability": "nonpayable",
613
- "type": "function"
614
- },
615
- {
616
- "inputs": [
617
- {
618
- "internalType": "address",
619
- "name": "registry",
620
- "type": "address"
621
- },
622
- {
623
- "internalType": "address",
624
- "name": "initialOwner",
625
- "type": "address"
626
- }
627
- ],
628
- "name": "initializeService",
629
- "outputs": [],
630
- "stateMutability": "nonpayable",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "internalType": "address",
637
- "name": "activatedBy",
638
- "type": "address"
639
- },
640
- {
641
- "internalType": "bytes",
642
- "name": "data",
643
- "type": "bytes"
644
- }
645
- ],
646
- "name": "initializeVersionable",
647
- "outputs": [],
648
- "stateMutability": "nonpayable",
649
- "type": "function"
650
- },
651
- {
652
- "inputs": [],
653
- "name": "linkToRegisteredNftId",
654
- "outputs": [],
655
- "stateMutability": "nonpayable",
656
- "type": "function"
657
- },
658
- {
659
- "inputs": [
660
- {
661
- "internalType": "ReferralId",
662
- "name": "referralId",
663
- "type": "bytes8"
664
- },
665
- {
666
- "internalType": "uint256",
667
- "name": "premiumAmount",
668
- "type": "uint256"
669
- }
670
- ],
671
- "name": "processSale",
672
- "outputs": [],
673
- "stateMutability": "nonpayable",
674
- "type": "function"
675
- },
676
- {
677
- "inputs": [
678
- {
679
- "internalType": "address",
680
- "name": "distributionAddress",
681
- "type": "address"
682
- }
683
- ],
684
- "name": "register",
685
- "outputs": [
686
- {
687
- "internalType": "NftId",
688
- "name": "distributionNftId",
689
- "type": "uint96"
690
- }
691
- ],
692
- "stateMutability": "nonpayable",
693
- "type": "function"
694
- },
695
- {
696
- "inputs": [
697
- {
698
- "internalType": "bytes4",
699
- "name": "interfaceId",
700
- "type": "bytes4"
701
- }
702
- ],
703
- "name": "registerInterface",
704
- "outputs": [],
705
- "stateMutability": "nonpayable",
706
- "type": "function"
707
- },
708
- {
709
- "inputs": [
710
- {
711
- "components": [
712
- {
713
- "internalType": "UFixed",
714
- "name": "fractionalFee",
715
- "type": "uint256"
716
- },
717
- {
718
- "internalType": "uint256",
719
- "name": "fixedFee",
720
- "type": "uint256"
721
- }
722
- ],
723
- "internalType": "struct Fee",
724
- "name": "distributionFee",
725
- "type": "tuple"
726
- }
727
- ],
728
- "name": "setFees",
729
- "outputs": [],
730
- "stateMutability": "nonpayable",
731
- "type": "function"
732
- },
733
- {
734
- "inputs": [
735
- {
736
- "internalType": "bytes4",
737
- "name": "interfaceId",
738
- "type": "bytes4"
739
- }
740
- ],
741
- "name": "supportsInterface",
742
- "outputs": [
743
- {
744
- "internalType": "bool",
745
- "name": "",
746
- "type": "bool"
747
- }
748
- ],
749
- "stateMutability": "view",
750
- "type": "function"
751
- },
752
- {
753
- "inputs": [
754
- {
755
- "internalType": "NftId",
756
- "name": "distributorNftId",
757
- "type": "uint96"
758
- },
759
- {
760
- "internalType": "DistributorType",
761
- "name": "distributorType",
762
- "type": "bytes8"
763
- },
764
- {
765
- "internalType": "bytes",
766
- "name": "data",
767
- "type": "bytes"
768
- }
769
- ],
770
- "name": "updateDistributorType",
771
- "outputs": [],
772
- "stateMutability": "nonpayable",
773
- "type": "function"
774
- },
775
- {
776
- "inputs": [
777
- {
778
- "internalType": "bytes",
779
- "name": "data",
780
- "type": "bytes"
781
- }
782
- ],
783
- "name": "upgradeVersionable",
784
- "outputs": [],
785
- "stateMutability": "nonpayable",
786
- "type": "function"
787
- }
788
- ],
789
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61375e80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80635ab1bd5311610104578063b68d1809116100a2578063ea86657211610071578063ea8665721461043b578063f21de1e814610375578063f7c34ee01461044e578063f7d39dea1461046157600080fd5b8063b68d18091461040e578063caf4e3d414610423578063cc9fc59a1461042b578063cde749f41461043357600080fd5b8063675393bf116100de578063675393bf146103cb578063893d20e8146103de5780638dd2b781146103e6578063ada9652e146103f957600080fd5b80635ab1bd53146103755780635dcb3bae1461039a578063644c45e0146103ad57600080fd5b80632b5198b11161017c5780633f52c0f61161014b5780633f52c0f6146103115780634420e4861461032457806349bb9e4b1461034f5780634cf30a841461036257600080fd5b80632b5198b1146102b7578063329d6e74146102e357806336fc697e146102f65780633d683fd9146102fe57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461291a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610474565b60405162ffffff9091168152602001610218565b6102456104fe565b604051610218919061299b565b61025a6106b2565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461291a565b6108b9565b61025a6102b2366004612b7a565b6108e6565b6102ca6102c5366004612c2b565b610972565b6040516001600160c01b03199091168152602001610218565b61025a6102f1366004612cf6565b610bb0565b61025a610cfd565b61025a61030c366004612d40565b610d43565b61025a61031f366004612da1565b610de0565b610337610332366004612dd3565b610f43565b6040516001600160601b039091168152602001610218565b61025a61035d366004612df0565b6112b1565b61025a610370366004612e3f565b6113b0565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6103376103a8366004612e6b565b6113ee565b6000805160206136e9833981519152546001600160601b0316610337565b61025a6103d9366004612dd3565b611581565b61038261168f565b6102ca6103f4366004612e8b565b6117c6565b6102836000805160206136e983398151915281565b60785b60405160ff9091168152602001610218565b610382611a2f565b610382611acc565b610411611af6565b61025a610449366004612f2b565b611b6d565b61025a61045c366004612f2b565b611c05565b61028361046f366004612e3f565b611c7c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190612f64565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105ae90612f89565b80601f01602080910402602001604051908101604052809291908181526020018280546105da90612f89565b80156106275780601f106105fc57610100808354040283529160200191610627565b820191906000526020600020905b81548152906001019060200180831161060a57829003601f168201915b50505050508152505090506040518060e00160405280610645600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161069661168f565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190612fce565b156107765780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107896001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f59190612fce565b61081d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161076d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190612ff6565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108c1611cbd565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108ee611cbd565b6108f88287611c05565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109688382613062565b5050505050505050565b600080600061097f611cf6565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016109bd929190613121565b602060405180830381865af41580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe9190613143565b6040516355ee627560e01b81526001600160c01b03198216600482015290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a819190613160565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed9190612fce565b610ba05760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890610b6c9085908590600401613179565b600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610bd2610474565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190613245565b6000805160206137098339815191528054600160401b900460ff1680610c69575080546001600160401b03808416911610155b15610c875760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cb183611d81565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d05611cbd565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610d4d611cf6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd090610da7908890859060ff90600401613299565b600060405180830381600087803b158015610dc157600080fd5b505af1158015610dd5573d6000803e3d6000fd5b505050505050505050565b600080610ded6078611d89565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5591906132ce565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf91906132f6565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f90610f09908590859060ff906004016133e7565b600060405180830381600087803b158015610f2357600080fd5b505af1158015610f37573d6000803e3d6000fd5b50505050505050505050565b600080808080610f5c866078610f5761202b565b6120a2565b93509350935093506000610f6e611a2f565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610fc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe89190810190613470565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906132f6565b6040518363ffffffff1660e01b81526004016110d8929190613542565b600060405180830381600087803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b50505050611112611acc565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611160573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611188919081019061355f565b6040518463ffffffff1660e01b81526004016111a6939291906135a7565b600060405180830381600087803b1580156111c057600080fd5b505af11580156111d4573d6000803e3d6000fd5b505050506111e0611acc565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561122e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611256919081019061355f565b6040518463ffffffff1660e01b8152600401611274939291906135a7565b600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b50505050505050505050919050565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156112e45750825b90506000826001600160401b031660011480156113005750303b155b90508115801561130e575080155b1561132c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135657845460ff60401b1916600160401b1785555b611360878761247b565b83156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161076d565b60008060006113fb611cf6565b9250925050611408611a2f565b6001600160a01b03166357a8fba76040518060e00160405280611429600090565b6001600160601b03168152602001856001600160601b0316815260200161144e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016114ad919061299b565b6020604051808303816000875af11580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190612ff6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f9061154590879085906004016135e3565b600060405180830381600087803b15801561155f57600080fd5b505af1158015611573573d6000803e3d6000fd5b505050505050509392505050565b611589611cbd565b806001600160a01b03163b6000036115bf5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611639575060408051601f3d908101601f1916820190925261163691810190612fce565b60015b6116615760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b8061168a5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161076d565b505b50565b6000806000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117239190612fce565b156117b0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa91906132ce565b91505090565b54600160601b90046001600160a01b0316919050565b60008060006117d3611cf6565b925092505060008851116118295760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161076d565b64ffffffffff851661187d5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161076d565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906118b69085908c90600401613121565b602060405180830381865af41580156118d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f79190613143565b6040805160e0810182526001600160601b038c168152602081018b90528082018a905263ffffffff891660608201526000608082015264ffffffffff881660a082015260c0810187905290516355ee627560e01b81526001600160c01b031983166004820152919450906001600160a01b038316906354d747a89073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156119ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d29190613160565b836040518363ffffffff1660e01b81526004016119f0929190613605565b600060405180830381600087803b158015611a0a57600080fd5b505af1158015611a1e573d6000803e3d6000fd5b505050505050509695505050505050565b600080611a446001546001600160a01b031690565b6001600160a01b031663d39e604360285b611a5d611af6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac691906132ce565b92915050565b600080611ae16001546001600160a01b031690565b6001600160a01b031663d39e60436046611a55565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611b49573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f9919061369c565b611b75611cbd565b611bf582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190612ff6565b603c600085604051806020016040528060008152506108e6565b61168a637b6a51fd60e01b6108b9565b611c0d611cbd565b611c1681611581565b611c1e610cfd565b6001600160a01b038216611c455760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206136e983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260009060640161076d565b60008051602061370983398151915254600160401b900460ff16611cf457604051631afcd79f60e31b815260040160405180910390fd5b565b600080600080611d04612599565b9296509094509092509050611d218160785b60ff90811691161490565b611d7b5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161076d565b50909192565b6101da611cbd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e409190810190613470565b9250611e5683604001518560ff90811691161490565b611e985760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161076d565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f169190810190613470565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8391906132ce565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff49190612fce565b1561202357608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161076d565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190613245565b6000338180806120ba6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121269190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a59190612fce565b156121dc5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161076d565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015612229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224d9190612fce565b612275576040516359bff0e360e11b81526001600160a01b038916600482015260240161076d565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122dd9190810190613470565b90506122f481604001518960ff9081169116141590565b15612334576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161076d565b60a08101516001600160a01b03868116908216146123865760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161076d565b8160200151935061239684612883565b945060006123a2611acc565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015612401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124259190612fce565b90508061246e57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161076d565b5050505093509350935093565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156124ae5750825b90506000826001600160401b031660011480156124ca5750303b155b9050811580156124d8575080155b156124f65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561252057845460ff60401b1916600160401b1785555b6000808780602001905181019061253791906136b9565b92509050612545818a611b6d565b6125556342527cdf60e01b6108b9565b505083156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161139e565b33600080806125b06001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269b9190612fce565b6126e75760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161076d565b60006126fb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561274a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127729190810190613470565b905080604001519250600061278f6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156127e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261280c9190810190613470565b905061281e8160400151611d16604690565b6128745760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161076d565b80608001519250505090919293565b6000806128986001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156128e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261290f9190810190613470565b608001519392505050565b60006020828403121561292c57600080fd5b81356001600160e01b03198116811461294457600080fd5b9392505050565b60005b8381101561296657818101518382015260200161294e565b50506000910152565b6000815180845261298781602086016020860161294b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612a0460c08401826001600160a01b03169052565b5060c083015160e080840152612a1e61010084018261296f565b949350505050565b6001600160a01b038116811461168c57600080fd5b6001600160601b038116811461168c57600080fd5b60ff8116811461168c57600080fd5b801515811461168c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612aa557612aa5612a6d565b60405290565b60405160e081016001600160401b0381118282101715612aa557612aa5612a6d565b604051601f8201601f191681016001600160401b0381118282101715612af557612af5612a6d565b604052919050565b60006001600160401b03821115612b1657612b16612a6d565b50601f01601f191660200190565b600082601f830112612b3557600080fd5b8135612b48612b4382612afd565b612acd565b818152846020838601011115612b5d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612b9357600080fd5b8635612b9e81612a26565b95506020870135612bae81612a3b565b94506040870135612bbe81612a50565b93506060870135612bce81612a5f565b92506080870135612bde81612a26565b915060a08701356001600160401b03811115612bf957600080fd5b612c0589828a01612b24565b9150509295509295509295565b803563ffffffff81168114612c2657600080fd5b919050565b60008060008060008060008060006101208a8c031215612c4a57600080fd5b89356001600160401b0380821115612c6157600080fd5b612c6d8d838e01612b24565b9a5060208c0135995060408c0135985060608c01359750612c9060808d01612c12565b9650612c9e60a08d01612c12565b955060c08c01359150612cb082612a5f565b90935060e08b013590612cc282612a5f565b9092506101008b01359080821115612cd957600080fd5b50612ce68c828d01612b24565b9150509295985092959850929598565b600060208284031215612d0857600080fd5b81356001600160401b03811115612d1e57600080fd5b612a1e84828501612b24565b6001600160c01b03198116811461168c57600080fd5b600080600060608486031215612d5557600080fd5b8335612d6081612a3b565b92506020840135612d7081612d2a565b915060408401356001600160401b03811115612d8b57600080fd5b612d9786828701612b24565b9150509250925092565b600060408284031215612db357600080fd5b612dbb612a83565b82358152602083013560208201528091505092915050565b600060208284031215612de557600080fd5b813561294481612a26565b60008060408385031215612e0357600080fd5b8235612e0e81612a26565b915060208301356001600160401b03811115612e2957600080fd5b612e3585828601612b24565b9150509250929050565b60008060408385031215612e5257600080fd5b8235612e5d81612d2a565b946020939093013593505050565b600080600060608486031215612e8057600080fd5b8335612d6081612a26565b60008060008060008060c08789031215612ea457600080fd5b8635612eaf81612a3b565b955060208701356001600160401b0380821115612ecb57600080fd5b612ed78a838b01612b24565b965060408901359550612eec60608a01612c12565b94506080890135915064ffffffffff82168214612f0857600080fd5b90925060a08801359080821115612f1e57600080fd5b50612c0589828a01612b24565b60008060408385031215612f3e57600080fd5b8235612f4981612a26565b91506020830135612f5981612a26565b809150509250929050565b600060208284031215612f7657600080fd5b815162ffffff8116811461294457600080fd5b600181811c90821680612f9d57607f821691505b602082108103612fbd57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612c2681612a5f565b600060208284031215612fe057600080fd5b815161294481612a5f565b8051612c2681612a3b565b60006020828403121561300857600080fd5b815161294481612a3b565b601f82111561305d57600081815260208120601f850160051c8101602086101561303a5750805b601f850160051c820191505b8181101561305957828155600101613046565b5050505b505050565b81516001600160401b0381111561307b5761307b612a6d565b61308f816130898454612f89565b84613013565b602080601f8311600181146130c457600084156130ac5750858301515b600019600386901b1c1916600185901b178555613059565b600085815260208120601f198616915b828110156130f3578886015182559484019460019091019084016130d4565b50858210156131115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000612a1e604083018461296f565b60006020828403121561315557600080fd5b815161294481612d2a565b60006020828403121561317257600080fd5b5051919050565b828152604060208201526000825161012080604085015261319e61016085018361296f565b91506020850151606085015260408501516080850152606085015160a085015260808501516131d560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006131fd8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152613226828261296f565b9695505050505050565b6001600160401b038116811461168c57600080fd5b60006020828403121561325757600080fd5b815161294481613230565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160606040850152612a1e606085018261296f565b6001600160601b03841681526060602082015260006132bb6060830185613262565b905060ff83166040830152949350505050565b6000602082840312156132e057600080fd5b815161294481612a26565b8051612c2681612a26565b600081830360a081121561330957600080fd5b604051608081018181106001600160401b038211171561332b5761332b612a6d565b604052835161333981612a3b565b8152602084015161334981612a26565b60208201526040603f198301121561336057600080fd5b613368612a83565b6040858101518252606086015160208301528201526080840151915061338d82612a26565b60608101919091529392505050565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152909101516060808501919091529091015116608090910152565b6001600160601b038416815260e08101613404602083018561339c565b60ff831660c0830152949350505050565b8051612c2681612a50565b600061342e612b4384612afd565b905082815283838301111561344257600080fd5b61294483602083018461294b565b600082601f83011261346157600080fd5b61294483835160208501613420565b60006020828403121561348257600080fd5b81516001600160401b038082111561349957600080fd5b9083019060e082860312156134ad57600080fd5b6134b5612aab565b6134be83612feb565b81526134cc60208401612feb565b60208201526134dd60408401613415565b60408201526134ee60608401612fc3565b60608201526134ff608084016132eb565b608082015261351060a084016132eb565b60a082015260c08301518281111561352757600080fd5b61353387828601613450565b60c08301525095945050505050565b6001600160601b038316815260c08101612944602083018461339c565b60006020828403121561357157600080fd5b81516001600160401b0381111561358757600080fd5b8201601f8101841361359857600080fd5b612a1e84825160208401613420565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906135da9083018461296f565b95945050505050565b6001600160601b0383168152604060208201526000612a1e6040830184613262565b828152604060208201526001600160601b0382511660408201526000602083015160e0606084015261363b61012084018261296f565b90506040840151608084015263ffffffff60608501511660a0840152608084015161366e60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f1901610100850152613226828261296f565b6000602082840312156136ae57600080fd5b815161294481612a50565b600080604083850312156136cc57600080fd5b82516136d781612a26565b6020840151909250612f5981612a2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ab3dc240e044069d9e8aa48fa3cc8fdad6062a0a1460e227771a8e1baea8367e64736f6c63430008140033",
790
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80635ab1bd5311610104578063b68d1809116100a2578063ea86657211610071578063ea8665721461043b578063f21de1e814610375578063f7c34ee01461044e578063f7d39dea1461046157600080fd5b8063b68d18091461040e578063caf4e3d414610423578063cc9fc59a1461042b578063cde749f41461043357600080fd5b8063675393bf116100de578063675393bf146103cb578063893d20e8146103de5780638dd2b781146103e6578063ada9652e146103f957600080fd5b80635ab1bd53146103755780635dcb3bae1461039a578063644c45e0146103ad57600080fd5b80632b5198b11161017c5780633f52c0f61161014b5780633f52c0f6146103115780634420e4861461032457806349bb9e4b1461034f5780634cf30a841461036257600080fd5b80632b5198b1146102b7578063329d6e74146102e357806336fc697e146102f65780633d683fd9146102fe57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461291a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610474565b60405162ffffff9091168152602001610218565b6102456104fe565b604051610218919061299b565b61025a6106b2565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f36600461291a565b6108b9565b61025a6102b2366004612b7a565b6108e6565b6102ca6102c5366004612c2b565b610972565b6040516001600160c01b03199091168152602001610218565b61025a6102f1366004612cf6565b610bb0565b61025a610cfd565b61025a61030c366004612d40565b610d43565b61025a61031f366004612da1565b610de0565b610337610332366004612dd3565b610f43565b6040516001600160601b039091168152602001610218565b61025a61035d366004612df0565b6112b1565b61025a610370366004612e3f565b6113b0565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6103376103a8366004612e6b565b6113ee565b6000805160206136e9833981519152546001600160601b0316610337565b61025a6103d9366004612dd3565b611581565b61038261168f565b6102ca6103f4366004612e8b565b6117c6565b6102836000805160206136e983398151915281565b60785b60405160ff9091168152602001610218565b610382611a2f565b610382611acc565b610411611af6565b61025a610449366004612f2b565b611b6d565b61025a61045c366004612f2b565b611c05565b61028361046f366004612e3f565b611c7c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190612f64565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105ae90612f89565b80601f01602080910402602001604051908101604052809291908181526020018280546105da90612f89565b80156106275780601f106105fc57610100808354040283529160200191610627565b820191906000526020600020905b81548152906001019060200180831161060a57829003601f168201915b50505050508152505090506040518060e00160405280610645600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161069661168f565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190612fce565b156107765780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107896001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f59190612fce565b61081d5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161076d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190612ff6565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108c1611cbd565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108ee611cbd565b6108f88287611c05565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016109688382613062565b5050505050505050565b600080600061097f611cf6565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016109bd929190613121565b602060405180830381865af41580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe9190613143565b6040516355ee627560e01b81526001600160c01b03198216600482015290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015610a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a819190613160565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa158015610ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aed9190612fce565b610ba05760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f4890610b6c9085908590600401613179565b600060405180830381600087803b158015610b8657600080fd5b505af1158015610b9a573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610bd2610474565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c369190613245565b6000805160206137098339815191528054600160401b900460ff1680610c69575080546001600160401b03808416911610155b15610c875760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cb183611d81565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d05611cbd565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610d4d611cf6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd090610da7908890859060ff90600401613299565b600060405180830381600087803b158015610dc157600080fd5b505af1158015610dd5573d6000803e3d6000fd5b505050505050505050565b600080610ded6078611d89565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5591906132ce565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf91906132f6565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f90610f09908590859060ff906004016133e7565b600060405180830381600087803b158015610f2357600080fd5b505af1158015610f37573d6000803e3d6000fd5b50505050505050505050565b600080808080610f5c866078610f5761202b565b6120a2565b93509350935093506000610f6e611a2f565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015610fc0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe89190810190613470565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906132f6565b6040518363ffffffff1660e01b81526004016110d8929190613542565b600060405180830381600087803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b50505050611112611acc565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611160573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611188919081019061355f565b6040518463ffffffff1660e01b81526004016111a6939291906135a7565b600060405180830381600087803b1580156111c057600080fd5b505af11580156111d4573d6000803e3d6000fd5b505050506111e0611acc565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561122e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611256919081019061355f565b6040518463ffffffff1660e01b8152600401611274939291906135a7565b600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b50505050505050505050919050565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156112e45750825b90506000826001600160401b031660011480156113005750303b155b90508115801561130e575080155b1561132c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135657845460ff60401b1916600160401b1785555b611360878761247b565b83156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161076d565b60008060006113fb611cf6565b9250925050611408611a2f565b6001600160a01b03166357a8fba76040518060e00160405280611429600090565b6001600160601b03168152602001856001600160601b0316815260200161144e607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016114ad919061299b565b6020604051808303816000875af11580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190612ff6565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f9061154590879085906004016135e3565b600060405180830381600087803b15801561155f57600080fd5b505af1158015611573573d6000803e3d6000fd5b505050505050509392505050565b611589611cbd565b806001600160a01b03163b6000036115bf5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611639575060408051601f3d908101601f1916820190925261163691810190612fce565b60015b6116615760405163fdeac91f60e01b81526001600160a01b038216600482015260240161076d565b8061168a5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161076d565b505b50565b6000806000805160206136e983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117239190612fce565b156117b0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117aa91906132ce565b91505090565b54600160601b90046001600160a01b0316919050565b60008060006117d3611cf6565b925092505060008851116118295760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161076d565b64ffffffffff851661187d5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161076d565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906118b69085908c90600401613121565b602060405180830381865af41580156118d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f79190613143565b6040805160e0810182526001600160601b038c168152602081018b90528082018a905263ffffffff891660608201526000608082015264ffffffffff881660a082015260c0810187905290516355ee627560e01b81526001600160c01b031983166004820152919450906001600160a01b038316906354d747a89073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156119ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d29190613160565b836040518363ffffffff1660e01b81526004016119f0929190613605565b600060405180830381600087803b158015611a0a57600080fd5b505af1158015611a1e573d6000803e3d6000fd5b505050505050509695505050505050565b600080611a446001546001600160a01b031690565b6001600160a01b031663d39e604360285b611a5d611af6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac691906132ce565b92915050565b600080611ae16001546001600160a01b031690565b6001600160a01b031663d39e60436046611a55565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611b49573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f9919061369c565b611b75611cbd565b611bf582836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190612ff6565b603c600085604051806020016040528060008152506108e6565b61168a637b6a51fd60e01b6108b9565b611c0d611cbd565b611c1681611581565b611c1e610cfd565b6001600160a01b038216611c455760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206136e983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260009060640161076d565b60008051602061370983398151915254600160401b900460ff16611cf457604051631afcd79f60e31b815260040160405180910390fd5b565b600080600080611d04612599565b9296509094509092509050611d218160785b60ff90811691161490565b611d7b5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161076d565b50909192565b6101da611cbd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e409190810190613470565b9250611e5683604001518560ff90811691161490565b611e985760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161076d565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f169190810190613470565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8391906132ce565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff49190612fce565b1561202357608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161076d565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f99190613245565b6000338180806120ba6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121269190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a59190612fce565b156121dc5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161076d565b6040516301ffc9a760e01b81526262516360e41b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015612229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224d9190612fce565b612275576040516359bff0e360e11b81526001600160a01b038916600482015260240161076d565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156122b5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122dd9190810190613470565b90506122f481604001518960ff9081169116141590565b15612334576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161076d565b60a08101516001600160a01b03868116908216146123865760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161076d565b8160200151935061239684612883565b945060006123a2611acc565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015612401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124259190612fce565b90508061246e57604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161076d565b5050505093509350935093565b6000805160206137098339815191528054600160401b810460ff1615906001600160401b03166000811580156124ae5750825b90506000826001600160401b031660011480156124ca5750303b155b9050811580156124d8575080155b156124f65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561252057845460ff60401b1916600160401b1785555b6000808780602001905181019061253791906136b9565b92509050612545818a611b6d565b6125556342527cdf60e01b6108b9565b505083156113a757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161139e565b33600080806125b06001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190612ff6565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269b9190612fce565b6126e75760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161076d565b60006126fb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561274a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127729190810190613470565b905080604001519250600061278f6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156127e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261280c9190810190613470565b905061281e8160400151611d16604690565b6128745760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161076d565b80608001519250505090919293565b6000806128986001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156128e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261290f9190810190613470565b608001519392505050565b60006020828403121561292c57600080fd5b81356001600160e01b03198116811461294457600080fd5b9392505050565b60005b8381101561296657818101518382015260200161294e565b50506000910152565b6000815180845261298781602086016020860161294b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612a0460c08401826001600160a01b03169052565b5060c083015160e080840152612a1e61010084018261296f565b949350505050565b6001600160a01b038116811461168c57600080fd5b6001600160601b038116811461168c57600080fd5b60ff8116811461168c57600080fd5b801515811461168c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612aa557612aa5612a6d565b60405290565b60405160e081016001600160401b0381118282101715612aa557612aa5612a6d565b604051601f8201601f191681016001600160401b0381118282101715612af557612af5612a6d565b604052919050565b60006001600160401b03821115612b1657612b16612a6d565b50601f01601f191660200190565b600082601f830112612b3557600080fd5b8135612b48612b4382612afd565b612acd565b818152846020838601011115612b5d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612b9357600080fd5b8635612b9e81612a26565b95506020870135612bae81612a3b565b94506040870135612bbe81612a50565b93506060870135612bce81612a5f565b92506080870135612bde81612a26565b915060a08701356001600160401b03811115612bf957600080fd5b612c0589828a01612b24565b9150509295509295509295565b803563ffffffff81168114612c2657600080fd5b919050565b60008060008060008060008060006101208a8c031215612c4a57600080fd5b89356001600160401b0380821115612c6157600080fd5b612c6d8d838e01612b24565b9a5060208c0135995060408c0135985060608c01359750612c9060808d01612c12565b9650612c9e60a08d01612c12565b955060c08c01359150612cb082612a5f565b90935060e08b013590612cc282612a5f565b9092506101008b01359080821115612cd957600080fd5b50612ce68c828d01612b24565b9150509295985092959850929598565b600060208284031215612d0857600080fd5b81356001600160401b03811115612d1e57600080fd5b612a1e84828501612b24565b6001600160c01b03198116811461168c57600080fd5b600080600060608486031215612d5557600080fd5b8335612d6081612a3b565b92506020840135612d7081612d2a565b915060408401356001600160401b03811115612d8b57600080fd5b612d9786828701612b24565b9150509250925092565b600060408284031215612db357600080fd5b612dbb612a83565b82358152602083013560208201528091505092915050565b600060208284031215612de557600080fd5b813561294481612a26565b60008060408385031215612e0357600080fd5b8235612e0e81612a26565b915060208301356001600160401b03811115612e2957600080fd5b612e3585828601612b24565b9150509250929050565b60008060408385031215612e5257600080fd5b8235612e5d81612d2a565b946020939093013593505050565b600080600060608486031215612e8057600080fd5b8335612d6081612a26565b60008060008060008060c08789031215612ea457600080fd5b8635612eaf81612a3b565b955060208701356001600160401b0380821115612ecb57600080fd5b612ed78a838b01612b24565b965060408901359550612eec60608a01612c12565b94506080890135915064ffffffffff82168214612f0857600080fd5b90925060a08801359080821115612f1e57600080fd5b50612c0589828a01612b24565b60008060408385031215612f3e57600080fd5b8235612f4981612a26565b91506020830135612f5981612a26565b809150509250929050565b600060208284031215612f7657600080fd5b815162ffffff8116811461294457600080fd5b600181811c90821680612f9d57607f821691505b602082108103612fbd57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612c2681612a5f565b600060208284031215612fe057600080fd5b815161294481612a5f565b8051612c2681612a3b565b60006020828403121561300857600080fd5b815161294481612a3b565b601f82111561305d57600081815260208120601f850160051c8101602086101561303a5750805b601f850160051c820191505b8181101561305957828155600101613046565b5050505b505050565b81516001600160401b0381111561307b5761307b612a6d565b61308f816130898454612f89565b84613013565b602080601f8311600181146130c457600084156130ac5750858301515b600019600386901b1c1916600185901b178555613059565b600085815260208120601f198616915b828110156130f3578886015182559484019460019091019084016130d4565b50858210156131115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000612a1e604083018461296f565b60006020828403121561315557600080fd5b815161294481612d2a565b60006020828403121561317257600080fd5b5051919050565b828152604060208201526000825161012080604085015261319e61016085018361296f565b91506020850151606085015260408501516080850152606085015160a085015260808501516131d560c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006131fd8187018315159052565b60e087015115159286019290925250840151603f1984830301610140850152613226828261296f565b9695505050505050565b6001600160401b038116811461168c57600080fd5b60006020828403121561325757600080fd5b815161294481613230565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160606040850152612a1e606085018261296f565b6001600160601b03841681526060602082015260006132bb6060830185613262565b905060ff83166040830152949350505050565b6000602082840312156132e057600080fd5b815161294481612a26565b8051612c2681612a26565b600081830360a081121561330957600080fd5b604051608081018181106001600160401b038211171561332b5761332b612a6d565b604052835161333981612a3b565b8152602084015161334981612a26565b60208201526040603f198301121561336057600080fd5b613368612a83565b6040858101518252606086015160208301528201526080840151915061338d82612a26565b60608101919091529392505050565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152909101516060808501919091529091015116608090910152565b6001600160601b038416815260e08101613404602083018561339c565b60ff831660c0830152949350505050565b8051612c2681612a50565b600061342e612b4384612afd565b905082815283838301111561344257600080fd5b61294483602083018461294b565b600082601f83011261346157600080fd5b61294483835160208501613420565b60006020828403121561348257600080fd5b81516001600160401b038082111561349957600080fd5b9083019060e082860312156134ad57600080fd5b6134b5612aab565b6134be83612feb565b81526134cc60208401612feb565b60208201526134dd60408401613415565b60408201526134ee60608401612fc3565b60608201526134ff608084016132eb565b608082015261351060a084016132eb565b60a082015260c08301518281111561352757600080fd5b61353387828601613450565b60c08301525095945050505050565b6001600160601b038316815260c08101612944602083018461339c565b60006020828403121561357157600080fd5b81516001600160401b0381111561358757600080fd5b8201601f8101841361359857600080fd5b612a1e84825160208401613420565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906135da9083018461296f565b95945050505050565b6001600160601b0383168152604060208201526000612a1e6040830184613262565b828152604060208201526001600160601b0382511660408201526000602083015160e0606084015261363b61012084018261296f565b90506040840151608084015263ffffffff60608501511660a0840152608084015161366e60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f1901610100850152613226828261296f565b6000602082840312156136ae57600080fd5b815161294481612a50565b600080604083850312156136cc57600080fd5b82516136d781612a26565b6020840151909250612f5981612a2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220ab3dc240e044069d9e8aa48fa3cc8fdad6062a0a1460e227771a8e1baea8367e64736f6c63430008140033",
791
- "linkReferences": {
792
- "contracts/types/DistributorType.sol": {
793
- "DistributorTypeLib": [
794
- {
795
- "length": 20,
796
- "start": 2668
797
- },
798
- {
799
- "length": 20,
800
- "start": 2825
801
- }
802
- ]
803
- },
804
- "contracts/types/NftId.sol": {
805
- "NftIdLib": [
806
- {
807
- "length": 20,
808
- "start": 1997
809
- },
810
- {
811
- "length": 20,
812
- "start": 6059
813
- },
814
- {
815
- "length": 20,
816
- "start": 8749
817
- },
818
- {
819
- "length": 20,
820
- "start": 10019
821
- }
822
- ]
823
- },
824
- "contracts/types/Referral.sol": {
825
- "ReferralLib": [
826
- {
827
- "length": 20,
828
- "start": 6514
829
- },
830
- {
831
- "length": 20,
832
- "start": 6746
833
- }
834
- ]
835
- },
836
- "contracts/types/RoleId.sol": {
837
- "RoleIdLib": [
838
- {
839
- "length": 20,
840
- "start": 8490
841
- }
842
- ]
843
- },
844
- "contracts/types/Version.sol": {
845
- "VersionLib": [
846
- {
847
- "length": 20,
848
- "start": 1409
849
- },
850
- {
851
- "length": 20,
852
- "start": 3224
853
- }
854
- ],
855
- "VersionPartLib": [
856
- {
857
- "length": 20,
858
- "start": 7157
859
- }
860
- ]
861
- }
862
- },
863
- "deployedLinkReferences": {
864
- "contracts/types/DistributorType.sol": {
865
- "DistributorTypeLib": [
866
- {
867
- "length": 20,
868
- "start": 2438
869
- },
870
- {
871
- "length": 20,
872
- "start": 2595
873
- }
874
- ]
875
- },
876
- "contracts/types/NftId.sol": {
877
- "NftIdLib": [
878
- {
879
- "length": 20,
880
- "start": 1767
881
- },
882
- {
883
- "length": 20,
884
- "start": 5829
885
- },
886
- {
887
- "length": 20,
888
- "start": 8519
889
- },
890
- {
891
- "length": 20,
892
- "start": 9789
893
- }
894
- ]
895
- },
896
- "contracts/types/Referral.sol": {
897
- "ReferralLib": [
898
- {
899
- "length": 20,
900
- "start": 6284
901
- },
902
- {
903
- "length": 20,
904
- "start": 6516
905
- }
906
- ]
907
- },
908
- "contracts/types/RoleId.sol": {
909
- "RoleIdLib": [
910
- {
911
- "length": 20,
912
- "start": 8260
913
- }
914
- ]
915
- },
916
- "contracts/types/Version.sol": {
917
- "VersionLib": [
918
- {
919
- "length": 20,
920
- "start": 1179
921
- },
922
- {
923
- "length": 20,
924
- "start": 2994
925
- }
926
- ],
927
- "VersionPartLib": [
928
- {
929
- "length": 20,
930
- "start": 6927
931
- }
932
- ]
933
- }
934
- }
935
- }