@etherisc/gif-next 0.0.2-f080b71-868 → 0.0.2-f083368-470

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