@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f4f2d93-430

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. package/README.md +75 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +948 -229
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +295 -132
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +637 -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 +2200 -184
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +368 -156
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1005 -1175
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +242 -210
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +666 -190
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +392 -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/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +276 -150
  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 +71 -45
  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 +1039 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -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 +622 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -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} +217 -208
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -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 +223 -229
  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 +227 -330
  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 +559 -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 +86 -172
  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 +191 -163
  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 +210 -214
  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/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +200 -86
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -16
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +225 -181
  217. package/contracts/components/Product.sol +130 -134
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +127 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +81 -11
  222. package/contracts/instance/IInstanceService.sol +56 -1
  223. package/contracts/instance/Instance.sol +157 -265
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +40 -29
  226. package/contracts/instance/InstanceService.sol +447 -54
  227. package/contracts/instance/InstanceServiceManager.sol +11 -13
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -4
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +9 -19
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +431 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +435 -0
  245. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -0
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +72 -0
  251. package/contracts/instance/service/IPoolService.sol +79 -17
  252. package/contracts/instance/service/IProductService.sol +6 -73
  253. package/contracts/instance/service/PolicyService.sol +362 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +303 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  257. package/contracts/instance/service/ProductService.sol +210 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +52 -8
  261. package/contracts/registry/IRegistryService.sol +47 -14
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +270 -226
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +111 -268
  266. package/contracts/registry/RegistryServiceManager.sol +24 -26
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +116 -0
  269. package/contracts/shared/ERC165.sol +14 -8
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +67 -83
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -31
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +42 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +60 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +52 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +10 -5
  294. package/contracts/types/PayoutId.sol +54 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -11
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +5 -0
  299. package/contracts/types/Timestamp.sol +13 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +5 -1
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/contracts/components/BaseComponent.sol +0 -86
  359. package/contracts/components/IBaseComponent.sol +0 -24
  360. package/contracts/experiment/cloning/Cloner.sol +0 -47
  361. package/contracts/experiment/errors/Require.sol +0 -38
  362. package/contracts/experiment/errors/Revert.sol +0 -44
  363. package/contracts/experiment/inheritance/A.sol +0 -53
  364. package/contracts/experiment/inheritance/B.sol +0 -28
  365. package/contracts/experiment/inheritance/C.sol +0 -34
  366. package/contracts/experiment/inheritance/IA.sol +0 -13
  367. package/contracts/experiment/inheritance/IB.sol +0 -10
  368. package/contracts/experiment/inheritance/IC.sol +0 -12
  369. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  370. package/contracts/experiment/statemachine/ISM.sol +0 -25
  371. package/contracts/experiment/statemachine/SM.sol +0 -57
  372. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  373. package/contracts/experiment/types/TypeA.sol +0 -47
  374. package/contracts/experiment/types/TypeB.sol +0 -29
  375. package/contracts/instance/AccessManagedSimple.sol +0 -114
  376. package/contracts/instance/AccessManagerSimple.sol +0 -682
  377. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  379. package/contracts/instance/base/IInstanceBase.sol +0 -23
  380. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  381. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  382. 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",
@@ -244,61 +399,154 @@
244
399
  },
