@etherisc/gif-next 0.0.2-f5a74cc-201 → 0.0.2-f626d92-602

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. package/README.md +8 -13
  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 +753 -168
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +233 -81
  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 +846 -57
  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 +695 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +529 -217
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1063 -394
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +315 -167
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +937 -1191
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +583 -193
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +137 -270
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -286
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +328 -99
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
  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} +247 -180
  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 +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1341 -259
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -79
  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/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPolicyService.sol/IPolicyService.json} +328 -164
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +429 -313
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
  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 +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +614 -426
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +302 -105
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +257 -564
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
  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 +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  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 +257 -235
  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 +200 -335
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  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 +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  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 +2 -2
  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 +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +200 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -41
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +218 -182
  217. package/contracts/components/Product.sol +125 -121
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +14 -16
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +56 -14
  222. package/contracts/instance/IInstanceService.sol +43 -3
  223. package/contracts/instance/Instance.sol +133 -261
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +10 -34
  226. package/contracts/instance/InstanceService.sol +400 -144
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +11 -24
  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 -5
  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 +7 -20
  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 +378 -31
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  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 +73 -25
  252. package/contracts/instance/service/IProductService.sol +2 -72
  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 +203 -187
  256. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  257. package/contracts/instance/service/ProductService.sol +104 -464
  258. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +39 -19
  261. package/contracts/registry/IRegistryService.sol +31 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +243 -224
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +97 -173
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  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 +66 -80
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +41 -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/ObjectType.sol +10 -5
  293. package/contracts/types/PayoutId.sol +54 -0
  294. package/contracts/types/Referral.sol +4 -0
  295. package/contracts/types/RoleId.sol +26 -19
  296. package/contracts/types/Seconds.sol +54 -0
  297. package/contracts/types/StateId.sol +1 -0
  298. package/contracts/types/Timestamp.sol +13 -13
  299. package/contracts/types/UFixed.sol +1 -0
  300. package/contracts/types/Version.sol +1 -0
  301. package/package.json +3 -3
  302. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  344. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  346. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  347. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  348. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  349. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  350. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  353. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  355. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  356. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  357. package/contracts/components/BaseComponent.sol +0 -132
  358. package/contracts/components/IBaseComponent.sol +0 -31
  359. package/contracts/experiment/cloning/Cloner.sol +0 -47
  360. package/contracts/experiment/errors/Require.sol +0 -38
  361. package/contracts/experiment/errors/Revert.sol +0 -44
  362. package/contracts/experiment/inheritance/A.sol +0 -53
  363. package/contracts/experiment/inheritance/B.sol +0 -28
  364. package/contracts/experiment/inheritance/C.sol +0 -34
  365. package/contracts/experiment/inheritance/IA.sol +0 -13
  366. package/contracts/experiment/inheritance/IB.sol +0 -10
  367. package/contracts/experiment/inheritance/IC.sol +0 -12
  368. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  369. package/contracts/experiment/statemachine/ISM.sol +0 -25
  370. package/contracts/experiment/statemachine/SM.sol +0 -57
  371. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  372. package/contracts/experiment/types/TypeA.sol +0 -47
  373. package/contracts/experiment/types/TypeB.sol +0 -29
  374. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  375. package/contracts/instance/IInstanceBase.sol +0 -26
  376. package/contracts/instance/InstanceBase.sol +0 -41
  377. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  378. package/contracts/instance/base/IInstanceBase.sol +0 -23
  379. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  380. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  381. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,76 +7,39 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftid",
16
- "type": "uint96"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "token",
21
- "type": "address"
22
- },
23
- {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
27
- },
28
- {
29
- "internalType": "address",
30
- "name": "pool",
10
+ "name": "authority",
31
11
  "type": "address"
32
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
33
19
  {
34
20
  "internalType": "address",
35
- "name": "distribution",
21
+ "name": "caller",
36
22
  "type": "address"
37
23
  },
38
24
  {
39
- "components": [
40
- {
41
- "internalType": "UFixed",
42
- "name": "fractionalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "fixedFee",
48
- "type": "uint256"
49
- }
50
- ],
51
- "internalType": "struct Fee",
52
- "name": "productFee",
53
- "type": "tuple"
54
- },
55
- {
56
- "components": [
57
- {
58
- "internalType": "UFixed",
59
- "name": "fractionalFee",
60
- "type": "uint256"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "fixedFee",
65
- "type": "uint256"
66
- }
67
- ],
68
- "internalType": "struct Fee",
69
- "name": "processingFee",
70
- "type": "tuple"
71
- },
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
72
35
  {
73
36
  "internalType": "address",
74
- "name": "initialOwner",
37
+ "name": "caller",
75
38
  "type": "address"
76
39
  }
77
40
  ],
78
- "stateMutability": "nonpayable",
79
- "type": "constructor"
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
80
43
  },
81
44
  {
82
45
  "inputs": [
@@ -104,27 +67,48 @@
104
67
  "inputs": [
105
68
  {
106
69
  "internalType": "address",
107
- "name": "registry",
70
+ "name": "caller",
108
71
  "type": "address"
109
- },
72
+ }
73
+ ],
74
+ "name": "ErrorComponentNotChainNft",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
110
79
  {
111
80
  "internalType": "NftId",
112
- "name": "nftId",
81
+ "name": "instanceNftId",
113
82
  "type": "uint96"
114
83
  }
115
84
  ],
116
- "name": "ErrorAlreadyLinked",
85
+ "name": "ErrorComponentNotInstance",
117
86
  "type": "error"
118
87
  },
119
88
  {
120
89
  "inputs": [
121
90
  {
122
91
  "internalType": "address",
123
- "name": "newWallet",
92
+ "name": "caller",
124
93
  "type": "address"
125
94
  }
126
95
  ],
127
- "name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
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",
128
112
  "type": "error"
129
113
  },
130
114
  {
@@ -150,72 +134,56 @@
150
134
  "type": "uint256"
151
135
  }
152
136
  ],
