@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f4f484a-692

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. package/README.md +140 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +938 -229
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +192 -168
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +755 -50
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +818 -236
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +627 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2185 -189
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +299 -153
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +993 -1183
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +232 -210
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +520 -190
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +352 -75
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +236 -126
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +69 -43
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1732 -0
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +824 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +373 -61
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +234 -216
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +333 -188
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +229 -313
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  208. package/contracts/components/Component.sol +251 -0
  209. package/contracts/components/Distribution.sol +200 -86
  210. package/contracts/components/IComponent.sol +74 -0
  211. package/contracts/components/IDistributionComponent.sol +44 -16
  212. package/contracts/components/IPoolComponent.sol +88 -37
  213. package/contracts/components/IProductComponent.sol +10 -5
  214. package/contracts/components/Pool.sol +217 -177
  215. package/contracts/components/Product.sol +130 -134
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  217. package/contracts/instance/BundleManager.sol +127 -0
  218. package/contracts/instance/Cloneable.sol +51 -0
  219. package/contracts/instance/IInstance.sol +81 -11
  220. package/contracts/instance/IInstanceService.sol +56 -1
  221. package/contracts/instance/Instance.sol +156 -265
  222. package/contracts/instance/InstanceAccessManager.sol +410 -176
  223. package/contracts/instance/InstanceReader.sol +39 -29
  224. package/contracts/instance/InstanceService.sol +448 -55
  225. package/contracts/instance/InstanceServiceManager.sol +11 -13
  226. package/contracts/instance/ObjectManager.sol +82 -0
  227. package/contracts/instance/base/ComponentService.sol +134 -0
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +36 -20
  231. package/contracts/instance/module/IBundle.sol +2 -0
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +9 -19
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +336 -0
  239. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +467 -0
  243. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +62 -0
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +72 -0
  249. package/contracts/instance/service/IPoolService.sol +21 -23
  250. package/contracts/instance/service/IProductService.sol +6 -73
  251. package/contracts/instance/service/PolicyService.sol +403 -0
  252. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  253. package/contracts/instance/service/PoolService.sol +220 -0
  254. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  255. package/contracts/instance/service/ProductService.sol +241 -0
  256. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  257. package/contracts/registry/ChainNft.sol +9 -1
  258. package/contracts/registry/IRegistry.sol +52 -8
  259. package/contracts/registry/IRegistryService.sol +46 -14
  260. package/contracts/registry/ITransferInterceptor.sol +1 -0
  261. package/contracts/registry/Registry.sol +270 -226
  262. package/contracts/registry/RegistryAccessManager.sol +216 -0
  263. package/contracts/registry/RegistryService.sol +110 -266
  264. package/contracts/registry/RegistryServiceManager.sol +24 -26
  265. package/contracts/registry/ReleaseManager.sol +322 -0
  266. package/contracts/registry/TokenRegistry.sol +116 -0
  267. package/contracts/shared/ERC165.sol +14 -8
  268. package/contracts/shared/INftOwnable.sol +11 -10
  269. package/contracts/shared/IPolicyHolder.sol +26 -0
  270. package/contracts/shared/IRegisterable.sol +4 -6
  271. package/contracts/shared/IRegistryLinked.sol +12 -0
  272. package/contracts/shared/IService.sol +4 -1
  273. package/contracts/shared/IVersionable.sol +4 -47
  274. package/contracts/shared/NftOwnable.sol +67 -83
  275. package/contracts/shared/PolicyHolder.sol +81 -0
  276. package/contracts/shared/ProxyManager.sol +100 -25
  277. package/contracts/shared/Registerable.sol +16 -31
  278. package/contracts/shared/RegistryLinked.sol +48 -0
  279. package/contracts/shared/Service.sol +26 -22
  280. package/contracts/shared/TokenHandler.sol +11 -5
  281. package/contracts/shared/Versionable.sol +4 -92
  282. package/contracts/test/TestRegisterable.sol +1 -1
  283. package/contracts/test/TestService.sol +4 -3
  284. package/contracts/types/Blocknumber.sol +1 -0
  285. package/contracts/types/ClaimId.sol +52 -0
  286. package/contracts/types/DistributorType.sol +2 -2
  287. package/contracts/types/Fee.sol +1 -0
  288. package/contracts/types/NftId.sol +8 -0
  289. package/contracts/types/NftIdSet.sol +26 -24
  290. package/contracts/types/ObjectType.sol +10 -5
  291. package/contracts/types/PayoutId.sol +54 -0
  292. package/contracts/types/Referral.sol +4 -0
  293. package/contracts/types/RoleId.sol +26 -11
  294. package/contracts/types/Seconds.sol +54 -0
  295. package/contracts/types/StateId.sol +5 -0
  296. package/contracts/types/Timestamp.sol +13 -13
  297. package/contracts/types/UFixed.sol +1 -0
  298. package/contracts/types/Version.sol +5 -1
  299. package/package.json +3 -3
  300. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  346. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  348. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  351. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  352. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  353. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  354. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  355. package/contracts/components/BaseComponent.sol +0 -86
  356. package/contracts/components/IBaseComponent.sol +0 -24
  357. package/contracts/experiment/cloning/Cloner.sol +0 -47
  358. package/contracts/experiment/errors/Require.sol +0 -38
  359. package/contracts/experiment/errors/Revert.sol +0 -44
  360. package/contracts/experiment/inheritance/A.sol +0 -53
  361. package/contracts/experiment/inheritance/B.sol +0 -28
  362. package/contracts/experiment/inheritance/C.sol +0 -34
  363. package/contracts/experiment/inheritance/IA.sol +0 -13
  364. package/contracts/experiment/inheritance/IB.sol +0 -10
  365. package/contracts/experiment/inheritance/IC.sol +0 -12
  366. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  367. package/contracts/experiment/statemachine/ISM.sol +0 -25
  368. package/contracts/experiment/statemachine/SM.sol +0 -57
  369. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  370. package/contracts/experiment/types/TypeA.sol +0 -47
  371. package/contracts/experiment/types/TypeB.sol +0 -29
  372. package/contracts/instance/AccessManagedSimple.sol +0 -114
  373. package/contracts/instance/AccessManagerSimple.sol +0 -682
  374. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  375. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  376. package/contracts/instance/base/IInstanceBase.sol +0 -23
  377. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  378. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  379. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,113 +7,145 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- },