245
400
  {
246
401
  "inputs": [
402
+ {
403
+ "internalType": "NftId",
404
+ "name": "applicationNftId",
405
+ "type": "uint96"
406
+ },
407
+ {
408
+ "internalType": "bytes",
409
+ "name": "applicationData",
410
+ "type": "bytes"
411
+ },
412
+ {
413
+ "internalType": "NftId",
414
+ "name": "bundleNftId",
415
+ "type": "uint96"
416
+ },
417
+ {
418
+ "internalType": "bytes",
419
+ "name": "bundleFilter",
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"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [],
441
+ "name": "authority",
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": [
467
+ {
468
+ "internalType": "NftId",
469
+ "name": "bundleNftId",
470
+ "type": "uint96"
471
+ },
472
+ {
473
+ "internalType": "Seconds",
474
+ "name": "lifetimeExtension",
475
+ "type": "uint40"
476
+ }
477
+ ],
478
+ "name": "extend",
479
+ "outputs": [],
480
+ "stateMutability": "nonpayable",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "inputs": [],
485
+ "name": "getComponentInfo",
486
+ "outputs": [
247
487
  {
248
488
  "components": [
249
489
  {
250
- "internalType": "UFixed",
251
- "name": "fractionalFee",
252
- "type": "uint256"
490
+ "internalType": "string",
491
+ "name": "name",
492
+ "type": "string"
253
493
  },
254
494
  {
255
- "internalType": "uint256",
256
- "name": "fixedFee",
257
- "type": "uint256"
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": "Amount",
511
+ "name": "balanceAmount",
512
+ "type": "uint96"
513
+ },
514
+ {
515
+ "internalType": "Amount",
516
+ "name": "feeAmount",
517
+ "type": "uint96"
518
+ },
519
+ {
520
+ "internalType": "bytes",
521
+ "name": "data",
522
+ "type": "bytes"
258
523
  }
259
524
  ],
260
- "internalType": "struct Fee",
261
- "name": "fee",
525
+ "internalType": "struct IComponents.ComponentInfo",
526
+ "name": "info",
262
527
  "type": "tuple"
263
- },
264
- {
265
- "internalType": "uint256",
266
- "name": "initialAmount",
267
- "type": "uint256"
268
- },
269
- {
270
- "internalType": "uint256",
271
- "name": "lifetime",
272
- "type": "uint256"
273
- },
274
- {
275
- "internalType": "bytes",
276
- "name": "filter",
277
- "type": "bytes"
278
- }
279
- ],
280
- "name": "createBundle",
281
- "outputs": [
282
- {
283
- "internalType": "NftId",
284
- "name": "bundleNftId",
285
- "type": "uint96"
286
528
  }
287
529
  ],
288
- "stateMutability": "nonpayable",
530
+ "stateMutability": "view",
289
531
  "type": "function"
290
532
  },
291
533
  {
292
- "inputs": [],
293
- "name": "getCollateralizationLevel",
534
+ "inputs": [
535
+ {
536
+ "internalType": "bytes",
537
+ "name": "name",
538
+ "type": "bytes"
539
+ }
540
+ ],
541
+ "name": "getContractLocation",
294
542
  "outputs": [
295
543
  {
296
- "internalType": "UFixed",
297
- "name": "collateralizationLevel",
298
- "type": "uint256"
544
+ "internalType": "bytes32",
545
+ "name": "hash",
546
+ "type": "bytes32"
299
547
  }
300
548
  ],
301
- "stateMutability": "view",
549
+ "stateMutability": "pure",
302
550
  "type": "function"
303
551
  },
304
552
  {
@@ -344,13 +592,8 @@
344
592
  }
345
593
  ],
346
594
  "internalType": "struct IRegistry.ObjectInfo",
347
- "name": "",
595
+ "name": "info",
348
596
  "type": "tuple"
349
- },
350
- {
351
- "internalType": "bytes",
352
- "name": "",
353
- "type": "bytes"
354
597
  }
355
598
  ],
356
599
  "stateMutability": "view",
@@ -371,25 +614,12 @@
371
614
  },
372
615
  {
373
616
  "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",
617
+ "name": "getName",
388
618
  "outputs": [
389
619
  {
390
- "internalType": "address",
391
- "name": "",
392
- "type": "address"
620
+ "internalType": "string",
621
+ "name": "name",
622
+ "type": "string"
393
623
  }
394
624
  ],
395
625
  "stateMutability": "view",
@@ -397,11 +627,11 @@
397
627
  },
398
628
  {
399
629
  "inputs": [],
400
- "name": "getProductNftId",
630
+ "name": "getNftId",
401
631
  "outputs": [
402
632
  {
403
633
  "internalType": "NftId",
404
- "name": "productNftId",
634
+ "name": "",
405
635
  "type": "uint96"
406
636
  }
407
637
  ],
@@ -410,10 +640,10 @@
410
640
  },