153
- "name": "ErrorBaseComponentWalletAllowanceTooSmall",
137
+ "name": "ErrorComponentWalletAllowanceTooSmall",
154
138
  "type": "error"
155
139
  },
156
140
  {
157
141
  "inputs": [
158
142
  {
159
- "internalType": "address",
160
- "name": "contractAddress",
161
- "type": "address"
143
+ "internalType": "NftId",
144
+ "name": "nftId",
145
+ "type": "uint96"
162
146
  }
163
147
  ],
164
- "name": "ErrorContractNotRegistered",
148
+ "name": "ErrorNftOwnableAlreadyLinked",
165
149
  "type": "error"
166
150
  },
167
151
  {
168
152
  "inputs": [
169
153
  {
170
154
  "internalType": "address",
171
- "name": "account",
155
+ "name": "contractAddress",
172
156
  "type": "address"
173
157
  }
174
158
  ],
175
- "name": "ErrorNotOwner",
159
+ "name": "ErrorNftOwnableContractNotRegistered",
176
160
  "type": "error"
177
161
  },
178
162
  {
179
- "inputs": [
180
- {
181
- "internalType": "address",
182
- "name": "registryAddress",
183
- "type": "address"
184
- }
185
- ],
186
- "name": "ErrorNotRegistry",
163
+ "inputs": [],
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
187
165
  "type": "error"
188
166
  },
189
167
  {
190
168
  "inputs": [
191
169
  {
192
170
  "internalType": "address",
193
- "name": "registryAddress",
171
+ "name": "account",
194
172
  "type": "address"
195
173
  }
196
174
  ],
197
- "name": "ErrorRegisterableNotRegistry",
198
- "type": "error"
199
- },
200
- {
201
- "inputs": [],
202
- "name": "ErrorRegistryAddressZero",
175
+ "name": "ErrorNftOwnableNotOwner",
203
176
  "type": "error"
204
177
  },
205
178
  {
206
179
  "inputs": [
207
180
  {
208
181
  "internalType": "address",
209
- "name": "registry",
182
+ "name": "registryAddress",
210
183
  "type": "address"
211
184
  }
212
185
  ],
213
- "name": "ErrorRegistryAlreadyInitialized",
214
- "type": "error"
215
- },
216
- {
217
- "inputs": [],
218
- "name": "ErrorRegistryNotInitialized",
186
+ "name": "ErrorNotRegistry",
219
187
  "type": "error"
220
188
  },
221
189
  {
@@ -244,6 +212,19 @@
244
212
  "name": "SafeERC20FailedOperation",
245
213
  "type": "error"
246
214
  },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": false,
220
+ "internalType": "address",
221
+ "name": "authority",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "AuthorityUpdated",
226
+ "type": "event"
227
+ },
247
228
  {
248
229
  "anonymous": false,
249
230
  "inputs": [
@@ -260,6 +241,12 @@
260
241
  {
261
242
  "anonymous": false,
262
243
  "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "oldWallet",
248
+ "type": "address"
249
+ },
263
250
  {
264
251
  "indexed": false,
265
252
  "internalType": "address",
@@ -267,7 +254,7 @@
267
254
  "type": "address"
268
255
  }
269
256
  ],
270
- "name": "LogBaseComponentWalletAddressChanged",
257
+ "name": "LogComponentWalletAddressChanged",
271
258
  "type": "event"
272
259
  },
273
260
  {
@@ -292,9 +279,48 @@
292
279
  "type": "uint256"
293
280
  }
294
281
  ],
295
- "name": "LogBaseComponentWalletTokensTransferred",
282
+ "name": "LogComponentWalletTokensTransferred",
296
283
  "type": "event"
297
284
  },