18
- {
19
- "internalType": "NftId",
20
- "name": "productNftId",
21
- "type": "uint96"
22
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
23
19
  {
24
20
  "internalType": "address",
25
- "name": "token",
21
+ "name": "caller",
26
22
  "type": "address"
27
23
  },
28
24
  {
29
- "internalType": "bool",
30
- "name": "isInterceptor",
31
- "type": "bool"
32
- },
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
33
35
  {
34
- "internalType": "bool",
35
- "name": "verifying",
36
- "type": "bool"
37
- },
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
38
46
  {
39
- "internalType": "UFixed",
40
- "name": "collateralizationLevel",
41
- "type": "uint256"
42
- },
47
+ "internalType": "address",
48
+ "name": "target",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
43
57
  {
44
- "components": [
45
- {
46
- "internalType": "UFixed",
47
- "name": "fractionalFee",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "fixedFee",
53
- "type": "uint256"
54
- }
55
- ],
56
- "internalType": "struct Fee",
57
- "name": "poolFee",
58
- "type": "tuple"
59
- },
58
+ "internalType": "address",
59
+ "name": "account",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
60
68
  {
61
- "components": [
62
- {
63
- "internalType": "UFixed",
64
- "name": "fractionalFee",
65
- "type": "uint256"
66
- },
67
- {
68
- "internalType": "uint256",
69
- "name": "fixedFee",
70
- "type": "uint256"
71
- }
72
- ],
73
- "internalType": "struct Fee",
74
- "name": "stakingFee",
75
- "type": "tuple"
76
- },
69
+ "internalType": "address",
70
+ "name": "caller",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorComponentNotChainNft",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
77
79
  {
78
- "components": [
79
- {
80
- "internalType": "UFixed",
81
- "name": "fractionalFee",
82
- "type": "uint256"
83
- },
84
- {
85
- "internalType": "uint256",
86
- "name": "fixedFee",
87
- "type": "uint256"
88
- }
89
- ],
90
- "internalType": "struct Fee",
91
- "name": "performanceFee",
92
- "type": "tuple"
93
- },
80
+ "internalType": "NftId",
81
+ "name": "instanceNftId",
82
+ "type": "uint96"
83
+ }
84
+ ],
85
+ "name": "ErrorComponentNotInstance",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
94
90
  {
95
91
  "internalType": "address",
96
- "name": "initialOwner",
92
+ "name": "caller",
97
93
  "type": "address"
98
94
  }
99
95
  ],
100
- "stateMutability": "nonpayable",
101
- "type": "constructor"
96
+ "name": "ErrorComponentNotProductService",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorComponentProductNftAlreadySet",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentWalletAddressZero",
112
+ "type": "error"
102
113
  },
103
114
  {
104
115
  "inputs": [
105
116
  {
106
117
  "internalType": "address",
107
- "name": "registry",
118
+ "name": "oldWallet",
108
119
  "type": "address"
109
120
  },
121
+ {
122
+ "internalType": "address",
123
+ "name": "newWallet",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "allowance",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "balance",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "ErrorComponentWalletAllowanceTooSmall",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
110
142
  {
111
143
  "internalType": "NftId",
112
144
  "name": "nftId",
113
145
  "type": "uint96"
114
146
  }
115
147
  ],
116
- "name": "ErrorAlreadyLinked",
148
+ "name": "ErrorNftOwnableAlreadyLinked",
117
149
  "type": "error"
118
150
  },
119
151
  {
@@ -124,7 +156,12 @@
124
156
  "type": "address"
125
157
  }
126
158
  ],
127
- "name": "ErrorContractNotRegistered",
159
+ "name": "ErrorNftOwnableContractNotRegistered",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
128
165
  "type": "error"
129
166
  },
130
167
  {
@@ -135,7 +172,7 @@
135
172
  "type": "address"
136
173
  }
137
174
  ],
138
- "name": "ErrorNotOwner",
175
+ "name": "ErrorNftOwnableNotOwner",
139
176
  "type": "error"
140
177
  },