411
641
  {
412
642
  "inputs": [],
413
- "name": "getRegistry",
643
+ "name": "getOwner",
414
644
  "outputs": [
415
645
  {
416
- "internalType": "contract IRegistry",
646
+ "internalType": "address",
417
647
  "name": "",
418
648
  "type": "address"
419
649
  }
@@ -423,7 +653,7 @@
423
653
  },
424
654
  {
425
655
  "inputs": [],
426
- "name": "getSetupInfo",
656
+ "name": "getPoolInfo",
427
657
  "outputs": [
428
658
  {
429
659
  "components": [
@@ -433,15 +663,50 @@
433
663
  "type": "uint96"
434
664
  },
435
665
  {
436
- "internalType": "contract TokenHandler",
437
- "name": "tokenHandler",
438
- "type": "address"
666
+ "internalType": "RoleId",
667
+ "name": "bundleOwnerRole",
668
+ "type": "uint64"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "maxCapitalAmount",
673
+ "type": "uint256"
674
+ },
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "balanceAmount",
678
+ "type": "uint256"
679
+ },
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "feeAmount",
683
+ "type": "uint256"
684
+ },
685
+ {
686
+ "internalType": "bool",
687
+ "name": "isInterceptingBundleTransfers",
688
+ "type": "bool"
689
+ },
690
+ {
691
+ "internalType": "bool",
692
+ "name": "isExternallyManaged",
693
+ "type": "bool"
694
+ },
695
+ {
696
+ "internalType": "bool",
697
+ "name": "isVerifyingApplications",
698
+ "type": "bool"
439
699
  },
440
700
  {
441
701
  "internalType": "UFixed",
442
702
  "name": "collateralizationLevel",
443
703
  "type": "uint256"
444
704
  },
705
+ {
706
+ "internalType": "UFixed",
707
+ "name": "retentionLevel",
708
+ "type": "uint256"
709
+ },
445
710
  {
446
711
  "components": [
447
712
  {
@@ -492,59 +757,268 @@
492
757
  "internalType": "struct Fee",
493
758
  "name": "performanceFee",
494
759
  "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
760
  }
506
761
  ],
507
- "internalType": "struct ISetup.PoolSetupInfo",
508
- "name": "setupInfo",
762
+ "internalType": "struct IComponents.PoolInfo",
763
+ "name": "poolInfo",
509
764
  "type": "tuple"
510
765
  }
511
766
  ],
512
- "stateMutability": "view",
767
+ "stateMutability": "view",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [],
772
+ "name": "getProductNftId",
773
+ "outputs": [
774
+ {
775
+ "internalType": "NftId",
776
+ "name": "productNftId",
777
+ "type": "uint96"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [],
785
+ "name": "getRegistry",
786
+ "outputs": [
787
+ {
788
+ "internalType": "contract IRegistry",
789
+ "name": "",
790
+ "type": "address"
791
+ }
792
+ ],
793
+ "stateMutability": "view",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [],
798
+ "name": "getRegistryAddress",
799
+ "outputs": [
800
+ {
801
+ "internalType": "address",
802
+ "name": "",
803
+ "type": "address"
804
+ }
805
+ ],
806
+ "stateMutability": "view",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [],
811
+ "name": "getToken",
812
+ "outputs": [
813
+ {
814
+ "internalType": "contract IERC20Metadata",
815
+ "name": "token",
816
+ "type": "address"
817
+ }
818
+ ],
819
+ "stateMutability": "view",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [],
824
+ "name": "getWallet",
825
+ "outputs": [
826
+ {
827
+ "internalType": "address",
828
+ "name": "walletAddress",
829
+ "type": "address"
830
+ }
831
+ ],
832
+ "stateMutability": "view",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [
837
+ {
838
+ "internalType": "address",
839
+ "name": "registry",
840
+ "type": "address"
841
+ },
842
+ {
843
+ "internalType": "NftId",
844
+ "name": "instanceNftId",
845
+ "type": "uint96"
846
+ },
847
+ {
848
+ "internalType": "string",
849
+ "name": "name",
850
+ "type": "string"
851
+ },
852
+ {
853
+ "internalType": "address",
854
+ "name": "token",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "internalType": "ObjectType",
859
+ "name": "componentType",
860
+ "type": "uint8"
861
+ },
862
+ {
863
+ "internalType": "bool",
864
+ "name": "isInterceptor",
865
+ "type": "bool"
866
+ },
867
+ {
868
+ "internalType": "address",
869
+ "name": "initialOwner",
870
+ "type": "address"
871
+ },
872
+ {
873
+ "internalType": "bytes",
874
+ "name": "registryData",
875
+ "type": "bytes"
876
+ }
877
+ ],
878
+ "name": "initializeComponent",
879
+ "outputs": [],
880
+ "stateMutability": "nonpayable",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [],
885
+ "name": "initializeERC165",
886
+ "outputs": [],
887
+ "stateMutability": "nonpayable",
888
+ "type": "function"
889
+ },
890
+ {
891
+ "inputs": [
892
+ {
893
+ "internalType": "address",
894
+ "name": "initialOwner",
895
+ "type": "address"
896
+ },
897
+ {
898
+ "internalType": "address",
899
+ "name": "registryAddress",
900
+ "type": "address"
901
+ }
902
+ ],
903
+ "name": "initializeNftOwnable",
904
+ "outputs": [],
905
+ "stateMutability": "nonpayable",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "address",
912
+ "name": "registry",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "NftId",
917
+ "name": "instanceNftId",
918
+ "type": "uint96"
919
+ },
920
+ {
921
+ "internalType": "string",
922
+ "name": "name",
923
+ "type": "string"
924
+ },
925
+ {
926
+ "internalType": "address",
927
+ "name": "token",
928
+ "type": "address"
929
+ },
930
+ {
931
+ "internalType": "bool",
932
+ "name": "isInterceptingNftTransfers",
933
+ "type": "bool"
934
+ },
935
+ {
936
+ "internalType": "address",
937
+ "name": "initialOwner",
938
+ "type": "address"
939
+ },
940
+ {
941
+ "internalType": "bytes",
942
+ "name": "registryData",
943
+ "type": "bytes"
944
+ }
945
+ ],
946
+ "name": "initializePool",
947
+ "outputs": [],
948
+ "stateMutability": "nonpayable",
513
949
  "type": "function"
514
950
  },