285
+ {
286
+ "inputs": [],
287
+ "name": "COMPONENT_LOCATION_V1",
288
+ "outputs": [
289
+ {
290
+ "internalType": "bytes32",
291
+ "name": "",
292
+ "type": "bytes32"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
301
+ "outputs": [
302
+ {
303
+ "internalType": "bytes32",
304
+ "name": "",
305
+ "type": "bytes32"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "PRODUCT_STORAGE_LOCATION_V1",
314
+ "outputs": [
315
+ {
316
+ "internalType": "bytes32",
317
+ "name": "",
318
+ "type": "bytes32"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
298
324
  {
299
325
  "inputs": [],
300
326
  "name": "REGISTERABLE_LOCATION_V1",
@@ -308,6 +334,19 @@
308
334
  "stateMutability": "view",
309
335
  "type": "function"
310
336
  },
337
+ {
338
+ "inputs": [],
339
+ "name": "authority",
340
+ "outputs": [
341
+ {
342
+ "internalType": "address",
343
+ "name": "",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
311
350
  {
312
351
  "inputs": [
313
352
  {
@@ -321,9 +360,9 @@
321
360
  "type": "bytes8"
322
361
  },
323
362
  {
324
- "internalType": "uint256",
363
+ "internalType": "Seconds",
325
364
  "name": "lifetime",
326
- "type": "uint256"
365
+ "type": "uint40"
327
366
  },
328
367
  {
329
368
  "internalType": "bytes",
@@ -355,24 +394,24 @@
355
394
  "type": "bytes8"
356
395
  },
357
396
  {
358
- "internalType": "uint256",
397
+ "internalType": "Seconds",
359
398
  "name": "lifetime",
360
- "type": "uint256"
399
+ "type": "uint40"
361
400
  },
362
401
  {
363
402
  "internalType": "bytes",
364
403
  "name": "applicationData",
365
404
  "type": "bytes"
366
405
  },
367
- {
368
- "internalType": "ReferralId",
369
- "name": "referralId",
370
- "type": "bytes8"
371
- },
372
406
  {
373
407
  "internalType": "NftId",
374
408
  "name": "bundleNftId",
375
409
  "type": "uint96"
410
+ },
411
+ {
412
+ "internalType": "ReferralId",
413
+ "name": "referralId",
414
+ "type": "bytes8"
376
415
  }
377
416
  ],
378
417
  "name": "calculatePremium",
@@ -386,6 +425,56 @@
386
425
  "stateMutability": "view",
387
426
  "type": "function"
388
427
  },
428
+ {
429
+ "inputs": [],
430
+ "name": "getComponentInfo",
431
+ "outputs": [
432
+ {
433
+ "components": [
434
+ {
435
+ "internalType": "string",
436
+ "name": "name",
437
+ "type": "string"
438
+ },
439
+ {
440
+ "internalType": "contract IERC20Metadata",
441
+ "name": "token",
442
+ "type": "address"
443
+ },
444
+ {
445
+ "internalType": "contract TokenHandler",
446
+ "name": "tokenHandler",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "internalType": "address",
451
+ "name": "wallet",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "internalType": "Amount",
456
+ "name": "balanceAmount",
457
+ "type": "uint96"
458
+ },
459
+ {
460
+ "internalType": "Amount",
461
+ "name": "feeAmount",
462
+ "type": "uint96"
463
+ },
464
+ {
465
+ "internalType": "bytes",
466
+ "name": "data",
467
+ "type": "bytes"
468
+ }
469
+ ],
470
+ "internalType": "struct IComponents.ComponentInfo",
471
+ "name": "info",
472
+ "type": "tuple"
473
+ }
474
+ ],
475
+ "stateMutability": "view",
476
+ "type": "function"
477
+ },
389
478
  {
390
479
  "inputs": [],
391
480
  "name": "getDistributionNftId",
@@ -442,13 +531,8 @@
442
531
  }
443
532
  ],
444
533
  "internalType": "struct IRegistry.ObjectInfo",
445
- "name": "",
534
+ "name": "info",
446
535
  "type": "tuple"
447
- },
448
- {
449
- "internalType": "bytes",
450
- "name": "",
451
- "type": "bytes"
452
536
  }
453
537
  ],
454
538
  "stateMutability": "view",
@@ -467,6 +551,19 @@
467
551
  "stateMutability": "view",
468
552
  "type": "function"
469
553
  },
554
+ {
555
+ "inputs": [],
556
+ "name": "getName",
557
+ "outputs": [
558
+ {
559
+ "internalType": "string",
560
+ "name": "name",
561
+ "type": "string"
562
+ }
563
+ ],
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
470
567
  {
471
568
  "inputs": [],
472
569
  "name": "getNftId",
@@ -532,6 +629,19 @@
532
629
  "stateMutability": "view",
533
630
  "type": "function"
534
631
  },
632
+ {
633
+ "inputs": [],
634
+ "name": "getRegistryAddress",
635
+ "outputs": [
636
+ {
637
+ "internalType": "address",
638
+ "name": "",
639
+ "type": "address"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
535
645
  {
536
646
  "inputs": [],
537
647
  "name": "getSetupInfo",
@@ -558,23 +668,6 @@
558
668
  "name": "poolNftId",
559
669
  "type": "uint96"
560
670
  },
561
- {
562
- "components": [
563
- {
564
- "internalType": "UFixed",
565
- "name": "fractionalFee",
566
- "type": "uint256"
567
- },
568
- {
569
- "internalType": "uint256",
570
- "name": "fixedFee",
571
- "type": "uint256"
572
- }
573
- ],
574
- "internalType": "struct Fee",
575
- "name": "distributionFee",
576
- "type": "tuple"
577
- },
578
671
  {
579
672
  "components": [
580
673
  {
@@ -609,57 +702,6 @@
609
702
  "name": "processingFee",
610
703
  "type": "tuple"
611
704
  },
612
- {
613
- "components": [
614
- {
615
- "internalType": "UFixed",
616
- "name": "fractionalFee",
617
- "type": "uint256"
618
- },
619
- {
620
- "internalType": "uint256",
621
- "name": "fixedFee",
622
- "type": "uint256"
623
- }
624
- ],
625
- "internalType": "struct Fee",
626
- "name": "poolFee",
627
- "type": "tuple"
628
- },
629
- {
630
- "components": [
631
- {
632
- "internalType": "UFixed",
633
- "name": "fractionalFee",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "uint256",
638
- "name": "fixedFee",
639
- "type": "uint256"
640
- }
641
- ],
642
- "internalType": "struct Fee",
643
- "name": "stakingFee",
644
- "type": "tuple"
645
- },
646
- {
647
- "components": [
648
- {
649
- "internalType": "UFixed",
650
- "name": "fractionalFee",
651
- "type": "uint256"
652
- },
653
- {
654
- "internalType": "uint256",
655
- "name": "fixedFee",
656
- "type": "uint256"
657
- }
658
- ],
659
- "internalType": "struct Fee",
660
- "name": "performanceFee",
661
- "type": "tuple"
662
- },
663
705
  {
664
706
  "internalType": "bool",
665
707
  "name": "isIntercepting",
@@ -705,6 +747,243 @@
705
747
  "stateMutability": "view",
706
748
  "type": "function"
707
749
  },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "address",
754
+ "name": "registry",
755
+ "type": "address"
756
+ },
757
+ {
758
+ "internalType": "NftId",
759
+ "name": "instanceNftId",
760
+ "type": "uint96"
761
+ },
762
+ {
763
+ "internalType": "string",
764
+ "name": "name",
765
+ "type": "string"
766
+ },
767
+ {
768
+ "internalType": "address",
769
+ "name": "token",
770
+ "type": "address"
771
+ },
772
+ {
773
+ "internalType": "ObjectType",
774
+ "name": "componentType",
775
+ "type": "uint8"
776
+ },
777
+ {
778
+ "internalType": "bool",
779
+ "name": "isInterceptor",
780
+ "type": "bool"
781
+ },
782
+ {
783
+ "internalType": "address",
784
+ "name": "initialOwner",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "bytes",
789
+ "name": "registryData",
790
+ "type": "bytes"
791
+ }
792
+ ],
793
+ "name": "initializeComponent",
794
+ "outputs": [],
795
+ "stateMutability": "nonpayable",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [],
800
+ "name": "initializeERC165",
801
+ "outputs": [],
802
+ "stateMutability": "nonpayable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [
807
+ {
808
+ "internalType": "address",
809
+ "name": "initialOwner",
810
+ "type": "address"
811
+ },
812
+ {
813
+ "internalType": "address",
814
+ "name": "registryAddress",
815
+ "type": "address"
816
+ }
817
+ ],
818
+ "name": "initializeNftOwnable",
819
+ "outputs": [],
820
+ "stateMutability": "nonpayable",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "inputs": [
825
+ {
826
+ "internalType": "address",
827
+ "name": "registry",
828
+ "type": "address"
829
+ },
830
+ {
831
+ "internalType": "NftId",
832
+ "name": "instanceNftId",
833
+ "type": "uint96"
834
+ },
835
+ {
836
+ "internalType": "string",
837
+ "name": "name",
838
+ "type": "string"
839
+ },
840
+ {
841
+ "internalType": "address",
842
+ "name": "token",
843
+ "type": "address"
844
+ },
845
+ {
846
+ "internalType": "bool",
847
+ "name": "isInterceptor",
848
+ "type": "bool"
849
+ },
850
+ {
851
+ "internalType": "address",
852
+ "name": "pool",
853
+ "type": "address"
854
+ },
855
+ {
856
+ "internalType": "address",
857
+ "name": "distribution",
858
+ "type": "address"
859
+ },
860
+ {
861
+ "components": [
862
+ {
863
+ "internalType": "UFixed",
864
+ "name": "fractionalFee",
865
+ "type": "uint256"
866
+ },
867
+ {
868
+ "internalType": "uint256",
869
+ "name": "fixedFee",
870
+ "type": "uint256"
871
+ }
872
+ ],
873
+ "internalType": "struct Fee",
874
+ "name": "productFee",
875
+ "type": "tuple"
876
+ },
877
+ {
878
+ "components": [
879
+ {
880
+ "internalType": "UFixed",
881
+ "name": "fractionalFee",
882
+ "type": "uint256"
883
+ },
884
+ {
885
+ "internalType": "uint256",
886
+ "name": "fixedFee",
887
+ "type": "uint256"
888
+ }
889
+ ],
890
+ "internalType": "struct Fee",
891
+ "name": "processingFee",
892
+ "type": "tuple"
893
+ },
894
+ {
895
+ "internalType": "address",
896
+ "name": "initialOwner",
897
+ "type": "address"
898
+ },
899
+ {
900
+ "internalType": "bytes",
901
+ "name": "registryData",
902
+ "type": "bytes"
903
+ }
904
+ ],
905
+ "name": "initializeProduct",
906
+ "outputs": [],
907
+ "stateMutability": "nonpayable",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [
912
+ {
913
+ "internalType": "address",
914
+ "name": "registryAddress",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "NftId",
919
+ "name": "parentNftId",
920
+ "type": "uint96"
921
+ },
922
+ {
923
+ "internalType": "ObjectType",
924
+ "name": "objectType",
925
+ "type": "uint8"
926
+ },
927
+ {
928
+ "internalType": "bool",
929
+ "name": "isInterceptor",
930
+ "type": "bool"
931
+ },
932
+ {
933
+ "internalType": "address",
934
+ "name": "initialOwner",
935
+ "type": "address"
936
+ },
937
+ {
938
+ "internalType": "bytes",
939
+ "name": "registryData",
940
+ "type": "bytes"
941
+ }
942
+ ],
943
+ "name": "initializeRegisterable",
944
+ "outputs": [],
945
+ "stateMutability": "nonpayable",
946
+ "type": "function"
947
+ },
948
+ {
949
+ "inputs": [
950
+ {
951
+ "internalType": "address",
952
+ "name": "registryAddress",
953
+ "type": "address"
954
+ }
955
+ ],
956
+ "name": "initializeRegistryLinked",
957
+ "outputs": [],
958
+ "stateMutability": "nonpayable",
959
+ "type": "function"
960
+ },
961
+ {
962
+ "inputs": [],
963
+ "name": "isConsumingScheduledOp",
964
+ "outputs": [
965
+ {
966
+ "internalType": "bytes4",
967
+ "name": "",
968
+ "type": "bytes4"
969
+ }
970
+ ],
971
+ "stateMutability": "view",
972
+ "type": "function"
973
+ },
974
+ {
975
+ "inputs": [],
976
+ "name": "isNftInterceptor",
977
+ "outputs": [
978
+ {
979
+ "internalType": "bool",
980
+ "name": "isInterceptor",
981
+ "type": "bool"
982
+ }
983
+ ],
984
+ "stateMutability": "view",
985
+ "type": "function"
986
+ },
708
987
  {
709
988
  "inputs": [],
710
989
  "name": "linkToRegisteredNftId",
@@ -719,6 +998,73 @@
719
998
  "stateMutability": "nonpayable",
720
999
  "type": "function"
721
1000
  },
1001
+ {
1002
+ "inputs": [
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "to",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "uint256",
1010
+ "name": "tokenId",
1011
+ "type": "uint256"
1012
+ }
1013
+ ],
1014
+ "name": "nftMint",
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "address",
1023
+ "name": "from",
1024
+ "type": "address"
1025
+ },
1026
+ {
1027
+ "internalType": "address",
1028
+ "name": "to",
1029
+ "type": "address"
1030
+ },
1031
+ {
1032
+ "internalType": "uint256",
1033
+ "name": "tokenId",
1034
+ "type": "uint256"
1035
+ }
1036
+ ],
1037
+ "name": "nftTransferFrom",
1038
+ "outputs": [],
1039
+ "stateMutability": "nonpayable",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [
1044
+ {
1045
+ "internalType": "bytes4",
1046
+ "name": "interfaceId",
1047
+ "type": "bytes4"
1048
+ }
1049
+ ],
1050
+ "name": "registerInterface",
1051
+ "outputs": [],
1052
+ "stateMutability": "nonpayable",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "newAuthority",
1060
+ "type": "address"
1061
+ }
1062
+ ],
1063
+ "name": "setAuthority",
1064
+ "outputs": [],
1065
+ "stateMutability": "nonpayable",
1066
+ "type": "function"
1067
+ },
722
1068
  {
723
1069
  "inputs": [
724
1070
  {
@@ -814,42 +1160,8 @@
814
1160
  "type": "function"
815
1161
  }
816
1162
  ],
817
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162003261380380620032618339810160408190526200003491620009a8565b888888606e89856200006c6301ffc9a760e01b600090815260205260008051602062003241833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d8787868686866200058f565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000b12565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263cb92195b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000bf8565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000c1d565b600380546001600160a01b03199081166001600160a01b03938416179091556005805430908316179055600680549091169188169190911790556346b32da560e01b60009081526020527f0c74615b9065379cafc5e4e9d82ac4cbed23f75e35c2545793f8045351389f6c805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000332573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000358919062000c1d565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091169186169190911790558251600b55602080840151600c558251600d55820151600e556040518790620003bc9062000883565b6001600160a01b039091168152602001604051809103906000f080158015620003e9573d6000803e3d6000fd5b50600f80546001600160a01b0319166001600160a01b0392831617905560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047a919062000c3d565b600f80546001600160601b0392909216600160a01b026001600160a01b03909216919091179055620004b46001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000524919062000c3d565b601080546001600160601b0319166001600160601b0392909216919091179055633ad74e8160e01b60009081526020527f6d6f21c9f977ce279ee1b58c3ce3ac0b612bbc5256f6c821ab515558c7e6a0a8805460ff1916600117905550505050505050505062000db6565b620005c06301ffc9a760e01b600090815260205260008051602062003241833981519152805460ff19166001179055565b620005cc828762000691565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200064b838262000cea565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620006e95760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b0384161790556200070f8162000713565b5050565b6001546001600160a01b0316156200074e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620007765760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620007ae5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200082b575060408051601f3d908101601f19168201909252620008289181019062000bf8565b60015b620008555760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b806200070f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd8062002e4483390190565b6001600160a01b03811681146200088057600080fd5b8051620008b48162000891565b919050565b80516001600160601b0381168114620008b457600080fd5b80518015158114620008b457600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200091d576200091d620008e2565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200094e576200094e620008e2565b604052919050565b6000604082840312156200096957600080fd5b604080519081016001600160401b03811182821017156200098e576200098e620008e2565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620009c857600080fd5b8951620009d58162000891565b9850620009e560208b01620008b9565b975060408a0151620009f78162000891565b965062000a0760608b01620008d1565b955060808a015162000a198162000891565b60a08b015190955062000a2c8162000891565b935062000a3d8b60c08c0162000956565b925062000a4f8b6101008c0162000956565b91506101408a015162000a628162000891565b809150509295985092959850929598565b805160ff81168114620008b457600080fd5b600082601f83011262000a9757600080fd5b81516001600160401b0381111562000ab35762000ab3620008e2565b602062000ac9601f8301601f1916820162000923565b828152858284870101111562000ade57600080fd5b60005b8381101562000afe57858101830151828201840152820162000ae1565b506000928101909101919091529392505050565b60006020828403121562000b2557600080fd5b81516001600160401b038082111562000b3d57600080fd5b9083019060e0828603121562000b5257600080fd5b62000b5c620008f8565b62000b6783620008b9565b815262000b7760208401620008b9565b602082015262000b8a6040840162000a73565b604082015262000b9d60608401620008d1565b606082015262000bb060808401620008a7565b608082015262000bc360a08401620008a7565b60a082015260c08301518281111562000bdb57600080fd5b62000be98782860162000a85565b60c08301525095945050505050565b60006020828403121562000c0b57600080fd5b62000c1682620008d1565b9392505050565b60006020828403121562000c3057600080fd5b815162000c168162000891565b60006020828403121562000c5057600080fd5b62000c1682620008b9565b600181811c9082168062000c7057607f821691505b60208210810362000c9157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ce557600081815260208120601f850160051c8101602086101562000cc05750805b601f850160051c820191505b8181101562000ce15782815560010162000ccc565b5050505b505050565b81516001600160401b0381111562000d065762000d06620008e2565b62000d1e8162000d17845462000c5b565b8462000c97565b602080601f83116001811462000d56576000841562000d3d5750858301515b600019600386901b1c1916600185901b17855562000ce1565b600085815260208120601f198616915b8281101562000d875788860151825594840194600190910190840162000d66565b508582101562000da65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61207e8062000dc66000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80635ab1bd53116100b8578063b6b412ba1161007c578063b6b412ba146102ae578063c200b809146102c1578063db6dcc95146102d6578063de7b5d14146102de578063deaa59df146102ef578063f83d08ba1461030257600080fd5b80635ab1bd53146102625780635e78426b14610273578063644c45e014610286578063893d20e81461029e578063a69df4b5146102a657600080fd5b8063138461e0116100ff578063138461e0146102055780631bdd6b761461020f5780631eff4b221461021757806321df0da71461023e5780632a65c6881461024f57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806312abb9b3146101bf57806313299604146101e0575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a36600461154d565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b161030a565b6040516101639291906115c7565b6101d26101cd3660046117e9565b61056e565b604051908152602001610163565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b61020d6105fa565b005b61014f61081c565b6101d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ed565b61020d61025d366004611872565b6108a3565b6001546001600160a01b03166101ed565b6101d261028136600461188f565b6109f2565b600154600160a01b90046001600160601b031661014f565b6101ed610a08565b61020d610b21565b61020d6102bc366004611922565b610bbc565b6102c9610c5f565b6040516101639190611957565b61014f610e22565b6007546001600160a01b03166101ed565b61020d6102fd366004611a95565b610e67565b61020d61116e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061034e6111d9565b915091506000600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103cf9190810190611b3b565b9150506000818060200190518101906103e89190611c64565b90506000600a60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104679190810190611b3b565b9150506000818060200190518101906104809190611d19565b60408051610180810182526006546001600160a01b039081168252600f548082166020808501919091526010546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600b548152600c548185015260a08087019190915286518088018852600d548152600e548186015260c0870152918a015160e08601528901516101008501528801516101208401526000610140840152600554909116610160830152915192935088926105519201611957565b604051602081830303815290604052975097505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105a99089908b908a908a9089908b90600401611dae565b60a060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190611e05565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611e45565b156106c7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106f05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611e45565b610785576040516372657a5160e01b81526001600160a01b03821660048201526024016106be565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611e60565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108306001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e60565b905090565b6108ab610a08565b6001600160a01b0316336001600160a01b0316146108de5760405163700dd81160e01b81523360048201526024016106be565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e9190611e45565b6109ca5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016106be565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109ff600a86611e7d565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a919190611e45565b15610b1157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e9f565b506002546001600160a01b031690565b610b29610a08565b6001600160a01b0316336001600160a01b031614610b5c5760405163700dd81160e01b81523360048201526024016106be565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b50505050565b610bc4610a08565b6001600160a01b0316336001600160a01b031614610bf75760405163700dd81160e01b81523360048201526024016106be565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c299085908590600401611ebc565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b505050505050565b610d1a604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190611e9f565b9050806001600160a01b03166390af7064610db36001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611ee2565b91505090565b6000610e366001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161085d565b610e6f610a08565b6001600160a01b0316336001600160a01b031614610ea25760405163700dd81160e01b81523360048201526024016106be565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190611fd9565b9050816001600160a01b0316836001600160a01b031603610f5657604051637c739a9960e11b81526001600160a01b03841660048201526024016106be565b8015611027576001600160a01b038216301461102757600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190611fd9565b90508181101561102557604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016106be565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a1801561116957306001600160a01b038316036111055760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611e45565b505b60065461111d906001600160a01b031683858461135f565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b611176610a08565b6001600160a01b0316336001600160a01b0316146111a95760405163700dd81160e01b81523360048201526024016106be565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b88565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806112606001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016112a8610a08565b6001600160a01b031681526020018260010180546112c590611ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546112f190611ff2565b801561133e5780601f106113135761010080835404028352916020019161133e565b820191906000526020600020905b81548152906001019060200180831161132157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610bb6918691906000906113c590841683611413565b905080516000141580156113ea5750808060200190518101906113e89190611e45565b155b1561116957604051635274afe760e01b81526001600160a01b03841660048201526024016106be565b606061142183836000611428565b9392505050565b60608147101561144d5760405163cd78605960e01b81523060048201526024016106be565b600080856001600160a01b03168486604051611469919061202c565b60006040518083038185875af1925050503d80600081146114a6576040519150601f19603f3d011682016040523d82523d6000602084013e6114ab565b606091505b50915091506114bb8683836114c5565b9695505050505050565b6060826114da576114d582611521565b611421565b81511580156114f157506001600160a01b0384163b155b1561151a57604051639996b31560e01b81526001600160a01b03851660048201526024016106be565b5080611421565b8051156115315780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155f57600080fd5b81356001600160e01b03198116811461142157600080fd5b60005b8381101561159257818101518382015260200161157a565b50506000910152565b600081518084526115b3816020860160208601611577565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261165161012084018261159b565b905082810360208401526109ff818561159b565b6001600160c01b03198116811461154a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116b4576116b461167b565b60405290565b60405160e0810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610120810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610180810167ffffffffffffffff811182821017156116b4576116b461167b565b604051601f8201601f1916810167ffffffffffffffff8111828210171561174e5761174e61167b565b604052919050565b600067ffffffffffffffff8211156117705761177061167b565b50601f01601f191660200190565b600082601f83011261178f57600080fd5b81356117a261179d82611756565b611725565b8181528460208386010111156117b757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461154a57600080fd5b60008060008060008060c0878903121561180257600080fd5b86359550602087013561181481611665565b945060408701359350606087013567ffffffffffffffff81111561183757600080fd5b61184389828a0161177e565b935050608087013561185481611665565b915060a0870135611864816117d4565b809150509295509295509295565b60006020828403121561188457600080fd5b8135611421816117d4565b600080600080608085870312156118a557600080fd5b8435935060208501356118b781611665565b925060408501359150606085013567ffffffffffffffff8111156118da57600080fd5b6118e68782880161177e565b91505092959194509250565b60006040828403121561190457600080fd5b61190c611691565b9050813581526020820135602082015292915050565b6000806080838503121561193557600080fd5b61193f84846118f2565b915061194e84604085016118f2565b90509250929050565b81516001600160a01b031681526102408101602083015161198360208401826001600160a01b03169052565b50604083015161199e60408401826001600160601b03169052565b5060608301516119b960608401826001600160601b03169052565b5060808301516119d6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611a0c8185018380518252602090810151910152565b60e08501519150610140611a2c8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e0850152840151151561020084015250610160909201516001600160a01b03166102209091015290565b6001600160a01b038116811461154a57600080fd5b600060208284031215611aa757600080fd5b813561142181611a80565b8051611abd816117d4565b919050565b805160ff81168114611abd57600080fd5b80518015158114611abd57600080fd5b8051611abd81611a80565b600082601f830112611aff57600080fd5b8151611b0d61179d82611756565b818152846020838601011115611b2257600080fd5b611b33826020830160208701611577565b949350505050565b60008060408385031215611b4e57600080fd5b825167ffffffffffffffff80821115611b6657600080fd5b9084019060e08287031215611b7a57600080fd5b611b826116ba565b611b8b83611ab2565b8152611b9960208401611ab2565b6020820152611baa60408401611ac2565b6040820152611bbb60608401611ad3565b6060820152611bcc60808401611ae3565b6080820152611bdd60a08401611ae3565b60a082015260c083015182811115611bf457600080fd5b611c0088828601611aee565b60c0830152506020860151909450915080821115611c1d57600080fd5b50611c2a85828601611aee565b9150509250929050565b600060408284031215611c4657600080fd5b611c4e611691565b9050815181526020820151602082015292915050565b60006101808284031215611c7757600080fd5b611c7f6116dd565b611c8883611ab2565b8152611c9660208401611ae3565b602082015260408301516040820152611cb28460608501611c34565b6060820152611cc48460a08501611c34565b6080820152611cd68460e08501611c34565b60a0820152611ce86101208401611ad3565b60c0820152611cfa6101408401611ad3565b60e0820152611d0c6101608401611ae3565b6101008201529392505050565b600060c08284031215611d2b57600080fd5b60405160a0810181811067ffffffffffffffff82111715611d4e57611d4e61167b565b6040528251611d5c816117d4565b81526020830151611d6c81611a80565b6020820152611d7e8460408501611c34565b6040820152611d8f60808401611ad3565b606082015260a0830151611da281611a80565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611de160c084018761159b565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611e1d57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611e5757600080fd5b61142182611ad3565b600060208284031215611e7257600080fd5b8151611421816117d4565b600082611e9a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611eb157600080fd5b815161142181611a80565b825181526020808401518183015282516040830152820151606082015260808101611421565b60006102408284031215611ef557600080fd5b611efd611701565b611f0683611ae3565b8152611f1460208401611ae3565b6020820152611f2560408401611ab2565b6040820152611f3660608401611ab2565b6060820152611f488460808501611c34565b6080820152611f5a8460c08501611c34565b60a0820152610100611f6e85828601611c34565b60c0830152610140611f8286828701611c34565b60e0840152611f95866101808701611c34565b82840152611fa7866101c08701611c34565b610120840152611fba6102008601611ad3565b9083015250611fcc6102208401611ae3565b6101608201529392505050565b600060208284031215611feb57600080fd5b5051919050565b600181811c9082168061200657607f821691505b60208210810361202657634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161203e818460208701611577565b919091019291505056fea26469706673582212209dff6bc96dbe65c5ad3583724e6a3933480afa3aecc5e8c57f2a96d0ee4ce78e64736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
818
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101365760003560e01c80635ab1bd53116100b8578063b6b412ba1161007c578063b6b412ba146102ae578063c200b809146102c1578063db6dcc95146102d6578063de7b5d14146102de578063deaa59df146102ef578063f83d08ba1461030257600080fd5b80635ab1bd53146102625780635e78426b14610273578063644c45e014610286578063893d20e81461029e578063a69df4b5146102a657600080fd5b8063138461e0116100ff578063138461e0146102055780631bdd6b761461020f5780631eff4b221461021757806321df0da71461023e5780632a65c6881461024f57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806312abb9b3146101bf57806313299604146101e0575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a36600461154d565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b161030a565b6040516101639291906115c7565b6101d26101cd3660046117e9565b61056e565b604051908152602001610163565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b61020d6105fa565b005b61014f61081c565b6101d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ed565b61020d61025d366004611872565b6108a3565b6001546001600160a01b03166101ed565b6101d261028136600461188f565b6109f2565b600154600160a01b90046001600160601b031661014f565b6101ed610a08565b61020d610b21565b61020d6102bc366004611922565b610bbc565b6102c9610c5f565b6040516101639190611957565b61014f610e22565b6007546001600160a01b03166101ed565b61020d6102fd366004611a95565b610e67565b61020d61116e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061034e6111d9565b915091506000600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103cf9190810190611b3b565b9150506000818060200190518101906103e89190611c64565b90506000600a60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104679190810190611b3b565b9150506000818060200190518101906104809190611d19565b60408051610180810182526006546001600160a01b039081168252600f548082166020808501919091526010546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600b548152600c548185015260a08087019190915286518088018852600d548152600e548186015260c0870152918a015160e08601528901516101008501528801516101208401526000610140840152600554909116610160830152915192935088926105519201611957565b604051602081830303815290604052975097505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105a99089908b908a908a9089908b90600401611dae565b60a060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190611e05565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611e45565b156106c7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106f05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611e45565b610785576040516372657a5160e01b81526001600160a01b03821660048201526024016106be565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611e60565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108306001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e60565b905090565b6108ab610a08565b6001600160a01b0316336001600160a01b0316146108de5760405163700dd81160e01b81523360048201526024016106be565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e9190611e45565b6109ca5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016106be565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109ff600a86611e7d565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a919190611e45565b15610b1157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e9f565b506002546001600160a01b031690565b610b29610a08565b6001600160a01b0316336001600160a01b031614610b5c5760405163700dd81160e01b81523360048201526024016106be565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b50505050565b610bc4610a08565b6001600160a01b0316336001600160a01b031614610bf75760405163700dd81160e01b81523360048201526024016106be565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c299085908590600401611ebc565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b505050505050565b610d1a604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190611e9f565b9050806001600160a01b03166390af7064610db36001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611ee2565b91505090565b6000610e366001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161085d565b610e6f610a08565b6001600160a01b0316336001600160a01b031614610ea25760405163700dd81160e01b81523360048201526024016106be565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190611fd9565b9050816001600160a01b0316836001600160a01b031603610f5657604051637c739a9960e11b81526001600160a01b03841660048201526024016106be565b8015611027576001600160a01b038216301461102757600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190611fd9565b90508181101561102557604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016106be565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a1801561116957306001600160a01b038316036111055760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611e45565b505b60065461111d906001600160a01b031683858461135f565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b611176610a08565b6001600160a01b0316336001600160a01b0316146111a95760405163700dd81160e01b81523360048201526024016106be565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b88565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806112606001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016112a8610a08565b6001600160a01b031681526020018260010180546112c590611ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546112f190611ff2565b801561133e5780601f106113135761010080835404028352916020019161133e565b820191906000526020600020905b81548152906001019060200180831161132157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610bb6918691906000906113c590841683611413565b905080516000141580156113ea5750808060200190518101906113e89190611e45565b155b1561116957604051635274afe760e01b81526001600160a01b03841660048201526024016106be565b606061142183836000611428565b9392505050565b60608147101561144d5760405163cd78605960e01b81523060048201526024016106be565b600080856001600160a01b03168486604051611469919061202c565b60006040518083038185875af1925050503d80600081146114a6576040519150601f19603f3d011682016040523d82523d6000602084013e6114ab565b606091505b50915091506114bb8683836114c5565b9695505050505050565b6060826114da576114d582611521565b611421565b81511580156114f157506001600160a01b0384163b155b1561151a57604051639996b31560e01b81526001600160a01b03851660048201526024016106be565b5080611421565b8051156115315780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155f57600080fd5b81356001600160e01b03198116811461142157600080fd5b60005b8381101561159257818101518382015260200161157a565b50506000910152565b600081518084526115b3816020860160208601611577565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261165161012084018261159b565b905082810360208401526109ff818561159b565b6001600160c01b03198116811461154a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116b4576116b461167b565b60405290565b60405160e0810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610120810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610180810167ffffffffffffffff811182821017156116b4576116b461167b565b604051601f8201601f1916810167ffffffffffffffff8111828210171561174e5761174e61167b565b604052919050565b600067ffffffffffffffff8211156117705761177061167b565b50601f01601f191660200190565b600082601f83011261178f57600080fd5b81356117a261179d82611756565b611725565b8181528460208386010111156117b757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461154a57600080fd5b60008060008060008060c0878903121561180257600080fd5b86359550602087013561181481611665565b945060408701359350606087013567ffffffffffffffff81111561183757600080fd5b61184389828a0161177e565b935050608087013561185481611665565b915060a0870135611864816117d4565b809150509295509295509295565b60006020828403121561188457600080fd5b8135611421816117d4565b600080600080608085870312156118a557600080fd5b8435935060208501356118b781611665565b925060408501359150606085013567ffffffffffffffff8111156118da57600080fd5b6118e68782880161177e565b91505092959194509250565b60006040828403121561190457600080fd5b61190c611691565b9050813581526020820135602082015292915050565b6000806080838503121561193557600080fd5b61193f84846118f2565b915061194e84604085016118f2565b90509250929050565b81516001600160a01b031681526102408101602083015161198360208401826001600160a01b03169052565b50604083015161199e60408401826001600160601b03169052565b5060608301516119b960608401826001600160601b03169052565b5060808301516119d6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611a0c8185018380518252602090810151910152565b60e08501519150610140611a2c8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e0850152840151151561020084015250610160909201516001600160a01b03166102209091015290565b6001600160a01b038116811461154a57600080fd5b600060208284031215611aa757600080fd5b813561142181611a80565b8051611abd816117d4565b919050565b805160ff81168114611abd57600080fd5b80518015158114611abd57600080fd5b8051611abd81611a80565b600082601f830112611aff57600080fd5b8151611b0d61179d82611756565b818152846020838601011115611b2257600080fd5b611b33826020830160208701611577565b949350505050565b60008060408385031215611b4e57600080fd5b825167ffffffffffffffff80821115611b6657600080fd5b9084019060e08287031215611b7a57600080fd5b611b826116ba565b611b8b83611ab2565b8152611b9960208401611ab2565b6020820152611baa60408401611ac2565b6040820152611bbb60608401611ad3565b6060820152611bcc60808401611ae3565b6080820152611bdd60a08401611ae3565b60a082015260c083015182811115611bf457600080fd5b611c0088828601611aee565b60c0830152506020860151909450915080821115611c1d57600080fd5b50611c2a85828601611aee565b9150509250929050565b600060408284031215611c4657600080fd5b611c4e611691565b9050815181526020820151602082015292915050565b60006101808284031215611c7757600080fd5b611c7f6116dd565b611c8883611ab2565b8152611c9660208401611ae3565b602082015260408301516040820152611cb28460608501611c34565b6060820152611cc48460a08501611c34565b6080820152611cd68460e08501611c34565b60a0820152611ce86101208401611ad3565b60c0820152611cfa6101408401611ad3565b60e0820152611d0c6101608401611ae3565b6101008201529392505050565b600060c08284031215611d2b57600080fd5b60405160a0810181811067ffffffffffffffff82111715611d4e57611d4e61167b565b6040528251611d5c816117d4565b81526020830151611d6c81611a80565b6020820152611d7e8460408501611c34565b6040820152611d8f60808401611ad3565b606082015260a0830151611da281611a80565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611de160c084018761159b565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611e1d57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611e5757600080fd5b61142182611ad3565b600060208284031215611e7257600080fd5b8151611421816117d4565b600082611e9a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611eb157600080fd5b815161142181611a80565b825181526020808401518183015282516040830152820151606082015260808101611421565b60006102408284031215611ef557600080fd5b611efd611701565b611f0683611ae3565b8152611f1460208401611ae3565b6020820152611f2560408401611ab2565b6040820152611f3660608401611ab2565b6060820152611f488460808501611c34565b6080820152611f5a8460c08501611c34565b60a0820152610100611f6e85828601611c34565b60c0830152610140611f8286828701611c34565b60e0840152611f95866101808701611c34565b82840152611fa7866101c08701611c34565b610120840152611fba6102008601611ad3565b9083015250611fcc6102208401611ae3565b6101608201529392505050565b600060208284031215611feb57600080fd5b5051919050565b600181811c9082168061200657607f821691505b60208210810361202657634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161203e818460208701611577565b919091019291505056fea26469706673582212209dff6bc96dbe65c5ad3583724e6a3933480afa3aecc5e8c57f2a96d0ee4ce78e64736f6c63430008140033",
819
- "linkReferences": {
820
- "contracts/types/NftId.sol": {
821
- "NftIdLib": [
822
- {
823
- "length": 20,
824
- "start": 5096
825
- },
826
- {
827
- "length": 20,
828
- "start": 5801
829
- },
830
- {
831
- "length": 20,
832
- "start": 6137
833
- }
834
- ]
835
- }
836
- },
837
- "deployedLinkReferences": {
838
- "contracts/types/NftId.sol": {
839
- "NftIdLib": [
840
- {
841
- "length": 20,
842
- "start": 1570
843
- },
844
- {
845
- "length": 20,
846
- "start": 2275
847
- },
848
- {
849
- "length": 20,
850
- "start": 2611
851
- }
852
- ]
853
- }
854
- }
1163
+ "bytecode": "0x",
1164
+ "deployedBytecode": "0x",
1165
+ "linkReferences": {},
1166
+ "deployedLinkReferences": {}
855
1167
  }