141
178
  {
@@ -152,33 +189,44 @@
152
189
  {
153
190
  "inputs": [
154
191
  {
155
- "internalType": "address",
156
- "name": "registryAddress",
157
- "type": "address"
192
+ "internalType": "NftId",
193
+ "name": "applicationNftId",
194
+ "type": "uint96"
158
195
  }
159
196
  ],
160
- "name": "ErrorRegisterableNotRegistry",
197
+ "name": "ErrorPoolApplicationBundleMismatch",
161
198
  "type": "error"
162
199
  },
163
200
  {
164
- "inputs": [],
165
- "name": "ErrorRegistryAddressZero",
201
+ "inputs": [
202
+ {
203
+ "internalType": "NftId",
204
+ "name": "bundleNftId",
205
+ "type": "uint96"
206
+ },
207
+ {
208
+ "internalType": "address",
209
+ "name": "caller",
210
+ "type": "address"
211
+ }
212
+ ],
213
+ "name": "ErrorPoolNotBundleOwner",
166
214
  "type": "error"
167
215
  },
168
216
  {
169
217
  "inputs": [
170
218
  {
171
219
  "internalType": "address",
172
- "name": "registry",
220
+ "name": "caller",
173
221
  "type": "address"
174
222
  }
175
223
  ],
176
- "name": "ErrorRegistryAlreadyInitialized",
224
+ "name": "ErrorPoolNotPoolService",
177
225
  "type": "error"
178
226
  },
179
227
  {
180
228
  "inputs": [],
181
- "name": "ErrorRegistryNotInitialized",
229
+ "name": "FailedInnerCall",
182
230
  "type": "error"
183
231
  },
184
232
  {
@@ -191,6 +239,30 @@
191
239
  "name": "NotInitializing",
192
240
  "type": "error"
193
241
  },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "token",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "name": "SafeERC20FailedOperation",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "anonymous": false,
255
+ "inputs": [
256
+ {
257
+ "indexed": false,
258
+ "internalType": "address",
259
+ "name": "authority",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "name": "AuthorityUpdated",
264
+ "type": "event"
265
+ },
194
266
  {
195
267
  "anonymous": false,
196
268
  "inputs": [
@@ -209,26 +281,109 @@
209
281
  "inputs": [
210
282
  {
211
283
  "indexed": false,
212
- "internalType": "NftId",
213
- "name": "policyNftId",
214
- "type": "uint96"
284
+ "internalType": "address",
285
+ "name": "oldWallet",
286
+ "type": "address"
287
+ },
288
+ {
289
+ "indexed": false,
290
+ "internalType": "address",
291
+ "name": "newWallet",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "name": "LogComponentWalletAddressChanged",
296
+ "type": "event"
297
+ },
298
+ {
299
+ "anonymous": false,
300
+ "inputs": [
301
+ {
302
+ "indexed": false,
303
+ "internalType": "address",
304
+ "name": "from",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "address",
310
+ "name": "to",
311
+ "type": "address"
215
312
  },
216
313
  {
217
314
  "indexed": false,
218
315
  "internalType": "uint256",
219
- "name": "collateralizationAmount",
316
+ "name": "amount",
220
317
  "type": "uint256"
221
- },
318
+ }
319
+ ],
320
+ "name": "LogComponentWalletTokensTransferred",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
222
326
  {
223
327
  "indexed": false,
224
328
  "internalType": "address",
225
329
  "name": "pool",
226
330
  "type": "address"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "NftId",
335
+ "name": "applicationNftId",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "uint256",
341
+ "name": "collateralizationAmount",
342
+ "type": "uint256"
227
343
  }
228
344
  ],
229
- "name": "LogUnderwrittenByPool",
345
+ "name": "LogPoolVerifiedByPool",
230
346
  "type": "event"
231
347
  },
348
+ {
349
+ "inputs": [],
350
+ "name": "COMPONENT_LOCATION_V1",
351
+ "outputs": [
352
+ {
353
+ "internalType": "bytes32",
354
+ "name": "",
355
+ "type": "bytes32"
356
+ }
357
+ ],
358
+ "stateMutability": "view",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [],
363
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
364
+ "outputs": [
365
+ {
366
+ "internalType": "bytes32",
367
+ "name": "",
368
+ "type": "bytes32"
369
+ }
370
+ ],
371
+ "stateMutability": "view",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "POOL_STORAGE_LOCATION_V1",
377
+ "outputs": [
378
+ {
379
+ "internalType": "bytes32",
380
+ "name": "",
381
+ "type": "bytes32"
382
+ }
383
+ ],
384
+ "stateMutability": "view",
385
+ "type": "function"
386
+ },
232
387
  {
233
388
  "inputs": [],
234
389
  "name": "REGISTERABLE_LOCATION_V1",
@@ -245,62 +400,145 @@
245
400
  {
246
401
  "inputs": [
247
402
  {
248
- "components": [
249
- {
250
- "internalType": "UFixed",
251
- "name": "fractionalFee",
252
- "type": "uint256"
253
- },
254
- {
255
- "internalType": "uint256",
256
- "name": "fixedFee",
257
- "type": "uint256"
258
- }
259
- ],
260
- "internalType": "struct Fee",
261
- "name": "fee",
262
- "type": "tuple"
403
+ "internalType": "NftId",
404
+ "name": "applicationNftId",
405
+ "type": "uint96"
263
406
  },
264
407
  {
265
- "internalType": "uint256",
266
- "name": "initialAmount",
267
- "type": "uint256"
408
+ "internalType": "bytes",
409
+ "name": "applicationData",
410
+ "type": "bytes"
268
411
  },
269
412
  {
270
- "internalType": "uint256",
271
- "name": "lifetime",
272
- "type": "uint256"
413
+ "internalType": "NftId",
414
+ "name": "bundleNftId",
415
+ "type": "uint96"
273
416
  },
274
417
  {
275
418
  "internalType": "bytes",
276
- "name": "filter",
419
+ "name": "bundleFilter",
277
420
  "type": "bytes"
421
+ },
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "collateralizationAmount",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "name": "applicationMatchesBundle",
429
+ "outputs": [
430
+ {
431
+ "internalType": "bool",
432
+ "name": "isMatching",
433
+ "type": "bool"
278
434
  }
279
435
  ],
280
- "name": "createBundle",
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [],
441
+ "name": "authority",
281
442
  "outputs": [
443
+ {
444
+ "internalType": "address",
445
+ "name": "",
446
+ "type": "address"
447
+ }
448
+ ],
449
+ "stateMutability": "view",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [
454
+ {
455
+ "internalType": "NftId",
456
+ "name": "bundleNftId",
457
+ "type": "uint96"
458
+ }
459
+ ],
460
+ "name": "close",
461
+ "outputs": [],
462
+ "stateMutability": "nonpayable",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
282
467
  {
283
468
  "internalType": "NftId",
284
469
  "name": "bundleNftId",
285
470
  "type": "uint96"
471
+ },
472
+ {
473
+ "internalType": "Seconds",
474
+ "name": "lifetimeExtension",
475
+ "type": "uint40"
286
476
  }
287
477
  ],
478
+ "name": "extend",
479
+ "outputs": [],
288
480
  "stateMutability": "nonpayable",
289
481
  "type": "function"
290
482
  },
291
483
  {
292
484
  "inputs": [],
293
- "name": "getCollateralizationLevel",
485
+ "name": "getComponentInfo",
294
486
  "outputs": [
295
487
  {
296
- "internalType": "UFixed",
297
- "name": "collateralizationLevel",
298
- "type": "uint256"
488
+ "components": [
489
+ {
490
+ "internalType": "string",
491
+ "name": "name",
492
+ "type": "string"
493
+ },
494
+ {
495
+ "internalType": "contract IERC20Metadata",
496
+ "name": "token",
497
+ "type": "address"
498
+ },
499
+ {
500
+ "internalType": "contract TokenHandler",
501
+ "name": "tokenHandler",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "internalType": "address",
506
+ "name": "wallet",
507
+ "type": "address"
508
+ },
509
+ {
510
+ "internalType": "bytes",
511
+ "name": "data",
512
+ "type": "bytes"
513
+ }
514
+ ],
515
+ "internalType": "struct IComponents.ComponentInfo",
516
+ "name": "info",
517
+ "type": "tuple"
299
518
  }
300
519
  ],
301
520
  "stateMutability": "view",
302
521
  "type": "function"
303
522
  },
523
+ {
524
+ "inputs": [
525
+ {
526
+ "internalType": "bytes",
527
+ "name": "name",
528
+ "type": "bytes"
529
+ }
530
+ ],
531
+ "name": "getContractLocation",
532
+ "outputs": [
533
+ {
534
+ "internalType": "bytes32",
535
+ "name": "hash",
536
+ "type": "bytes32"
537
+ }
538
+ ],
539
+ "stateMutability": "pure",
540
+ "type": "function"
541
+ },
304
542
  {
305
543
  "inputs": [],
306
544
  "name": "getInitialInfo",
@@ -344,13 +582,8 @@
344
582
  }
345
583
  ],
346
584
  "internalType": "struct IRegistry.ObjectInfo",
347
- "name": "",
585
+ "name": "info",
348
586
  "type": "tuple"
349
- },
350
- {
351
- "internalType": "bytes",
352
- "name": "",
353
- "type": "bytes"
354
587
  }
355
588
  ],
356
589
  "stateMutability": "view",
@@ -371,25 +604,12 @@
371
604
  },
372
605
  {
373
606
  "inputs": [],
374
- "name": "getNftId",
375
- "outputs": [
376
- {
377
- "internalType": "NftId",
378
- "name": "",
379
- "type": "uint96"
380
- }
381
- ],
382
- "stateMutability": "view",
383
- "type": "function"
384
- },
385
- {
386
- "inputs": [],
387
- "name": "getOwner",
607
+ "name": "getName",
388
608
  "outputs": [
389
609
  {
390
- "internalType": "address",
391
- "name": "",
392
- "type": "address"
610
+ "internalType": "string",
611
+ "name": "name",
612
+ "type": "string"
393
613
  }
394
614
  ],
395
615
  "stateMutability": "view",
@@ -397,11 +617,11 @@
397
617
  },