515
951
  {
516
- "inputs": [],
517
- "name": "getToken",
518
- "outputs": [
952
+ "inputs": [
519
953
  {
520
- "internalType": "contract IERC20Metadata",
521
- "name": "token",
954
+ "internalType": "address",
955
+ "name": "registryAddress",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "NftId",
960
+ "name": "parentNftId",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "ObjectType",
965
+ "name": "objectType",
966
+ "type": "uint8"
967
+ },
968
+ {
969
+ "internalType": "bool",
970
+ "name": "isInterceptor",
971
+ "type": "bool"
972
+ },
973
+ {
974
+ "internalType": "address",
975
+ "name": "initialOwner",
522
976
  "type": "address"
977
+ },
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "registryData",
981
+ "type": "bytes"
523
982
  }
524
983
  ],
525
- "stateMutability": "view",
984
+ "name": "initializeRegisterable",
985
+ "outputs": [],
986
+ "stateMutability": "nonpayable",
526
987
  "type": "function"
527
988
  },
528
989
  {
529
- "inputs": [],
530
- "name": "getWallet",
531
- "outputs": [
990
+ "inputs": [
532
991
  {
533
992
  "internalType": "address",
534
- "name": "walletAddress",
993
+ "name": "registryAddress",
535
994
  "type": "address"
536
995
  }
537
996
  ],
997
+ "name": "initializeRegistryLinked",
998
+ "outputs": [],
999
+ "stateMutability": "nonpayable",
1000
+ "type": "function"
1001
+ },
1002
+ {
1003
+ "inputs": [],
1004
+ "name": "isConsumingScheduledOp",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "bytes4",
1008
+ "name": "",
1009
+ "type": "bytes4"
1010
+ }
1011
+ ],
538
1012
  "stateMutability": "view",
539
1013
  "type": "function"
540
1014
  },
541
1015
  {
542
1016
  "inputs": [],
543
- "name": "isVerifying",
1017
+ "name": "isNftInterceptor",
544
1018
  "outputs": [
545
1019
  {
546
1020
  "internalType": "bool",
547
- "name": "verifying",
1021
+ "name": "isInterceptor",
548
1022
  "type": "bool"
549
1023
  }
550
1024
  ],
@@ -568,25 +1042,81 @@
568
1042
  {
569
1043
  "inputs": [
570
1044
  {
571
- "internalType": "bytes",
572
- "name": "",
573
- "type": "bytes"
1045
+ "internalType": "NftId",
1046
+ "name": "bundleNftId",
1047
+ "type": "uint96"
1048
+ }
1049
+ ],
1050
+ "name": "lockBundle",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "to",
1060
+ "type": "address"
574
1061
  },
575
1062
  {
576
- "internalType": "bytes",
577
- "name": "",
578
- "type": "bytes"
1063
+ "internalType": "uint256",
1064
+ "name": "tokenId",
1065
+ "type": "uint256"
579
1066
  }
580
1067
  ],
581
- "name": "policyMatchesBundle",
582
- "outputs": [
1068
+ "name": "nftMint",
1069
+ "outputs": [],
1070
+ "stateMutability": "nonpayable",
1071
+ "type": "function"
1072
+ },
1073
+ {
1074
+ "inputs": [
583
1075
  {
584
- "internalType": "bool",
585
- "name": "isMatching",
586
- "type": "bool"
1076
+ "internalType": "address",
1077
+ "name": "from",
1078
+ "type": "address"
1079
+ },
1080
+ {
1081
+ "internalType": "address",
1082
+ "name": "to",
1083
+ "type": "address"
1084
+ },
1085
+ {
1086
+ "internalType": "uint256",
1087
+ "name": "tokenId",
1088
+ "type": "uint256"
587
1089
  }
588
1090
  ],
589
- "stateMutability": "view",
1091
+ "name": "nftTransferFrom",
1092
+ "outputs": [],
1093
+ "stateMutability": "nonpayable",
1094
+ "type": "function"
1095
+ },
1096
+ {
1097
+ "inputs": [
1098
+ {
1099
+ "internalType": "bytes4",
1100
+ "name": "interfaceId",
1101
+ "type": "bytes4"
1102
+ }
1103
+ ],
1104
+ "name": "registerInterface",
1105
+ "outputs": [],
1106
+ "stateMutability": "nonpayable",
1107
+ "type": "function"
1108
+ },
1109
+ {
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "address",
1113
+ "name": "newAuthority",
1114
+ "type": "address"
1115
+ }
1116
+ ],
1117
+ "name": "setAuthority",
1118
+ "outputs": [],
1119
+ "stateMutability": "nonpayable",
590
1120
  "type": "function"
591
1121
  },
592
1122
  {
@@ -619,6 +1149,19 @@
619
1149
  "stateMutability": "nonpayable",
620
1150
  "type": "function"
621
1151
  },