398
618
  {
399
619
  "inputs": [],
400
- "name": "getProductNftId",
620
+ "name": "getNftId",
401
621
  "outputs": [
402
622
  {
403
623
  "internalType": "NftId",
404
- "name": "productNftId",
624
+ "name": "",
405
625
  "type": "uint96"
406
626
  }
407
627
  ],
@@ -410,10 +630,10 @@
410
630
  },
411
631
  {
412
632
  "inputs": [],
413
- "name": "getRegistry",
633
+ "name": "getOwner",
414
634
  "outputs": [
415
635
  {
416
- "internalType": "contract IRegistry",
636
+ "internalType": "address",
417
637
  "name": "",
418
638
  "type": "address"
419
639
  }
@@ -423,7 +643,7 @@
423
643
  },
424
644
  {
425
645
  "inputs": [],
426
- "name": "getSetupInfo",
646
+ "name": "getPoolInfo",
427
647
  "outputs": [
428
648
  {
429
649
  "components": [
@@ -433,15 +653,40 @@
433
653
  "type": "uint96"
434
654
  },
435
655
  {
436
- "internalType": "contract TokenHandler",
437
- "name": "tokenHandler",
438
- "type": "address"
656
+ "internalType": "RoleId",
657
+ "name": "bundleOwnerRole",
658
+ "type": "uint64"
659
+ },
660
+ {
661
+ "internalType": "uint256",
662
+ "name": "maxCapitalAmount",
663
+ "type": "uint256"
664
+ },
665
+ {
666
+ "internalType": "bool",
667
+ "name": "isInterceptingBundleTransfers",
668
+ "type": "bool"
669
+ },
670
+ {
671
+ "internalType": "bool",
672
+ "name": "isExternallyManaged",
673
+ "type": "bool"
674
+ },
675
+ {
676
+ "internalType": "bool",
677
+ "name": "isVerifyingApplications",
678
+ "type": "bool"
439
679
  },
440
680
  {
441
681
  "internalType": "UFixed",
442
682
  "name": "collateralizationLevel",
443
683
  "type": "uint256"
444
684
  },
685
+ {
686
+ "internalType": "UFixed",
687
+ "name": "retentionLevel",
688
+ "type": "uint256"
689
+ },
445
690
  {
446
691
  "components": [
447
692
  {
@@ -492,59 +737,268 @@
492
737
  "internalType": "struct Fee",
493
738
  "name": "performanceFee",
494
739
  "type": "tuple"
495
- },
496
- {
497
- "internalType": "bool",
498
- "name": "isIntercepting",
499
- "type": "bool"
500
- },
501
- {
502
- "internalType": "address",
503
- "name": "wallet",
504
- "type": "address"
505
740
  }
506
741
  ],
507
- "internalType": "struct ISetup.PoolSetupInfo",
508
- "name": "setupInfo",
742
+ "internalType": "struct IComponents.PoolInfo",
743
+ "name": "poolInfo",
509
744
  "type": "tuple"
510
745
  }
511
746
  ],
512
- "stateMutability": "view",
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [],
752
+ "name": "getProductNftId",
753
+ "outputs": [
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "productNftId",
757
+ "type": "uint96"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "getRegistry",
766
+ "outputs": [
767
+ {
768
+ "internalType": "contract IRegistry",
769
+ "name": "",
770
+ "type": "address"
771
+ }
772
+ ],
773
+ "stateMutability": "view",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [],
778
+ "name": "getRegistryAddress",
779
+ "outputs": [
780
+ {
781
+ "internalType": "address",
782
+ "name": "",
783
+ "type": "address"
784
+ }
785
+ ],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [],
791
+ "name": "getToken",
792
+ "outputs": [
793
+ {
794
+ "internalType": "contract IERC20Metadata",
795
+ "name": "token",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "getWallet",
805
+ "outputs": [
806
+ {
807
+ "internalType": "address",
808
+ "name": "walletAddress",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [
817
+ {
818
+ "internalType": "address",
819
+ "name": "registry",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "NftId",
824
+ "name": "instanceNftId",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "string",
829
+ "name": "name",
830
+ "type": "string"
831
+ },
832
+ {
833
+ "internalType": "address",
834
+ "name": "token",
835
+ "type": "address"
836
+ },
837
+ {
838
+ "internalType": "ObjectType",
839
+ "name": "componentType",
840
+ "type": "uint8"
841
+ },
842
+ {
843
+ "internalType": "bool",
844
+ "name": "isInterceptor",
845
+ "type": "bool"
846
+ },
847
+ {
848
+ "internalType": "address",
849
+ "name": "initialOwner",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "internalType": "bytes",
854
+ "name": "registryData",
855
+ "type": "bytes"
856
+ }
857
+ ],
858
+ "name": "initializeComponent",
859
+ "outputs": [],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "initializeERC165",
866
+ "outputs": [],
867
+ "stateMutability": "nonpayable",
868
+ "type": "function"
869
+ },
870
+ {
871
+ "inputs": [
872
+ {
873
+ "internalType": "address",
874
+ "name": "initialOwner",
875
+ "type": "address"
876
+ },
877
+ {
878
+ "internalType": "address",
879
+ "name": "registryAddress",
880
+ "type": "address"
881
+ }
882
+ ],
883
+ "name": "initializeNftOwnable",
884
+ "outputs": [],
885
+ "stateMutability": "nonpayable",
886
+ "type": "function"
887
+ },
888
+ {
889
+ "inputs": [
890
+ {
891
+ "internalType": "address",
892
+ "name": "registry",
893
+ "type": "address"
894
+ },
895
+ {
896
+ "internalType": "NftId",
897
+ "name": "instanceNftId",
898
+ "type": "uint96"
899
+ },
900
+ {
901
+ "internalType": "string",
902
+ "name": "name",
903
+ "type": "string"
904
+ },
905
+ {
906
+ "internalType": "address",
907
+ "name": "token",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "internalType": "bool",
912
+ "name": "isInterceptingNftTransfers",
913
+ "type": "bool"
914
+ },
915
+ {
916
+ "internalType": "address",
917
+ "name": "initialOwner",
918
+ "type": "address"
919
+ },
920
+ {
921
+ "internalType": "bytes",
922
+ "name": "registryData",
923
+ "type": "bytes"
924
+ }
925
+ ],
926
+ "name": "initializePool",
927
+ "outputs": [],
928
+ "stateMutability": "nonpayable",
513
929
  "type": "function"
514
930
  },
515
931
  {
516
- "inputs": [],
517
- "name": "getToken",
518
- "outputs": [
932
+ "inputs": [
519
933
  {
520
- "internalType": "contract IERC20Metadata",
521
- "name": "token",
934
+ "internalType": "address",
935
+ "name": "registryAddress",
936
+ "type": "address"
937
+ },
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "parentNftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "ObjectType",
945
+ "name": "objectType",
946
+ "type": "uint8"
947
+ },
948
+ {
949
+ "internalType": "bool",
950
+ "name": "isInterceptor",
951
+ "type": "bool"
952
+ },
953
+ {
954
+ "internalType": "address",
955
+ "name": "initialOwner",
522
956
  "type": "address"
957
+ },
958
+ {
959
+ "internalType": "bytes",
960
+ "name": "registryData",
961
+ "type": "bytes"
523
962
  }
524
963
  ],
525
- "stateMutability": "view",
964
+ "name": "initializeRegisterable",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
526
967
  "type": "function"
527
968
  },
528
969
  {
529
- "inputs": [],
530
- "name": "getWallet",
531
- "outputs": [
970
+ "inputs": [
532
971
  {
533
972
  "internalType": "address",
534
- "name": "walletAddress",
973
+ "name": "registryAddress",
535
974
  "type": "address"
536
975
  }
537
976
  ],
977
+ "name": "initializeRegistryLinked",
978
+ "outputs": [],
979
+ "stateMutability": "nonpayable",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [],
984
+ "name": "isConsumingScheduledOp",
985
+ "outputs": [
986
+ {
987
+ "internalType": "bytes4",
988
+ "name": "",
989
+ "type": "bytes4"
990
+ }
991
+ ],
538
992
  "stateMutability": "view",
539
993
  "type": "function"
540
994
  },
541
995
  {
542
996
  "inputs": [],
543
- "name": "isVerifying",
997
+ "name": "isNftInterceptor",
544
998
  "outputs": [
545
999
  {
546
1000
  "internalType": "bool",
547
- "name": "verifying",
1001
+ "name": "isInterceptor",
548
1002
  "type": "bool"
549
1003
  }
550
1004
  ],
@@ -568,25 +1022,81 @@
568
1022
  {
569
1023
  "inputs": [
570
1024
  {
571
- "internalType": "bytes",
572
- "name": "",
573
- "type": "bytes"
1025
+ "internalType": "NftId",
1026
+ "name": "bundleNftId",
1027
+ "type": "uint96"
1028
+ }
1029
+ ],
1030
+ "name": "lockBundle",
1031
+ "outputs": [],
1032
+ "stateMutability": "nonpayable",
1033
+ "type": "function"
1034
+ },
1035
+ {
1036
+ "inputs": [
1037
+ {
1038
+ "internalType": "address",
1039
+ "name": "to",
1040
+ "type": "address"
574
1041
  },
575
1042
  {
576
- "internalType": "bytes",
577
- "name": "",
578
- "type": "bytes"
1043
+ "internalType": "uint256",
1044
+ "name": "tokenId",
1045
+ "type": "uint256"
579
1046
  }
580
1047
  ],
581
- "name": "policyMatchesBundle",
582
- "outputs": [
1048
+ "name": "nftMint",
1049
+ "outputs": [],
1050
+ "stateMutability": "nonpayable",
1051
+ "type": "function"
1052
+ },
1053
+ {
1054
+ "inputs": [
583
1055
  {
584
- "internalType": "bool",
585
- "name": "isMatching",
586
- "type": "bool"
1056
+ "internalType": "address",
1057
+ "name": "from",
1058
+ "type": "address"
1059
+ },
1060
+ {
1061
+ "internalType": "address",
1062
+ "name": "to",
1063
+ "type": "address"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "tokenId",
1068
+ "type": "uint256"
587
1069
  }
588
1070
  ],
589
- "stateMutability": "view",
1071
+ "name": "nftTransferFrom",
1072
+ "outputs": [],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "bytes4",
1080
+ "name": "interfaceId",
1081
+ "type": "bytes4"
1082
+ }
1083
+ ],
1084
+ "name": "registerInterface",
1085
+ "outputs": [],
1086
+ "stateMutability": "nonpayable",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "newAuthority",
1094
+ "type": "address"
1095
+ }
1096
+ ],
1097
+ "name": "setAuthority",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
590
1100
  "type": "function"
591
1101
  },
592
1102
  {
@@ -619,6 +1129,19 @@
619
1129
  "stateMutability": "nonpayable",
620
1130
  "type": "function"
621
1131
  },
1132
+ {
1133
+ "inputs": [
1134
+ {
1135
+ "internalType": "RoleId",
1136
+ "name": "bundleOwnerRole",
1137
+ "type": "uint64"
1138
+ }
1139
+ ],
1140
+ "name": "setBundleOwnerRole",
1141
+ "outputs": [],
1142
+ "stateMutability": "nonpayable",
1143
+ "type": "function"
1144
+ },
622
1145
  {
623
1146
  "inputs": [
624
1147
  {
@@ -678,6 +1201,63 @@
678
1201
  "stateMutability": "nonpayable",
679
1202
  "type": "function"
680
1203
  },
1204
+ {
1205
+ "inputs": [
1206
+ {
1207
+ "internalType": "uint256",
1208
+ "name": "maxCapitalAmount",
1209
+ "type": "uint256"
1210
+ }
1211
+ ],
1212
+ "name": "setMaxCapitalAmount",
1213
+ "outputs": [],
1214
+ "stateMutability": "nonpayable",
1215
+ "type": "function"
1216
+ },
1217
+ {
1218
+ "inputs": [
1219
+ {
1220
+ "internalType": "NftId",
1221
+ "name": "productNftId",
1222
+ "type": "uint96"
1223
+ }
1224
+ ],
1225
+ "name": "setProductNftId",
1226
+ "outputs": [],
1227
+ "stateMutability": "nonpayable",
1228
+ "type": "function"
1229
+ },
1230
+ {
1231
+ "inputs": [
1232
+ {
1233
+ "internalType": "address",
1234
+ "name": "newWallet",
1235
+ "type": "address"
1236
+ }
1237
+ ],
1238
+ "name": "setWallet",
1239
+ "outputs": [],
1240
+ "stateMutability": "nonpayable",
1241
+ "type": "function"
1242
+ },
1243
+ {
1244
+ "inputs": [
1245
+ {
1246
+ "internalType": "NftId",
1247
+ "name": "bundleNftId",
1248
+ "type": "uint96"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "amount",
1253
+ "type": "uint256"
1254
+ }
1255
+ ],
1256
+ "name": "stake",
1257
+ "outputs": [],
1258
+ "stateMutability": "nonpayable",
1259
+ "type": "function"
1260
+ },
681
1261
  {
682
1262
  "inputs": [
683
1263
  {
@@ -697,78 +1277,80 @@
697
1277
  "stateMutability": "view",
698
1278
  "type": "function"
699
1279
  },
1280
+ {
1281
+ "inputs": [],
1282
+ "name": "unlock",
1283
+ "outputs": [],
1284
+ "stateMutability": "nonpayable",
1285
+ "type": "function"
1286
+ },
700
1287
  {
701
1288
  "inputs": [
702
1289
  {
703
1290
  "internalType": "NftId",
704
- "name": "policyNftId",
1291
+ "name": "bundleNftId",
705
1292
  "type": "uint96"
706
- },
707
- {
708
- "internalType": "bytes",
709
- "name": "policyData",
710
- "type": "bytes"
711
- },
1293
+ }
1294
+ ],
1295
+ "name": "unlockBundle",
1296
+ "outputs": [],
1297
+ "stateMutability": "nonpayable",
1298
+ "type": "function"
1299
+ },
1300
+ {
1301
+ "inputs": [
712
1302
  {
713
- "internalType": "bytes",
714
- "name": "bundleFilter",
715
- "type": "bytes"
1303
+ "internalType": "NftId",
1304
+ "name": "bundleNftId",
1305
+ "type": "uint96"
716
1306
  },
717
1307
  {
718
1308
  "internalType": "uint256",
719
- "name": "collateralizationAmount",
1309
+ "name": "amount",
720
1310
  "type": "uint256"
721
1311
  }
722
1312
  ],
723
- "name": "underwrite",
1313
+ "name": "unstake",
724
1314
  "outputs": [],
725
1315
  "stateMutability": "nonpayable",
726
1316
  "type": "function"
727
1317
  },
728
1318
  {
729
- "inputs": [],
730
- "name": "unlock",
731
- "outputs": [],
732
- "stateMutability": "nonpayable",
733
- "type": "function"
734
- }
735
- ],
736
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002187380380620021878339810160408190526200003491620006fe565b8a8a8a8a608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558b86600280546001600160a01b03191633179055604080516020810190915260008152620000a98888868686866200037c565b6000620000be6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200010e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000138919081019062000882565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b81526342e19e5f60e01b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c6919062000968565b620001f25760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000246573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026c91906200098d565b600380546001600160a01b03199081166001600160a01b039384161790915560058054309083161790556006805490911688831617905560078054909116600160a01b6001600160601b038a160217905563593e597960e11b60009081526020527fe5ff73b5268559916713b465b9aafbfc723fb1444fb210a355c8977973af6095805460ff1916600117905550506008805460ff19168e1515179055505050600989905550508551600a555050602080850151600b558351600c5583810151600d558251600e55820151600f556200036b632d744d3360e11b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b505050505050505050505062000b08565b6200038882876200044d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000407838262000a3c565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620004738162000477565b5050565b6001546001600160a01b031615620004b25760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001e9565b6001600160a01b038116620004da5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620005125760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200058f575060408051601f3d908101601f191682019092526200058c9181019062000968565b60015b620005b95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e9565b80620004735760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001e9565b50565b6001600160a01b0381168114620005e457600080fd5b80516200060a81620005e7565b919050565b80516001600160601b03811681146200060a57600080fd5b805180151581146200060a57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000673576200067362000638565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620006a457620006a462000638565b604052919050565b600060408284031215620006bf57600080fd5b604080519081016001600160401b0381118282101715620006e457620006e462000638565b604052825181526020928301519281019290925250919050565b60008060008060008060008060008060006101c08c8e0312156200072157600080fd5b8b516200072e81620005e7565b9a506200073e60208d016200060f565b99506200074e60408d016200060f565b985060608c01516200076081620005e7565b97506200077060808d0162000627565b96506200078060a08d0162000627565b955060c08c01519450620007988d60e08e01620006ac565b9350620007aa8d6101208e01620006ac565b9250620007bc8d6101608e01620006ac565b91506101a08c0151620007cf81620005e7565b809150509295989b509295989b9093969950565b805160ff811681146200060a57600080fd5b600082601f8301126200080757600080fd5b81516001600160401b0381111562000823576200082362000638565b602062000839601f8301601f1916820162000679565b82815285828487010111156200084e57600080fd5b60005b838110156200086e57858101830151828201840152820162000851565b506000928101909101919091529392505050565b6000602082840312156200089557600080fd5b81516001600160401b0380821115620008ad57600080fd5b9083019060e08286031215620008c257600080fd5b620008cc6200064e565b620008d7836200060f565b8152620008e7602084016200060f565b6020820152620008fa60408401620007e3565b60408201526200090d6060840162000627565b60608201526200092060808401620005fd565b60808201526200093360a08401620005fd565b60a082015260c0830151828111156200094b57600080fd5b6200095987828601620007f5565b60c08301525095945050505050565b6000602082840312156200097b57600080fd5b620009868262000627565b9392505050565b600060208284031215620009a057600080fd5b81516200098681620005e7565b600181811c90821680620009c257607f821691505b602082108103620009e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a3757600081815260208120601f850160051c8101602086101562000a125750805b601f850160051c820191505b8181101562000a335782815560010162000a1e565b5050505b505050565b81516001600160401b0381111562000a585762000a5862000638565b62000a708162000a698454620009ad565b84620009e9565b602080601f83116001811462000aa8576000841562000a8f5750858301515b600019600386901b1c1916600185901b17855562000a33565b600085815260208120601f198616915b8281101562000ad95788860151825594840194600190910190840162000ab8565b508582101562000af85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61166f8062000b186000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102b1578063c200b809146102b9578063d7f5e609146102ce578063dab12325146102e1578063de7b5d14146102f7578063f83d08ba1461030857600080fd5b8063644c45e01461026057806365effc1a14610278578063826787661461028b57806387ef9ba01461029e578063893d20e8146102a957600080fd5b80631eff4b22116100ff5780631eff4b22146101ee57806321df0da71461022357806354afef63146102345780635ab1bd531461023c578063636450f51461024d57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806313299604146101bf578063138461e0146101e4575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a366004610f66565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b1610310565b604051610163929190610fdd565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b6101ec610431565b005b6102157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610163565b6006546001600160a01b03166101cc565b600954610215565b6001546001600160a01b03166101cc565b6101ec61025b36600461112f565b610653565b600154600160a01b90046001600160601b031661014f565b6101ec6102863660046111f2565b6106bb565b6101ec610299366004611270565b610731565b60085460ff16610199565b6101cc61080c565b6101ec61092a565b6102c16109d8565b60405161016391906112b6565b61014f6102dc36600461135b565b610c8b565b6101996102ef3660046113bd565b600192915050565b6007546001600160a01b03166101cc565b6101ec610d15565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610354610d92565b915091508160405180610100016040528061037f6007546001600160601b03600160a01b9091041690565b6001600160601b03168152600060208083019190915260095460408084019190915280518082018252600a548152600b5481840152606084015280518082018252600c548152600d5481840152608084015280518082018252600e548152600f548184015260a084015260085460ff16151560c08401526005546001600160a01b031660e09093019290925290516104189291016112b6565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611436565b156104fe576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105275760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105949190611436565b6105bc576040516372657a5160e01b81526001600160a01b03821660048201526024016104f5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062a919061145c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906106859085908590600401611479565b600060405180830381600087803b15801561069f57600080fd5b505af11580156106b3573d6000803e3d6000fd5b505050505050565b6011546001600160a01b0316331461071f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104f5565b61072b84848484610f18565b50505050565b600061073b61080c565b90506001600160a01b0381161580159061075e5750336001600160a01b03821614155b1561077e5760405163700dd81160e01b81523360048201526024016104f5565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156107ee57600080fd5b505af1158015610802573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190611436565b1561091a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091591906114c0565b905090565b506002546001600160a01b031690565b600061093461080c565b90506001600160a01b038116158015906109575750336001600160a01b03821614155b156109775760405163700dd81160e01b81523360048201526024016104f5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109bd57600080fd5b505af11580156109d1573d6000803e3d6000fd5b5050505050565b610a4b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b6001546040805163c4cade9d60e01b8152600160a01b9092046001600160601b03166004830152600060248301525173__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9163c4cade9d9160448083019260209291908290030181865af4158015610aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ade9190611436565b15610b8357506040805161010081018252600754600160a01b90046001600160601b0316815260006020808301919091526009548284015282518084018452600a548152600b5481830152606083015282518084018452600c548152600d548183015260808301528251808401909352600e548352600f549083015260a081019190915260085460ff16151560c08201526005546001600160a01b031660e082015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf191906114c0565b9050806001600160a01b03166355e343a9610c1c6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c85919061150d565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cc89084908a908a908a908a906004016115af565b6020604051808303816000875af1158015610ce7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0b919061145c565b9695505050505050565b6000610d1f61080c565b90506001600160a01b03811615801590610d425750336001600160a01b03821614155b15610d625760405163700dd81160e01b81523360048201526024016104f5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109a3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e196001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e6161080c565b6001600160a01b03168152602001826001018054610e7e906115ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610eaa906115ff565b8015610ef75780601f10610ecc57610100808354040283529160200191610ef7565b820191906000526020600020905b815481529060010190602001808311610eda57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610f7857600080fd5b81356001600160e01b031981168114610f9057600080fd5b9392505050565b6000815180845260005b81811015610fbd57602081850181015186830182015201610fa1565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161102160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611067610120840182610f97565b9050828103602084015261107b8185610f97565b95945050505050565b6001600160601b038116811461109957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110d5576110d561109c565b60405290565b604051610100810167ffffffffffffffff811182821017156110d5576110d561109c565b60006040828403121561111157600080fd5b6111196110b2565b9050813581526020820135602082015292915050565b6000806060838503121561114257600080fd5b823561114d81611084565b915061115c84602085016110ff565b90509250929050565b600082601f83011261117657600080fd5b813567ffffffffffffffff808211156111915761119161109c565b604051601f8301601f19908116603f011681019082821181831017156111b9576111b961109c565b816040528381528660208588010111156111d257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561120857600080fd5b843561121381611084565b9350602085013567ffffffffffffffff8082111561123057600080fd5b61123c88838901611165565b9450604087013591508082111561125257600080fd5b5061125f87828801611165565b949793965093946060013593505050565b600080600060c0848603121561128557600080fd5b61128f85856110ff565b925061129e85604086016110ff565b91506112ad85608086016110ff565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113029084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a0858703121561137157600080fd5b61137b86866110ff565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113a557600080fd5b6113b187828801611165565b91505092959194509250565b600080604083850312156113d057600080fd5b823567ffffffffffffffff808211156113e857600080fd5b6113f486838701611165565b9350602085013591508082111561140a57600080fd5b5061141785828601611165565b9150509250929050565b8051801515811461143157600080fd5b919050565b60006020828403121561144857600080fd5b610f9082611421565b805161143181611084565b60006020828403121561146e57600080fd5b8151610f9081611084565b6001600160601b038316815260608101610f90602083018480518252602090810151910152565b6001600160a01b038116811461109957600080fd5b8051611431816114a0565b6000602082840312156114d257600080fd5b8151610f90816114a0565b6000604082840312156114ef57600080fd5b6114f76110b2565b9050815181526020820151602082015292915050565b6000610160828403121561152057600080fd5b6115286110db565b61153183611451565b815261153f602084016114b5565b60208201526040830151604082015261155b84606085016114dd565b606082015261156d8460a085016114dd565b608082015261157f8460e085016114dd565b60a08201526115916101208401611421565b60c08201526115a361014084016114b5565b60e08201529392505050565b6001600160a01b03861681526115d2602082018680518252602090810151910152565b83606082015282608082015260c060a082015260006115f460c0830184610f97565b979650505050505050565b600181811c9082168061161357607f821691505b60208210810361163357634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212201daa7fcfe1612db855823386b56e04b3d99bf1f829cf02a434dca9cef43ba21864736f6c63430008140033",
737
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101365760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102b1578063c200b809146102b9578063d7f5e609146102ce578063dab12325146102e1578063de7b5d14146102f7578063f83d08ba1461030857600080fd5b8063644c45e01461026057806365effc1a14610278578063826787661461028b57806387ef9ba01461029e578063893d20e8146102a957600080fd5b80631eff4b22116100ff5780631eff4b22146101ee57806321df0da71461022357806354afef63146102345780635ab1bd531461023c578063636450f51461024d57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806313299604146101bf578063138461e0146101e4575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a366004610f66565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b1610310565b604051610163929190610fdd565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b6101ec610431565b005b6102157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610163565b6006546001600160a01b03166101cc565b600954610215565b6001546001600160a01b03166101cc565b6101ec61025b36600461112f565b610653565b600154600160a01b90046001600160601b031661014f565b6101ec6102863660046111f2565b6106bb565b6101ec610299366004611270565b610731565b60085460ff16610199565b6101cc61080c565b6101ec61092a565b6102c16109d8565b60405161016391906112b6565b61014f6102dc36600461135b565b610c8b565b6101996102ef3660046113bd565b600192915050565b6007546001600160a01b03166101cc565b6101ec610d15565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610354610d92565b915091508160405180610100016040528061037f6007546001600160601b03600160a01b9091041690565b6001600160601b03168152600060208083019190915260095460408084019190915280518082018252600a548152600b5481840152606084015280518082018252600c548152600d5481840152608084015280518082018252600e548152600f548184015260a084015260085460ff16151560c08401526005546001600160a01b031660e09093019290925290516104189291016112b6565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611436565b156104fe576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105275760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105949190611436565b6105bc576040516372657a5160e01b81526001600160a01b03821660048201526024016104f5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062a919061145c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906106859085908590600401611479565b600060405180830381600087803b15801561069f57600080fd5b505af11580156106b3573d6000803e3d6000fd5b505050505050565b6011546001600160a01b0316331461071f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104f5565b61072b84848484610f18565b50505050565b600061073b61080c565b90506001600160a01b0381161580159061075e5750336001600160a01b03821614155b1561077e5760405163700dd81160e01b81523360048201526024016104f5565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156107ee57600080fd5b505af1158015610802573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190611436565b1561091a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091591906114c0565b905090565b506002546001600160a01b031690565b600061093461080c565b90506001600160a01b038116158015906109575750336001600160a01b03821614155b156109775760405163700dd81160e01b81523360048201526024016104f5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109bd57600080fd5b505af11580156109d1573d6000803e3d6000fd5b5050505050565b610a4b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b6001546040805163c4cade9d60e01b8152600160a01b9092046001600160601b03166004830152600060248301525173__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9163c4cade9d9160448083019260209291908290030181865af4158015610aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ade9190611436565b15610b8357506040805161010081018252600754600160a01b90046001600160601b0316815260006020808301919091526009548284015282518084018452600a548152600b5481830152606083015282518084018452600c548152600d548183015260808301528251808401909352600e548352600f549083015260a081019190915260085460ff16151560c08201526005546001600160a01b031660e082015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf191906114c0565b9050806001600160a01b03166355e343a9610c1c6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c85919061150d565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cc89084908a908a908a908a906004016115af565b6020604051808303816000875af1158015610ce7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0b919061145c565b9695505050505050565b6000610d1f61080c565b90506001600160a01b03811615801590610d425750336001600160a01b03821614155b15610d625760405163700dd81160e01b81523360048201526024016104f5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109a3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e196001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e6161080c565b6001600160a01b03168152602001826001018054610e7e906115ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610eaa906115ff565b8015610ef75780601f10610ecc57610100808354040283529160200191610ef7565b820191906000526020600020905b815481529060010190602001808311610eda57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610f7857600080fd5b81356001600160e01b031981168114610f9057600080fd5b9392505050565b6000815180845260005b81811015610fbd57602081850181015186830182015201610fa1565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161102160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611067610120840182610f97565b9050828103602084015261107b8185610f97565b95945050505050565b6001600160601b038116811461109957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110d5576110d561109c565b60405290565b604051610100810167ffffffffffffffff811182821017156110d5576110d561109c565b60006040828403121561111157600080fd5b6111196110b2565b9050813581526020820135602082015292915050565b6000806060838503121561114257600080fd5b823561114d81611084565b915061115c84602085016110ff565b90509250929050565b600082601f83011261117657600080fd5b813567ffffffffffffffff808211156111915761119161109c565b604051601f8301601f19908116603f011681019082821181831017156111b9576111b961109c565b816040528381528660208588010111156111d257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561120857600080fd5b843561121381611084565b9350602085013567ffffffffffffffff8082111561123057600080fd5b61123c88838901611165565b9450604087013591508082111561125257600080fd5b5061125f87828801611165565b949793965093946060013593505050565b600080600060c0848603121561128557600080fd5b61128f85856110ff565b925061129e85604086016110ff565b91506112ad85608086016110ff565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113029084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a0858703121561137157600080fd5b61137b86866110ff565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113a557600080fd5b6113b187828801611165565b91505092959194509250565b600080604083850312156113d057600080fd5b823567ffffffffffffffff808211156113e857600080fd5b6113f486838701611165565b9350602085013591508082111561140a57600080fd5b5061141785828601611165565b9150509250929050565b8051801515811461143157600080fd5b919050565b60006020828403121561144857600080fd5b610f9082611421565b805161143181611084565b60006020828403121561146e57600080fd5b8151610f9081611084565b6001600160601b038316815260608101610f90602083018480518252602090810151910152565b6001600160a01b038116811461109957600080fd5b8051611431816114a0565b6000602082840312156114d257600080fd5b8151610f90816114a0565b6000604082840312156114ef57600080fd5b6114f76110b2565b9050815181526020820151602082015292915050565b6000610160828403121561152057600080fd5b6115286110db565b61153183611451565b815261153f602084016114b5565b60208201526040830151604082015261155b84606085016114dd565b606082015261156d8460a085016114dd565b608082015261157f8460e085016114dd565b60a08201526115916101208401611421565b60c08201526115a361014084016114b5565b60e08201529392505050565b6001600160a01b03861681526115d2602082018680518252602090810151910152565b83606082015282608082015260c060a082015260006115f460c0830184610f97565b979650505050505050565b600181811c9082168061161357607f821691505b60208210810361163357634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212201daa7fcfe1612db855823386b56e04b3d99bf1f829cf02a434dca9cef43ba21864736f6c63430008140033",
738
- "linkReferences": {
739
- "contracts/types/NftId.sol": {
740
- "NftIdLib": [
1319
+ "inputs": [
741
1320
  {
742
- "length": 20,
743
- "start": 3953
1321
+ "internalType": "NftId",
1322
+ "name": "applicationNftId",
1323
+ "type": "uint96"
744
1324
  },
745
1325
  {
746
- "length": 20,
747
- "start": 4943
1326
+ "internalType": "bytes",
1327
+ "name": "applicationData",
1328
+ "type": "bytes"
748
1329
  },
749
1330
  {
750
- "length": 20,
751
- "start": 5524
752
- }
753
- ]
754
- }
755
- },
756
- "deployedLinkReferences": {
757
- "contracts/types/NftId.sol": {
758
- "NftIdLib": [
759
- {
760
- "length": 20,
761
- "start": 1113
1331
+ "internalType": "NftId",
1332
+ "name": "bundleNftId",
1333
+ "type": "uint96"
762
1334
  },
763
1335
  {
764
- "length": 20,
765
- "start": 2103
1336
+ "internalType": "bytes",
1337
+ "name": "bundleFilter",
1338
+ "type": "bytes"
766
1339
  },
767
1340
  {
768
- "length": 20,
769
- "start": 2684
1341
+ "internalType": "uint256",
1342
+ "name": "collateralizationAmount",
1343
+ "type": "uint256"
770
1344
  }
771
- ]
1345
+ ],
1346
+ "name": "verifyApplication",
1347
+ "outputs": [],
1348
+ "stateMutability": "nonpayable",
1349
+ "type": "function"
772
1350
  }
773
- }
1351
+ ],
1352
+ "bytecode": "0x",
1353
+ "deployedBytecode": "0x",
1354
+ "linkReferences": {},
1355
+ "deployedLinkReferences": {}
774
1356
  }