1152
+ {
1153
+ "inputs": [
1154
+ {
1155
+ "internalType": "RoleId",
1156
+ "name": "bundleOwnerRole",
1157
+ "type": "uint64"
1158
+ }
1159
+ ],
1160
+ "name": "setBundleOwnerRole",
1161
+ "outputs": [],
1162
+ "stateMutability": "nonpayable",
1163
+ "type": "function"
1164
+ },
622
1165
  {
623
1166
  "inputs": [
624
1167
  {
@@ -678,6 +1221,63 @@
678
1221
  "stateMutability": "nonpayable",
679
1222
  "type": "function"
680
1223
  },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "uint256",
1228
+ "name": "maxCapitalAmount",
1229
+ "type": "uint256"
1230
+ }
1231
+ ],
1232
+ "name": "setMaxCapitalAmount",
1233
+ "outputs": [],
1234
+ "stateMutability": "nonpayable",
1235
+ "type": "function"
1236
+ },
1237
+ {
1238
+ "inputs": [
1239
+ {
1240
+ "internalType": "NftId",
1241
+ "name": "productNftId",
1242
+ "type": "uint96"
1243
+ }
1244
+ ],
1245
+ "name": "setProductNftId",
1246
+ "outputs": [],
1247
+ "stateMutability": "nonpayable",
1248
+ "type": "function"
1249
+ },
1250
+ {
1251
+ "inputs": [
1252
+ {
1253
+ "internalType": "address",
1254
+ "name": "newWallet",
1255
+ "type": "address"
1256
+ }
1257
+ ],
1258
+ "name": "setWallet",
1259
+ "outputs": [],
1260
+ "stateMutability": "nonpayable",
1261
+ "type": "function"
1262
+ },
1263
+ {
1264
+ "inputs": [
1265
+ {
1266
+ "internalType": "NftId",
1267
+ "name": "bundleNftId",
1268
+ "type": "uint96"
1269
+ },
1270
+ {
1271
+ "internalType": "uint256",
1272
+ "name": "amount",
1273
+ "type": "uint256"
1274
+ }
1275
+ ],
1276
+ "name": "stake",
1277
+ "outputs": [],
1278
+ "stateMutability": "nonpayable",
1279
+ "type": "function"
1280
+ },
681
1281
  {
682
1282
  "inputs": [
683
1283
  {
@@ -697,78 +1297,80 @@
697
1297
  "stateMutability": "view",
698
1298
  "type": "function"
699
1299
  },
1300
+ {
1301
+ "inputs": [],
1302
+ "name": "unlock",
1303
+ "outputs": [],
1304
+ "stateMutability": "nonpayable",
1305
+ "type": "function"
1306
+ },
700
1307
  {
701
1308
  "inputs": [
702
1309
  {
703
1310
  "internalType": "NftId",
704
- "name": "policyNftId",
1311
+ "name": "bundleNftId",
705
1312
  "type": "uint96"
706
- },
707
- {
708
- "internalType": "bytes",
709
- "name": "policyData",
710
- "type": "bytes"
711
- },
1313
+ }
1314
+ ],
1315
+ "name": "unlockBundle",
1316
+ "outputs": [],
1317
+ "stateMutability": "nonpayable",
1318
+ "type": "function"
1319
+ },
1320
+ {
1321
+ "inputs": [
712
1322
  {
713
- "internalType": "bytes",
714
- "name": "bundleFilter",
715
- "type": "bytes"
1323
+ "internalType": "NftId",
1324
+ "name": "bundleNftId",
1325
+ "type": "uint96"
716
1326
  },
717
1327
  {
718
1328
  "internalType": "uint256",
719
- "name": "collateralizationAmount",
1329
+ "name": "amount",
720
1330
  "type": "uint256"
721
1331
  }
722
1332
  ],
723
- "name": "underwrite",
1333
+ "name": "unstake",
724
1334
  "outputs": [],
725
1335
  "stateMutability": "nonpayable",
726
1336
  "type": "function"
727
1337
  },
728
1338
  {
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": [
1339
+ "inputs": [
741
1340
  {
742
- "length": 20,
743
- "start": 3953
1341
+ "internalType": "NftId",
1342
+ "name": "applicationNftId",
1343
+ "type": "uint96"
744
1344
  },
745
1345
  {
746
- "length": 20,
747
- "start": 4943
1346
+ "internalType": "bytes",
1347
+ "name": "applicationData",
1348
+ "type": "bytes"
748
1349
  },
749
1350
  {
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
1351
+ "internalType": "NftId",
1352
+ "name": "bundleNftId",
1353
+ "type": "uint96"
762
1354
  },
763
1355
  {
764
- "length": 20,
765
- "start": 2103
1356
+ "internalType": "bytes",
1357
+ "name": "bundleFilter",
1358
+ "type": "bytes"
766
1359
  },
767
1360
  {
768
- "length": 20,
769
- "start": 2684
1361
+ "internalType": "uint256",
1362
+ "name": "collateralizationAmount",
1363
+ "type": "uint256"
770
1364
  }
771
- ]
1365
+ ],
1366
+ "name": "verifyApplication",
1367
+ "outputs": [],
1368
+ "stateMutability": "nonpayable",
1369
+ "type": "function"
772
1370
  }
773
- }
1371
+ ],
1372
+ "bytecode": "0x",
1373
+ "deployedBytecode": "0x",
1374
+ "linkReferences": {},
1375
+ "deployedLinkReferences": {}
774
1376
  }